Dani has pointed you to the immediate fix (needs reboot with displays cleared because some display numbers have not been returned to pool properly).
The underlying bug is related to how the VNC plug-in for Jenkins is written. The Display numbers are not a resource that Jenkins knows how to wait on, so the build runs when it has an executor to run it, but will then fail. To resolve that would need work on Jenkins side, see https://plugins.jenkins.io/xvnc for the plug-in details. Realistically no one is likely to fix the xvnc plug-in (last had a release 3 years ago). The "modern" solution to this will be converting the platform CI instance to run on openshift so that the xvnc plug-in is dropped from use. That is what we are doing on CDT now and we haven't seen this particular error since. (I don't know how much effort that conversion is, and/or if it is scheduled to happen?) Jonah ~~~ Jonah Graham Kichwa Coders www.kichwacoders.com On Mon, 10 Jun 2019 at 06:22, Rolf Theunissen <rolf.theunis...@gmail.com> wrote: > Hi, > > Lately I had many builds fail with the error below. Apparently, the number > of displays is to low. Moreover, I would rather have my build wait in the > build queue for displays to become available, than fail like this. > > Does anybody have an idea how to fix this? > > Best regards, > Rolf Theunissen > > *12:11:44* Triggered by Gerrit: https://git.eclipse.org/r/142555*12:11:44* > Building remotely on centslave2 > <https://ci.eclipse.org/platform/computer/centslave2> (centos) in workspace > /home/cbi/genie.platform/workspace/eclipse.platform.ui-Gerrit@2*12:11:44* > [WS-CLEANUP] Deleting project workspace...*12:11:44* [WS-CLEANUP] Deferred > wipeout is used...*12:11:44* [WS-CLEANUP] Done*12:11:44* No credentials > specified*12:11:44* Cloning the remote Git repository*12:11:44* Cloning > repository > git://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git*12:11:44* > > /usr/local/bin/git init > /home/cbi/genie.platform/workspace/eclipse.platform.ui-Gerrit@2 # > timeout=10*12:11:44* Fetching upstream changes from > git://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git*12:11:44* > > /usr/local/bin/git --version # timeout=10*12:11:44* > /usr/local/bin/git > fetch --tags --progress > git://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git > +refs/heads/*:refs/remotes/origin/**12:12:15* > /usr/local/bin/git config > remote.origin.url > git://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git # > timeout=10*12:12:16* > /usr/local/bin/git config --add remote.origin.fetch > +refs/heads/*:refs/remotes/origin/* # timeout=10*12:12:16* > > /usr/local/bin/git config remote.origin.url > git://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git # > timeout=10*12:12:16* Fetching upstream changes from > git://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git*12:12:16* > > /usr/local/bin/git fetch --tags --progress > git://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git > refs/changes/55/142555/2*12:12:20* > /usr/local/bin/git rev-parse > 26d66074608c9a32f9c35c5cdd0743c5d71896f7^{commit} # timeout=10*12:12:20* > JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: > https://wiki.jenkins-ci.org/display/JENKINS/Remove+Git+Plugin+BuildsByBranch+BuildData*12:12:20* > Checking out Revision 26d66074608c9a32f9c35c5cdd0743c5d71896f7 > (refs/changes/55/142555/2)*12:12:20* > /usr/local/bin/git config > core.sparsecheckout # timeout=10*12:12:20* > /usr/local/bin/git checkout -f > 26d66074608c9a32f9c35c5cdd0743c5d71896f7*12:12:21* Commit message: "Bug > 485167 - Towards running DynamicPluginsTestSuite with UiTestSuite"*12:12:21* > > /usr/local/bin/git rev-parse FETCH_HEAD^{commit} # timeout=10*12:12:21* > > /usr/local/bin/git rev-list --no-walk > 1ab6d2484ee0dc9383bc15b651f392188740479e # timeout=10*12:12:22* FATAL: All > available display numbers are allocated or blacklisted.*12:12:22* allocated: > [160, 161, 162, 163, 164, 165, 166, 167, 168, 169]*12:12:22* blacklisted: > []*12:12:22* java.lang.RuntimeException: All available display numbers are > allocated or blacklisted.*12:12:22* allocated: [160, 161, 162, 163, 164, 165, > 166, 167, 168, 169]*12:12:22* blacklisted: []*12:12:22* at > hudson.plugins.xvnc.DisplayAllocator.doAllocate(DisplayAllocator.java:59)*12:12:22* > at > hudson.plugins.xvnc.DisplayAllocator.allocate(DisplayAllocator.java:49)*12:12:22* > at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:106)*12:12:22* at > hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:96)*12:12:22* at > jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:146)*12:12:22* > at hudson.model.Build$BuildExecution.doRun(Build.java:157)*12:12:22* > at > hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)*12:12:22* > at hudson.model.Run.execute(Run.java:1810)*12:12:22* at > hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)*12:12:22* at > hudson.model.ResourceController.execute(ResourceController.java:97)*12:12:22* > at hudson.model.Executor.run(Executor.java:429)*12:12:22* [WARNINGS] > Skipping publisher since build result is FAILURE*12:12:22* Recording test > results*12:12:22* ERROR: Step ?Publish JUnit test result report? failed: No > test report files were found. Configuration error?*12:12:22* Archiving > artifacts*12:12:23* Started calculate disk usage of build*12:12:23* Finished > Calculation of disk usage of build in 0 seconds*12:12:23* Started calculate > disk usage of workspace*12:12:24* Finished Calculation of disk usage of > workspace in 0 seconds*12:12:24* Finished: FAILURE > > _______________________________________________ > platform-dev mailing list > platform-dev@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/platform-dev
_______________________________________________ platform-dev mailing list platform-dev@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev