[JIRA] (JENKINS-56750) Micro Focus Application Automation Tools - Build log incorrect for multiple test instances of the same test.

0 views
Skip to first unread message

jim.sears@toyota.com (JIRA)

unread,
Mar 25, 2019, 3:30:03 PM3/25/19
to jenkinsc...@googlegroups.com
Jim Sears created an issue
 
Jenkins / Bug JENKINS-56750
Micro Focus Application Automation Tools - Build log incorrect for multiple test instances of the same test.
Issue Type: Bug Bug
Assignee: Carles Capdevila
Attachments: build.log, RunResults.png, Tests about to run.png
Components: log-file-filter-plugin
Created: 2019-03-25 19:29
Environment: The Quality Center plug-in is 5.6.2. I had 5.7 installed but had an issue with a parameter "length cannot be zero" so I had to downgrade. That issue is affecting other users as well. My reporting issue happens in both 5.6.2 and .57.

About Jenkins 2.150.1
Jenkins is a community-developed open-source automation server.

Jenkins depends on the following 3rd party libraries
Mavenized dependencies
Name
Maven ID
License
Jenkins war org.jenkins-ci.main:jenkins-war:2.150.1 The MIT license
Utility around Java Crypto API org.jenkins-ci:crypto-util:1.1 MIT License
HttpCommons Client library commons-httpclient:commons-httpclient:3.1-jenkins-1 Apache License 2.0
AOP alliance aopalliance:aopalliance:1.0 Public Domain
Google Guice - Core Library com.google.inject:guice:4.0 The Apache Software License, Version 2.0
Agent installer module org.jenkins-ci.modules:slave-installer:1.6 MIT License
Spring Framework: DAO org.springframework:spring-dao:1.2.9 The Apache Software License, Version 2.0
Apache Groovy org.codehaus.groovy:groovy-all:2.4.12 The Apache Software License, Version 2.0
Stapler Groovy module org.kohsuke.stapler:stapler-groovy:1.256 2-clause BSD license
Constant Pool Scanner org.jenkins-ci:constant-pool-scanner:1.2 NetBeans CDDL/GPL
jbcrypt org.connectbot.jbcrypt:jbcrypt:1.0.0 ISC
SSH CLI client authenticator org.jenkins-ci.modules:ssh-cli-auth:1.4 MIT License
ASM Commons org.ow2.asm:asm-commons:5.0.3 BSD
Symbol annotation org.jenkins-ci:symbol-annotation:1.1 MIT License
Jenkins core org.jenkins-ci.main:jenkins-core:2.150.1 The MIT license
Windows agent installer org.jenkins-ci.modules:windows-slave-installer:1.9.2 MIT License
Commons Digester commons-digester:commons-digester:2.1 The Apache Software License, Version 2.0
Java binding for libpam.so org.kohsuke:libpam4j:1.11 The MIT license
Commons IO commons-io:commons-io:2.4 The Apache Software License, Version 2.0
jnr-posix com.github.jnr:jnr-posix:3.0.45 Eclipse Public License - v 1.0
GNU General Public License Version 2
GNU Lesser General Public License Version 2.1
PuTTY support for Trilead SSH2 library org.kohsuke:trilead-putty-extension:1.2 MIT license
Instance Identity org.jenkins-ci.modules:instance-identity:2.2 MIT License
Apache Commons Codec commons-codec:commons-codec:1.9 The Apache Software License, Version 2.0
asm6 org.kohsuke:asm6:6.2 BSD License
kXML 2 is a small XML pull parser based on the common XML pull API net.sf.kxml:kxml2:2.3.0 BSD style
Public Domain
libzfs-java org.kohsuke:libzfs:0.8 COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin org.jenkins-ci.ui:jquery-detached:1.2 MIT License
json-lib org.kohsuke.stapler:json-lib:2.4-jenkins-2 The Apache Software License, Version 2.0
Robust HTTP client library org.jvnet.robust-http-client:robust-http-client:1.2 MIT license
ASM Core org.ow2.asm:asm:5.0.3 BSD
jnr-ffi com.github.jnr:jnr-ffi:2.1.8 The Apache Software License, Version 2.0
jnr-constants com.github.jnr:jnr-constants:0.9.9 The Apache Software License, Version 2.0
Timeline component at http://www.simile-widgets.org/timeline/ org.kohsuke.stapler:stapler-adjunct-timeline:1.5 BSD License
Log4j Implemented Over SLF4J org.slf4j:log4j-over-slf4j:1.7.25 Apache Software Licenses
Version number manipulation org.jenkins-ci:version-number:1.4 MIT License
commons-jelly-tags-define org.jvnet.hudson:commons-jelly-tags-define:1.0.1-hudson-20071021 The Apache Software License, Version 2.0
Stapler org.kohsuke.stapler:stapler:1.256 2-clause BSD license
JmDNS org.jenkins-ci:jmdns:3.4.0-jenkins-3 Apache License, Version 2.0
Commons Lang commons-lang:commons-lang:2.6 The Apache Software License, Version 2.0
Spring Framework: JDBC org.springframework:spring-jdbc:1.2.9 The Apache Software License, Version 2.0
Woodstox org.codehaus.woodstox:wstx-asl:3.2.9 The Apache Software License, Version 2.0
Spring Framework: Core org.springframework:spring-core:2.5.6.SEC03 The Apache Software License, Version 2.0
Spring Framework: AOP org.springframework:spring-aop:2.5.6.SEC03 The Apache Software License, Version 2.0
jCIFS org.samba.jcifs:jcifs:1.3.17-kohsuke-1 GNU Lesser General Public License, version 2.1
Apache Ant Core org.apache.ant:ant:1.9.2 The Apache Software License, Version 2.0
embedded_su for Java com.sun.solaris:embedded_su4j:1.1 MIT license
jffi com.github.jnr:jffi:1.2.17 The Apache Software License, Version 2.0
javax.inject javax.inject:javax.inject:1 The Apache Software License, Version 2.0
Upstart slave installer org.jenkins-ci.modules:upstart-slave-installer:1.1 MIT License
Apache Commons Compress org.apache.commons:commons-compress:1.10 Apache License, Version 2.0
Commons BeanUtils commons-beanutils:commons-beanutils:1.8.3 The Apache Software License, Version 2.0
Localizer org.jvnet.localizer:localizer:1.24 The MIT license
jansi org.fusesource.jansi:jansi:1.11 The Apache Software License, Version 2.0
SSH server org.jenkins-ci.modules:sshd:2.4 MIT License
Spring Framework: Beans org.springframework:spring-beans:2.5.6.SEC03 The Apache Software License, Version 2.0
SezPoz Library net.java.sezpoz:sezpoz:1.13 CDDL
stax-api javax.xml.stream:stax-api:1.0-2 CDDL
Winstone org.jenkins-ci:winstone:5.1 GNU Lesser General Public License version 2.1
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
SLF4J JDK14 Binding org.slf4j:slf4j-jdk14:1.7.25 MIT License
activation org.jvnet.hudson:activation:1.1.1-hudson-1 CDDL
commons-jelly-tags-fmt commons-jelly:commons-jelly-tags-fmt:1.0 The Apache Software License, Version 2.0
EdDSA-Java net.i2p.crypto:eddsa:0.2.0 CC0 1.0 Universal
jfreechart jfree:jfreechart:1.0.9 GNU Lesser General Public Licence
Stapler Jelly module org.kohsuke.stapler:stapler-jelly:1.256 2-clause BSD license
oro oro:oro:2.0.8 The Apache Software License, Version 2.0
Commons JEXL org.jenkins-ci:commons-jexl:1.1-jenkins-20111212 The Apache Software License, Version 2.0
Icon-Set module org.jenkins-ci.plugins.icon-shim:icon-set:1.0.5 MIT License
StAX API stax:stax-api:1.0.1 The Apache Software License, Version 2.0
FindBugs-jsr305 com.google.code.findbugs:jsr305:2.0.1 The Apache Software License, Version 2.0
windows-package-checker org.kohsuke:windows-package-checker:1.2 MIT license
Acegi Security Core org.acegisecurity:acegi-security:1.0.7 The Apache Software License, Version 2.0
Apache Commons FileUpload commons-fileupload:commons-fileupload:1.3.1-jenkins-2 The Apache Software License, Version 2.0
OS X slave installer org.jenkins-ci.modules:launchd-slave-installer:1.2 MIT License
Annotation Indexer org.jenkins-ci:annotation-indexer:1.12 MIT License
JLine jline:jline:2.12 The BSD License
Jenkins Task Reactor org.jenkins-ci:task-reactor:1.5 MIT License
Stapler adjunct for ZeroClipboard org.kohsuke.stapler:stapler-adjunct-zeroclipboard:1.3.5-1 MIT License
CodeMirror library from http://codemirror.net/ org.kohsuke.stapler:stapler-adjunct-codemirror:1.3 MIT License
ASM Util org.ow2.asm:asm-util:5.0.3 BSD
Bytecode transformation-based library for managing backward compatibility org.jenkins-ci:bytecode-compatibility-transformer:2.0-beta-2 The MIT license
Apache Mina SSHD :: Core org.apache.sshd:sshd-core:1.7.0 Apache 2.0 License
JCL 1.2 implemented over SLF4J org.slf4j:jcl-over-slf4j:1.7.25 MIT License
Embeddable daemonization library org.kohsuke:akuma:1.10 MIT license
JavaMail API (compat) javax.mail:mail:1.4.4 CDDL
GPLv2+CE
Hamcrest Core org.hamcrest:hamcrest-core:1.3 New BSD License
jcommon jfree:jcommon:1.0.12 GNU Lesser General Public Licence
Spring Framework: Context Support org.springframework:spring-context-support:2.5.6.SEC03 The Apache Software License, Version 2.0
Guava: Google Core Libraries for Java com.google.guava:guava:11.0.1 The Apache Software License, Version 2.0
JTidy org.jvnet.hudson:jtidy:4aug2000r7-dev-hudson-1 Java HTML Tidy License
commons-jelly org.jenkins-ci:commons-jelly:1.1-jenkins-20120928 The Apache Software License, Version 2.0
JavaScript GUI Lib: Handlebars bundle plugin org.jenkins-ci.ui:handlebars:1.1.1 MIT License
Spring Framework: Context org.springframework:spring-context:2.5.6.SEC03 The Apache Software License, Version 2.0
JavaScript GUI Lib: jQuery bundles (jQuery and jQuery UI) plugin org.jenkins-ci.ui:jquery-detached:1.2.1 MIT License
ASM Analysis org.ow2.asm:asm-analysis:5.0.3 BSD
Self-Signed Certificate Generator io.github.stephenc.crypto:self-signed-cert-generator:1.0.0 The MIT license
JavaServer Pages(TM) Standard Tag Library API javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:1.2.1 CDDL + GPLv2 with classpath exception
Discovery commons-discovery:commons-discovery:0.4 The Apache Software License, Version 2.0
jffi com.github.jnr:jffi:1.2.16 The Apache Software License, Version 2.0
dom4j org.jenkins-ci.dom4j:dom4j:1.6.1-jenkins-4 BSD License
Memory Monitor org.jenkins-ci:memory-monitor:1.9 MIT
Systemd slave installer org.jenkins-ci.modules:systemd-slave-installer:1.1 MIT License
XStream Core org.jvnet.hudson:xstream:1.4.7-jenkins-1 BSD style
Type arithmetic library for Java5 org.jvnet:tiger-types:2.2 CDDL/GPLv2 dual license
TXW2 Runtime com.sun.xml.txw2:txw2:20110809 CDDL v1.1 / GPL v2 dual license
Spring Framework: Web org.springframework:spring-web:2.5.6.SEC03 The Apache Software License, Version 2.0
Stapler JRebel module org.kohsuke.stapler:stapler-jrebel:1.256 2-clause BSD license
Pure Java - COM bridge org.kohsuke.jinterop:j-interop:2.0.6-kohsuke-1 LGPL v3
winp org.jvnet.winp:winp:1.27 The MIT license
JNA-POSIX org.jruby.ext.posix:jna-posix:1.0.3-jenkins-1 GNU Lesser General Public License Version 2.1
Apache Ant Launcher org.apache.ant:ant-launcher:1.9.2 The Apache Software License, Version 2.0
Java Native Access net.java.dev.jna:jna:4.5.2 LGPL, version 2.1
Apache License v2.0
javax.annotation API javax.annotation:javax.annotation-api:1.2 CDDL + GPLv2 with classpath exception
Pure Java - COM bridge org.kohsuke.jinterop:j-interopdeps:2.0.6-kohsuke-1 LGPL v3
Jenkins remoting layer org.jenkins-ci.main:remoting:3.27 The MIT license
Apache License 2.0
Bridge method injection annotations com.infradna.tool:bridge-method-annotation:1.13 MIT License
ASM Tree org.ow2.asm:asm-tree:5.0.3 BSD
asm5 org.kohsuke:asm5:5.0.1 BSD License
Jenkins Stapler Support Library io.jenkins.stapler:jenkins-stapler-support:1.0 MIT License
args4j args4j:args4j:2.0.31 MIT License
AntLR antlr:antlr:2.7.6 BSD License
relaxngDatatype relaxngDatatype:relaxngDatatype:20020414 BSD License
JZlib com.jcraft:jzlib:1.1.3-kohsuke-1 BSD
JavaScript GUI Lib: Twitter Bootstrap bundle plugin org.jenkins-ci.ui:bootstrap:1.3.2 MIT License
Custom Access Modifier annotations org.kohsuke:access-modifier-annotation:1.14 MIT License
Apache Commons Collections commons-collections:commons-collections:3.2.2 Apache License, Version 2.0
JUnit junit:junit:4.12 Eclipse Public License 1.0
Ganymed SSH2 for Java org.jenkins-ci:trilead-ssh2:build-217-jenkins-11 BSD style license
SLF4J API Module org.slf4j:slf4j-api:1.7.25 MIT License
ezmorph net.sf.ezmorph:ezmorph:1.0.6 The Apache Software License, Version 2.0
Spring Framework: Web MVC org.springframework:spring-webmvc:2.5.6.SEC03 The Apache Software License, Version 2.0
jnr-x86asm com.github.jnr:jnr-x86asm:1.0.2 MIT License
Jenkins cli org.jenkins-ci.main:cli:2.150.1 The MIT license
MXP1: Xml Pull Parser 3rd Edition (XPP3) xpp3:xpp3:1.1.4c Indiana University Extreme! Lab Software License, vesion 1.1.1
Public Domain
Apache Software License, version 1.1
jaxen jaxen:jaxen:1.1-beta-11 BSD License
commons-jelly-tags-xml commons-jelly:commons-jelly-tags-xml:1.1 The Apache Software License, Version 2.0
Static resources
Labels: Quality Center Test Results
Priority: Minor Minor
Reporter: Jim Sears

I'm having a reporting issue with the Jenkins plug-in for QC. I opened a bug in the Jira for their plug-in but no one has looked at it. Can you assist and discuss with Micro Focus if needed? I downgraded to 5.6.2 from 5.7 because of another issue "length cannot be zero". I've attached the build log that has the error. I have a test case in a test set 9 times. The point is that I need to run the test on 9 PCs. The error in the build log shows the 9th PC repeatedly and it should show 1,2,3,4..9. See attached files.

To clarify, the Jenkins job is running three Test Sets. Each Test Set has one test to run on 9 PCs. The build log should show 27 test instances consisting of 3 (1-9) tests. The report should have 3 test instances of (1), (2), (3), .... (9). Instead, there are 27 instances of (9).

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

Carles.Capdevila@t-systems.com (JIRA)

unread,
Mar 26, 2019, 5:32:03 AM3/26/19
to jenkinsc...@googlegroups.com
Carles Capdevila commented on Bug JENKINS-56750
 
Re: Micro Focus Application Automation Tools - Build log incorrect for multiple test instances of the same test.

I believe the Log File Filter Plugin has nothing to do with this? If this is only related to the Quality Center Plugin please use the "qc" component as mentioned in the plugin page

jim.sears@toyota.com (JIRA)

unread,
Mar 26, 2019, 9:52:02 AM3/26/19
to jenkinsc...@googlegroups.com
Jim Sears updated an issue
 

I've updated the plugin to qc-plugin per Carles suggestion.

Change By: Jim Sears
Component/s: qc-plugin
Component/s: log-file-filter-plugin

Carles.Capdevila@t-systems.com (JIRA)

unread,
Mar 26, 2019, 10:04:02 AM3/26/19
to jenkinsc...@googlegroups.com
 
Re: Micro Focus Application Automation Tools - Build log incorrect for multiple test instances of the same test.

Josh Soref / Evan Chen - Roman Seguy is put as the plugin maintainer but it looks to me like he's not anymore. As I've seen you're assigned to other qc tickets maybe you know who should be assigned to this one? I'm the maintainer of the Log File Filter Plugin and don't really know anything about the qc plugin. Thanks!

jsoref+jenkins@gmail.com (JIRA)

unread,
Mar 26, 2019, 10:48:02 AM3/26/19
to jenkinsc...@googlegroups.com

I'm a drive by contributor across the general project. (I'm mostly touching plugins for a specific UI refresh, and just happen to do other cleanup as I go.)

Sorry, I can't help. It's probably possible to mark the plug-in as "up for adoption".

jim.sears@toyota.com (JIRA)

unread,
Mar 26, 2019, 11:31:03 AM3/26/19
to jenkinsc...@googlegroups.com
Jim Sears updated an issue

Hi Daniel Gront, Yvonne Baynash

As creator and last to modify the plug-in for Quality Center, I have reached out to for assistance. 

I was asked to enter the plugin for this bug and this is the closest I could find. The website says the plugin does handle performance testing too so maybe this is the correct plug-in. 

micro-focus-performance-center-integration-plugin

Can either of you assist with the auto-assign of this bug or how this issue should be handled?

Jim

 

Change By: Jim Sears
Component/s: micro-focus-performance-center-integration-plugin
Component/s: qc-plugin

joshua.yates@orasi.com (JIRA)

unread,
Mar 26, 2019, 12:46:03 PM3/26/19
to jenkinsc...@googlegroups.com
Joshua Yates updated an issue
Change By: Joshua Yates
Component/s: hp-application-automation-tools-plugin
Component/s: micro-focus-performance-center-integration-plugin

joshua.yates@orasi.com (JIRA)

unread,
Mar 26, 2019, 12:48:01 PM3/26/19
to jenkinsc...@googlegroups.com

daniel.gront@microfocus.com (JIRA)

unread,
Mar 27, 2019, 1:48:03 AM3/27/19
to jenkinsc...@googlegroups.com

Hey Jim Sears, I can't understand where it the issue.

Is is it in Micro Focus Application Automation Tools?

  • If so what is the build step that you're are trying to run?

Or is it a issue with micro-focus-performance-center-integration-plugin or qc-plugin?

jim.sears@toyota.com (JIRA)

unread,
Mar 27, 2019, 10:25:03 AM3/27/19
to jenkinsc...@googlegroups.com

jim.sears@toyota.com (JIRA)

unread,
Mar 27, 2019, 10:25:03 AM3/27/19
to jenkinsc...@googlegroups.com
Jim Sears commented on Bug JENKINS-56750
 
Re: Micro Focus Application Automation Tools - Build log incorrect for multiple test instances of the same test.

Hi @Daniel Gront.  I'm new to this Jira Project so please bear with me. When I opened the Jira bug for this issue, the component list did not contain your plug-in "Micro Focus Application Automation Tools". The list only contained the very old version for qc-plugin. Joshua from Orasi, our support vendor for Micro Focus products added the correct plugin to the component field. I didn't know you could use free form text to enter a value.

 

The issue is not related to micro-focus-performance-center-integration-plugin or qc-plugin. I think there is some cleanup needed if your calling the new plugin version "Micro Focus Application Automation Tools" by the component name "qc-plugin".

 

The answer to your questions are as follows. The build step is for "Micro Focus Application Automation Tools". I've attached the build log to this bug. I've also attached an image of the build step. The build log shows the error with plug-in. Please let me know how else I can help.

Jim

daniel.gront@microfocus.com (JIRA)

unread,
Mar 27, 2019, 10:47:02 AM3/27/19
to jenkinsc...@googlegroups.com

Hey Jim Sears, No worries it's okay

The step you're executing is part of the Micro Focus Application Automation Tools (formerly HP/HPE Application Automation Tools, which is the component in Jira called hp-application-..).

By "The Quality Center plug-in is 5.6.2. and 5.7" You mean Micro Focus Application Tools plugin? Because our versions are pretty similar (see [here|https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/hp-application-automation-tools-plugin/]).

If not please add the correct version of the plugin.

I'll move this defect to the developer of this step from the ALM side.

If there is anything else let me know, or just ping me if there are things that are not moving.

daniel.gront@microfocus.com (JIRA)

unread,
Mar 27, 2019, 10:47:03 AM3/27/19
to jenkinsc...@googlegroups.com
Daniel Gront edited a comment on Bug JENKINS-56750
Hey [~jimsears], No worries it's okay :)


The step you're executing is part of the Micro Focus Application Automation Tools (formerly HP/HPE Application Automation Tools, which is the component in Jira called hp-application-..).

By "The Quality Center plug-in is 5.6.2. and 5.7" You mean Micro Focus Application Tools plugin? Because our versions are pretty similar (see [here|


If not please add the correct version of the plugin.

I'll move this defect to the developer of this step from the ALM side.

If there is anything else let me know, or just ping me if there are things that are not moving.

daniel.gront@microfocus.com (JIRA)

unread,
Mar 27, 2019, 10:48:03 AM3/27/19
to jenkinsc...@googlegroups.com
Daniel Gront edited a comment on Bug JENKINS-56750
Hey [~jimsears], No worries it's okay :)

The step you're executing is part of the Micro Focus Application Automation Tools (formerly HP/HPE Application Automation Tools, which is why the component in Jira called hp-application-..).


By "The Quality Center plug-in is 5.6.2. and 5.7" You mean Micro Focus Application Tools plugin? Because our versions are pretty similar (see [here|https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/hp-application-automation-tools-plugin/]).

If not please add the correct version of the plugin.

I'll move this defect to the developer of this step from the ALM side.

If there is anything else let me know, or just ping me if there are things that are not moving.

daniel.gront@microfocus.com (JIRA)

unread,
Mar 27, 2019, 10:48:04 AM3/27/19
to jenkinsc...@googlegroups.com

daniel.gront@microfocus.com (JIRA)

unread,
Mar 27, 2019, 10:48:04 AM3/27/19
to jenkinsc...@googlegroups.com

li.lu2@hpe.com (JIRA)

unread,
Jun 18, 2019, 3:15:02 AM6/18/19
to jenkinsc...@googlegroups.com
Roy Lu commented on Bug JENKINS-56750
 
Re: Micro Focus Application Automation Tools - Build log incorrect for multiple test instances of the same test.

Hi Daniel Gront,

Yes this is a issue of a build step belongs to our plugin. We may need Bogdan's help on this.

daniel.gront@microfocus.com (JIRA)

unread,
Jun 19, 2019, 12:37:02 AM6/19/19
to jenkinsc...@googlegroups.com

jim.sears@toyota.com (JIRA)

unread,
Aug 26, 2019, 12:27:03 PM8/26/19
to jenkinsc...@googlegroups.com
Jim Sears commented on Bug JENKINS-56750
 
Re: Micro Focus Application Automation Tools - Build log incorrect for multiple test instances of the same test.

Hi Daniel Gront, it has been over 2 months since the last comment on this issue.

May I have an update? Did you get Bogdan's help as you mentioned?

 

jim.sears@toyota.com (JIRA)

unread,
Aug 26, 2019, 12:28:02 PM8/26/19
to jenkinsc...@googlegroups.com
Jim Sears edited a comment on Bug JENKINS-56750
Hi [~gront], it has been over 2 months since the last comment on this issue.


May I have an update? Did you get Bogdan's help as you mentioned?

I see the issue is assigned to [~aslaakso] as well but I don't see any updates.

 

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

unread,
Aug 26, 2019, 12:58:02 PM8/26/19
to jenkinsc...@googlegroups.com

Hi Jim,

Let me know if i understud correctly the case since i just received this ticket. You have 3 sets of tests, and in each set there is a test case which is run on 9 different machines. The problem is that the test summary shows only the test from the last set 27th times. Is that right?

 

 

jim.sears@toyota.com (JIRA)

unread,
Sep 11, 2019, 9:57:03 AM9/11/19
to jenkinsc...@googlegroups.com

Hi Anda,

I'll give you the steps to recreate and then show why it is a bug.

1) Create HostList in QC for 3 PCs.

2) Create a Test Set in QC and add the same test 3 times. (This will create three instances of the same test.)

3) Update the "Planned HostName" for each test. Assign a different PC to each test instance.

4) Create a job in Jenkins using the QC Plugin and execute the Test Set.

The results in the console output only shows the Test execution for one "Planned HostName" and it repeats it 3 times.

The results should be one test instance for each Planned HostName.

Here are the wrong results in console output: (See the [3].

================================================
Run status: Job failed, total tests: 3, succeeded: 3, failures: 0, errors: 0
Passed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files*[3]*DeleteTempFiles
Failed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files*[3]*DeleteTempFiles
Passed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files*[3]*DeleteTempFiles

================================================

 

This is what it should look like:

================================================
Run status: Job failed, total tests: 3, succeeded: 3, failures: 0, errors: 0
Passed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files*[1]*DeleteTempFiles
Failed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files*[2]*DeleteTempFiles
Passed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files*[3]*DeleteTempFiles

================================================

 

The test is specific to the PC and if the results only show [3] then I can't tell if the which test passed or failed.

 

 

 

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

jim.sears@toyota.com (JIRA)

unread,
Sep 11, 2019, 9:58:02 AM9/11/19
to jenkinsc...@googlegroups.com
Jim Sears edited a comment on Bug JENKINS-56750
Hi Anda,

I'll give you the steps to recreate and then show why it is a bug.

1) Create HostList in QC for 3 PCs.

2) Create a Test Set in QC and add the same test 3 times. (This will create three instances of the same test.)

3) Update the "Planned HostName" for each test. Assign a different PC to each test instance.

4) Create a job in Jenkins using the QC Plugin and execute the Test Set.

The results in the console output only shows the Test execution for one "Planned HostName" and it repeats it 3 times.

The results should be one test instance for each Planned HostName.

Here are the wrong results in console output: (See the [3].

================================================
Run status: Job failed, total tests: 3, succeeded: 3, failures: 0, errors: 0
Passed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files \ *[3]*DeleteTempFiles
Failed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files
\ *[3]*DeleteTempFiles
Passed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files
\ *[3]*DeleteTempFiles

{color:#172b4d}================================================{color}

 

{color:#172b4d}This is what it should look like:{color}


================================================
Run status: Job failed, total tests: 3, succeeded: 3, failures: 0, errors: 0
Passed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files \ *[1]*DeleteTempFiles
Failed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files
\ *[2]*DeleteTempFiles
Passed : Root\Automation CoE\LabMaintenance\LabMaintenance-Files
\ *[3]*DeleteTempFiles

{color:#172b4d}================================================{color}

 

{color:#172b4d}The test is specific to the PC and if the results only show [3] then I can't tell
if the which test passed or failed.{color}

 

 

 

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

unread,
Sep 12, 2019, 5:51:03 AM9/12/19
to jenkinsc...@googlegroups.com

Hi Jim,

Can you tell me where I could upload the fix for this issue? Maybe an ftp server.

Thank you.

 

jim.sears@toyota.com (JIRA)

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

I can share a drop box location but I need your email address to do so.

Do you have an alternate location in mind?

Jim

jim.sears@toyota.com (JIRA)

unread,
Sep 12, 2019, 12:35:02 PM9/12/19
to jenkinsc...@googlegroups.com
Jim Sears edited a comment on Bug JENKINS-56750
[~aslaakso]

I can share a drop box location but I need your email address to do so.

Do you have an alternate location in mind?

Jim

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

unread,
Sep 13, 2019, 3:12:01 AM9/13/19
to jenkinsc...@googlegroups.com

Hi Jim,

I uploaded the file to the location indicated by you.

If there are still problems let me know.

jim.sears@toyota.com (JIRA)

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

Hi Anda Sorina Laakso, I've got the HPI file. I'm not familiar with HPI extension. Can you please tell me what or where this file is supposed to go or how to install on the Jenkins server?

jim.sears@toyota.com (JIRA)

unread,
Sep 13, 2019, 10:51:07 AM9/13/19
to jenkinsc...@googlegroups.com
Jim Sears updated an issue
Change By: Jim Sears
Comment: Hi [~aslaakso], I've got the HPI file. I'm not familiar with HPI extension. Can you please tell me what or where this file is supposed to go or how to install on the Jenkins server?

jim.sears@toyota.com (JIRA)

unread,
Sep 13, 2019, 6:23:03 PM9/13/19
to jenkinsc...@googlegroups.com
 
Re: Micro Focus Application Automation Tools - Build log incorrect for multiple test instances of the same test.

The older HP Plugin has an issue and if you built on top of that then I may not be able to use it. We are using the 5.62 because of that error so when I try your patch, I get this error.

We are using HP QC 12.55.548 Patch 3.

 
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-Files
ERROR: Build step failed with exception
java.lang.NullPointerException
at com.microfocus.application.automation.tools.model.RunFromAlmModel.CreateProperties(RunFromAlmModel.java:161)
at com.microfocus.application.automation.tools.model.RunFromAlmModel.getProperties(RunFromAlmModel.java:151)
at com.microfocus.application.automation.tools.run.RunFromAlmBuilder.perform(RunFromAlmBuilder.java:211)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1816)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Build step 'Execute Micro Focus functional tests from Micro Focus ALM' marked build as failure
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
Finished: FAILURE

jim.sears@toyota.com (JIRA)

unread,
Sep 13, 2019, 6:26:02 PM9/13/19
to jenkinsc...@googlegroups.com

For reference, I'm reinstalling 5.8 version to see if the error is different. I may need a second ticket for 5.8 :-0.

I will update here with the error once I've captured it.

 

jim.sears@toyota.com (JIRA)

unread,
Sep 13, 2019, 7:16:04 PM9/13/19
to jenkinsc...@googlegroups.com
Jim Sears edited a comment on Bug JENKINS-56750
[~aslaakso]

The older HP Plugin has an issue and if you built on top of that then I may not be able to use it. We are using the 5.62 because of that error so when I try your patch, I get this error.

We are using HP QC 12.55.548 Patch 3.

 
Started by user

Building on master in workspace d:\Jenkins\.jenkins\workspace\MF QC Test Set Execution\Automation CoE\TAF LAB PC Maintenance-Files
ERROR: Build step failed with exception
java.lang.NullPointerException
at com.microfocus.application.automation.tools.model.RunFromAlmModel.CreateProperties(RunFromAlmModel.java:161)
at com.microfocus.application.automation.tools.model.RunFromAlmModel.getProperties(RunFromAlmModel.java:151)
at com.microfocus.application.automation.tools.run.RunFromAlmBuilder.perform(RunFromAlmBuilder.java:211)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1816)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Build step 'Execute Micro Focus functional tests from Micro Focus ALM' marked build as failure
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
Finished: FAILURE

jim.sears@toyota.com (JIRA)

unread,
Sep 13, 2019, 7:16:04 PM9/13/19
to jenkinsc...@googlegroups.com
Jim Sears edited a comment on Bug JENKINS-56750
[~aslaakso]

For reference, I'm reinstalling 5.8 version to see if the error is different. I may need a second ticket for 5.8 :-0.

I will update here with the error once I
 

5.8 has an issue and doesn
' ve captured it 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: *{color:#FF0000}<missing in log but is assigned in QC>{color}*
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:
*{color:#FF0000}Problem while running TestSet: Exception from HRESULT: 0x80040459{color}*
"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:
================================================

 

daniel.gront@microfocus.com (JIRA)

unread,
Sep 15, 2019, 12:39:03 AM9/15/19
to jenkinsc...@googlegroups.com

Hey Jim Sears, the other issue seems more severe. Please open another ticket so we asses this properly.

Maria Narcisa Galan FYI.

daniel.gront@microfocus.com (JIRA)

unread,
Sep 15, 2019, 12:39:03 AM9/15/19
to jenkinsc...@googlegroups.com
Daniel Gront edited a comment on Bug JENKINS-56750
Hey [~jimsears], the other issue seems more severe. Please open another ticket so we can asses this properly.

[~narcisamgalan] FYI.

jim.sears@toyota.com (JIRA)

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

I opened the second ticket and tried the new beta patch and I feel like the new patch is working without errors but I am still experiencing the HostName problem. I am unable to run a test on a specific HostName. I've update the other ticket with the details and I think one of these is now a duplicate of the other.

Let me know how you would like to proceed or if both tickets should remain open.
Jim

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

unread,
Sep 17, 2019, 2:53:03 AM9/17/19
to jenkinsc...@googlegroups.com

Hi Jim,

Since the patch solved the initial issue for this ticket, you should close this ticket and update the other ticket with all the details about the other issue.

Thanks.

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

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

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

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

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

unread,
Sep 17, 2019, 3:13:01 AM9/17/19
to jenkinsc...@googlegroups.com
 
Re: Micro Focus Application Automation Tools - Build log incorrect for multiple test instances of the same test.

As you can see on the attach image for me the host name is not missing, Did you remember to add itin the "advanced" section?

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

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

As you can see in the attached image for the me the host name is present when selecting run on planed host option. Did you specify the host name in the "Advanced " section of the job configuration?

Thanks.

jim.sears@toyota.com (JIRA)

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

jim.sears@toyota.com (JIRA)

unread,
Sep 17, 2019, 8:14:01 AM9/17/19
to jenkinsc...@googlegroups.com
Jim Sears commented on Bug JENKINS-56750
 
Re: Micro Focus Application Automation Tools - Build log incorrect for multiple test instances of the same test.

Hi Anda Sorina Laakso

Before I close this ticket, may I ask two things from you?

1) Repeat your exercise but add the same test "GUITest100" so that you have three instances, [1][2][3]. And set the "Another Host" to be Host1, Host2, Host3.

When you look at the results, the test report should say what test ran on which PC. Your example is reversed because you use the same host.

2) You asked if I populated the HostName but if I did, that would be inefficient. One Jenkins job runs 10 tests, each test on a different PC. If I set the HostName in the Jenkins job then I would have to set it to one PC. That means I would need 10 jobs, 1 for each PC to run one test.

Please see attached PPT.

 

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

unread,
Sep 18, 2019, 6:54:03 AM9/18/19
to jenkinsc...@googlegroups.com
Change By: Anda Sorina Laakso
Status: Open In Progress
Reply all
Reply to author
Forward
0 new messages