-
Bug
-
Resolution: Fixed
-
Major
-
Jennkins: CloudBees Jenkins Enterprise 2.150.3.2 rolling
Plugin: Execute Micro Focus functional tests from Micro Focus ALM (5.6 and 5.8 & Beta version)
Integrated UFT automation test cases from ALM with Jenkins. Individual test script taking more than 4 hours run are experience Jenkins and ALM disconnection resulting in this error:
Note: Though the execution has not completed but the status of the job is being shown as 'Success' which is misleading.
Last Section of Logs:
24/06/2019 08:27:14 Running: [1]06_ACC_ActionAppropriation
24/06/2019 08:27:14 Running test: [1]06_ACC_ActionAppropriation, Test id: 973, Test instance id: 950
Test: [1]06_ACC_ActionAppropriation, Id: 950, Execution status: Running
Test: [1]06_ACC_ActionAppropriation, Id: 950, Execution status: Unknown, Message: Testing tool was terminated during test run
Test: [1]06_ACC_ActionAppropriation, Id: 950, Execution status: Error, Message: Testing tool was terminated during test run
Unhandled Exception: System.NullReferenceException: Your Quality Center session has been disconnected. Contact your system administrator for more information
at Mercury.TD.Client.Ota.QC9.ITSTest.get_LastRun()
at HpToolsLauncher.AlmTestSetsRunner.GetTestRunId(ITSTest currentTest)
at HpToolsLauncher.AlmTestSetsRunner.WriteTestRunSummary(ITSTest prevTest)
at HpToolsLauncher.AlmTestSetsRunner.RunTestSet(String tsFolderName, String tsName, Double timeout, QcRunMode runMode, String runHost)
at HpToolsLauncher.AlmTestSetsRunner.Run()
at HpToolsLauncher.Launcher.RunTests(IAssetRunner runner, String resultsFile)
at HpToolsLauncher.Launcher.Run()
at HpToolsLauncher.Program.Main(String[] args)
An error occurred while disposing runner: Your Quality Center session has been disconnected. Contact your system administrator for more information.
[ACC_Jenkins_50Min] $ cmd /c call C:\WINDOWS\TEMP\jenkins1472816812507945589.bat
C:\Program Files\jenkins\UFT_EntAutomation3_N3\workspace\jenkinsmaster-5\ENT\EntAutomation\UFT_Jobs\ACC_Jenkins_50Min>d:
D:\>cd UPSData\curl-7.64.0-win64-mingw\bin\
D:\UPSData\curl-7.64.0-win64-mingw\bin>curl -l -u cvc8dzc:3c2b236c8b55584f0829d64de7c2ae38 https://jenkins-m5.ups.com:8443/job/jenkinsmaster-5/job/ENT/job/EntAutomation/job/UFT_Jobs/job/ACC_Jenkins_50Min/49/consoleText 1>abc.text
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 -::- -::- -::- 0
100 148k 0 148k 0 0 1445k 0 -::- -::- -::- 1445k
D:\UPSData\curl-7.64.0-win64-mingw\bin>FINDSTR /B /I "Link:" abc.text | sort 1>result.text
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4558
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4559
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4561
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4562
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4563
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4564
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4565
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4566
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4567
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4569
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4571
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4573
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4574
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4575
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4576
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4577
The Link: tds://ACC.GA.mfqc.ams1907.com:8443/qcbin/TestLabModule-000000003649890581?EntityType=IRun&EntityID=4578
Recording test results
None of the test reports contained any result
RunResultRecorder: didn't find any test results to record
No emails were triggered.
Finished: SUCCESS