[JIRA] (JENKINS-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Jesse Glick assigned an issue to Devin Nusbaum Jenkins / JENKINS-52847 durable-task plugin v1.23 misbehaves on BusyBox agents Change By: Jesse Glick Assignee: Carlos Sanchez Devin Nusbaum Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Raphael Pionke edited a comment on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents good point. using {{ apt-get -y update && apt-get -y install procps }} in dockerfile helps as well. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Raphael Pionke commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents good point. using apt-get -y update && apt-get -y install procps in dockerfile helps as well. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Jesse Glick commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents AFAICT debian:sid-slim does not have ps at all. Anyway, best tracked in the open issue: JENKINS-52881. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Raphael Pionke commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents I get the following output: [Pipeline] node Running on xzy in /var/lib/jenkins/workspace/durable_task [Pipeline] { [Pipeline] sh [durable_task] Running shell script + docker inspect -f . jmeter_base:4.0 . [Pipeline] withDockerContainer xyz does not seem to be running inside a container $ docker run -t -d -u 0:0 -w /var/lib/jenkins/workspace/durable_task -v /var/lib/jenkins/workspace/durable_task:/var/lib/jenkins/workspace/durable_task:rw,z -v /var/lib/jenkins/workspace/durable_task@tmp:/var/lib/jenkins/workspace/durable_task@tmp:rw,z -e -e -e -e -e -e -e -e -e -e -e -e -e -e -e -e -e -e -e -e -e -e -e -e jmeter_base:4.0 cat $ docker top 6085440f18d4aa1439d00fc7b2cb55d7fef427ae3c751b32d4c0329f695c6d30 -eo pid,comm [Pipeline] { [Pipeline] sh [durable_task] Running shell script sh: 1: ps: not found + echo Testing JENKINS-52847 Testing JENKINS-52847 + sleep 60 wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/durable_task@tmp/durable-8db4dd29 (JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300) [Pipeline] } $ docker stop --time=1 6085440f18d4aa1439d00fc7b2cb55d7fef427ae3c751b32d4c0329f695c6d30 $ docker rm -f 6085440f18d4aa1439d00fc7b2cb55d7fef427ae3c751b32d4c0329f695c6d30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code -1 Finished: FAILURE Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)
[JIRA] (JENKINS-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Devin Nusbaum edited a comment on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents [~newms87] What OS/Shell are your build agents running? [~rpionke] [~newms87] Can you post the full logs of a build of a trivial pipeline Pipeline like the following?{noformat}node { sh ('''echo "Testing JENKINS-52847" && sleep 60''')}{noformat} Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Devin Nusbaum edited a comment on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents [~newms87] What OS/Shell are your build agents running? [~rpionke] [~newms87] Can you post the full logs of a trivial pipeline like the following?{noformat}node { sh (' '' echo "Testing JENKINS-52847" && sleep 60' '' )}{noformat} Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Devin Nusbaum commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents Dan Newman What OS/Shell are your build agents running? Raphael Pionke Dan Newman Can you post the full logs of a trivial pipeline like the following? node { sh ('echo "Testing JENKINS-52847" && sleep 60') } Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Eirik Marthinsen commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents I have have problems with version 1.24 as well. Running on Windows with ps from Cygwin. The error message is however "ps: unknown option – o" (not p), so the relevant ticket might be https://issues.jenkins-ci.org/browse/JENKINS-52881. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Dan Newman commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents Devin Nusbaum Same here, been trying to fix this for a while now. Same problem as Raphael Pionke. Already upgraded to 1.24 an hour ago. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Raphael Pionke commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents Devin Nusbaum We have installed version 1.24 but with no luck. We are still seeing the "wrapper script does not seem to be touching the log file" error message in all of our docker builds. We are using the openjdk:10-jre-slim image, which uses debian:sid-slim under the hood. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Devin Nusbaum updated JENKINS-52847 This should be fixed in durable-task 1.24. Jenkins / JENKINS-52847 durable-task plugin v1.23 misbehaves on BusyBox agents Change By: Devin Nusbaum Status: In Review Resolved Resolution: Fixed Released As: durable-task 1.24 Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Mads Opheim commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents We're having the same issue, albeit not using Alpine (afaik). The workaround of downgrading to 1.22 fixes the issue for us as well. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title John Forrest commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents Note JENKINS-52887 where use of bash shell on windows-based machines no longer works. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Devin Nusbaum updated an issue Jenkins / JENKINS-52847 durable-task plugin v1.23 misbehaves on BusyBox agents Change By: Devin Nusbaum Labels: regression Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Devin Nusbaum commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents We could also make durable-task support more basic ps implementations with something like https://github.com/jenkinsci/durable-task-plugin/pull/77. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Carlos Sanchez commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents A solution is to install procps package in alpine Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Carlos Sanchez assigned an issue to Carlos Sanchez Jenkins / JENKINS-52847 durable-task plugin v1.23 misbehaves on BusyBox agents Change By: Carlos Sanchez Assignee: Carlos Sanchez Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Carlos Sanchez started work on JENKINS-52847 Change By: Carlos Sanchez Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Carlos Sanchez updated JENKINS-52847 Jenkins / JENKINS-52847 durable-task plugin v1.23 misbehaves on BusyBox agents Change By: Carlos Sanchez Status: In Progress Review Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Pieter Vogelaar commented on JENKINS-52847 Re: durable-task plugin v1.23 misbehaves on BusyBox agents I have the same issue. A downgrade of the durable-task-plugin from version 1.23 to 1.22 fixes the issue for now. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- 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-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Edgars Didrihsons updated an issue Jenkins / JENKINS-52847 durable-task plugin v1.23 misbehaves on BusyBox agents Change By: Edgars Didrihsons After upgrade of durable-task-plugin from 1.22 to 1.23 it no longer works on alpine based containers. Downgrading to 1.22 reverts to the expected behavior.I managed to trigger this on a fresh jenkins/jenkins:lts-alpine container with only recommended plugins installed and following pipeline:{ {}}{ code:java}node { sh 'sleep 120; echo Hello World'}{code}{{Expected result: Hello World is echoed after 120 second delay}}{{Actual result:}}{code:java}Started by user testRunning in Durability level: MAX_SURVIVABILITY[Pipeline] nodeRunning on Jenkins in /var/jenkins_home/workspace/busybox[Pipeline] {[Pipeline] sh[busybox] Running shell scriptps: unrecognized option: pBusyBox v1.28.4 (2018-05-30 10:45:57 UTC) multi-call binary.Usage: ps [-o COL1,COL2=HEADER]Show list of processes -o COL1,COL2=HEADER Select columns for display+ sleep 120wrapper script does not seem to be touching the log file in /var/jenkins_home/workspace/busybox@tmp/durable-f130160e(JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300) [Pipeline] }[Pipeline] // node[Pipeline] End of PipelineERROR: script returned exit code -1Finished: FAILURE{code} Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)
[JIRA] (JENKINS-52847) durable-task plugin v1.23 misbehaves on BusyBox agents
Title: Message Title Edgars Didrihsons created an issue Jenkins / JENKINS-52847 durable-task plugin v1.23 misbehaves on BusyBox agents Issue Type: Bug Assignee: Unassigned Components: durable-task-plugin Created: 2018-08-02 07:29 Environment: Jenkins:2.121.2-alpine running on Docker version 18.03.1-ce, build 9ee9f40 durable-task-plugin:1.23 Priority: Major Reporter: Edgars Didrihsons After upgrade of durable-task-plugin from 1.22 to 1.23 it no longer works on alpine based containers. Downgrading to 1.22 reverts to the expected behavior. I managed to trigger this on a fresh jenkins/jenkins:lts-alpine container with only recommended plugins installed and following pipeline: {{}} node { sh 'sleep 120; echo Hello World' } Expected result: Hello World is echoed after 120 second delay Actual result: Started by user test Running in Durability level: MAX_SURVIVABILITY [Pipeline] node Running on Jenkins in /var/jenkins_home/workspace/busybox [Pipeline] { [Pipeline] sh [busybox] Running shell script ps: unrecognized option: p BusyBox v1.28.4 (2018-05-30 10:45:57 UTC) multi-call binary. Usage: ps [-o COL1,COL2=HEADER] Show list of processes -o COL1,COL2=HEADER Select columns for display + sleep 120 wrapper script does not seem to be touching the log file in /var/jenkins_home/workspace/busybo