|
Fortunately, I was able to easily duplicate the problem in about 5 minutes, first crack! Hopefully you can too! 
Ubuntu 15.04 - Does not matter, not what I'm running in prod Jenkins 1.612 - Does not matter, not what I'm running in prod – seems like this problem started around 1.597??? Not really sure when. Install Git Plugin Two slaves s1 and s2 both on localhost - each with 2 executors s1 label S1, s2 label with S2 (I run no executors on master in prod, just an FYI) Create a Matrix job GIT REPO https://github.com/allegro/axion-release-plugin.git (use this repo, as I'm using a hash for this repository - no auth required ) Branches to build: origin/master Additional Behavoir -> Local Branch Name: master Schedule: H 0 1 1 0 Configuration Matrix Label Expression label_exp S1 S2
Build Execute Shell Command echo "--------------->"$label_exp
Per the gentleman's comment above – simply post this url in another browser tab and watch your threads die... Keep submitting, and they all die...
http://localhost:8080/jenkins//git/notifyCommit?url=https%3A%2F%2Fgithub.com%2Fallegro%2Faxion-release-plugin.git&branches=master&sha1=a5de4d725814ff907a8cf1f5666b9f01e8361655
SEVERE: Unexpected executor death java.lang.IllegalStateException: /usr/share/tomcat8/.jenkins/jobs/test/configurations/axis-label_exp/S1/builds/3 already existed; will not overwite with test/label_exp=S1 #3 at hudson.model.RunMap.put(RunMap.java:189) at hudson.matrix.MatrixConfiguration.newBuild(MatrixConfiguration.java:284) at hudson.matrix.MatrixConfiguration.newBuild(MatrixConfiguration.java:74) at hudson.model.AbstractProject.createExecutable(AbstractProject.java:1210) at hudson.model.AbstractProject.createExecutable(AbstractProject.java:144) at hudson.model.Executor$1.call(Executor.java:328) at hudson.model.Executor$1.call(Executor.java:310) at hudson.model.Queue._withLock(Queue.java:1251) at hudson.model.Queue.withLock(Queue.java:1189) at hudson.model.Executor.run(Executor.java:310)
Let me know if this does not work, or you want some config files. I hope it is easily reproducible..and quickly resolved – this is killing me! Thanks so much for your help...
This is even worse.. I lose my node after a while – I saw this in product and but I did not think it was related...

No I have these messages in the log...
May 08, 2015 7:15:45 AM hudson.triggers.SafeTimerTask run SEVERE: Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@7c2aef8c failed java.lang.NullPointerException at hudson.model.LoadStatistics$LoadStatisticsSnapshot$Builder.with(LoadStatistics.java:624) at hudson.model.LoadStatistics$LoadStatisticsSnapshot$Builder.with(LoadStatistics.java:619) at hudson.model.LoadStatistics.computeSnapshot(LoadStatistics.java:352) at hudson.model.LoadStatistics.computeSnapshot(LoadStatistics.java:332) at hudson.slaves.NodeProvisioner$2.run(NodeProvisioner.java:261) at hudson.model.Queue._withLock(Queue.java:1212) at hudson.model.Queue.withLock(Queue.java:1148) at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:208) at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:57) at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:778) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
May 08, 2015 7:15:51 AM hudson.triggers.SafeTimerTask run SEVERE: Timer task hudson.model.LoadStatistics$LoadStatisticsUpdater@40623d93 failed java.lang.NullPointerException at hudson.model.LoadStatistics$LoadStatisticsSnapshot$Builder.with(LoadStatistics.java:624) at hudson.model.LoadStatistics$LoadStatisticsSnapshot$Builder.with(LoadStatistics.java:619) at hudson.model.LoadStatistics.computeSnapshot(LoadStatistics.java:352) at hudson.model.LoadStatistics$LoadStatisticsUpdater.doRun(LoadStatistics.java:394) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
I restart tomcat and my slave returns.... that is not very cool! But at least it came back Thanks again...
|