Azure batch node DistributedCOM error when running SessionCreator
Hi,
I am having an issue with running SessionCreator on Azure. Our automation setup uses Azure Batch to run Tasks on nodes. Each task will run the test project using SessionCreator on the node.
The problem we are running in to, is that when the second task runs on a node, at some point the automation will stop running. Looking at our custom logs we can see that just after one of the automated tests runs, a DistributedCOM error occurs:
The above issue is happening regularly on the second Task that runs (second run off SessionCreator) on the same node.
I am wondering has anyone encountered anything like this before? I am still unsure if this is a SessionCreator issue or an Azure issue.
Thanks for any advice!
Thanks for the reply. After further analysis and debugging, It appears as though the /UseActiveSession option was the problem. I had left this in the command after testing, and this appears to have been causing the problem.
My guess is the first task finished, but did not close the first session immediately once it was done. The second task then ran and used the first session, which shut down shortly after.