[JIRA] (JENKINS-57932) Unstash pipeline step hangs intermittently

15 views
Skip to first unread message

enrico@socketmobile.com (JIRA)

unread,
Jun 10, 2019, 5:02:02 AM6/10/19
to jenkinsc...@googlegroups.com
Enrico Mills created an issue
 
Jenkins / Bug JENKINS-57932
Unstash pipeline step hangs intermittently
Issue Type: Bug Bug
Assignee: Jie Shen
Attachments: AzureArtifactManager-Config.png, AzureArtifactManager-UnstashCrashLog.txt
Components: azure-artifact-manager-plugin
Created: 2019-06-10 09:01
Environment: Jenkins: 2.164.3, Azure Artifact Manager: 1.0.2, Agent OS: Debian Stretch with Open JDK 8
Priority: Minor Minor
Reporter: Enrico Mills

I installed the latest Azure Artifact Manager plugin last week (June 6th). Since then my pipelines which are defined in a Jenkinsfile in the project get stuck at an unstash step about 70% of the time.

Most of my pipelines are composed of multiple stages and the workspace is stashed and unstashed between stages.

I have attached a screenshot of my Azure Artifact Manager plugin configuration plus the relevant logs.

Note: When I first installed the plugin, I set the container name to "jenkins" and the base prefix to "${JOB_NAME}" because I did not realize the path already includes the project name, branch name and job number in the path. I don't think that has any bearing on the issue though.

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

jieshe@microsoft.com (JIRA)

unread,
Jun 10, 2019, 10:57:02 PM6/10/19
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-57932
 
Re: Unstash pipeline step hangs intermittently

Enrico Mills for now the plugin does not support environment variables for prefix. I will add a check to avoid the confusing error.

enrico@socketmobile.com (JIRA)

unread,
Jun 10, 2019, 11:03:02 PM6/10/19
to jenkinsc...@googlegroups.com

Thanks, Jie Shen. Just to be clear, I removed the base prefix entirely after running one pipeline job and the issue still persists. Do you think the base prefix (or my lack of one) is causing the issue?

jieshe@microsoft.com (JIRA)

unread,
Jun 20, 2019, 10:12:03 PM6/20/19
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-57932

Each build will save artifact manager information. SO the existing job may cause some conflict. Version 0.1.3 should fix this issue

jieshe@microsoft.com (JIRA)

unread,
Jun 20, 2019, 10:12:03 PM6/20/19
to jenkinsc...@googlegroups.com
Jie Shen resolved as Fixed
 
Change By: Jie Shen
Status: Open Resolved
Resolution: Fixed
Released As: 0.1.3

megsmith2@gmail.com (JIRA)

unread,
Nov 14, 2019, 5:08:03 PM11/14/19
to jenkinsc...@googlegroups.com
Megan Smith commented on Bug JENKINS-57932
 
Re: Unstash pipeline step hangs intermittently

Jie Shen - I am using version 0.1.4 and am seeing this fairly consistently with a build that has parallel stages - unstash of the same source.tgz in multiple stages succeeds in some stages and hangs indefinitely in others. Does not seem to be resolved.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

megsmith2@gmail.com (JIRA)

unread,
Nov 14, 2019, 5:12:03 PM11/14/19
to jenkinsc...@googlegroups.com

As an update - from the logs it looks like the download of the blob succeeds but the "unstash" never happens.

Reply all
Reply to author
Forward
0 new messages