[JIRA] (JENKINS-52881) durable-task plugin v1.23 kills jobs on Cygwin/MSys agents
Title: Message Title Andreas Engel commented on JENKINS-52881 Re: durable-task plugin v1.23 kills jobs on Cygwin/MSys agents As far as I understand it, for shell scripts, the durable task plugin starts a background process which regularly touches the mentioned log file. The failing "ps" command prevents this, so after HEARTBEAT_CHECK_INTERVAL seconds, the job gets killed. I initially tried to set it to 10 hours, i.e. 36000, which was sufficient for our current jobs, but seems to be a very crude workaround. Git on Windows is based on MSys btw. We use that too. 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-52881) durable-task plugin v1.23 kills jobs on Cygwin/MSys agents
Title: Message Title Andreas Engel created an issue Jenkins / JENKINS-52881 durable-task plugin v1.23 kills jobs on Cygwin/MSys agents Issue Type: Bug Assignee: Unassigned Components: durable-task-plugin Created: 2018-08-03 18:33 Environment: Jenkins master 2.135 on CentOS 6; slave agents on Windows 7/64 and 10/64bit; durable-task-plugin 1.23 Priority: Major Reporter: Andreas Engel Upgrading the durable-task plugin from 1.22 to 1.23 made most of our build jobs fail with ps: unknown option -- o Try `ps --help' for more information. wrapper script does not seem to be touching the log file in ... (JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300) Reason for this is probably that "ps -o pid" doesn't work in either MSys or Cygwin. Current workaround is to downgrade to 1.22.