Jenkins silently skipping MultiJob phase.

260 views
Skip to first unread message

David tha Dude

unread,
Mar 27, 2014, 8:51:10 PM3/27/14
to jenkins...@googlegroups.com
Hello,

We trigger a parallel batch of roughly 30 parametrized MultiJobs. The triggering job and each of the phases of the MultiJob can run on one of 2 slave nodes. This is specified via the "Restrict where this job can run" option.

About 1 in 15 times a phase (mostly the first one) of the MultiJob is silently skipped. Jenkins simply states "Not Built" next to the job phase, that's it - the next phase proceeds even though according to the job setup it should only execute if the previous phase was successful.

I find this unsettling. Has anyone experienced similar issues? If so, how can they be resolved.

Thanks,

Regards,

/David

Scott Tenorman

unread,
May 28, 2014, 3:34:37 AM5/28/14
to jenkins...@googlegroups.com
Hi David,

I also experience this issue with 18 child jobs.
I tried to split parent job into 3 but it does'nt solve the problem. I also tried to use build-flow-plugin but it doesn't fill my requirements.

Has someone also seen the issue ? Or David, did you find a workaround ?

Regards

Marc

David Koch

unread,
May 28, 2014, 4:45:31 AM5/28/14
to jenkins...@googlegroups.com
No, the issue persists and I have not found a work-around. Initially, I thought it may be related to out-of-memory issues in Jenkins but it turns out that this is not the case.

Regards,

/David


--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/vva7-dLYQL4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mfisher

unread,
Aug 20, 2014, 2:22:21 PM8/20/14
to jenkins...@googlegroups.com
I have just stumbled onto this same issue, with the following setup:

MultiPhase Job A
Phase 1
Job1
Job2
Job3
Job4

Phase 2
Deploy

MultiPhase Job A runs on master (4 executors), Job1-4 run on
label-restricted slaves.

Repro:
I kick off 4 concurrent builds of Job A. The master node has 4 executors
so all multi-phase instances of job A are kicked off (no queued instances of
A). As 4 instances of multi-phase job A were kicked off, there are now 4
instances of each Job1-4 that need to be built, for this explanation I'll
focus on Job1.

There are only 2 slaves (each with 1 executor) that can build Job1, however
there are 4 instances of Job1 that need to be built. The first two
instances of Job1 are sent to the available 2 slaves. The third instance of
Job1 is queued, waiting for one of the two slaves to be available. THE BUG:
The 4th instance of Job1 does not get queued, it simply gets skipped (gray
circle next to it) with the text "(not built"). Further, "Phase 2" gets
executed on this instance of JobA, which fails because Job1 was never built
and hence the artifact to be deployed simply doesn't exist.


This appears to be an issue using the MultiPhase job plugin + "Allow
Concurrent Builds" + "restrict where this job can be run", and is a blocking
issue for myself and my team. Any insight into a fix for this would be
greatly appreciated.

Thanks!



--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Jenkins-silently-skipping-MultiJob-phase-tp4696480p4715982.html
Sent from the Jenkins users mailing list archive at Nabble.com.

David Koch

unread,
Aug 21, 2014, 4:01:15 AM8/21/14
to jenkins...@googlegroups.com
Hi,

Do you think you could create a JIRA for this? This remains a blocker for us as well and keeps us from running production in a reliable way.

/David
Reply all
Reply to author
Forward
0 new messages