Forum Discussion

tvklovesu's avatar
tvklovesu
Frequent Contributor
9 months ago

testscripts from jenkins not running on testExecute

Hi,

I don't know where to start from. We recently updated the testExecute on the server and from then when we run the jenkins pipeline build, they are not reaching the testexecute and not running. We don't see any sessions on selenium grid running. But when we run the same test script from our local machine connecting to remote server those scripts are running fine. We tried to restart the server, selenium grid and the testExecute agent, but no luck. The person who initially configured was left and now we are facing this issue. 

 

For some builds this is the last message in the console

[TestComplete] A TestComplete build step is already running on the node. Pausing the run until this built step is over...

 

And for some builds this is the last message

[TestComplete] Launching the test runner.
$ '"C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\SessionCreator.exe"' ExecuteProcess '/c:""C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\TestExecute.exe""
"c:\var\lib\jenkins\workspace\Prod-Automation\Dartts-prod-smoke-pipeline\Prod_SmokeTest.pjs" /run /SilentMode /ForceConversion /ns /exit
"/ExportLog:c:\var\lib\jenkins\workspace\Prod-Automation\Dartts-prod-smoke-pipeline\1692131710677.tclogx"
"/ExportLog:c:\var\lib\jenkins\workspace\Prod-Automation\Dartts-prod-smoke-pipeline\1692131710677.htmlx" "/ErrorLog:c:\var\lib\jenkins\workspace\Prod-Automation\Dartts-prod-smoke-pipeline\1692131710677.txt"
"/project:DARTTS_Prod_Smoke" /DoNotShowLog "/run" "/SilentMode" "/psv:env=prod" "/psv:ADFSusername=****" "/psv:ADFSpassword=****" /JenkinsTCPluginVersion:2.8.1'

 

jobs queue in jenkins

Selenium grid sessions

 

 Not sure what are we missing here. Do we need to do anything else when we update the testExecute agent. 

23 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    There's a new version of TestComplete and TestExecute. 

     

    "from Jenkins we don't need to provide any credentials to login to the VM" - how does it log in, or is there an active session already?

     

    Do you have to provided credentials in your Jenkins settings?

     

    This seems to imply that something has failed, like installation?

    RegOpenKeyEx(HKEY_LOCAL_MACHINE\SOFTWARE\SmartBear\TestComplete\15.0\Setup) failed with error = 0x00000002.

    I suggest you read through Preparing Jenkins Nodes for Running TestComplete Tests and ensure all steps are followed.