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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: durable-task-plugin
    • Labels:
    • Environment:
      Jenkins master 2.135 on CentOS 6; slave agents on Windows 7/64 and 10/64bit; durable-task-plugin 1.23
    • Similar Issues:
    • Released As:
      durable-task 1.25

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            mbld Martin Bornhold added a comment -

            WOW that was a really fast fix, many thanks for your work on this! I will try to update our Jenkins in a while to check it out  Will add another comment after testing it.

            Show
            mbld Martin Bornhold added a comment - WOW that was a really fast fix, many thanks for your work on this! I will try to update our Jenkins in a while to check it out  Will add another comment after testing it.
            Hide
            mbld Martin Bornhold added a comment -

            Everything works fine after upgrading durable-task plugin to 1.25. Thanks

            Show
            mbld Martin Bornhold added a comment - Everything works fine after upgrading durable-task plugin to 1.25. Thanks
            Hide
            jglick Jesse Glick added a comment -

            Good to know. If nothing else, between this and JENKINS-52847 we have expanded our regression tests to include a couple of widely used Linux lightweight container environments. Since automated test coverage in CI for sh relies on an Ubuntu Docker host, there is still zero coverage for non-Linux platforms (notably Mac OS X, FreeBSD, OpenSolaris offshoots, or the multitude of POSIXish subsystems for Windows), so support for sh on non-Linux agents is best-effort only and any particular software version may or may not work in a given environment. Users of Windows agents are advised to use bat or powershell.

            Show
            jglick Jesse Glick added a comment - Good to know. If nothing else, between this and JENKINS-52847 we have expanded our regression tests to include a couple of widely used Linux lightweight container environments. Since automated test coverage in CI for sh relies on an Ubuntu Docker host, there is still zero coverage for non-Linux platforms (notably Mac OS X, FreeBSD, OpenSolaris offshoots, or the multitude of POSIXish subsystems for Windows), so support for sh on non-Linux agents is best-effort only and any particular software version may or may not work in a given environment. Users of Windows agents are advised to use bat or powershell .
            Hide
            danielbeck Daniel Beck added a comment -

            Jesse Glick Is this the same issue as JENKINS-50379?

            Show
            danielbeck Daniel Beck added a comment - Jesse Glick Is this the same issue as JENKINS-50379 ?
            Hide
            jglick Jesse Glick added a comment -

            Unlikely.

            Show
            jglick Jesse Glick added a comment - Unlikely.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: