Hello,
We are seeing an issue where during our scheduled test runs we sometimes get an “All launchers Terminated” entry in the log and the test run stops. We are calling our test from TFS through command line. I will try to explain the specifics to our set up below.
-
We have 2 licenses for the run-time engine and there are two license files on the sever where the test are being run. I put the license files in there instead of using the online authorization as my first step in trying to debug this issue.
-
There are two agents that can run our Katalon tests and it is possible and probable that they both will initiate very close to the same time.
-
Our KS run-time version is 7.0.5.
-
This error never occurred while using the free version 6.3.3.
-
If I redeploy in TFS the test will run.
-
We have a series of tests that are set to run on a schedule and they all utilize the same two agents. Once one of the agents is available the next test will queue and run.
I thought this may be because a license wasn’t released in time for the next agent to run and this forced the launchers to terminate. This is why I moved to the offline license files instead of the online but the error persists. Below I’ve added the actual log message from TFS.
2019-11-05T11:07:20.2444420Z ##[section]Starting: Run Smoke
2019-11-05T11:07:20.2604939Z ==============================================================================
2019-11-05T11:07:20.2605071Z Task : Command line
2019-11-05T11:07:20.2605174Z Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2019-11-05T11:07:20.2605255Z Version : 2.151.1
2019-11-05T11:07:20.2605332Z Author : Microsoft Corporation
2019-11-05T11:07:20.2605437Z Help : Command Line task - Azure Pipelines | Microsoft Docs
2019-11-05T11:07:20.2605531Z ==============================================================================
2019-11-05T11:07:22.0022776Z Generating script.
2019-11-05T11:07:22.0354884Z Script contents:
2019-11-05T11:07:22.0366993Z “E:\Katalon\Katalon_Studio_Engine_Windows_64-7.0.5\katalonc.exe” -noSplash -runMode=console -projectPath=“E:\KatalonTests\FSI.Mobile.FL.Web.Katalon_QA\FSI.Mobile.FL.Web.Katalon\FSI.Mobile.FL.Web.Katalon.prj” -retry=0 -testSuiteCollectionPath=“Test Suites/SmokeQA” -executionProfile=“FSI.Mobile.FL.Web.Katalon_QA” -browserType=“Chrome (headless)” -reportFolder=“E:\KatalonTests\FSI.Mobile.FL.Web.Katalon_QA\Results_19533_1_QA_Smoke” -reportFileName=JUnit_Report -apiKey=“Apikeyremoved”
2019-11-05T11:07:22.1362948Z ========================== Starting Command Output ===========================
2019-11-05T11:07:22.2087737Z ##[command]“C:\Windows\system32\cmd.exe” /D /E:ON /V:OFF /S /C “CALL “C:\agent2_work_temp\c23dea46-c1a1-4567-9e62-bbe33a25d300.cmd””
2019-11-05T11:07:25.0718265Z Katalon workspace folder is set to default location: E:\Katalon\Katalon_Studio_Engine_Windows_64-7.0.5\config
2019-11-05T11:07:25.4402158Z All launchers terminated
2019-11-05T11:07:25.7402621Z ##[error]Cmd.exe exited with code ‘1’.
2019-11-05T11:07:25.7728576Z ##[section]Finishing: Run Smoke