I am trying to track down an issue where a cloud slave is never provisioned for a job that is scheduled. The annoying part is that it doesn't always happen, I would estimate about 1 in 4 times. I am specifically using the docker-plugin and the job is triggered by gerrit. Only one job appears to be affected and there are many other similar jobs that are similar (docker slave with a gerrit trigger)
I have added more debug logging to the docker-plugin to monitor how provisioning occurs. Sure enough provision() is never called, though canProvision is and returns true for the label expression.
I am not sure how I can inspect more into how Jenkins provisions cloud slaves and figure out why it never does. If another job comes along, it will provision for that job and leave this one.
Log snippet:
Jan 16, 2015 4:23:11 PM com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onTriggered
INFO: Project [redacted-project] triggered by Gerrit: [PatchsetCreated: Change-Id for #1126: [redacted] PatchSet: 1]
Jan 16, 2015 4:23:11 PM com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritTrigger schedule
INFO: Project [redacted-project] Build Scheduled: true By event: 1126/1
Jan 16, 2015 4:23:17 PM com.nirima.jenkins.plugins.docker.DockerCloud canProvision
INFO: Docker can provision 'centos6&&redacted'? true
Any thoughts appreciated,
Thomas
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/cd8d7e9e-ccf8-47e5-9c09-1bd06d95cef8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/D0ED4BA0.E0A3%25thomas.suckow%40pnnl.gov.
For more options, visit https://groups.google.com/d/optout.
FINE hudson.slaves.NodeProvisioner