Issue in jenkins build when integrated TestComplete
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got the same issue here. Apparently, there is not much solution for this "exit code 15" issue.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Checklist to debug:
- Check the "TestComplete 12 Service" and It should in running status
- 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”