Forum Discussion
Thank you for the suggestions.
Unfortunately, TC still wouldn't launch.
- Have you verified this Build is triggering in the slave machine which you configured and manually tried? If not use below option to do it. ----- Yes, and then I see the correct slave is running when I click Build.
- Try triggering the build when you have your slave opened by yourself
------ I monitor the slave from vSphere console, and then once I click 'Build', I see TestComplete.exe showed up in Processes, and then it's by jenkins user. However, TestComplete UI does not show up.
- Try triggering the build after the disconnecting the slave
------- Nothing happen, no remote section from TC.
- Try with Entire suite option
-------- Same behavior, I see TestComplete.exe showed up in Processes, and then it's by jenkins user. However, TestComplete UI does not show up.
I would think if TestComplete.exe is in Window Task Manager, then UI should launch, but it just hung there.
I am also seeing this error in jenkins-slave.err log, not sure if that's the root cause though...
Aug 21, 2017 9:05:35 AM hudson.Util getWin32ErrorMessage
WARNING: Failed to find resource bundle
java.util.MissingResourceException: Can't find bundle for base name /hudson/win32errors, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at hudson.Util.getWin32ErrorMessage(Util.java:628)
at hudson.util.jna.JnaException.<init>(JnaException.java:37)
at hudson.util.jna.RegistryKey.check(RegistryKey.java:124)
at hudson.util.jna.RegistryKey.open(RegistryKey.java:223)
at com.smartbear.jenkins.plugins.testcomplete.TcInstallationsScanner$ScannerCallable.scanForInstallations(TcInstallationsScanner.java:82)
at com.smartbear.jenkins.plugins.testcomplete.TcInstallationsScanner$ScannerCallable.call(TcInstallationsScanner.java:70)
at com.smartbear.jenkins.plugins.testcomplete.TcInstallationsScanner$ScannerCallable.call(TcInstallationsScanner.java:58)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:94)
at java.lang.Thread.run(Unknown Source)
- shenyusun8 years agoContributor
Support resolved the issue.
The Jenkins Service needs to run by Local account.
- shankar_r8 years agoCommunity Hero
This could be a problem,
I hope you went the thru the below link step by step if not please do.
https://support.smartbear.com/testcomplete/docs/working-with/integration/jenkins/preparing.html
if you still see the problem, i would recommend to raise a support ticket using https://support.smartbear.com/message/?prod=TestComplete
- shenyusun8 years agoContributor
Thank you Shankar, that was how I set it up.
I'll create a support ticket.
- RodionMochalov7 years agoNew Member
I have same problem, but with TC 10.6.
How could i solve it? - tristaanogre7 years agoEsteemed Contributor
RodionMochalov wrote:
I have same problem, but with TC 10.6.
How could i solve it?There were links to documentation for setting up Jenkins to work with TestComplete. Did you follow those?
Also, the solution marked here indicates that the problem was that they needed to have Jenkins run as a local account. have you made that change? - pv9876543216 years agoOccasional Contributor
I am runing my windows Jenkins agent with Local System User, yet I am facing this error
[TestComplete] Found TestComplete/TestExecute installations: Type: TC, Version: 14.0.308.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 14\x64\bin\TestComplete.exe" Type: TE, Version: 14.0.317.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 14\x64\bin\TestExecute.exe" [TestComplete] Selected TestComplete/TestExecute installation: Type: TC, Version: 14.0.308.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 14\x64\bin\TestComplete.exe" [TestComplete] Launching the test runner. [TestComplete] [ERROR] An exception occurred: hudson.util.jna.JnaException: Win32 error: 2 - null. [TestComplete] Marking the build as FAILED. [TestComplete] [WARNING] Unable to publish test results (xml data is empty). [TestComplete] The test execution finished
FINISHED: FAILUREPRIMARY: Can someone help me with this please
Also, if possible I would like to launch my Jenkins slave via SSH and execute the TestComplete tests using the plugin
Thanks.