Change By: Tom Ghyselinck (15/Apr/15 2:20 PM)
Environment: Jenkins 1.596.2 LTS
Priority Sorter plugin 2.11
Description: Hi,

Our Jenkins server seems to get locked at some point in time.
Many Jobs are in _starvation_, waiting for nodes with certain _labels_/_label combinations_.
(i.e. _Waiting for next available executor on ..._)

The log shows a lot of these entries:
{code}
Apr 15, 2015 3:44:25 PM SEVERE hudson.triggers.SafeTimerTask run

Timer task hudson.model.Queue$MaintainTask@5d00189f failed
java.lang.NullPointerException
at jenkins.advancedqueue.sorter.AdvancedQueueSorter$2.compare(AdvancedQueueSorter.java:99)
at jenkins.advancedqueue.sorter.AdvancedQueueSorter$2.compare(AdvancedQueueSorter.java:81)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:329)
at java.util.TimSort.sort(TimSort.java:189)
at java.util.TimSort.sort(TimSort.java:173)
at java.util.Arrays.sort(Arrays.java:659)
at java.util.Collections.sort(Collections.java:217)
at jenkins.advancedqueue.sorter.AdvancedQueueSorter.sortBuildableItems(AdvancedQueueSorter.java:81)
at hudson.model.Queue.maintain(Queue.java:1135)
at hudson.model.Queue$MaintainTask.doRun(Queue.java:2197)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
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)

Feed
{code}


and also some entries like
{code}
java.lang.NullPointerException
at jenkins.advancedqueue.sorter.AdvancedQueueSorter.onLeft(AdvancedQueueSorter.java:157)
at jenkins.advancedqueue.sorter.AdvancedQueueSorterQueueListener.onLeft(AdvancedQueueSorterQueueListener.java:47)
at hudson.model.Queue$LeftItem.enter(Queue.java:2087)
at hudson.model.Queue.onStartExecuting(Queue.java:924)
at hudson.model.Executor.run(Executor.java:209)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)
{code}

We see theses issues since we updated the [Priority Sorter Plugin|https://wiki.jenkins-ci.org/display/JENKINS/Priority+Sorter+Plugin] to _version 2.11_ (from _version 2.9_)

Downgrading to _version 2.9_ seems to work fine!
Assignee: Magnus Sandberg
Component/s: prioritysorter-plugin
Component/s: core
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to