-
Bug
-
Resolution: Not A Defect
-
Major
-
Jenkins Version: 2.73.2 from https://pkg.jenkins.io/redhat-stable/
OS: centos7.4
JRE: Oracle 1.8.0_74
Plugins:
{"shortName":"Parameterized-Remote-Trigger","version":"2.2.2"}
{"shortName":"ace-editor","version":"1.1"}
{"shortName":"ansicolor","version":"0.5.2"}
{"shortName":"ant","version":"1.7"}
{"shortName":"antisamy-markup-formatter","version":"1.5"}
{"shortName":"apache-httpcomponents-client-4-api","version":"4.5.3-2.0"}
{"shortName":"authentication-tokens","version":"1.3"}
{"shortName":"aws-credentials","version":"1.23"}
{"shortName":"aws-java-sdk","version":"1.11.119"}
{"shortName":"blueocean","version":"1.3.0"}
{"shortName":"blueocean-autofavorite","version":"1.0.0"}
{"shortName":"blueocean-bitbucket-pipeline","version":"1.3.0"}
{"shortName":"blueocean-commons","version":"1.3.0"}
{"shortName":"blueocean-config","version":"1.3.0"}
{"shortName":"blueocean-dashboard","version":"1.3.0"}
{"shortName":"blueocean-display-url","version":"2.1.0"}
{"shortName":"blueocean-events","version":"1.3.0"}
{"shortName":"blueocean-git-pipeline","version":"1.3.0"}
{"shortName":"blueocean-github-pipeline","version":"1.3.0"}
{"shortName":"blueocean-i18n","version":"1.3.0"}
{"shortName":"blueocean-jira","version":"1.3.0"}
{"shortName":"blueocean-jwt","version":"1.3.0"}
{"shortName":"blueocean-personalization","version":"1.3.0"}
{"shortName":"blueocean-pipeline-api-impl","version":"1.3.0"}
{"shortName":"blueocean-pipeline-editor","version":"1.3.0"}
{"shortName":"blueocean-pipeline-scm-api","version":"1.3.0"}
{"shortName":"blueocean-rest","version":"1.3.0"}
{"shortName":"blueocean-rest-impl","version":"1.3.0"}
{"shortName":"blueocean-web","version":"1.3.0"}
{"shortName":"bouncycastle-api","version":"2.16.2"}
{"shortName":"branch-api","version":"2.0.14"}
{"shortName":"build-metrics","version":"1.3"}
{"shortName":"build-timeout","version":"1.19"}
{"shortName":"build-user-vars-plugin","version":"1.5"}
{"shortName":"cloudbees-bitbucket-branch-source","version":"2.2.3"}
{"shortName":"cloudbees-folder","version":"6.2.1"}
{"shortName":"conditional-buildstep","version":"1.3.6"}
{"shortName":"config-file-provider","version":"2.16.4"}
{"shortName":"copyartifact","version":"1.38.1"}
{"shortName":"credentials","version":"2.1.16"}
{"shortName":"credentials-binding","version":"1.13"}
{"shortName":"custom-tools-plugin","version":"0.5"}
{"shortName":"description-setter","version":"1.10"}
{"shortName":"display-url-api","version":"2.1.0"}
{"shortName":"docker-commons","version":"1.9"}
{"shortName":"docker-workflow","version":"1.13"}
{"shortName":"durable-task","version":"1.15"}
{"shortName":"email-ext","version":"2.60"}
{"shortName":"envinject","version":"2.1.5"}
{"shortName":"envinject-api","version":"1.3"}
{"shortName":"extended-choice-parameter","version":"0.76"}
{"shortName":"extensible-choice-parameter","version":"1.4.1"}
{"shortName":"external-monitor-job","version":"1.7"}
{"shortName":"favorite","version":"2.3.0"}
{"shortName":"flaky-test-handler","version":"1.0.4"}
{"shortName":"flexible-publish","version":"0.15.2"}
{"shortName":"git","version":"3.6.0"}
{"shortName":"git-client","version":"2.5.0"}
{"shortName":"git-server","version":"1.7"}
{"shortName":"github","version":"1.28.0"}
{"shortName":"github-api","version":"1.89"}
{"shortName":"github-branch-source","version":"2.2.3"}
{"shortName":"github-organization-folder","version":"1.6"}
{"shortName":"github-pullrequest","version":"0.1.0-rc26"}
{"shortName":"global-build-stats","version":"1.4"}
{"shortName":"groovy-postbuild","version":"2.3.1"}
{"shortName":"handlebars","version":"1.1.1"}
{"shortName":"htmlpublisher","version":"1.14"}
{"shortName":"icon-shim","version":"2.0.3"}
{"shortName":"jackson2-api","version":"2.8.7.0"}
{"shortName":"javadoc","version":"1.4"}
{"shortName":"jira","version":"2.4.2"}
{"shortName":"jquery","version":"1.12.4-0"}
{"shortName":"jquery-detached","version":"1.2.1"}
{"shortName":"jsch","version":"0.1.54.1"}
{"shortName":"junit","version":"1.21"}
{"shortName":"ldap","version":"1.17"}
{"shortName":"mailer","version":"1.20"}
{"shortName":"matrix-auth","version":"2.1"}
{"shortName":"matrix-project","version":"1.12"}
{"shortName":"maven-plugin","version":"3.0"}
{"shortName":"mercurial","version":"2.2"}
{"shortName":"metrics","version":"3.1.2.10"}
{"shortName":"momentjs","version":"1.1.1"}
{"shortName":"pam-auth","version":"1.3"}
{"shortName":"parameterized-trigger","version":"2.35.2"}
{"shortName":"pipeline-build-step","version":"2.5.1"}
{"shortName":"pipeline-github-lib","version":"1.0"}
{"shortName":"pipeline-graph-analysis","version":"1.5"}
{"shortName":"pipeline-input-step","version":"2.8"}
{"shortName":"pipeline-maven","version":"3.0.2"}
{"shortName":"pipeline-milestone-step","version":"1.3.1"}
{"shortName":"pipeline-model-api","version":"1.2.2"}
{"shortName":"pipeline-model-declarative-agent","version":"1.1.1"}
{"shortName":"pipeline-model-definition","version":"1.2.2"}
{"shortName":"pipeline-model-extensions","version":"1.2.2"}
{"shortName":"pipeline-rest-api","version":"2.9"}
{"shortName":"pipeline-stage-step","version":"2.2"}
{"shortName":"pipeline-stage-tags-metadata","version":"1.2.2"}
{"shortName":"pipeline-stage-view","version":"2.9"}
{"shortName":"pipeline-utility-steps","version":"1.5.1"}
{"shortName":"plain-credentials","version":"1.4"}
{"shortName":"pubsub-light","version":"1.12"}
{"shortName":"rebuild","version":"1.25"}
{"shortName":"resource-disposer","version":"0.8"}
{"shortName":"role-strategy","version":"2.6.1"}
{"shortName":"run-condition","version":"1.0"}
{"shortName":"scm-api","version":"2.2.3"}
{"shortName":"script-security","version":"1.34"}
{"shortName":"sse-gateway","version":"1.15"}
{"shortName":"ssh","version":"2.5"}
{"shortName":"ssh-agent","version":"1.15"}
{"shortName":"ssh-credentials","version":"1.13"}
{"shortName":"ssh-slaves","version":"1.22"}
{"shortName":"structs","version":"1.10"}
{"shortName":"terraform","version":"1.0.9"}
{"shortName":"testrail","version":"1.0.7-SNAPSHOT (private-b3db60f4-slinn)"}
{"shortName":"throttle-concurrents","version":"2.0.1"}
{"shortName":"timestamper","version":"1.8.8"}
{"shortName":"token-macro","version":"2.3"}
{"shortName":"variant","version":"1.1"}
{"shortName":"windows-slaves","version":"1.3.1"}
{"shortName":"workflow-aggregator","version":"2.5"}
{"shortName":"workflow-api","version":"2.22"}
{"shortName":"workflow-basic-steps","version":"2.6"}
{"shortName":"workflow-cps","version":"2.41"}
{"shortName":"workflow-cps-global-lib","version":"2.9"}
{"shortName":"workflow-durable-task-step","version":"2.17"}
{"shortName":"workflow-job","version":"2.15"}
{"shortName":"workflow-multibranch","version":"2.16"}
{"shortName":"workflow-scm-step","version":"2.6"}
{"shortName":"workflow-step-api","version":"2.13"}
{"shortName":"workflow-support","version":"2.16"}
{"shortName":"ws-cleanup","version":"0.34"}
Jenkins Version: 2.73.2 from https://pkg.jenkins.io/redhat-stable/ OS: centos7.4 JRE: Oracle 1.8.0_74 Plugins: {"shortName":"Parameterized-Remote-Trigger","version":"2.2.2"} {"shortName":"ace-editor","version":"1.1"} {"shortName":"ansicolor","version":"0.5.2"} {"shortName":"ant","version":"1.7"} {"shortName":"antisamy-markup-formatter","version":"1.5"} {"shortName":"apache-httpcomponents-client-4-api","version":"4.5.3-2.0"} {"shortName":"authentication-tokens","version":"1.3"} {"shortName":"aws-credentials","version":"1.23"} {"shortName":"aws-java-sdk","version":"1.11.119"} {"shortName":"blueocean","version":"1.3.0"} {"shortName":"blueocean-autofavorite","version":"1.0.0"} {"shortName":"blueocean-bitbucket-pipeline","version":"1.3.0"} {"shortName":"blueocean-commons","version":"1.3.0"} {"shortName":"blueocean-config","version":"1.3.0"} {"shortName":"blueocean-dashboard","version":"1.3.0"} {"shortName":"blueocean-display-url","version":"2.1.0"} {"shortName":"blueocean-events","version":"1.3.0"} {"shortName":"blueocean-git-pipeline","version":"1.3.0"} {"shortName":"blueocean-github-pipeline","version":"1.3.0"} {"shortName":"blueocean-i18n","version":"1.3.0"} {"shortName":"blueocean-jira","version":"1.3.0"} {"shortName":"blueocean-jwt","version":"1.3.0"} {"shortName":"blueocean-personalization","version":"1.3.0"} {"shortName":"blueocean-pipeline-api-impl","version":"1.3.0"} {"shortName":"blueocean-pipeline-editor","version":"1.3.0"} {"shortName":"blueocean-pipeline-scm-api","version":"1.3.0"} {"shortName":"blueocean-rest","version":"1.3.0"} {"shortName":"blueocean-rest-impl","version":"1.3.0"} {"shortName":"blueocean-web","version":"1.3.0"} {"shortName":"bouncycastle-api","version":"2.16.2"} {"shortName":"branch-api","version":"2.0.14"} {"shortName":"build-metrics","version":"1.3"} {"shortName":"build-timeout","version":"1.19"} {"shortName":"build-user-vars-plugin","version":"1.5"} {"shortName":"cloudbees-bitbucket-branch-source","version":"2.2.3"} {"shortName":"cloudbees-folder","version":"6.2.1"} {"shortName":"conditional-buildstep","version":"1.3.6"} {"shortName":"config-file-provider","version":"2.16.4"} {"shortName":"copyartifact","version":"1.38.1"} {"shortName":"credentials","version":"2.1.16"} {"shortName":"credentials-binding","version":"1.13"} {"shortName":"custom-tools-plugin","version":"0.5"} {"shortName":"description-setter","version":"1.10"} {"shortName":"display-url-api","version":"2.1.0"} {"shortName":"docker-commons","version":"1.9"} {"shortName":"docker-workflow","version":"1.13"} {"shortName":"durable-task","version":"1.15"} {"shortName":"email-ext","version":"2.60"} {"shortName":"envinject","version":"2.1.5"} {"shortName":"envinject-api","version":"1.3"} {"shortName":"extended-choice-parameter","version":"0.76"} {"shortName":"extensible-choice-parameter","version":"1.4.1"} {"shortName":"external-monitor-job","version":"1.7"} {"shortName":"favorite","version":"2.3.0"} {"shortName":"flaky-test-handler","version":"1.0.4"} {"shortName":"flexible-publish","version":"0.15.2"} {"shortName":"git","version":"3.6.0"} {"shortName":"git-client","version":"2.5.0"} {"shortName":"git-server","version":"1.7"} {"shortName":"github","version":"1.28.0"} {"shortName":"github-api","version":"1.89"} {"shortName":"github-branch-source","version":"2.2.3"} {"shortName":"github-organization-folder","version":"1.6"} {"shortName":"github-pullrequest","version":"0.1.0-rc26"} {"shortName":"global-build-stats","version":"1.4"} {"shortName":"groovy-postbuild","version":"2.3.1"} {"shortName":"handlebars","version":"1.1.1"} {"shortName":"htmlpublisher","version":"1.14"} {"shortName":"icon-shim","version":"2.0.3"} {"shortName":"jackson2-api","version":"2.8.7.0"} {"shortName":"javadoc","version":"1.4"} {"shortName":"jira","version":"2.4.2"} {"shortName":"jquery","version":"1.12.4-0"} {"shortName":"jquery-detached","version":"1.2.1"} {"shortName":"jsch","version":"0.1.54.1"} {"shortName":"junit","version":"1.21"} {"shortName":"ldap","version":"1.17"} {"shortName":"mailer","version":"1.20"} {"shortName":"matrix-auth","version":"2.1"} {"shortName":"matrix-project","version":"1.12"} {"shortName":"maven-plugin","version":"3.0"} {"shortName":"mercurial","version":"2.2"} {"shortName":"metrics","version":"3.1.2.10"} {"shortName":"momentjs","version":"1.1.1"} {"shortName":"pam-auth","version":"1.3"} {"shortName":"parameterized-trigger","version":"2.35.2"} {"shortName":"pipeline-build-step","version":"2.5.1"} {"shortName":"pipeline-github-lib","version":"1.0"} {"shortName":"pipeline-graph-analysis","version":"1.5"} {"shortName":"pipeline-input-step","version":"2.8"} {"shortName":"pipeline-maven","version":"3.0.2"} {"shortName":"pipeline-milestone-step","version":"1.3.1"} {"shortName":"pipeline-model-api","version":"1.2.2"} {"shortName":"pipeline-model-declarative-agent","version":"1.1.1"} {"shortName":"pipeline-model-definition","version":"1.2.2"} {"shortName":"pipeline-model-extensions","version":"1.2.2"} {"shortName":"pipeline-rest-api","version":"2.9"} {"shortName":"pipeline-stage-step","version":"2.2"} {"shortName":"pipeline-stage-tags-metadata","version":"1.2.2"} {"shortName":"pipeline-stage-view","version":"2.9"} {"shortName":"pipeline-utility-steps","version":"1.5.1"} {"shortName":"plain-credentials","version":"1.4"} {"shortName":"pubsub-light","version":"1.12"} {"shortName":"rebuild","version":"1.25"} {"shortName":"resource-disposer","version":"0.8"} {"shortName":"role-strategy","version":"2.6.1"} {"shortName":"run-condition","version":"1.0"} {"shortName":"scm-api","version":"2.2.3"} {"shortName":"script-security","version":"1.34"} {"shortName":"sse-gateway","version":"1.15"} {"shortName":"ssh","version":"2.5"} {"shortName":"ssh-agent","version":"1.15"} {"shortName":"ssh-credentials","version":"1.13"} {"shortName":"ssh-slaves","version":"1.22"} {"shortName":"structs","version":"1.10"} {"shortName":"terraform","version":"1.0.9"} {"shortName":"testrail","version":"1.0.7-SNAPSHOT (private-b3db60f4-slinn)"} {"shortName":"throttle-concurrents","version":"2.0.1"} {"shortName":"timestamper","version":"1.8.8"} {"shortName":"token-macro","version":"2.3"} {"shortName":"variant","version":"1.1"} {"shortName":"windows-slaves","version":"1.3.1"} {"shortName":"workflow-aggregator","version":"2.5"} {"shortName":"workflow-api","version":"2.22"} {"shortName":"workflow-basic-steps","version":"2.6"} {"shortName":"workflow-cps","version":"2.41"} {"shortName":"workflow-cps-global-lib","version":"2.9"} {"shortName":"workflow-durable-task-step","version":"2.17"} {"shortName":"workflow-job","version":"2.15"} {"shortName":"workflow-multibranch","version":"2.16"} {"shortName":"workflow-scm-step","version":"2.6"} {"shortName":"workflow-step-api","version":"2.13"} {"shortName":"workflow-support","version":"2.16"} {"shortName":"ws-cleanup","version":"0.34"}
After upgrading a lot of plugins, and upgrading from jenkins 2.60.3 to 2.73.2, we started receiving the error below at the end of a pipeline job run
This job was working fine previously. Not sure which plugin upgrade caused it to break, but the stacktrace indicates the pipeline-maven plugin.
[jenkins-maven-event-spy] INFO generated /home/tomcat/jenkins/workspace/ild_hotfix-5.103.2-C3WMOGLRLRCDP2YYDQAMCJEDYSOSHAP64XTGW33DQE232WFXLS2Q@tmp/withMaven72f971a5/maven-spy-20171027-235746-896733511347818658990.log [Pipeline] } [Pipeline] End of Pipeline GitHub has been notified of this commit?s build result java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1374) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1327) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1080) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) Caused: java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1140) at hudson.ClassicPluginStrategy$AntClassLoader2.defineClassFromData(ClassicPluginStrategy.java:844) at jenkins.util.AntClassLoader.getClassFromStream(AntClassLoader.java:1311) at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1364) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1327) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1080) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.xerces.parsers.AbstractDOMParser.startDocument(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:95) at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$WorkspaceCleanupCallback.finished(WithMavenStepExecution.java:876) at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114) at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:362) at com.cloudbees.groovy.cps.Outcome.resumeFrom(Outcome.java:73) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:166) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163) at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:122) at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:261) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:19) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:35) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:32) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:32) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:174) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:330) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:82) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:242) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:230) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Finished: FAILURE
When viewing the run page (e.g. job/foo/###), it appears the run has finished.
But when viewing the jenkins root page, the run can still be seen running in the 'Build Executor Status' panel. So, it is clogging up our executors. Manual abort seems to clear it out.
The pipeline uses the following:
// ... snip... withMaven(jdk: 'xxx', maven: 'yyy') { //... snip .... sh 'mvn -U clean deploy' }