[JIRA] (JENKINS-58175) Build Status Success even after disconnection of ALM

19 views
Skip to first unread message

gsureka@ups.com (JIRA)

unread,
Jun 25, 2019, 1:26:03 AM6/25/19
to jenkinsc...@googlegroups.com
Govind Sureka created an issue
 
Jenkins / Bug JENKINS-58175
Build Status Success even after disconnection of ALM
Issue Type: Bug Bug
Assignee: Daniel Gront
Components: hp-application-automation-tools-plugin
Created: 2019-06-25 05:25
Environment: 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)
Priority: Major Major
Reporter: Govind Sureka

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

daniel.gront@microfocus.com (JIRA)

unread,
Jun 25, 2019, 1:30:03 AM6/25/19
to jenkinsc...@googlegroups.com
Daniel Gront assigned an issue to Anda Sorina Laakso
Change By: Daniel Gront
Assignee: Daniel Gront Anda Sorina Laakso

daniel.gront@microfocus.com (JIRA)

unread,
Jun 25, 2019, 1:30:04 AM6/25/19
to jenkinsc...@googlegroups.com

daniel.gront@microfocus.com (JIRA)

unread,
Jun 25, 2019, 1:32:02 AM6/25/19
to jenkinsc...@googlegroups.com
Daniel Gront commented on Bug JENKINS-58175
 
Re: Build Status Success even after disconnection of ALM

Anda Sorina Laakso, you could use the following to abort the job "throw new AbortException()" or set the build to FAILURE if failed.

gsureka@ups.com (JIRA)

unread,
Jun 27, 2019, 5:13:04 AM6/27/19
to jenkinsc...@googlegroups.com

When this will be available for testing?

gsureka@ups.com (JIRA)

unread,
Jul 1, 2019, 11:22:02 AM7/1/19
to jenkinsc...@googlegroups.com

Hello Anda,

Please let us know when we can get the solution for this issue.

anda-sorina.laakso@microfocus.com (JIRA)

unread,
Jul 2, 2019, 4:38:02 AM7/2/19
to jenkinsc...@googlegroups.com

anda-sorina.laakso@microfocus.com (JIRA)

unread,
Oct 7, 2019, 6:17:03 AM10/7/19
to jenkinsc...@googlegroups.com

Is the issue solved now? Can we close the ticket?
Also our latest version of the plugin is available now (5.9).

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

anda-sorina.laakso@microfocus.com (JIRA)

unread,
Feb 19, 2020, 9:08:03 AM2/19/20
to jenkinsc...@googlegroups.com
Anda Sorina Laakso closed an issue as Fixed
 
Change By: Anda Sorina Laakso
Status: Open Closed
Resolution: Fixed

anda-sorina.laakso@microfocus.com (JIRA)

unread,
Feb 19, 2020, 9:09:02 AM2/19/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages