Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48283

InterruptedException processing the outputs of Maven builds (processing the logs generated by the pipeline maven spy)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • pipeline-maven-plugin
    • None
    • Mac OSX, Jenkins 2.73.3, Pipeline Maven Integration Plugin v3.0.3

    Description

      This looks similar to JENKINS-44088 but I'm not on windows.

      When building XWiki I'm getting:

      [quality] [withMaven] junitPublisher - Archive test results for Maven artifact org.xwiki.platform:xwiki-platform-legacy-watchlist-api:9.11-SNAPSHOT generated by maven-surefire-plugin:test (default-test): xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-watchlist-api/target/surefire-reports/*.xml
      [quality] Recording test results
      [quality] None of the test reports contained any result
      [quality] ERROR: [withMaven] WARNING Exception processing the logs generated by the Jenkins Maven Event Spy /home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master-ZGNMAWOYB6APYNMYWF7HH475RM4M6C6RE2U76Y5M5RWNQJWOLFGA@tmp/withMaven61fc777b/maven-spy-20171129-102145-314619230980232412888.log, ignore file.  Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org 
      [quality] java.lang.InterruptedException
      [quality] 	at java.lang.Object.wait(Native Method)
      [quality] 	at hudson.remoting.Request.call(Request.java:169)
      [quality] 	at hudson.remoting.Channel.call(Channel.java:904)
      [quality] 	at hudson.FilePath.act(FilePath.java:987)
      [quality] 	at hudson.FilePath.act(FilePath.java:976)
      [quality] 	at hudson.FilePath.exists(FilePath.java:1441)
      [quality] 	at org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher.process(DependenciesFingerprintPublisher.java:162)
      [quality] 	at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:109)
      [quality] 	at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$WorkspaceCleanupCallback.finished(WithMavenStepExecution.java:913)
      [quality] 	at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:362)
      [quality] 	at com.cloudbees.groovy.cps.impl.ValueBoundContinuation.receive(ValueBoundContinuation.java:21)
      [quality] 	at com.cloudbees.groovy.cps.Block$Noop.eval(Block.java:30)
      [quality] 	at com.cloudbees.groovy.cps.Next.step(Next.java:83)
      [quality] 	at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
      [quality] 	at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)
      [quality] 	at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:122)
      [quality] 	at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:261)
      [quality] 	at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:19)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:35)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:32)
      [quality] 	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:32)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:174)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:330)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:82)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:242)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:230)
      [quality] 	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
      [quality] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      [quality] 	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
      [quality] 	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      [quality] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      [quality] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      [quality] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      [quality] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      [quality] 	at java.lang.Thread.run(Thread.java:748)
      

      Thanks

      Attachments

        Activity

          vmassol I see on https://ci.xwiki.org/job/XWiki/job/xwiki-platform/job/master/1197 that you face JENKINS-54026 that we are solving in 3.6.0 introducing the support for a MySQL database as a replacement for the embedded H2 Database.
          Could you test 3.6.1 with a MySQL Database and share with us the rapport of the time spent by withMaven in the various publishers (artifact publisher, fingerprinter, dependency graph...)?

          cleclerc Cyrille Le Clerc added a comment - vmassol I see on https://ci.xwiki.org/job/XWiki/job/xwiki-platform/job/master/1197 that you face JENKINS-54026 that we are solving in 3.6.0 introducing the support for a MySQL database as a replacement for the embedded H2 Database. Could you test 3.6.1 with a MySQL Database and share with us the rapport of the time spent by withMaven in the various publishers (artifact publisher, fingerprinter, dependency graph...)?

          Thanks cleclerc. Doing this now.

          vmassol Vincent Massol added a comment - Thanks cleclerc . Doing this now.
          cleclerc Cyrille Le Clerc added a comment - - edited

          FYI https://github.com/jenkinsci/workflow-step-api-plugin/pull/38 successfully tested. We should have a fix "soon" (need first to merge the workflow-step-api-plugin PR and to release it)

          See https://github.com/jenkinsci/pipeline-maven-plugin/pull/190

          cleclerc Cyrille Le Clerc added a comment - - edited FYI https://github.com/jenkinsci/workflow-step-api-plugin/pull/38 successfully tested. We should have a fix "soon" (need first to merge the workflow-step-api-plugin PR and to release it) See https://github.com/jenkinsci/pipeline-maven-plugin/pull/190

          woohoo, thanks cleclerc and jglick

          vmassol Vincent Massol added a comment - woohoo, thanks cleclerc and jglick

          Shipped in 3.6.5

          cleclerc Cyrille Le Clerc added a comment - Shipped in 3.6.5

          People

            cleclerc Cyrille Le Clerc
            vmassol Vincent Massol
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: