Ask a Question

Issue in jenkins build when integrated TestComplete

ManuT
Occasional Contributor

Issue in jenkins build when integrated TestComplete

Hi,

 I made set up to run TestComplete project through jenkins. When i run the build I am getting the following errors. I tried all the possible ways. I couldn't figure it out the issue. Please help me to resolve this issue.

 

Building in workspace C:\Program Files (x86)\Jenkins\workspace\TestProject

[TestComplete] The test execution started (JenkinsTestSuite/JenkinsTestProject/Unit1/Testing).
[TestComplete] Found TestComplete/TestExecute installations:
	Type: TC, Version: 12.41.2879.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 12\x64\bin\TestComplete.exe"
[TestComplete] Selected TestComplete/TestExecute installation:
	Type: TC, Version: 12.41.2879.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 12\x64\bin\TestComplete.exe"
[TestComplete] Launching the test runner.
$ '"C:\Program Files (x86)\SmartBear\TestComplete 12\bin\TestCompleteService12.exe"' //LogonAndExecute //lDomain: "" //lName: "C844186" //lPassword: ******** //lTimeout: "3180000" //lUseActiveSession: "true" //lCommandLine: '""C:\Program Files (x86)\SmartBear\TestComplete 12\x64\bin\TestComplete.exe" C:\Users\C844186\Documents\TestComplete12Projects\JenkinsTestSuite\JenkinsTestSuite.pjs /run /SilentMode /ForceConversion /ns /exit "/ExportLog:C:\Program Files (x86)\Jenkins\workspace\TestProject\7488949.tclogx" "/ExportLog:C:\Program Files (x86)\Jenkins\workspace\TestProject\7488949.htmlx" "/ErrorLog:C:\Program Files (x86)\Jenkins\workspace\TestProject\7488949.txt" "/ExportLog:C:\Program Files (x86)\Jenkins\workspace\TestProject\7488949.mht" /Timeout:3000 /project:JenkinsTestProject /unit:Unit1 /routine:Testing"'
[TestComplete] Test runner exit code: -15.
[TestComplete] [WARNING] Unable to find the log file "7488949.tclogx".
[TestComplete] [WARNING] Unable to find the log file "7488949.htmlx".
[TestComplete] [WARNING] Unable to find the log file "7488949.mht".
[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 (JenkinsTestSuite/JenkinsTestProject/Unit1/Testing).
Build step 'TestComplete Test' changed build result to UNSTABLE
Finished: UNSTABLE

 

 

 

 

8 REPLIES 8
Marsha_R
Community Hero

Are you able to run the TestComplete tests successfully without using Jenkins?

 

Do those three log files actually exist?  If so, do TestComplete and Jenkins both have access to the directory where they are stored?

 

 


Marsha_R
[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
ManuT
Occasional Contributor

Yes, I am able to run TestComplete tests with out using jenkins. I don't see those log files why they are appearing. New log files  are generating with updated number in console output if I run again and again. Please, help me how to resolve this.

@cunderw any thoughts?


Marsha_R
[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
cunderw
Community Hero

Can you confirm that the user you are using to execute the tests has write access to your jenkins workspace directory?


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
ChenL
Regular Visitor

I got the same issue here. Apparently, there is not much solution for this "exit code 15" issue.

Apparently no one posted a solution here but that doesn't mean there isn't one.  Not everyone comes back and reports on what they've done.

 

You can contact Support about this issue here:

https://support.smartbear.com/message/?prod=TestComplete

 

When you have a solution, you can help others out by posting it in this thread.  


Marsha_R
[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
SaravanaKumar_N
Contributor

I am not sure, but as per windows looks like exit code 15 means 'The system cannot find the drive specified'

Found from the the article here - https://www.symantec.com/connect/articles/windows-system-error-codes-exit-codes-description

 

Is the Job configured correctly? Is TestComplete project is in place at the specified location?

shankar_r
Community Hero

Checklist to debug:

 

  1. Check the "TestComplete 12 Service" and It should in running status
  2. Check you are able to run the command which Jenkins used and you should be able to run this successfully
    "C:\Program Files (x86)\SmartBear\TestComplete 12\x64\bin\TestComplete.exe" C:\Users\C844186\Documents\TestComplete12Projects\JenkinsTestSuite\JenkinsTestSuite.pjs /run /SilentMode /ForceConversion /ns /exit "/ExportLog:C:\Program Files (x86)\Jenkins\workspace\TestProject\7488949.tclogx" "/ExportLog:C:\Program Files (x86)\Jenkins\workspace\TestProject\7488949.htmlx" "/ErrorLog:C:\Program Files (x86)\Jenkins\workspace\TestProject\7488949.txt" "/ExportLog:C:\Program Files (x86)\Jenkins\workspace\TestProject\7488949.mht" /Timeout:3000 /project:JenkinsTestProject /unit:Unit1 /routine:Testing"'

Share us the findings.


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

cancel
Showing results for 
Search instead for 
Did you mean: