-
Bug
-
Resolution: Unresolved
-
Major
-
System Properties
Name ↓
Value
awt.toolkit sun.awt.X11.XToolkit
executable-war /usr/share/jenkins/jenkins.war
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /usr/share/jenkins/jenkins.war
java.class.version 52.0
java.endorsed.dirs /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/endorsed
java.ext.dirs /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-8-openjdk-amd64/jre
java.io.tmpdir /tmp
java.library.path /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.8
java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.8.0_131
java.vm.info mixed mode
java.vm.name OpenJDK 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.8
java.vm.vendor Oracle Corporation
java.vm.version 25.131-b11
jna.loaded true
jna.platform.library.path /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib:/usr/lib/x86_64-linux-gnu/libfakeroot
jnidispatch.path /tmp/jna--1712433994/jna8447100192885726399.tmp
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
os.arch amd64
os.name Linux
os.version 4.4.0-96-generic
path.separator :
sun.arch.data.model 64
sun.boot.class.path /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes
sun.boot.library.path /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.font.fontmanager sun.awt.X11FontManager
sun.io.unicode.encoding UnicodeLittle
sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 --prefix=/jenkins
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
user.country US
user.dir /
user.home /home/jenkins
user.language en
user.name jenkins
user.timezone Etc/UTC
Environment Variables
Name ↓
Value
_ /usr/bin/daemon
HOME /home/jenkins
JENKINS_HOME /var/lib/jenkins
LANG en_US.UTF-8
LOGNAME jenkins
MAIL /var/mail/jenkins
PATH /home/jenkins/bin:/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
PWD /home/jenkins
SHELL /bin/bash
SHLVL 1
USER jenkins
XDG_RUNTIME_DIR /run/user/1007
XDG_SESSION_ID c3
Plugins
Name ↓
Version
Enabled
ace-editor 1.1 true
ant 1.7 true
antisamy-markup-formatter 1.5 true
authentication-tokens 1.3 true
bouncycastle-api 2.16.2 true
branch-api 2.0.14 true
build-timeout 1.19 true
build-user-vars-plugin 1.5 true
cloudbees-folder 6.2.1 true
credentials 2.1.16 true
credentials-binding 1.13 true
display-url-api 2.1.0 true
docker-commons 1.9 true
docker-workflow 1.13 true
durable-task 1.15 true
email-ext 2.60 true
external-monitor-job 1.7 true
git 3.6.2 true
git-client 2.5.0 true
git-server 1.7 true
github 1.28.1 true
github-api 1.89 true
github-branch-source 2.2.4 true
github-oauth 0.27 true
github-organization-folder 1.6 true
gradle 1.28 true
greenballs 1.15 true
handlebars 1.1.1 true
icon-shim 2.0.3 true
jackson2-api 2.8.7.0 true
jquery-detached 1.2.1 true
junit 1.21 true
ldap 1.17 true
mailer 1.20 true
mapdb-api 1.0.9.0 true
matrix-auth 2.1 true
matrix-project 1.12 true
momentjs 1.1.1 true
pam-auth 1.3 true
pipeline-build-step 2.5.1 true
pipeline-github-lib 1.0 true
pipeline-graph-analysis 1.5 true
pipeline-input-step 2.8 true
pipeline-milestone-step 1.3.1 true
pipeline-model-api 1.2.2 true
pipeline-model-declarative-agent 1.1.1 true
pipeline-model-definition 1.2.2 true
pipeline-model-extensions 1.2.2 true
pipeline-rest-api 2.9 true
pipeline-stage-step 2.2 true
pipeline-stage-tags-metadata 1.2.2 true
pipeline-stage-view 2.9 true
plain-credentials 1.4 true
resource-disposer 0.8 true
scm-api 2.2.3 true
script-security 1.34 true
ssh-agent 1.15 true
ssh-credentials 1.13 true
ssh-slaves 1.22 true
structs 1.10 true
subversion 2.9 true
timestamper 1.8.8 true
token-macro 2.3 true
windows-slaves 1.3.1 true
workflow-aggregator 2.5 true
workflow-api 2.23.1 true
workflow-basic-steps 2.6 true
workflow-cps 2.41 true
workflow-cps-global-lib 2.9 true
workflow-durable-task-step 2.17 true
workflow-job 2.15 true
workflow-multibranch 2.16 true
workflow-scm-step 2.6 true
workflow-step-api 2.13 true
workflow-support 2.16 true
ws-cleanup 0.34 true
Thread Dumps
Visit this page for master and agent thread dumps.System Properties Name ↓ Value awt.toolkit sun.awt.X11.XToolkit executable-war /usr/share/jenkins/jenkins.war file.encoding UTF-8 file.encoding.pkg sun.io file.separator / java.awt.graphicsenv sun.awt.X11GraphicsEnvironment java.awt.headless true java.awt.printerjob sun.print.PSPrinterJob java.class.path /usr/share/jenkins/jenkins.war java.class.version 52.0 java.endorsed.dirs /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/endorsed java.ext.dirs /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext java.home /usr/lib/jvm/java-8-openjdk-amd64/jre java.io.tmpdir /tmp java.library.path /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib java.runtime.name OpenJDK Runtime Environment java.runtime.version 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11 java.specification.name Java Platform API Specification java.specification.vendor Oracle Corporation java.specification.version 1.8 java.vendor Oracle Corporation java.vendor.url http://java.oracle.com/ java.vendor.url.bug http://bugreport.sun.com/bugreport/ java.version 1.8.0_131 java.vm.info mixed mode java.vm.name OpenJDK 64-Bit Server VM java.vm.specification.name Java Virtual Machine Specification java.vm.specification.vendor Oracle Corporation java.vm.specification.version 1.8 java.vm.vendor Oracle Corporation java.vm.version 25.131-b11 jna.loaded true jna.platform.library.path /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib:/usr/lib/x86_64-linux-gnu/libfakeroot jnidispatch.path /tmp/jna--1712433994/jna8447100192885726399.tmp line.separator mail.smtp.sendpartial true mail.smtps.sendpartial true os.arch amd64 os.name Linux os.version 4.4.0-96-generic path.separator : sun.arch.data.model 64 sun.boot.class.path /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes sun.boot.library.path /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 sun.cpu.endian little sun.cpu.isalist sun.font.fontmanager sun.awt.X11FontManager sun.io.unicode.encoding UnicodeLittle sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 --prefix=/jenkins sun.java.launcher SUN_STANDARD sun.jnu.encoding UTF-8 sun.management.compiler HotSpot 64-Bit Tiered Compilers sun.os.patch.level unknown svnkit.http.methods Digest,Basic,NTLM,Negotiate svnkit.ssh2.persistent false user.country US user.dir / user.home /home/jenkins user.language en user.name jenkins user.timezone Etc/UTC Environment Variables Name ↓ Value _ /usr/bin/daemon HOME /home/jenkins JENKINS_HOME /var/lib/jenkins LANG en_US.UTF-8 LOGNAME jenkins MAIL /var/mail/jenkins PATH /home/jenkins/bin:/home/jenkins/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin PWD /home/jenkins SHELL /bin/bash SHLVL 1 USER jenkins XDG_RUNTIME_DIR /run/user/1007 XDG_SESSION_ID c3 Plugins Name ↓ Version Enabled ace-editor 1.1 true ant 1.7 true antisamy-markup-formatter 1.5 true authentication-tokens 1.3 true bouncycastle-api 2.16.2 true branch-api 2.0.14 true build-timeout 1.19 true build-user-vars-plugin 1.5 true cloudbees-folder 6.2.1 true credentials 2.1.16 true credentials-binding 1.13 true display-url-api 2.1.0 true docker-commons 1.9 true docker-workflow 1.13 true durable-task 1.15 true email-ext 2.60 true external-monitor-job 1.7 true git 3.6.2 true git-client 2.5.0 true git-server 1.7 true github 1.28.1 true github-api 1.89 true github-branch-source 2.2.4 true github-oauth 0.27 true github-organization-folder 1.6 true gradle 1.28 true greenballs 1.15 true handlebars 1.1.1 true icon-shim 2.0.3 true jackson2-api 2.8.7.0 true jquery-detached 1.2.1 true junit 1.21 true ldap 1.17 true mailer 1.20 true mapdb-api 1.0.9.0 true matrix-auth 2.1 true matrix-project 1.12 true momentjs 1.1.1 true pam-auth 1.3 true pipeline-build-step 2.5.1 true pipeline-github-lib 1.0 true pipeline-graph-analysis 1.5 true pipeline-input-step 2.8 true pipeline-milestone-step 1.3.1 true pipeline-model-api 1.2.2 true pipeline-model-declarative-agent 1.1.1 true pipeline-model-definition 1.2.2 true pipeline-model-extensions 1.2.2 true pipeline-rest-api 2.9 true pipeline-stage-step 2.2 true pipeline-stage-tags-metadata 1.2.2 true pipeline-stage-view 2.9 true plain-credentials 1.4 true resource-disposer 0.8 true scm-api 2.2.3 true script-security 1.34 true ssh-agent 1.15 true ssh-credentials 1.13 true ssh-slaves 1.22 true structs 1.10 true subversion 2.9 true timestamper 1.8.8 true token-macro 2.3 true windows-slaves 1.3.1 true workflow-aggregator 2.5 true workflow-api 2.23.1 true workflow-basic-steps 2.6 true workflow-cps 2.41 true workflow-cps-global-lib 2.9 true workflow-durable-task-step 2.17 true workflow-job 2.15 true workflow-multibranch 2.16 true workflow-scm-step 2.6 true workflow-step-api 2.13 true workflow-support 2.16 true ws-cleanup 0.34 true Thread Dumps Visit this page for master and agent thread dumps.
This may be related to JENKINS-27256.
We use the remote API to trigger a build. We then get the queue ID from the response of said trigger call and then query the queue API to determine the build number of the created build.
This worked perfectly until yesterday (2017-10-24) when calls to the queue API started returning a 404. I think on this day we also updated Jenkins as we ran our Ansible playbook at our server, which starts with an `apt-get update && apt-get upgrade`.
Code execution wise, our script is written in Node.js and we're using the "jenkins-api" package as an API client. We call `jenkins.build_with_params()`, and then immediately after we get a response we hit `jenkins.queue_item()` until we find "executable" in the data. Under the hood, the 404 is coming from "/jenkins/queue/item/<ID>/api/json". Calling the specific URL with a small delay yields the same result.
Apologies I don't have anymore information than this as I'm not entirely sure what to provide.