Cannot run concurrent jobs
Summary
tl;dr: Submitting multiple jobs allows one job to run, and the other job appears on the Elastic dashboard, but does not have a status and does not run.
I have created a Python script that submits a payment to the contract and then opens a websocket connection to the DMS. My first job runs successfully. If I try to submit a second job, the payment contract receives payment, the DMS opens the connection, the job appears on the Elastic dashboard, but it doesn't have a status and it doesn't start.
For reference, on the Elastic dashboard, the first job has a status field (note: this is after I hit the kill switch on my job):
The second job I submit doesn't start, and doesn't even have a status:
My intuition is that this is a local DMS issue. I suspect theres some kind of internal DMS state that is not "thread safe" when it comes to the websockets.
Steps to reproduce
Submit two jobs. I am happy to share code to reproduce.
What is the current bug behavior?
Submitting two jobs allows one job to run, and the second job does not run.
What is the expected correct behavior?
I should be able to submit any number of jobs, and all of them should run provided a node is available.
Version number of NuNet components
- DMS version: 0.4.125
- SPD version: 0.1.10
- CPD version:
SO version, emulator/virtual machine type and version, network type (including NAT type), environment variables, parameters, etc
WSL2 Ubuntu 22.04
Possible fixes
?