Ask a Question

[TestComplete] Test runner exit code: -10 (Unable to create a user session).

SOLVED
thouhid1
Occasional Contributor

[TestComplete] Test runner exit code: -10 (Unable to create a user session).

My slave and Master Node is connected: but when I do build now: I get the following error. can anyone figure out why is this error?

 

Started by user unknown or anonymous
Running as SYSTEM
Building on master in workspace C:\Windows\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\tutorial

[TestComplete] The test execution started (LAC_Gilera/LAC_Gilera/JBL_LAC/Script|driver|runProjectAndGenerateReport).
[TestComplete] Found TestComplete/TestExecute installations:
	Type: TC, Version: 14.30.3743.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 14\x64\bin\TestComplete.exe"
	Type: TE, Version: 14.74.437.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 14\x64\bin\TestExecute.exe"
[TestComplete] Selected TestComplete/TestExecute installation:
	Type: TE, Version: 14.74.437.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 14\x64\bin\TestExecute.exe"
[TestComplete] Launching the test runner.
$ '"C:\Program Files (x86)\SmartBear\TestExecute 14\bin\TestCompleteService14.exe"' //LogonAndExecute //lDomain: "" //lName: "" //lPassword: ******** //lTimeout: "-1" //lUseActiveSession: "true" //lCommandLine: '""C:\Program Files (x86)\SmartBear\TestExecute 14\x64\bin\TestExecute.exe" C:\Workspace_t580\SDIG\SA_Test\AutoTests\LAC\LAC_Gilera\JBL_LAC\LAC_Gilera.pjs /run /SilentMode /ForceConversion /ns /exit /ExportLog:C:\Windows\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\tutorial\1622034637472.tclogx /ExportLog:C:\Windows\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\tutorial\1622034637472.htmlx /ErrorLog:C:\Windows\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\tutorial\1622034637472.txt /project:LAC_Gilera /unit:JBL_LAC /routine:Script|driver|runProjectAndGenerateReport /DoNotShowLog /JenkinsTCPluginVersion:2.6.2"'
[TestComplete] Test runner exit code: -10 (Unable to create a user session).
[TestComplete] [WARNING] Unable to find the log file "1622034637472.tclogx".
[TestComplete] [WARNING] Unable to find the log file "1622034637472.htmlx".
[TestComplete] [WARNING] Errors occurred during the test execution.
[TestComplete] Marking the build as UNSTABLE.
[TestComplete] [WARNING] Unable to publish test results (xml data is empty).
[TestComplete] The test execution finished (LAC_Gilera/LAC_Gilera/JBL_LAC/Script|driver|runProjectAndGenerateReport).
Build step 'TestComplete Test' changed build result to UNSTABLE
Finished: UNSTABLE

 

1 ACCEPTED SOLUTION

Accepted Solutions
sonya_m
Community Manager

Re: [TestComplete] Test runner exit code: -10 (Unable to create a user session).

Thank you Alex!

 

@thouhid1 , if the community suggestions didn't help, please contact support.

 

We will really appreciate it if you post the final solution here. Thank you!


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

3 REPLIES 3
AlexKaras
Community Hero

Re: [TestComplete] Test runner exit code: -10 (Unable to create a user session).

Hi,

 

Have you followed recommendations from this help section: https://support.smartbear.com/testcomplete/docs/working-with/integration/jenkins/index.html ?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
thouhid1
Occasional Contributor

Re: [TestComplete] Test runner exit code: -10 (Unable to create a user session).

Yes, I did follow! the instructions 

But I am facing same issue 

sonya_m
Community Manager

Re: [TestComplete] Test runner exit code: -10 (Unable to create a user session).

Thank you Alex!

 

@thouhid1 , if the community suggestions didn't help, please contact support.

 

We will really appreciate it if you post the final solution here. Thank you!


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: