[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Carlos Sanchez closed an issue as Cannot Reproduce This similar config works fine in 1.5 "kubernetes@1.5"> kubernetes jenkins-slave-uber false false 2147483647 100 0 0 NORMAL true "org.csanchez.jenkins.plugins.kubernetes.volumes.workspace.EmptyDirWorkspaceVolume"> false jnlp jenkins/jnlp-slave:3.16-1 false false /home/jenkins true 0 0 0 0 0 https://kubernetes.default.svc.cluster.local false kubernetes-plugin http://jenkins.kubernetes-plugin.svc 10 5 0 0 32 Agent jenkins-slave-uber-98g94 is provisioned from template Kubernetes Pod Template Agent specification [Kubernetes Pod Template] (): * [jnlp] jenkins/jnlp-slave:3.16-1(resourceRequestCpu: , resourceRequestMemory: , resourceLimitCpu: , resourceLimitMemory: ) Running on jenkins-slave-uber-98g94 in /home/jenkins/workspace/test [Pipeline] { [Pipeline] sh [test] Running shell script + echo hello world hello world Jenkins / JENKINS-50189 Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 Change By: Carlos Sanchez Status: Open Closed Resolution: Cannot Reproduce
[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Oliver Lockwood commented on JENKINS-50189 Re: Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 Note that this appears to not be reproducible with the latest version of the plugin (1.5.1). I'll keep an eye on this for the next few weeks and report back. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Oliver Lockwood commented on JENKINS-50189 Re: Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 Giuseppe Iannello no, my script was exactly as I had it above, without specifying `returnStdout`. I haven't tested with plugin versions 1.3.3 or 1.4, however, so the nature of the bug may have changed. Carlos Sanchez have you made any headway diagnosing this issue? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Giuseppe Iannello commented on JENKINS-50189 Re: Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 Oliver Lockwood is your sh step using returnStdout: true ? In our setup, normal sh steps are working just fine, while those that are configured to returnStdout are failing with that error Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Giuseppe Iannello edited a comment on JENKINS-50189 Re: Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 We are affected by the same issue, even on v1.3.3. Our pod definition has multiple containers, and the relevant containerTemplate looks like ``` {code:java} containerTemplate( name: 'maven', image: 'maven', command: 'cat', ttyEnabled: true,) {code} ``` Our error message is slightly different: {code:java} ``` [Pipeline] sh[d_libraries_root-pom_master-IBDA7ZLGARTGM5UXTY4FQ3N7KSBW57KKSZTZTHIDWUIRLA7QANJA] Running shell script/bin/bash: line 60: nohup: command not foundEXITCODE 127process apparently never started in /home/jenkins/workspace/d_libraries_root-pom_master-IBDA7ZLGARTGM5UXTY4FQ3N7KSBW57KKSZTZTHIDWUIRLA7QANJA@tmp/durable-3fe1b15c ``` {code} Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Giuseppe Iannello commented on JENKINS-50189 Re: Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 We are affected by the same issue, even on v1.3.3. Our pod definition has multiple containers, and the relevant containerTemplate looks like ``` containerTemplate( name: 'maven', image: 'maven', command: 'cat', ttyEnabled: true, ) ``` Our error message is slightly different: ``` [Pipeline] sh [d_libraries_root-pom_master-IBDA7ZLGARTGM5UXTY4FQ3N7KSBW57KKSZTZTHIDWUIRLA7QANJA] Running shell script /bin/bash: line 60: nohup: command not found EXITCODE 127process apparently never started in /home/jenkins/workspace/d_libraries_root-pom_master-IBDA7ZLGARTGM5UXTY4FQ3N7KSBW57KKSZTZTHIDWUIRLA7QANJA@tmp/durable-3fe1b15c ``` Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Oliver Lockwood updated an issue Jenkins / JENKINS-50189 Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 Change By: Oliver Lockwood Attachment: pod-templates.xml Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Oliver Lockwood commented on JENKINS-50189 Re: Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 `pod-templates.xml` now attached, containing the relevant section from `config.xml` Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Oliver Lockwood commented on JENKINS-50189 Re: Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 We have left the "Command to run" empty as the helptext says: Override the image entrypoint with a different one and we see no need to override. I can copy-paste the full XML definition (from each different version of the Kubernetes plugin) if that would help? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Carlos Sanchez commented on JENKINS-50189 Re: Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 what is your pod definition? do you have the command sh instead of /bin/sh -c ? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50189) Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2
Title: Message Title Oliver Lockwood created an issue Jenkins / JENKINS-50189 Regression: Pipeline 'sh' step broken by Kubernetes plugin 1.3.2 Issue Type: Bug Assignee: Carlos Sanchez Components: kubernetes-plugin Created: 2018-03-15 10:23 Environment: 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