[JIRA] (JENKINS-59391) Micro Focus Application Automation Tools - Test is missing host name and execution fails to start

25 views
Skip to first unread message

jim.sears@toyota.com (JIRA)

unread,
Sep 16, 2019, 9:29:04 AM9/16/19
to jenkinsc...@googlegroups.com
Jim Sears created an issue
 
Jenkins / Bug JENKINS-59391
Micro Focus Application Automation Tools - Test is missing host name and execution fails to start
Issue Type: Bug Bug
Assignee: Maria Narcisa Galan
Attachments: Jenkins ALM settings.png
Components: hp-application-automation-tools-plugin
Created: 2019-09-16 13:28
Environment: Micro Focus Quality Center 12.55, Patch 3
Labels: ALM execution
Priority: Major Major
Reporter: Jim Sears

Jenkins Console output shows the Test execution does not start. The HostName is <blank>. The plug-in option for where to run the test has "Planned Host Name" and Quality Center is populated with a Host list value.

 

I've also attached a screenshot of the Jenkins ALM plugin settings.

 

5.8 has an issue and doesn't start the test run. Please see the log below. 

[RouteOne Medium] $ "d:\Jenkins\.jenkins\workspace\Agile Enablement Factories\Sales And Product\1-2 Dealer Sales\RouteOne Medium\HpToolsLauncher.exe" -paramfile props13092019181324010.txt
"Started..."
Timeout is set to: 7200
Run mode is set to: RUN_PLANNED_HOST
============================================================================
Starting test set execution
Test set name: Demo, Test set id: 1423
Number of tests in set: 5
Test 1: [1]R1_AKL_CAL_BUS_LSE will run on host: <missing in log but is assigned in QC>
Test 2: [1]R1_AKL_CAL_BUS_RET will run on host:
Test 3: [1]R1_AKL_CAL_IND_LSE will run on host:
Test 4: [1]R1_AKL_CAL_IND_RET will run on host:
Test 5: [1]R1_AKL_CA_BUS_ERR will run on host:
Problem while running TestSet: Exception from HRESULT: 0x80040459
"Scheduler started at:13/09/2019 18:13:28
-------------------------------------------------------------------------------------------------------
Test set: Demo, finished at 13/09/2019 18:13:29
================================================
Run status: Job succeeded, total tests: 5, succeeded: 0, failures: 0, errors: 0, warnings: 0
Unknown:
Unknown:
Unknown:
Unknown:
Unknown:
================================================

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

marianarcisa.galan@microfocus.com (JIRA)

unread,
Sep 16, 2019, 9:50:10 AM9/16/19
to jenkinsc...@googlegroups.com
Maria Narcisa Galan commented on Bug JENKINS-59391
 
Re: Micro Focus Application Automation Tools - Test is missing host name and execution fails to start

Hi! Last week we released a new version of our plugin. Please install it and tell us if the problem persists   . 

Here is the link from where you can download it: 

Directly  or through Jenkins using the instructions here.

jim.sears@toyota.com (JIRA)

unread,
Sep 16, 2019, 12:34:02 PM9/16/19
to jenkinsc...@googlegroups.com

The new plug-in works better than before, I can run a test as long as I don't care which PC is running the test and I populate "RunMode" with a Host List. 

Unfortunately, I'm having issue with the Planned Host Name. If I set the value to "Run Remotely" and leave the "Run Mode" value blank then I get an exception. (I leave it blank because I have the Planned HostName on the Test in the QC Test Set already defined.)

Goal:

Run a test on a specific HostName. I need the test to run on a specific PC because the test deletes temp files and reboots the PC. (Maintenance process).

 

Works but doesn't satisfy my goal:

I can run on a remote PC only if the HostList and the Plugin RunMode value matches. In this case, I set the PlannedHostName and RunMode to TAF_LAB_UFT. Test doesn't actually run on the PC I need it to.

 

How do I get the test to run on the Planned Host Name in QC instead of the HostName listed in Plugin RunMode? I've tried all three RunMode options.

1) RunMode = "Run Remotely" and leaving the HostName list blank but I get this error. 

2) RunMode = "Run Locally" won't work bc the test only runs on the Slave and that isn't the correct PC.

3) RunMode = "Run on Planned Host" and leave it blank and I get the same error. If I put in the Host List then the test runs on any available Host.

I have no way of controlling the PC (Host) where the test is expected to execute.
Started by user
Jim Sears
Building on master in workspace d:\Jenkins\.jenkins\workspace\MF QC Test Set Execution\Automation CoE\TAF LAB PC Maintenance-Reboot
[TAF LAB PC Maintenance-Reboot] $ "d:\Jenkins\.jenkins\workspace\MF QC Test Set Execution\Automation CoE\TAF LAB PC Maintenance-Reboot\HpToolsLauncher.exe" -paramfile props16092019112733046.txt
"Started..."
Timeout is set to: 180
Run mode is set to: RUN_REMOTE
Unable to retrieve test set folder: Node not found.


============================================================================
Starting test set execution

Test set name: LabMaintenance-Reboot, Test set id: 210
Test 1: [1]RebootLabPC will run on host:
Test 2: [2]RebootLabPC will run on host:
Test 3: [3]RebootLabPC will run on host:
Test 4: [4]RebootLabPC will run on host:
Test 5: [5]RebootLabPC will run on host:
Test 6: [6]RebootLabPC will run on host:
Test 7: [7]RebootLabPC will run on host:

Problem while running TestSet: Exception from HRESULT: 0x80040459

"Scheduler started at:16/09/2019 11:27:38
-------------------------------------------------------------------------------------------------------

Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: Current test set is null.
at HpToolsLauncher.AlmTestSetsRunner.SetTestResults(ITSTest currentTest, IExecutionStatus executionStatus, ITestSet targetTestSet, TestRunResults activeTestDesc, TestSuiteRunResults runDesc, String testPath, String abortFilename)
at HpToolsLauncher.AlmTestSetsRunner.RunTestSet(String tsFolderName, String tsName, String testParameters, Double timeout, QcRunMode runMode, String runHost, Boolean isFilterSelected, String filterByName, List`1 filterByStatuses, TestStorageType testStorageType)
at HpToolsLauncher.AlmTestSetsRunner.Run()
at HpToolsLauncher.Launcher.Run()
at HpToolsLauncher.Program.Main(String[] args)
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
Triggering a new build of
MF QC Test Set Execution » Automation CoE » LabMainteance QA EmailReport
Finished: SUCCESS
 

jim.sears@toyota.com (JIRA)

unread,
Sep 16, 2019, 12:34:02 PM9/16/19
to jenkinsc...@googlegroups.com

marianarcisa.galan@microfocus.com (JIRA)

unread,
Sep 17, 2019, 3:10:02 AM9/17/19
to jenkinsc...@googlegroups.com

marianarcisa.galan@microfocus.com (JIRA)

unread,
Sep 17, 2019, 3:36:04 AM9/17/19
to jenkinsc...@googlegroups.com

marianarcisa.galan@microfocus.com (JIRA)

unread,
Sep 17, 2019, 3:36:04 AM9/17/19
to jenkinsc...@googlegroups.com

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

unread,
Sep 17, 2019, 7:34:02 AM9/17/19
to jenkinsc...@googlegroups.com
Anda Sorina Laakso commented on Bug JENKINS-59391
 
Re: Micro Focus Application Automation Tools - Test is missing host name and execution fails to start

I think you forgot to mention the host where the tests will run. This was the only scenario in which i was able to reproduce this error.

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

unread,
Sep 17, 2019, 7:59:02 AM9/17/19
to jenkinsc...@googlegroups.com
Anda Sorina Laakso edited a comment on Bug JENKINS-59391
Hi Jim,

I have uploaded the fix for the host name issue
in dropbox and deleted the previous patch. Please install this new version of the plugin and let me know if the problem got fixed or not.
Thank you.

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

unread,
Sep 17, 2019, 7:59:02 AM9/17/19
to jenkinsc...@googlegroups.com

Hi Jim,

I have uploaded the fix for the host name issue and deleted the previous patch. Please install this new version of the plugin and let me know if the problem got fixed or not.
Thank you.

jim.sears@toyota.com (JIRA)

unread,
Sep 17, 2019, 8:15:02 AM9/17/19
to jenkinsc...@googlegroups.com

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

unread,
Sep 17, 2019, 8:18:01 AM9/17/19
to jenkinsc...@googlegroups.com

marianarcisa.galan@microfocus.com (JIRA)

unread,
Sep 18, 2019, 3:08:02 AM9/18/19
to jenkinsc...@googlegroups.com

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

unread,
Sep 18, 2019, 6:54:03 AM9/18/19
to jenkinsc...@googlegroups.com
Anda Sorina Laakso started work on Bug JENKINS-59391
 
Change By: Anda Sorina Laakso
Status: Open In Progress

minhtrancom@gmail.com (JIRA)

unread,
Oct 23, 2019, 8:28:02 PM10/23/19
to jenkinsc...@googlegroups.com
Minh Tran commented on Bug JENKINS-59391
 
Re: Micro Focus Application Automation Tools - Test is missing host name and execution fails to start

Hi,

I am on releases 5.9 and 5.9.1 beta and still having the same issue. Could you please ensure the fix will be included in release 5.10?

Minh

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

unread,
Oct 25, 2019, 3:06:02 AM10/25/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages