Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52881

durable-task plugin v1.23 kills jobs on Cygwin/MSys agents

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • durable-task-plugin
    • Jenkins master 2.135 on CentOS 6; slave agents on Windows 7/64 and 10/64bit; durable-task-plugin 1.23
    • durable-task 1.25

      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.

          [JENKINS-52881] durable-task plugin v1.23 kills jobs on Cygwin/MSys agents

          Andreas Engel created issue -
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-52847 [ JENKINS-52847 ]
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-50892 [ JENKINS-50892 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "durable-task PR 79 (Web Link)" [ 21280 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Devin Nusbaum made changes -
          Released As New: durable-task 1.25
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Labels New: regression
          Daniel Beck made changes -
          Link New: This issue is duplicated by JENKINS-52924 [ JENKINS-52924 ]
          Matt Dee made changes -
          Comment [ Running into this. One of my playbooks will restart Jenkins service if it needs to reload init.groovy.d scripts. One Jenkins comes back the job fails with this error. This was working fine for months then stopped working with this same error. 
           - Plenty of memory and space on device. 
           - Durable task plugin is fully up to date.
           - Jenkins 2.332 ]

            jglick Jesse Glick
            anen Andreas Engel
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: