Hi dear Jenkins community,
i know there are several questions with the same problem i got - but they all did not solve the problem.
At first my setup:
- latest Jenkins Controller with Java 17.0.7
- Jenkins Node with Java 17.0.7 in different subnet in VM on ESX host
- using latest TestComplete Plugin in my pipeline and TestExecute 15 on the node
- Firewall between controller, node and networks - but worked without problems all the time, no logs refering to my problem
- using JenkinsAgentStartup.cmd from vsphere-cloud-plugin
What is happening?
- Pipeline runs and starts VM template on ESX host - everything fine
- Pipeline is executing some env stuff - everything fine
- Pipeline is executing TestComplete step - throwing java exception
15:17:23 [TestComplete] The test execution started (ProjektName).
15:17:23 [TestComplete] Found TestComplete/TestExecute installations:
15:17:23 Type: TE, Version: 15.60.44.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\TestExecute.exe"
15:17:23 Type: TELite, Version: 15.60.44.50, Path: "C:\Program Files (x86)\SmartBear\TestExecuteLite 15\x64\bin\TestExecuteLite.exe"
15:17:23 [TestComplete] Selected TestComplete/TestExecute installation:
15:17:23 Type: TE, Version: 15.60.44.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\TestExecute.exe"
15:17:23 [TestComplete] Launching the test runner.
15:17:24 $ '"C:\Program Files (x86)\SmartBear\TestExecute 15\bin\TestCompleteService15.exe"' //LogonAndExecute //lDomain: "" //lName: "user" //lPassword: "xxx" //lTimeout: "-1" //lUseActiveSession: "true" //lCommandLine: '""C:\Program Files (x86)\SmartBear\TestExecute 15\x64\bin\TestExecute.exe" c:\ProjektName.pjs /run /accesskey:******** /SilentMode /ForceConversion /ns /exit /DoNotShowLog /JenkinsTCPluginVersion:2.9.2"'
15:17:24 [TestComplete] [ERROR] An exception occurred:
15:17:24 java.nio.channels.ClosedChannelException.
15:17:24 [TestComplete] Marking the build as FAILED.
15:17:24 [TestComplete] [WARNING] Unable to publish test results (xml data is empty).
15:17:24 [TestComplete] The test execution finished (ProjektName).
Please help!