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

Durable Task 1.23 broke bash scripting on Windows agents via Cygwin

    Details

    • Similar Issues:

      Description

      To connect my Windows agent machines, I essentially followed this guide (modified to handle auto-scaling spot fleets via the ec2-fleet-plugin): https://go.cloudbees.com/docs/cloudbees-documentation/admin-cje/agents/#_configuring_windows_agents

      Until 1.22, this worked great. Since 1.23, I now get this:

      [client\go] Running shell script
      ps: unknown option -- o
      Try `ps --help' for more information.
      + go list ./...
      + grep -v github.com/keybase/client/go/bind
      + xargs go vet
      wrapper script does not seem to be touching the log file in c:\Jenkins\workspace/client/master/6615\go/src/github.com/keybase/client\go@tmp\durable-8945eeb6
      (JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300) 

      The failing line of my Jenkinsfile is here: https://github.com/keybase/client/blob/aa1fc347042cafba8cf8f48a40bed59e8bce60dd/Jenkinsfile#L309

      I believe this has something to do with the fix to the infinite log problem in JENKINS-37575.

      In the meantime, I've reverted to 1.22, and it's working again.

        Attachments

          Issue Links

            Activity

            Hide
            albertomorando Alberto Morando added a comment -

            Hi

            The same issue start to appear also to me.

            Downgrade of the Durable-Task plug in to 1.22 is the workaround for now

             

            Please fix it

             

            Alberto

            Show
            albertomorando Alberto Morando added a comment - Hi The same issue start to appear also to me. Downgrade of the Durable-Task plug in to 1.22 is the workaround for now   Please fix it   Alberto
            Hide
            danielbeck Daniel Beck added a comment -

            Apparently fixed in 1.25.

            Show
            danielbeck Daniel Beck added a comment - Apparently fixed in 1.25.

              People

              • Assignee:
                Unassigned
                Reporter:
                jzila John Zila
              • Votes:
                4 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: