-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Jenkins version: 2.89.4
Information below copied from `/systeminfo` page.
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 /
hudson.model.DirectoryBrowserSupport.CSP default-src 'self'; script-src 'unsafe-inline' 'self';
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_151-8u151-b12-1~deb9u1-b12
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_151
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.151-b12
javax.accessibility.assistive_technologies org.GNOME.Accessibility.AtkWrapper
jna.loaded true
jna.platform.library.path /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib:/usr/local/lib
jnidispatch.path /tmp/jna--1712433994/jna1421996778036052333.tmp
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
org.apache.xml.security.ignoreLineBreaks true
os.arch amd64
os.name Linux
os.version 4.4.0-116-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
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
user.dir /
user.home /var/jenkins_home
user.language en
user.name jenkins
user.timezone Etc/UTC
Environment Variables
Name ↓
Value
CA_CERTIFICATES_JAVA_VERSION 20170531+nmu1
COPY_REFERENCE_FILE_LOG /var/jenkins_home/copy_reference_file.log
HOME /var/jenkins_home
HOSTNAME jenkins-54c7b77479-btjxs
JAVA_DEBIAN_VERSION 8u151-b12-1~deb9u1
JAVA_HOME /docker-java-home
JAVA_OPTS -Xmx3800m
JAVA_VERSION 8u151
JENKINS_DISCOVERY_PORT tcp://10.254.35.118:50000
JENKINS_DISCOVERY_PORT_50000_TCP tcp://10.254.35.118:50000
JENKINS_DISCOVERY_PORT_50000_TCP_ADDR 10.254.35.118
JENKINS_DISCOVERY_PORT_50000_TCP_PORT 50000
JENKINS_DISCOVERY_PORT_50000_TCP_PROTO tcp
JENKINS_DISCOVERY_SERVICE_HOST 10.254.35.118
JENKINS_DISCOVERY_SERVICE_PORT 50000
JENKINS_DISCOVERY_SERVICE_PORT_SLAVES 50000
JENKINS_HOME /var/jenkins_home
JENKINS_SLAVE_AGENT_PORT 50000
JENKINS_UC https://updates.jenkins.io
JENKINS_UC_EXPERIMENTAL https://updates.jenkins.io/experimental
JENKINS_UI_PORT tcp://10.254.118.227:8080
JENKINS_UI_PORT_8080_TCP tcp://10.254.118.227:8080
JENKINS_UI_PORT_8080_TCP_ADDR 10.254.118.227
JENKINS_UI_PORT_8080_TCP_PORT 8080
JENKINS_UI_PORT_8080_TCP_PROTO tcp
JENKINS_UI_SERVICE_HOST 10.254.118.227
JENKINS_UI_SERVICE_PORT 8080
JENKINS_UI_SERVICE_PORT_UI 8080
JENKINS_VERSION 2.89.4
KUBERNETES_PORT tcp://10.254.0.1:443
KUBERNETES_PORT_443_TCP tcp://10.254.0.1:443
KUBERNETES_PORT_443_TCP_ADDR 10.254.0.1
KUBERNETES_PORT_443_TCP_PORT 443
KUBERNETES_PORT_443_TCP_PROTO tcp
KUBERNETES_SERVICE_HOST 10.254.0.1
KUBERNETES_SERVICE_PORT 443
KUBERNETES_SERVICE_PORT_HTTPS 443
LANG C.UTF-8
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD /
SHLVL 0
TARGET_ENV umc
Plugins
Name ↓
Version
Enabled
ace-editor 1.1 true
analysis-core 1.95 true
ansicolor 0.5.2 true
antisamy-markup-formatter 1.5 true
apache-httpcomponents-client-4-api 4.5.3-2.1 true
authentication-tokens 1.3 true
blueocean 1.4.2 true
blueocean-autofavorite 1.2.2 true
blueocean-bitbucket-pipeline 1.4.2 true
blueocean-commons 1.4.2 true
blueocean-config 1.4.2 true
blueocean-core-js 1.4.2 true
blueocean-dashboard 1.4.2 true
blueocean-display-url 2.2.0 true
blueocean-events 1.4.2 true
blueocean-git-pipeline 1.4.2 true
blueocean-github-pipeline 1.4.2 true
blueocean-i18n 1.4.2 true
blueocean-jira 1.4.2 true
blueocean-jwt 1.4.2 true
blueocean-personalization 1.4.2 true
blueocean-pipeline-api-impl 1.4.2 true
blueocean-pipeline-editor 1.4.2 true
blueocean-pipeline-scm-api 1.4.2 true
blueocean-rest 1.4.2 true
blueocean-rest-impl 1.4.2 true
blueocean-web 1.4.2 true
bouncycastle-api 2.16.2 true
branch-api 2.0.18 true
build-monitor-plugin 1.12+build.201708172343 true
build-timeout 1.19 true
cloudbees-bitbucket-branch-source 2.2.10 true
cloudbees-folder 6.3 true
command-launcher 1.2 true
conditional-buildstep 1.3.6 true
config-file-provider 2.18 true
credentials 2.1.16 true
credentials-binding 1.15 true
cucumber-reports 3.15.0 true
disable-github-multibranch-status 1.1 true
display-url-api 2.2.0 true
docker-commons 1.11 true
docker-java-api 3.0.14 true
docker-plugin 1.1.3 true
docker-workflow 1.15.1 true
durable-task 1.22 true
envinject 2.1.5 true
envinject-api 1.5 true
extended-read-permission 2.0 true
favorite 2.3.1 true
findbugs 4.72 true
gatling 1.2.2 true
ghprb 1.40.0 true
git 3.8.0 true
git-client 2.7.1 true
git-server 1.7 true
github 1.29.0 true
github-api 1.90 true
github-autostatus 2.0 true
github-branch-source 2.3.2 true
google-cloudbuild 0.1 (2017-10-30T14:37:56Z) true
google-container-registry-auth 0.3 true
google-oauth-plugin 0.5 true
handlebars 1.1.1 true
handy-uri-templates-2-api 2.1.6-1.0 true
htmlpublisher 1.14 true
jackson2-api 2.8.11.1 true
javadoc 1.4 true
jenkins-design-language 1.4.2 true
jira 2.5 true
job-dsl 1.68 true
jquery-detached 1.2.1 true
jsch 0.1.54.2 true
junit 1.24 true
kubernetes 1.3.2 true
kubernetes-credentials 0.3.1 true
kubernetes-pipeline-aggregator 1.5 true
kubernetes-pipeline-arquillian-steps 1.5 true
kubernetes-pipeline-devops-steps 1.5 true
kubernetes-pipeline-steps 1.5 true
ldap 1.20 true
lockable-resources 2.2 true
mailer 1.20 true
matrix-auth 2.2 true
matrix-project 1.12 true
maven-plugin 3.1 true
mercurial 2.3 true
mesos 0.15.1 true
metrics 3.1.2.11 true
momentjs 1.1.1 true
multiple-scms 0.6 true
oauth-credentials 0.3 true
pam-auth 1.3 true
parameterized-trigger 2.35.2 true
pipeline-aggregator-view 1.8 true
pipeline-build-step 2.7 true
pipeline-github 1.0 true
pipeline-github-lib 1.0 true
pipeline-githubnotify-step 1.0.4 true
pipeline-graph-analysis 1.6 true
pipeline-input-step 2.8 true
pipeline-milestone-step 1.3.1 true
pipeline-model-api 1.2.7 true
pipeline-model-declarative-agent 1.1.1 true
pipeline-model-definition 1.2.7 true
pipeline-model-extensions 1.2.7 true
pipeline-multibranch-defaults 1.1 true
pipeline-rest-api 2.9 true
pipeline-stage-step 2.3 true
pipeline-stage-tags-metadata 1.2.7 true
pipeline-stage-view 2.9 true
pipeline-utility-steps 2.0.1 true
plain-credentials 1.4 true
pubsub-light 1.12 true
rebuild 1.27 true
resource-disposer 0.8 true
role-strategy 2.7.0 true
run-condition 1.0 true
saml 1.0.5 true
scm-api 2.2.6 true
scm-filter-branch-pr 0.3 true
script-security 1.42 true
slack 2.3 true
sse-gateway 1.15 true
ssh-agent 1.15 true
ssh-credentials 1.13 true
ssh-slaves 1.26 true
structs 1.14 true
timestamper 1.8.9 true
token-macro 2.3 true
variant 1.1 true
webhook-step 1.3 true
windows-slaves 1.3.1 true
workflow-aggregator 2.5 true
workflow-api 2.26 true
workflow-basic-steps 2.6 true
workflow-cps 2.45 true
workflow-cps-global-lib 2.9 true
workflow-durable-task-step 2.19 true
workflow-job 2.17 true
workflow-multibranch 2.17 true
workflow-remote-loader 1.4 true
workflow-scm-step 2.6 true
workflow-step-api 2.14 true
workflow-support 2.18 true
ws-cleanup 0.34 trueJenkins version: 2.89.4 Information below copied from `/systeminfo` page. 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 / hudson.model.DirectoryBrowserSupport.CSP default-src 'self'; script-src 'unsafe-inline' 'self'; 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_151-8u151-b12-1~deb9u1-b12 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_151 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.151-b12 javax.accessibility.assistive_technologies org.GNOME.Accessibility.AtkWrapper jna.loaded true jna.platform.library.path /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib:/usr/local/lib jnidispatch.path /tmp/jna--1712433994/jna1421996778036052333.tmp line.separator mail.smtp.sendpartial true mail.smtps.sendpartial true org.apache.xml.security.ignoreLineBreaks true os.arch amd64 os.name Linux os.version 4.4.0-116-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 sun.java.launcher SUN_STANDARD sun.jnu.encoding UTF-8 sun.management.compiler HotSpot 64-Bit Tiered Compilers sun.os.patch.level unknown user.dir / user.home /var/jenkins_home user.language en user.name jenkins user.timezone Etc/UTC Environment Variables Name ↓ Value CA_CERTIFICATES_JAVA_VERSION 20170531+nmu1 COPY_REFERENCE_FILE_LOG /var/jenkins_home/copy_reference_file.log HOME /var/jenkins_home HOSTNAME jenkins-54c7b77479-btjxs JAVA_DEBIAN_VERSION 8u151-b12-1~deb9u1 JAVA_HOME /docker-java-home JAVA_OPTS -Xmx3800m JAVA_VERSION 8u151 JENKINS_DISCOVERY_PORT tcp://10.254.35.118:50000 JENKINS_DISCOVERY_PORT_50000_TCP tcp://10.254.35.118:50000 JENKINS_DISCOVERY_PORT_50000_TCP_ADDR 10.254.35.118 JENKINS_DISCOVERY_PORT_50000_TCP_PORT 50000 JENKINS_DISCOVERY_PORT_50000_TCP_PROTO tcp JENKINS_DISCOVERY_SERVICE_HOST 10.254.35.118 JENKINS_DISCOVERY_SERVICE_PORT 50000 JENKINS_DISCOVERY_SERVICE_PORT_SLAVES 50000 JENKINS_HOME /var/jenkins_home JENKINS_SLAVE_AGENT_PORT 50000 JENKINS_UC https://updates.jenkins.io JENKINS_UC_EXPERIMENTAL https://updates.jenkins.io/experimental JENKINS_UI_PORT tcp://10.254.118.227:8080 JENKINS_UI_PORT_8080_TCP tcp://10.254.118.227:8080 JENKINS_UI_PORT_8080_TCP_ADDR 10.254.118.227 JENKINS_UI_PORT_8080_TCP_PORT 8080 JENKINS_UI_PORT_8080_TCP_PROTO tcp JENKINS_UI_SERVICE_HOST 10.254.118.227 JENKINS_UI_SERVICE_PORT 8080 JENKINS_UI_SERVICE_PORT_UI 8080 JENKINS_VERSION 2.89.4 KUBERNETES_PORT tcp://10.254.0.1:443 KUBERNETES_PORT_443_TCP tcp://10.254.0.1:443 KUBERNETES_PORT_443_TCP_ADDR 10.254.0.1 KUBERNETES_PORT_443_TCP_PORT 443 KUBERNETES_PORT_443_TCP_PROTO tcp KUBERNETES_SERVICE_HOST 10.254.0.1 KUBERNETES_SERVICE_PORT 443 KUBERNETES_SERVICE_PORT_HTTPS 443 LANG C.UTF-8 PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD / SHLVL 0 TARGET_ENV umc Plugins Name ↓ Version Enabled ace-editor 1.1 true analysis-core 1.95 true ansicolor 0.5.2 true antisamy-markup-formatter 1.5 true apache-httpcomponents-client-4-api 4.5.3-2.1 true authentication-tokens 1.3 true blueocean 1.4.2 true blueocean-autofavorite 1.2.2 true blueocean-bitbucket-pipeline 1.4.2 true blueocean-commons 1.4.2 true blueocean-config 1.4.2 true blueocean-core-js 1.4.2 true blueocean-dashboard 1.4.2 true blueocean-display-url 2.2.0 true blueocean-events 1.4.2 true blueocean-git-pipeline 1.4.2 true blueocean-github-pipeline 1.4.2 true blueocean-i18n 1.4.2 true blueocean-jira 1.4.2 true blueocean-jwt 1.4.2 true blueocean-personalization 1.4.2 true blueocean-pipeline-api-impl 1.4.2 true blueocean-pipeline-editor 1.4.2 true blueocean-pipeline-scm-api 1.4.2 true blueocean-rest 1.4.2 true blueocean-rest-impl 1.4.2 true blueocean-web 1.4.2 true bouncycastle-api 2.16.2 true branch-api 2.0.18 true build-monitor-plugin 1.12+build.201708172343 true build-timeout 1.19 true cloudbees-bitbucket-branch-source 2.2.10 true cloudbees-folder 6.3 true command-launcher 1.2 true conditional-buildstep 1.3.6 true config-file-provider 2.18 true credentials 2.1.16 true credentials-binding 1.15 true cucumber-reports 3.15.0 true disable-github-multibranch-status 1.1 true display-url-api 2.2.0 true docker-commons 1.11 true docker-java-api 3.0.14 true docker-plugin 1.1.3 true docker-workflow 1.15.1 true durable-task 1.22 true envinject 2.1.5 true envinject-api 1.5 true extended-read-permission 2.0 true favorite 2.3.1 true findbugs 4.72 true gatling 1.2.2 true ghprb 1.40.0 true git 3.8.0 true git-client 2.7.1 true git-server 1.7 true github 1.29.0 true github-api 1.90 true github-autostatus 2.0 true github-branch-source 2.3.2 true google-cloudbuild 0.1 (2017-10-30T14:37:56Z) true google-container-registry-auth 0.3 true google-oauth-plugin 0.5 true handlebars 1.1.1 true handy-uri-templates-2-api 2.1.6-1.0 true htmlpublisher 1.14 true jackson2-api 2.8.11.1 true javadoc 1.4 true jenkins-design-language 1.4.2 true jira 2.5 true job-dsl 1.68 true jquery-detached 1.2.1 true jsch 0.1.54.2 true junit 1.24 true kubernetes 1.3.2 true kubernetes-credentials 0.3.1 true kubernetes-pipeline-aggregator 1.5 true kubernetes-pipeline-arquillian-steps 1.5 true kubernetes-pipeline-devops-steps 1.5 true kubernetes-pipeline-steps 1.5 true ldap 1.20 true lockable-resources 2.2 true mailer 1.20 true matrix-auth 2.2 true matrix-project 1.12 true maven-plugin 3.1 true mercurial 2.3 true mesos 0.15.1 true metrics 3.1.2.11 true momentjs 1.1.1 true multiple-scms 0.6 true oauth-credentials 0.3 true pam-auth 1.3 true parameterized-trigger 2.35.2 true pipeline-aggregator-view 1.8 true pipeline-build-step 2.7 true pipeline-github 1.0 true pipeline-github-lib 1.0 true pipeline-githubnotify-step 1.0.4 true pipeline-graph-analysis 1.6 true pipeline-input-step 2.8 true pipeline-milestone-step 1.3.1 true pipeline-model-api 1.2.7 true pipeline-model-declarative-agent 1.1.1 true pipeline-model-definition 1.2.7 true pipeline-model-extensions 1.2.7 true pipeline-multibranch-defaults 1.1 true pipeline-rest-api 2.9 true pipeline-stage-step 2.3 true pipeline-stage-tags-metadata 1.2.7 true pipeline-stage-view 2.9 true pipeline-utility-steps 2.0.1 true plain-credentials 1.4 true pubsub-light 1.12 true rebuild 1.27 true resource-disposer 0.8 true role-strategy 2.7.0 true run-condition 1.0 true saml 1.0.5 true scm-api 2.2.6 true scm-filter-branch-pr 0.3 true script-security 1.42 true slack 2.3 true sse-gateway 1.15 true ssh-agent 1.15 true ssh-credentials 1.13 true ssh-slaves 1.26 true structs 1.14 true timestamper 1.8.9 true token-macro 2.3 true variant 1.1 true webhook-step 1.3 true windows-slaves 1.3.1 true workflow-aggregator 2.5 true workflow-api 2.26 true workflow-basic-steps 2.6 true workflow-cps 2.45 true workflow-cps-global-lib 2.9 true workflow-durable-task-step 2.19 true workflow-job 2.17 true workflow-multibranch 2.17 true workflow-remote-loader 1.4 true workflow-scm-step 2.6 true workflow-step-api 2.14 true workflow-support 2.18 true ws-cleanup 0.34 true
Testcase
A Pipeline script job as follows:
node { sh 'echo "hello world"' }
The Kubernetes plugin configured with the container Docker image set to the current standard JNLP slave image, i.e.:
jenkins/jnlp-slave:3.16-1
Outcome
- With Kubernetes plugin version 1.3.1, the job runs just fine.
- With Kubernetes plugin version 1.3.2, all other things unchanged, the following output.
Running on jenkins-slave-uber-ld4sz in /home/jenkins/workspace/test-pipeline [Pipeline] { [Pipeline] sh [test-pipeline] Running shell script nohup: failed to run command 'sh': No such file or directory process apparently never started in /home/jenkins/workspace/test-pipeline@tmp/durable-347d754f [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code -2 Finished: FAILURE
- Note that a Freestyle job running a Shell Script step is not adversely affected.