[JIRA] (JENKINS-39881) waitUntil block never gets called back

1 view
Skip to first unread message

sylvain.joyeux@m4x.org (JIRA)

unread,
Nov 19, 2016, 12:45:02 PM11/19/16
to jenkinsc...@googlegroups.com
Sylvain Joyeux created an issue
 
Jenkins / Bug JENKINS-39881
waitUntil block never gets called back
Issue Type: Bug Bug
Assignee: Unassigned
Components: workflow-basic-steps-plugin
Created: 2016/Nov/19 5:44 PM
Priority: Minor Minor
Reporter: Sylvain Joyeux

I am running Jenkins 2.19.3 with all plugins up-to-date as of today (19/11/2016). The workflow-basic-steps plugin in particular is at v2.3.

I'm using a waitUntil step to wait for other builds to finish (code here: https://github.com/doudou/autoproj-jenkins/blob/master/lib/autoproj/jenkins/templates/library.pipeline.erb#L104)

In some cases, it works as expected. The callback is called a few times and the job's console output displays the retry time

[Pipeline] stage
[Pipeline] { (waiting for upstream jobs to finish)
[Pipeline] echo
upstream build: base-cmake#6
[Pipeline] waitUntil
[Pipeline] {
[Pipeline] echo
waiting for job base-cmake#6 to finish
[Pipeline] }
Will try again after 0.25 sec
[Pipeline] {
[Pipeline] echo
waiting for job base-cmake#6 to finish
[Pipeline] }
Will try again after 0.3 sec
[Pipeline] {
[Pipeline] echo
waiting for job base-cmake#6 to finish
[Pipeline] }
Will try again after 0.36 sec

However, in quite a few cases, the waitUntil block returns but then ... nothing. The build disappears from the build queue, but is still marked as active when looking at the job page (its status still "blinks")

The console output shows that the waitUntil block does return, but no "Try again" message anymore. It just hangs there.

[Pipeline] stage
[Pipeline] { (waiting for upstream jobs to finish)
[Pipeline] echo
upstream build: base-types#3
[Pipeline] echo
upstream build: base-eigen#3
[Pipeline] echo
upstream build: base-cmake#6
[Pipeline] echo
upstream build: base-logging#3
[Pipeline] echo
upstream build: external-sisl#3
[Pipeline] echo
upstream build: gui-vizkit3d#3
[Pipeline] waitUntil
[Pipeline] {
[Pipeline] echo
waiting for job base-types#3 to finish
[Pipeline] }
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

glon.sebastien@free.fr (JIRA)

unread,
Dec 7, 2016, 7:51:03 AM12/7/16
to jenkinsc...@googlegroups.com
sébastien glon commented on Bug JENKINS-39881
 
Re: waitUntil block never gets called back

I have the same error on Jenkins 2.34 and Pipeline basic step 2.3

jglick@cloudbees.com (JIRA)

unread,
Feb 10, 2017, 12:52:02 PM2/10/17
to jenkinsc...@googlegroups.com

Steps to reproduce from scratch?

jglick@cloudbees.com (JIRA)

unread,
Sep 26, 2019, 10:02:05 AM9/26/19
to jenkinsc...@googlegroups.com
Jesse Glick resolved as Cannot Reproduce
 

No further information, and pretty old.

Change By: Jesse Glick
Status: Open Resolved
Resolution: Cannot Reproduce
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages