-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
awt.toolkit sun.awt.X11.XToolkit
executable-war /srv/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 jenkins.war
java.class.version 52.0
java.endorsed.dirs /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/endorsed
java.ext.dirs /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre
java.io.tmpdir /tmp
java.library.path /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.8.0_121-b13
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_121
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.121-b13
jna.loaded true
jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib:/usr/lib64/mysql
jnidispatch.path /tmp/jna--1712433994/jna8187628283815269746.tmp
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
os.arch amd64
os.name Linux
os.version 3.10.0-327.10.1.el7.x86_64
path.separator :
sun.arch.data.model 64
sun.boot.class.path /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/classes
sun.boot.library.path /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.font.fontmanager sun.awt.X11FontManager
sun.io.unicode.encoding UnicodeLittle
sun.java.command jenkins.war
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
user.country US
user.dir /srv/jenkins
user.home /srv/jenkins
user.language en
user.name jenkins
user.timezone Europe/Brussels
Variables d'environnement
Nom ↓
Valeur
_ /usr/bin/java
HOME /srv/jenkins
LANG en_US.UTF-8
LOGNAME jenkins
NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
PWD /srv/jenkins
SHELL /bin/bash
SHLVL 1
USER jenkins
XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt
Plugins
Nom ↓
Version
En effet
ace-editor 1.1 true
ansicolor 0.5.0 true
ant 1.4 true
antisamy-markup-formatter 1.5 true
authentication-tokens 1.3 true
blueocean 1.0.0-rc3 true
blueocean-autofavorite 0.6 true
blueocean-commons 1.0.0-rc3 true
blueocean-config 1.0.0-rc3 true
blueocean-dashboard 1.0.0-rc3 true
blueocean-display-url 1.5.1 true
blueocean-events 1.0.0-rc3 true
blueocean-git-pipeline 1.0.0-rc3 true
blueocean-github-pipeline 1.0.0-rc3 true
blueocean-i18n 1.0.0-rc3 true
blueocean-jwt 1.0.0-rc3 true
blueocean-personalization 1.0.0-rc3 true
blueocean-pipeline-api-impl 1.0.0-rc3 true
blueocean-pipeline-editor 0.2.0 true
blueocean-rest 1.0.0-rc3 true
blueocean-rest-impl 1.0.0-rc3 true
blueocean-web 1.0.0-rc3 true
bouncycastle-api 2.16.0 true
branch-api 2.0.8 true
build-pipeline-plugin 1.5.6 true
build-timeout 1.18 true
cloudbees-folder 6.0.3 true
conditional-buildstep 1.3.5 true
config-file-provider 2.15.7 true
credentials 2.1.13 true
credentials-binding 1.11 true
dashboard-view 2.9.10 true
delivery-pipeline-plugin 0.10.3 true
display-url-api 1.1.1 true
docker-build-publish 1.3.2 true
docker-commons 1.6 true
docker-workflow 1.10 true
durable-task 1.13 true
email-ext 2.57.1 true
external-monitor-job 1.7 true
favorite 2.0.4 true
git 3.2.0 true
git-client 2.4.1 true
git-server 1.7 true
github 1.26.1 true
github-api 1.85 true
github-branch-source 2.0.4 true
github-organization-folder 1.6 true
handlebars 1.1.1 true
icon-shim 2.0.3 true
jackson2-api 2.7.3 true
javadoc 1.4 true
jquery 1.11.2-0 true
jquery-detached 1.2.1 true
junit 1.20 true
ldap 1.14 true
mailer 1.20 true
matrix-auth 1.4 true
matrix-project 1.9 true
maven-plugin 2.15.1 true
metrics 3.1.2.9 true
momentjs 1.1.1 true
pam-auth 1.3 true
parameterized-trigger 2.33 true
pipeline-build-step 2.4 true
pipeline-github-lib 1.0 true
pipeline-graph-analysis 1.3 true
pipeline-input-step 2.5 true
pipeline-milestone-step 1.3.1 true
pipeline-model-api 1.1.1 true
pipeline-model-declarative-agent 1.1.1 true
pipeline-model-definition 1.1.1 true
pipeline-model-extensions 1.1.1 true
pipeline-multibranch-defaults 1.1 true
pipeline-rest-api 2.6 true
pipeline-stage-step 2.2 true
pipeline-stage-tags-metadata 1.1.1 true
pipeline-stage-view 2.6 true
plain-credentials 1.4 true
pubsub-light 1.7 true
resource-disposer 0.6 true
run-condition 1.0 true
scm-api 2.1.1 true
script-security 1.27 true
slack 2.2 true
sse-gateway 1.15 true
ssh-credentials 1.13 true
ssh-slaves 1.16 true
structs 1.6 true
timestamper 1.8.8 true
token-macro 2.0 true
variant 1.1 true
windows-slaves 1.3.1 true
workflow-aggregator 2.5 true
workflow-api 2.12 true
workflow-basic-steps 2.4 true
workflow-cps 2.29 true
workflow-cps-global-lib 2.7 true
workflow-durable-task-step 2.10 true
workflow-job 2.10 true
workflow-multibranch 2.14 true
workflow-scm-step 2.4 true
workflow-step-api 2.9 true
workflow-support 2.13 true
ws-cleanup 0.32 trueawt.toolkit sun.awt.X11.XToolkit executable-war /srv/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 jenkins.war java.class.version 52.0 java.endorsed.dirs /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/endorsed java.ext.dirs /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/ext:/usr/java/packages/lib/ext java.home /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre java.io.tmpdir /tmp java.library.path /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib java.runtime.name OpenJDK Runtime Environment java.runtime.version 1.8.0_121-b13 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_121 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.121-b13 jna.loaded true jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib:/usr/lib64/mysql jnidispatch.path /tmp/jna--1712433994/jna8187628283815269746.tmp line.separator mail.smtp.sendpartial true mail.smtps.sendpartial true os.arch amd64 os.name Linux os.version 3.10.0-327.10.1.el7.x86_64 path.separator : sun.arch.data.model 64 sun.boot.class.path /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/classes sun.boot.library.path /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre/lib/amd64 sun.cpu.endian little sun.cpu.isalist sun.font.fontmanager sun.awt.X11FontManager sun.io.unicode.encoding UnicodeLittle sun.java.command jenkins.war sun.java.launcher SUN_STANDARD sun.jnu.encoding UTF-8 sun.management.compiler HotSpot 64-Bit Tiered Compilers sun.os.patch.level unknown user.country US user.dir /srv/jenkins user.home /srv/jenkins user.language en user.name jenkins user.timezone Europe/Brussels Variables d'environnement Nom ↓ Valeur _ /usr/bin/java HOME /srv/jenkins LANG en_US.UTF-8 LOGNAME jenkins NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin PWD /srv/jenkins SHELL /bin/bash SHLVL 1 USER jenkins XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt Plugins Nom ↓ Version En effet ace-editor 1.1 true ansicolor 0.5.0 true ant 1.4 true antisamy-markup-formatter 1.5 true authentication-tokens 1.3 true blueocean 1.0.0-rc3 true blueocean-autofavorite 0.6 true blueocean-commons 1.0.0-rc3 true blueocean-config 1.0.0-rc3 true blueocean-dashboard 1.0.0-rc3 true blueocean-display-url 1.5.1 true blueocean-events 1.0.0-rc3 true blueocean-git-pipeline 1.0.0-rc3 true blueocean-github-pipeline 1.0.0-rc3 true blueocean-i18n 1.0.0-rc3 true blueocean-jwt 1.0.0-rc3 true blueocean-personalization 1.0.0-rc3 true blueocean-pipeline-api-impl 1.0.0-rc3 true blueocean-pipeline-editor 0.2.0 true blueocean-rest 1.0.0-rc3 true blueocean-rest-impl 1.0.0-rc3 true blueocean-web 1.0.0-rc3 true bouncycastle-api 2.16.0 true branch-api 2.0.8 true build-pipeline-plugin 1.5.6 true build-timeout 1.18 true cloudbees-folder 6.0.3 true conditional-buildstep 1.3.5 true config-file-provider 2.15.7 true credentials 2.1.13 true credentials-binding 1.11 true dashboard-view 2.9.10 true delivery-pipeline-plugin 0.10.3 true display-url-api 1.1.1 true docker-build-publish 1.3.2 true docker-commons 1.6 true docker-workflow 1.10 true durable-task 1.13 true email-ext 2.57.1 true external-monitor-job 1.7 true favorite 2.0.4 true git 3.2.0 true git-client 2.4.1 true git-server 1.7 true github 1.26.1 true github-api 1.85 true github-branch-source 2.0.4 true github-organization-folder 1.6 true handlebars 1.1.1 true icon-shim 2.0.3 true jackson2-api 2.7.3 true javadoc 1.4 true jquery 1.11.2-0 true jquery-detached 1.2.1 true junit 1.20 true ldap 1.14 true mailer 1.20 true matrix-auth 1.4 true matrix-project 1.9 true maven-plugin 2.15.1 true metrics 3.1.2.9 true momentjs 1.1.1 true pam-auth 1.3 true parameterized-trigger 2.33 true pipeline-build-step 2.4 true pipeline-github-lib 1.0 true pipeline-graph-analysis 1.3 true pipeline-input-step 2.5 true pipeline-milestone-step 1.3.1 true pipeline-model-api 1.1.1 true pipeline-model-declarative-agent 1.1.1 true pipeline-model-definition 1.1.1 true pipeline-model-extensions 1.1.1 true pipeline-multibranch-defaults 1.1 true pipeline-rest-api 2.6 true pipeline-stage-step 2.2 true pipeline-stage-tags-metadata 1.1.1 true pipeline-stage-view 2.6 true plain-credentials 1.4 true pubsub-light 1.7 true resource-disposer 0.6 true run-condition 1.0 true scm-api 2.1.1 true script-security 1.27 true slack 2.2 true sse-gateway 1.15 true ssh-credentials 1.13 true ssh-slaves 1.16 true structs 1.6 true timestamper 1.8.8 true token-macro 2.0 true variant 1.1 true windows-slaves 1.3.1 true workflow-aggregator 2.5 true workflow-api 2.12 true workflow-basic-steps 2.4 true workflow-cps 2.29 true workflow-cps-global-lib 2.7 true workflow-durable-task-step 2.10 true workflow-job 2.10 true workflow-multibranch 2.14 true workflow-scm-step 2.4 true workflow-step-api 2.9 true workflow-support 2.13 true ws-cleanup 0.32 true
Hi,
I want to use a Docker image to build a sbt project. However, while the build is successful, the job is marked as failure while there is no error/warning at all in the build log.
Here the Dockerfile of the image I used:
FROM debian:stable RUN http_proxy="http://10.240.1.254:3128" apt-key adv --keyserver keyserver.ubuntu.com --recv xxx && \ http_proxy="http://10.240.1.254:3128" apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 && \ (echo "deb http://dl.bintray.com/sbt/debian /" > /etc/apt/sources.list.d/sbt.list) && \ (echo 'Acquire::http::Proxy "http://10.240.1.254:3128";' > /etc/apt/apt.conf.d/00proxy) && \ (echo 'deb http://dl.xxxx.com/deb stable main' > /etc/apt/sources.list.d/xxx.list) && \ apt-get update && \ apt-get install -y dpkg-dev oracle-java8-jdk sbt strace
And the part of jenkinsfile:
withDockerContainer(args: '-v /srv/jenkins/.sbt:/.sbt:ro', image:'debian-build:latest') { stage('Build and archive') { sh 'sbt debian:packageBin' sh 'find . -name "*.deb"' } }
And the end of the build.log:
[success] Total time: 280 s, completed Mar 31, 2017 12:27:58 PM [Pipeline] sh [xxx-Y74YIJG7OYWEKYECCRG46FA56CWRJCSNEAMOH3QHT6HOA2R2VQKQ] Running shell script + find . -name *.deb ./target/mypackage_1.0.2_all.deb [Pipeline] } [Pipeline] // stage [Pipeline] } $ docker stop --time=1 3908d2f7707135436ec802cafcc8eb0c920ea8eecaeeef65110c0fdc1e022b48 $ docker rm -f 3908d2f7707135436ec802cafcc8eb0c920ea8eecaeeef65110c0fdc1e022b48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit's build result Finished: FAILURE