[JIRA] (JENKINS-48283) InterruptedException processing the outputs of Maven builds (processing the logs generated by the pipeline maven spy)

80 views
Skip to first unread message

vincent@massol.net (JIRA)

unread,
Feb 9, 2018, 5:17:02 AM2/9/18
to jenkinsc...@googlegroups.com
Vincent Massol commented on Bug JENKINS-48283
 
Re: InterruptedException processing the outputs of Maven builds (processing the logs generated by the pipeline maven spy)

FYI we still regularly get this. Got it today again:

 

[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-container-servlet/10.1-SNAPSHOT/xwiki-platform-container-servlet-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-xar-model/10.1-SNAPSHOT/xwiki-platform-xar-model-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-filter-stream-xar/10.1-SNAPSHOT/xwiki-platform-filter-stream-xar-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-filter-event-xwiki/10.1-SNAPSHOT/xwiki-platform-filter-event-xwiki-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-filter-event-model/10.1-SNAPSHOT/xwiki-platform-filter-event-model-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-filter-event-user/10.1-SNAPSHOT/xwiki-platform-filter-event-user-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-filter-instance-api/10.1-SNAPSHOT/xwiki-platform-filter-instance-api-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-filter-instance-document/10.1-SNAPSHOT/xwiki-platform-filter-instance-document-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-bridge/10.1-SNAPSHOT/xwiki-platform-bridge-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-model/10.1-SNAPSHOT/xwiki-platform-model-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-rest-server/10.1-SNAPSHOT/xwiki-platform-rest-server-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-rest-api/10.1-SNAPSHOT/xwiki-platform-rest-api-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-rest-model/10.1-SNAPSHOT/xwiki-platform-rest-model-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-observation-remote/10.1-SNAPSHOT/xwiki-platform-observation-remote-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-image-api/10.1-SNAPSHOT/xwiki-platform-image-api-10.1-SNAPSHOT.jar, file not found
[quality] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-container-api/10.1-SNAPSHOT/xwiki-platform-container-api-10.1-SNAPSHOT.jar, file not found
[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/withMavenaffe52a7/maven-spy-20180208-230430-5528645733559122325141.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:167)
[quality] 	at hudson.remoting.Channel.call(Channel.java:907)
[quality] 	at hudson.FilePath.act(FilePath.java:986)
[quality] 	at hudson.FilePath.act(FilePath.java:975)
[quality] 	at hudson.FilePath.digest(FilePath.java:1937)
[quality] 	at org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher.process(DependenciesFingerprintPublisher.java:167)
[quality] 	at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:109)
[quality] 	at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$WorkspaceCleanupCallback.finished(WithMavenStepExecution.java:914)
[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:331)
[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:243)
[quality] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:231)
[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)
[Pipeline] [testrelease] // stage

thanks

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

vincent@massol.net (JIRA)

unread,
Feb 9, 2018, 5:18:02 AM2/9/18
to jenkinsc...@googlegroups.com

vincent@massol.net (JIRA)

unread,
Feb 9, 2018, 5:19:02 AM2/9/18
to jenkinsc...@googlegroups.com

Couldn't it be related to the fact that the fingerprints are not found too or is it different?

vincent@massol.net (JIRA)

unread,
Feb 9, 2018, 5:19:02 AM2/9/18
to jenkinsc...@googlegroups.com
Vincent Massol edited a comment on Bug JENKINS-48283
FYI we still regularly get this. Got it today again (http : //ci.xwiki.org/job/XWiki/job/xwiki-platform/job/master/429/console ):

 
{noformat}
[Pipeline] [testrelease] // stage{noformat}

thanks

cleclerc@cloudbees.com (JIRA)

unread,
Feb 9, 2018, 5:21:01 AM2/9/18
to jenkinsc...@googlegroups.com

We should add a timer in the plugin to understand why processing the build outputs can take more than 5 minutes. I am worried of ignoring the pipeline 5 minutes timeout as we are likely to have side effects (need to introduce our own timeout, effects with other pipeline things...)

vincent@massol.net (JIRA)

unread,
Feb 9, 2018, 5:22:03 AM2/9/18
to jenkinsc...@googlegroups.com
Vincent Massol edited a comment on Bug JENKINS-48283
Also note that on the problem I got today, the end of the pipeline also has some strange issue:

{noformat}
GitHub has been notified of this commit’s build result

Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to agent-2-1
  at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
  at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
  at hudson.remoting.Channel.call(Channel.java:908)
  at hudson.FilePath.act(FilePath.java:986)
  at hudson.FilePath.act(FilePath.java:975)
  at hudson.FilePath.list(FilePath.java:1733)
  at hudson.FilePath.list(FilePath.java:1717)
  at hudson.FilePath.list(FilePath.java:1702)
  at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:136)
  at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$WorkspaceCleanupCallback.finished(WithMavenStepExecution.java:914)
  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.impl.ValueBoundContinuation.receive(ValueBoundContinuation.java:21)
  at com.cloudbees.groovy.cps.Block$Noop.eval(Block.java:30)
  at com.cloudbees.groovy.cps.Next.step(Next.java:83)
  at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
  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:331)
  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:82)
  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:243)
  at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:231)
  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:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
Also:    Also:     Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to agent-2-2
    at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
    at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
    at hudson.remoting.Channel.call(Channel.java:908)
    at hudson.FilePath.act(FilePath.java:986)
    at hudson.FilePath.act(FilePath.java:975)
    at hudson.FilePath.list(FilePath.java:1733)
    at hudson.FilePath.list(FilePath.java:1717)
    at hudson.FilePath.list(FilePath.java:1702)
    at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:62)
    at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$WorkspaceCleanupCallback.finished(WithMavenStepExecution.java:914)
    at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onFailure(BodyExecutionCallback.java:124)
    at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$FailureAdapter.receive(CpsBodyExecution.java:345)
    at com.cloudbees.groovy.cps.impl.ValueBoundContinuation.receive(ValueBoundContinuation.java:21)
    at com.cloudbees.groovy.cps.Block$Noop.eval(Block.java:30)
    at com.cloudbees.groovy.cps.Next.step(Next.java:83)
    at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
    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:331)
    at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:82)
    at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:243)
    at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:231)
    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:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master-ZGNMAWOYB6APYNMYWF7HH475RM4M6C6RE2U76Y5M5RWNQJWOLFGA@tmp/withMaven2eabe2c8 does not exist.
   at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
   at hudson.FilePath.glob(FilePath.java:1759)
   at hudson.FilePath.access$1700(FilePath.java:196)
   at hudson.FilePath$32.invoke(FilePath.java:1736)
   at hudson.FilePath$32.invoke(FilePath.java:1733)
   at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2760)
   at hudson.remoting.UserRequest.perform(UserRequest.java:207)
   at hudson.remoting.UserRequest.perform(UserRequest.java:53)
   at hudson.remoting.Request$2.run(Request.java:358)
   at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
   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)
hudson.AbortException: script returned exit code -2
  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:335)
  at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:289)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)
/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master-ZGNMAWOYB6APYNMYWF7HH475RM4M6C6RE2U76Y5M5RWNQJWOLFGA@tmp/withMavenaffe52a7 does not exist.
at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
at hudson.FilePath.glob(FilePath.java:1759)
at hudson.FilePath.access$1700(FilePath.java:196)
at hudson.FilePath$32.invoke(FilePath.java:1736)
at hudson.FilePath$32.invoke(FilePath.java:1733)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2760)
at hudson.remoting.UserRequest.perform(UserRequest.java:207)
at hudson.remoting.UserRequest.perform(UserRequest.java:53)
at hudson.remoting.Request$2.run(Request.java:358)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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
{noformat}

I don't know if this is related or not.


I've noticed this issue already in the past: sometimes the workspace seems to not be there anymore (something in jenkins removes it too early?).

vincent@massol.net (JIRA)

unread,
Feb 9, 2018, 5:22:03 AM2/9/18
to jenkinsc...@googlegroups.com

Also note that on the problem I got today, the end of the pipeline also has some strange issue:

GitHub has been notified of this commit’s build result

Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to agent-2-1
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
		at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
		at hudson.remoting.Channel.call(Channel.java:908)
		at hudson.FilePath.act(FilePath.java:986)
		at hudson.FilePath.act(FilePath.java:975)
		at hudson.FilePath.list(FilePath.java:1733)
		at hudson.FilePath.list(FilePath.java:1717)
		at hudson.FilePath.list(FilePath.java:1702)
		at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:136)
		at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$WorkspaceCleanupCallback.finished(WithMavenStepExecution.java:914)
		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.impl.ValueBoundContinuation.receive(ValueBoundContinuation.java:21)
		at com.cloudbees.groovy.cps.Block$Noop.eval(Block.java:30)
		at com.cloudbees.groovy.cps.Next.step(Next.java:83)
		at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
		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:331)
		at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:82)
		at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:243)
		at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:231)
		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:1149)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
		at java.lang.Thread.run(Thread.java:748)
Also:   	Also:   		Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to agent-2-2
				at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
				at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
				at hudson.remoting.Channel.call(Channel.java:908)
				at hudson.FilePath.act(FilePath.java:986)
				at hudson.FilePath.act(FilePath.java:975)
				at hudson.FilePath.list(FilePath.java:1733)
				at hudson.FilePath.list(FilePath.java:1717)
				at hudson.FilePath.list(FilePath.java:1702)
				at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:62)
				at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$WorkspaceCleanupCallback.finished(WithMavenStepExecution.java:914)
				at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onFailure(BodyExecutionCallback.java:124)
				at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$FailureAdapter.receive(CpsBodyExecution.java:345)
				at com.cloudbees.groovy.cps.impl.ValueBoundContinuation.receive(ValueBoundContinuation.java:21)
				at com.cloudbees.groovy.cps.Block$Noop.eval(Block.java:30)
				at com.cloudbees.groovy.cps.Next.step(Next.java:83)
				at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
				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:331)
				at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:82)
				at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:243)
				at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:231)
				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:1149)
				at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
				at java.lang.Thread.run(Thread.java:748)
/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master-ZGNMAWOYB6APYNMYWF7HH475RM4M6C6RE2U76Y5M5RWNQJWOLFGA@tmp/withMaven2eabe2c8 does not exist.
			at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
			at hudson.FilePath.glob(FilePath.java:1759)
			at hudson.FilePath.access$1700(FilePath.java:196)
			at hudson.FilePath$32.invoke(FilePath.java:1736)
			at hudson.FilePath$32.invoke(FilePath.java:1733)
			at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2760)
			at hudson.remoting.UserRequest.perform(UserRequest.java:207)
			at hudson.remoting.UserRequest.perform(UserRequest.java:53)
			at hudson.remoting.Request$2.run(Request.java:358)
			at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
			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)
hudson.AbortException: script returned exit code -2
		at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:335)
		at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:289)
		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
		at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
		at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
		at java.lang.Thread.run(Thread.java:748)
/home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master-ZGNMAWOYB6APYNMYWF7HH475RM4M6C6RE2U76Y5M5RWNQJWOLFGA@tmp/withMavenaffe52a7 does not exist.
	at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
	at hudson.FilePath.glob(FilePath.java:1759)
	at hudson.FilePath.access$1700(FilePath.java:196)
	at hudson.FilePath$32.invoke(FilePath.java:1736)
	at hudson.FilePath$32.invoke(FilePath.java:1733)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2760)
	at hudson.remoting.UserRequest.perform(UserRequest.java:207)
	at hudson.remoting.UserRequest.perform(UserRequest.java:53)
	at hudson.remoting.Request$2.run(Request.java:358)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	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

I don't know if this is related or not.

vincent@massol.net (JIRA)

unread,
Feb 9, 2018, 5:26:03 AM2/9/18
to jenkinsc...@googlegroups.com
Vincent Massol edited a comment on Bug JENKINS-48283
Also note that on the problem I got today, the end of the pipeline also has some strange issue issues (http : //ci.xwiki.org/job/XWiki/job/xwiki-platform/job/master/429/console):

{noformat}
{noformat}


I don't know if this is related or not.

I've noticed this issue already in the past: sometimes the workspace seems to not be there anymore (something in jenkins removes it too early?).

vincent@massol.net (JIRA)

unread,
Feb 9, 2018, 5:35:02 AM2/9/18
to jenkinsc...@googlegroups.com

Also note that we got 3 different jobs failing at the same time (executing on different agents):

Might not be a coincidence that they all failed together...

cleclerc@cloudbees.com (JIRA)

unread,
Feb 9, 2018, 5:42:02 AM2/9/18
to jenkinsc...@googlegroups.com

vincent@massol.net (JIRA)

unread,
Oct 16, 2018, 10:35:02 AM10/16/18
to jenkinsc...@googlegroups.com

FTR another occurence today, see JENKINS-54105

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

vincent@massol.net (JIRA)

unread,
Oct 16, 2018, 10:36:02 AM10/16/18
to jenkinsc...@googlegroups.com
Vincent Massol edited a comment on Bug JENKINS-48283
FTR another occurence today, see JENKINS-54105 (there are probably more but I'm noticing this one and it's happening on a jenkins 2.138.2 - LTS).

mmay@conet.de (JIRA)

unread,
Oct 17, 2018, 9:04:02 AM10/17/18
to jenkinsc...@googlegroups.com

We do see this issue as well on a quite long running job. Could you please provide a workaround and/or an option on how to avoid this error? 

mmay@conet.de (JIRA)

unread,
Oct 17, 2018, 9:19:02 AM10/17/18
to jenkinsc...@googlegroups.com
Markus May edited a comment on Bug JENKINS-48283
We do see this issue as well on a quite long running job. Could you please provide a workaround and/or an option on how to avoid this error?  


Looks like on our system it is the combination of MavenSpy and the latest LTS jenkins version. Running the same build without MavenSpy does successfully finish the job.

cleclerc@cloudbees.com (JIRA)

unread,
Nov 16, 2018, 9:30:02 AM11/16/18
to jenkinsc...@googlegroups.com

3.5.15 adds messages to help understand the problem:

In case of InterruptedException, a message in the logs with the duration since the beginning of the processing is outputted, we want to verify if we have reached the standard timeout of the pipeline steps:

[withMaven] Processing of Maven build outputs interrupted in " + mavenPublisher.toString() + " after " +
                                    TimeUnit.MILLISECONDS.convert(System.nanoTime() - nanosBefore, TimeUnit.NANOSECONDS) + "ms.

When INFO level is enabled on org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor, a summary of the duration of each publisher is added to the build logs. Sample:

[withMaven] Publishers: Generated Artifacts Publisher: 36 ms, Junit Publisher: 9 ms, Dependencies Fingerprint Publisher: 6 ms, Pipeline Graph Publisher: 1 ms, Open Task Scanner Publisher: 25 ms

cleclerc@cloudbees.com (JIRA)

unread,
Nov 19, 2018, 5:59:02 AM11/19/18
to jenkinsc...@googlegroups.com

Vincent Massol 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...)?

vincent@massol.net (JIRA)

unread,
Nov 21, 2018, 2:41:02 AM11/21/18
to jenkinsc...@googlegroups.com

cleclerc@cloudbees.com (JIRA)

unread,
Nov 21, 2018, 4:58:02 AM11/21/18
to jenkinsc...@googlegroups.com

cleclerc@cloudbees.com (JIRA)

unread,
Dec 6, 2018, 12:32:04 PM12/6/18
to jenkinsc...@googlegroups.com

cleclerc@cloudbees.com (JIRA)

unread,
Dec 6, 2018, 12:32:04 PM12/6/18
to jenkinsc...@googlegroups.com
 
Re: InterruptedException processing the outputs of Maven builds (processing the logs generated by the pipeline maven spy)

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)

vincent@massol.net (JIRA)

unread,
Dec 6, 2018, 12:40:06 PM12/6/18
to jenkinsc...@googlegroups.com

cleclerc@cloudbees.com (JIRA)

unread,
Jan 4, 2019, 8:22:02 AM1/4/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages