[JIRA] (JENKINS-60212) Unstash pipeline step hangs frequently

16 views
Skip to first unread message

megsmith2@gmail.com (JIRA)

unread,
Nov 19, 2019, 9:28:03 AM11/19/19
to jenkinsc...@googlegroups.com
Megan Smith updated an issue
 
Jenkins / Bug JENKINS-60212
Unstash pipeline step hangs frequently
Change By: Megan Smith
Summary: Unstash pipeline step hangs intermittently frequently
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jieshe@microsoft.com (JIRA)

unread,
Nov 20, 2019, 5:17:08 AM11/20/19
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-60212
 
Re: Unstash pipeline step hangs frequently

Is it possible to provide a sample pipeline file to reproduce this issue?

megsmith2@gmail.com (JIRA)

unread,
Nov 20, 2019, 11:03:07 AM11/20/19
to jenkinsc...@googlegroups.com
Megan Smith updated an issue
Change By: Megan Smith
Jenkins: 2.190.1

Azure Artifact Manager plugin: 2.121.3

Running a build with several parallel steps the unstash step for an Azure-stored artifact hangs indefinitely. This blocks the usage of this plugin, at least in out case.

 
{code:java}
Stack traces after aborting one of the jobs:

16:56:32
  java.lang. InterruptedException16 InterruptedException
16
:56:32   java.lang. InterruptedException16 InterruptedException
16
:56:32     at java.lang.Object.wait(Native Method)
16:56:32     at hudson.remoting.Request.call(Request.java:177)
16:56:32     at hudson.remoting.Channel.call(Channel.java:956)
16:56:32     at hudson.FilePath.act(FilePath.java:1072)
16:56:32     at hudson.FilePath.act(FilePath.java:1061)
16:56:32     at hudson.FilePath.untarFrom(FilePath.java:800)
16:56:32     at com.microsoft.jenkins.artifactmanager.AzureArtifactManager.unstash(AzureArtifactManager.java:281)
16:56:32     at org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:158)
16:56:32     at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:76)
16:56:32     at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:63)
16:56:32     at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
16:56:32     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
16:56:32     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
16:56:32     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
16:56:32     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
16:56:32     at java.lang.Thread.run(Thread.java:748)
16:56:32   java.lang. InterruptedException16 InterruptedException
16
:56:32     at java.lang.Object.wait(Native Method)
16:56:32     at hudson.remoting.Request.call(Request.java:177)
16:56:32     at hudson.remoting.Channel.call(Channel.java:956)
16:56:32     at hudson.FilePath.act(FilePath.java:1072)
16:56:32     at hudson.FilePath.act(FilePath.java:1061)
16:56:32     at hudson.FilePath.untarFrom(FilePath.java:800)
16:56:32     at com.microsoft.jenkins.artifactmanager.AzureArtifactManager.unstash(AzureArtifactManager.java:281)
16:56:32     at org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:158)
16:56:32     at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:76)
16:56:32     at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:63)
16:56:32     at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
16:56:32     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
16:56:32     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
16:56:32     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
16:56:32     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
16:56:32     at java.lang.Thread.run(Thread.java:748)
16:56:32   java.lang. InterruptedException16 InterruptedException
16
:56:32     at java.lang.Object.wait(Native Method)
16:56:32     at hudson.remoting.Request.call(Request.java:177)
16:56:32     at hudson.remoting.Channel.call(Channel.java:956)
16:56:32     at hudson.FilePath.act(FilePath.java:1072)
16:56:32     at hudson.FilePath.act(FilePath.java:1061)
16:56:32     at hudson.FilePath.untarFrom(FilePath.java:800)
16:56:32     at com.microsoft.jenkins.artifactmanager.AzureArtifactManager.unstash(AzureArtifactManager.java:281)
16:56:32     at org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:158)
16:56:32     at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:76)
16:56:32     at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:63)
16:56:32     at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
16:56:32     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
16:56:32     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
16:56:32     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
16:56:32     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
16:56:32     at java.lang.Thread.run(Thread.java:748)
16:56:32   java.lang. InterruptedException16 InterruptedException
16
:56:32     at java.lang.Object.wait(Native Method)
16:56:32     at hudson.remoting.Request.call(Request.java:177)
16:56:32     at hudson.remoting.Channel.call(Channel.java:956)
16:56:32     at hudson.FilePath.act(FilePath.java:1072)
16:56:32     at hudson.FilePath.act(FilePath.java:1061)
16:56:32     at hudson.FilePath.untarFrom(FilePath.java:800)
16:56:32     at com.microsoft.jenkins.artifactmanager.AzureArtifactManager.unstash(AzureArtifactManager.java:281)
16:56:32     at org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:158)
16:56:32     at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:76)
16:56:32     at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:63)
16:56:32     at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
16:56:32     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
16:56:32     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
16:56:32     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
16:56:32     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
16:56:32     at java.lang.Thread.run(Thread.java:748){code}

megsmith2@gmail.com (JIRA)

unread,
Nov 20, 2019, 11:05:02 AM11/20/19
to jenkinsc...@googlegroups.com
Megan Smith updated an issue
Change By: Megan Smith
Attachment: Jenkinsfile.txt

megsmith2@gmail.com (JIRA)

unread,
Nov 20, 2019, 11:06:03 AM11/20/19
to jenkinsc...@googlegroups.com
Megan Smith commented on Bug JENKINS-60212
 
Re: Unstash pipeline step hangs frequently

Jie Shen - I've attached a sample pipeline that hangs regularly after downloading the artifacts during unstashing.

megsmith2@gmail.com (JIRA)

unread,
Nov 20, 2019, 12:37:02 PM11/20/19
to jenkinsc...@googlegroups.com

Note that the unstash stages must be running in parallel on different agents for the hang to occur.

megsmith2@gmail.com (JIRA)

unread,
Feb 25, 2020, 4:16:03 PM2/25/20
to jenkinsc...@googlegroups.com

jieshe@microsoft.com (JIRA)

unread,
Feb 25, 2020, 10:08:03 PM2/25/20
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-60212

Megan Smith sorry for the late response here. I am not working on this project anymore and I will assign this to the team.

jieshe@microsoft.com (JIRA)

unread,
Feb 25, 2020, 10:08:03 PM2/25/20
to jenkinsc...@googlegroups.com
Jie Shen assigned an issue to Azure DevOps
 
Change By: Jie Shen
Assignee: Jie Shen Azure DevOps
Reply all
Reply to author
Forward
0 new messages