-
Bug
-
Resolution: Not A Defect
-
Major
-
awt.toolkit sun.awt.X11.XToolkit
com.sun.akuma.Daemon daemonized
executable-war /usr/lib/jenkins/jenkins.war
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
hudson.diyChunking true
hudson.model.ParametersAction.safeParameters pullRequestId,pullRequestTitle,sourceBranch,targetBranch,sourceRepositoryOwner,sourceRepositoryName,destinationRepositoryOwner,destinationRepositoryName,sourceCommitHash,destinationCommitHash
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /usr/lib/jenkins/jenkins.war
java.class.version 51.0
java.endorsed.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/endorsed
java.ext.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre
java.io.tmpdir /tmp
java.library.path /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.7.0_111-mockbuild_2016_07_27_05_08-b00
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.7
java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.7.0_111
java.vm.info mixed mode
java.vm.name OpenJDK 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.7
java.vm.vendor Oracle Corporation
java.vm.version 24.111-b01
javax.accessibility.assistive_technologies org.GNOME.Accessibility.JavaBridge
JENKINS_HOME /var/lib/jenkins
jna.loaded true
jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib:/usr/lib64/xulrunner:/lib/i686/nosegneg:/usr/lib64/qt-3.3/lib:/usr/lib64/atlas:/usr/pgsql-9.1/lib:/usr/lib64/gtk-2.0/modules:/usr/lib64/ctapi:/usr/lib64/mysql:/usr/lib64/tcl8.5
jnidispatch.path /tmp/jna--1712433994/jna4741514619983015271.tmp
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
os.arch amd64
os.name Linux
os.version 2.6.32-642.4.2.el6.x86_64
path.separator :
sun.arch.data.model 64
sun.boot.class.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/classes
sun.boot.library.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.font.fontmanager sun.awt.X11FontManager
sun.io.unicode.encoding UnicodeLittle
sun.java.command /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
user.country US
user.dir /
user.home /var/lib/jenkins
user.language en
user.name jenkins
user.timezone America/Los_Angeles
Environment Variables
Name ↓
Value
_ /etc/alternatives/java
HOME /var/lib/jenkins
LANG en_US.UTF-8
LOGNAME jenkins
NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat
PATH /sbin:/usr/sbin:/bin:/usr/bin
PWD /
SHELL /bin/bash
SHLVL 3
TERM xterm
USER jenkins
XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt
Plugins
Name ↓
Version
Enabled
Pinned
ace-editor 1.1 true false
ant 1.3 true false
antisamy-markup-formatter 1.3 true false
authentication-tokens 1.3 true false
blueocean 1.0.0-b07 true false
blueocean-commons 1.0.0-b07 true false
blueocean-config 1.0.0-b07 true false
blueocean-dashboard 1.0.0-b07 true false
blueocean-events 1.0.0-b07 true false
blueocean-jwt 1.0.0-b07 true false
blueocean-personalization 1.0.0-b07 true false
blueocean-pipeline-api-impl 1.0.0-b07 true false
blueocean-rest 1.0.0-b07 true false
blueocean-rest-impl 1.0.0-b07 true false
blueocean-web 1.0.0-b07 true false
bouncycastle-api 2.16.0 true false
branch-api 1.11 true false
build-timeout 1.16 true false
cloud-stats 0.3 true false
cloudbees-folder 5.13 true false
config-file-provider 2.13 true false
credentials 2.1.5 true false
credentials-binding 1.7 true false
display-url-api 0.5 true false
docker-commons 1.4.1 true false
docker-workflow 1.8 true false
durable-task 1.12 true false
email-ext 2.42 true false
external-monitor-job 1.4 true false
favorite 1.16 true false
git 3.0.0 true false
git-client 2.0.0 true false
git-server 1.6 true false
github 1.21.1 true false
github-api 1.77 true false
github-branch-source 1.10 true false
handlebars 1.1.1 true false
icon-shim 2.0.3 true false
jackson2-api 2.7.3 true false
javadoc 1.4 true false
jenkins-jira-issue-updater 1.18 true false
jira 2.2.1 true false
jira-ext 0.5 true false
JiraTestResultReporter 2.0.3 true false
jquery-detached 1.2.1 true false
junit 1.18 true false
ldap 1.12 true false
mailer 1.17 true false
mapdb-api 1.0.6.0 true false
matrix-auth 1.3.2 true false
matrix-project 1.7.1 true false
maven-plugin 2.13 true false
metrics 3.1.2.9 true false
momentjs 1.1.1 true false
openstack-cloud 2.11 true false
openstack-heat 1.0 true false
pam-auth 1.2 true false
pipeline-build-step 2.3 true false
pipeline-graph-analysis 1.1 true false
pipeline-input-step 2.1 true false
pipeline-milestone-step 1.0 true false
pipeline-model-definition 0.2 true false
pipeline-rest-api 2.0 true false
pipeline-stage-step 2.2 true false
pipeline-stage-view 2.0 true false
plain-credentials 1.1 true false
role-strategy 2.3.2 true false
scm-api 1.3 true false
script-security 1.23 true false
sse-gateway 1.10 true false
ssh-credentials 1.12 true false
ssh-slaves 1.11 true false
stash-pullrequest-builder 1.7.0 true false
stashNotifier 1.11.4 true false
structs 1.5 true false
subversion 2.5.7 true false
swarm 2.2 true false
timestamper 1.8.6 true false
token-macro 1.12.1 true false
variant 1.0 true false
windows-slaves 1.1 true false
workflow-aggregator 2.4 true false
workflow-api 2.4 true false
workflow-basic-steps 2.2 true false
workflow-cps 2.18 true false
workflow-cps-global-lib 2.3 true false
workflow-durable-task-step 2.5 true false
workflow-job 2.7 true false
workflow-multibranch 2.9 true false
workflow-scm-step 2.2 true false
workflow-step-api 2.4 true false
workflow-support 2.8 true false
ws-cleanup 0.29 true false
xunit 1.102 true false
zephyr-for-jira-test-management 1.3 true false
Tested with
Jenkins 2.21 - 2.23
Test Tool GoogleTest 1.7 (result file).
Host: Scientific Linux 6.8 installed as rpm via yum Jenkins repo http://pkg.jenkins-ci.org/redhat
Browser Firefox 45.4.0
Jira v6.4.11 - Jenkins assigned account for access.
No proxy or reverse proxy.awt.toolkit sun.awt.X11.XToolkit com.sun.akuma.Daemon daemonized executable-war /usr/lib/jenkins/jenkins.war file.encoding UTF-8 file.encoding.pkg sun.io file.separator / hudson.diyChunking true hudson.model.ParametersAction.safeParameters pullRequestId,pullRequestTitle,sourceBranch,targetBranch,sourceRepositoryOwner,sourceRepositoryName,destinationRepositoryOwner,destinationRepositoryName,sourceCommitHash,destinationCommitHash java.awt.graphicsenv sun.awt.X11GraphicsEnvironment java.awt.headless true java.awt.printerjob sun.print.PSPrinterJob java.class.path /usr/lib/jenkins/jenkins.war java.class.version 51.0 java.endorsed.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/endorsed java.ext.dirs /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/ext:/usr/java/packages/lib/ext java.home /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre java.io.tmpdir /tmp java.library.path /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib java.runtime.name OpenJDK Runtime Environment java.runtime.version 1.7.0_111-mockbuild_2016_07_27_05_08-b00 java.specification.name Java Platform API Specification java.specification.vendor Oracle Corporation java.specification.version 1.7 java.vendor Oracle Corporation java.vendor.url http://java.oracle.com/ java.vendor.url.bug http://bugreport.sun.com/bugreport/ java.version 1.7.0_111 java.vm.info mixed mode java.vm.name OpenJDK 64-Bit Server VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Oracle Corporation java.vm.specification.version 1.7 java.vm.vendor Oracle Corporation java.vm.version 24.111-b01 javax.accessibility.assistive_technologies org.GNOME.Accessibility.JavaBridge JENKINS_HOME /var/lib/jenkins jna.loaded true jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib:/usr/lib64/xulrunner:/lib/i686/nosegneg:/usr/lib64/qt-3.3/lib:/usr/lib64/atlas:/usr/pgsql-9.1/lib:/usr/lib64/gtk-2.0/modules:/usr/lib64/ctapi:/usr/lib64/mysql:/usr/lib64/tcl8.5 jnidispatch.path /tmp/jna--1712433994/jna4741514619983015271.tmp line.separator mail.smtp.sendpartial true mail.smtps.sendpartial true os.arch amd64 os.name Linux os.version 2.6.32-642.4.2.el6.x86_64 path.separator : sun.arch.data.model 64 sun.boot.class.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/classes sun.boot.library.path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.111.x86_64/jre/lib/amd64 sun.cpu.endian little sun.cpu.isalist sun.font.fontmanager sun.awt.X11FontManager sun.io.unicode.encoding UnicodeLittle sun.java.command /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 sun.java.launcher SUN_STANDARD sun.jnu.encoding UTF-8 sun.management.compiler HotSpot 64-Bit Tiered Compilers sun.os.patch.level unknown svnkit.http.methods Digest,Basic,NTLM,Negotiate svnkit.ssh2.persistent false user.country US user.dir / user.home /var/lib/jenkins user.language en user.name jenkins user.timezone America/Los_Angeles Environment Variables Name ↓ Value _ /etc/alternatives/java HOME /var/lib/jenkins LANG en_US.UTF-8 LOGNAME jenkins NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat PATH /sbin:/usr/sbin:/bin:/usr/bin PWD / SHELL /bin/bash SHLVL 3 TERM xterm USER jenkins XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt Plugins Name ↓ Version Enabled Pinned ace-editor 1.1 true false ant 1.3 true false antisamy-markup-formatter 1.3 true false authentication-tokens 1.3 true false blueocean 1.0.0-b07 true false blueocean-commons 1.0.0-b07 true false blueocean-config 1.0.0-b07 true false blueocean-dashboard 1.0.0-b07 true false blueocean-events 1.0.0-b07 true false blueocean-jwt 1.0.0-b07 true false blueocean-personalization 1.0.0-b07 true false blueocean-pipeline-api-impl 1.0.0-b07 true false blueocean-rest 1.0.0-b07 true false blueocean-rest-impl 1.0.0-b07 true false blueocean-web 1.0.0-b07 true false bouncycastle-api 2.16.0 true false branch-api 1.11 true false build-timeout 1.16 true false cloud-stats 0.3 true false cloudbees-folder 5.13 true false config-file-provider 2.13 true false credentials 2.1.5 true false credentials-binding 1.7 true false display-url-api 0.5 true false docker-commons 1.4.1 true false docker-workflow 1.8 true false durable-task 1.12 true false email-ext 2.42 true false external-monitor-job 1.4 true false favorite 1.16 true false git 3.0.0 true false git-client 2.0.0 true false git-server 1.6 true false github 1.21.1 true false github-api 1.77 true false github-branch-source 1.10 true false handlebars 1.1.1 true false icon-shim 2.0.3 true false jackson2-api 2.7.3 true false javadoc 1.4 true false jenkins-jira-issue-updater 1.18 true false jira 2.2.1 true false jira-ext 0.5 true false JiraTestResultReporter 2.0.3 true false jquery-detached 1.2.1 true false junit 1.18 true false ldap 1.12 true false mailer 1.17 true false mapdb-api 1.0.6.0 true false matrix-auth 1.3.2 true false matrix-project 1.7.1 true false maven-plugin 2.13 true false metrics 3.1.2.9 true false momentjs 1.1.1 true false openstack-cloud 2.11 true false openstack-heat 1.0 true false pam-auth 1.2 true false pipeline-build-step 2.3 true false pipeline-graph-analysis 1.1 true false pipeline-input-step 2.1 true false pipeline-milestone-step 1.0 true false pipeline-model-definition 0.2 true false pipeline-rest-api 2.0 true false pipeline-stage-step 2.2 true false pipeline-stage-view 2.0 true false plain-credentials 1.1 true false role-strategy 2.3.2 true false scm-api 1.3 true false script-security 1.23 true false sse-gateway 1.10 true false ssh-credentials 1.12 true false ssh-slaves 1.11 true false stash-pullrequest-builder 1.7.0 true false stashNotifier 1.11.4 true false structs 1.5 true false subversion 2.5.7 true false swarm 2.2 true false timestamper 1.8.6 true false token-macro 1.12.1 true false variant 1.0 true false windows-slaves 1.1 true false workflow-aggregator 2.4 true false workflow-api 2.4 true false workflow-basic-steps 2.2 true false workflow-cps 2.18 true false workflow-cps-global-lib 2.3 true false workflow-durable-task-step 2.5 true false workflow-job 2.7 true false workflow-multibranch 2.9 true false workflow-scm-step 2.2 true false workflow-step-api 2.4 true false workflow-support 2.8 true false ws-cleanup 0.29 true false xunit 1.102 true false zephyr-for-jira-test-management 1.3 true false Tested with Jenkins 2.21 - 2.23 Test Tool GoogleTest 1.7 (result file). Host: Scientific Linux 6.8 installed as rpm via yum Jenkins repo http://pkg.jenkins-ci.org/redhat Browser Firefox 45.4.0 Jira v6.4.11 - Jenkins assigned account for access. No proxy or reverse proxy.
In trying to configure and test the JiraTestResultReporter, I'm finding that the documented way to configure test to issue mapping doesn't work. There is no + option for each test that is presented.
The work around for not being able to edit the test to issue association would be to document the json file format and location.
Job/Problem Recreation
Freestyle job.
Create XML file from within shell build step
Add build step for Xunit result processing
Configure tool - googleTest 1.6
Post Build Step
Configure Junit test result report
Add JiraTestResultReporter, Add project ID and validate.
Run job.
Post job run navigate to job details and test results.
At this point, the results are presented but no test associations are available.
I currently don't have any failing tests but would like to have my test results posted.
I do see that something has been processed - jenkins.log for the test run.
Sep 30, 2016 9:43:52 AM org.jenkinsci.plugins.xunit.service.XUnitService infoSystemLogger
INFO: [xUnit] - [GoogleTest-1.6] - 1 test report file(s) were found with the pattern 'test_detail.xml' relative to '/var/lib/jenkins/workspace/jira-import-tests' for the testing framework 'GoogleTest-1.6'.