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

sh steps stuck indefinitely on uncommon architectures (e.g. s390x)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • durable-task-plugin
    • None
    • Jenkins ver. 2.201 (yum installed, master node only)
      durable-task plugin v1.31

      os.arch: s390x
      os.name: Linux (RedHat)
      os.version: 3.10.0-327.el7.s390x
    • 1.33

      After upgrading to v1.31, the first sh step in a pipeline gets stuck. After few minutes Console Output shows:

      [Pipeline] sh (Get email of the author of last commit)
      process apparently never started in /data/jenkins/workspace/TG2_PTG2_-_pipeline_build_master@tmp/durable-be2cf2a6
      (running Jenkins temporarily with -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true might make the problem clearer)
      Cannot contact : java.io.FileNotFoundException: File '/data/jenkins/workspace/TG2_PTG2_-_pipeline_build_master@tmp/durable-be2cf2a6/output.txt' does not exist

       

      Eventually, I discovered that a new binary was added in the latest version of this plugin. The script compile-binaries.sh in GitHub suggests that the binary is only built for Linux and MacOS.

       

      Sure enough, when I try to execute the binary myself on an architecture other than amd64, I get:

      -bash: /data/jenkins/caches/durable-task/durable_task_monitor_1.31_unix_64: cannot execute binary file

       

      Are other architectures or operating systems (Windows) not supported anymore?

          [JENKINS-59907] sh steps stuck indefinitely on uncommon architectures (e.g. s390x)

          Jakub L created issue -
          Reinhold Füreder made changes -
          Link New: This issue is related to JENKINS-59903 [ JENKINS-59903 ]
          Jakub L made changes -
          Link Original: This issue is related to JENKINS-59903 [ JENKINS-59903 ]
          Jakub L made changes -
          Summary Original: sh steps stuck indefinitely after upgrading durable-task to v1.31 New: sh steps stuck indefinitely on uncommon architectures (e.g. s390x)
          Carroll Chiou made changes -
          Assignee New: Carroll Chiou [ carroll ]
          Carroll Chiou made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Carroll Chiou made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: In Progress [ 3 ] New: Closed [ 6 ]
          Carroll Chiou made changes -
          Resolution Original: Incomplete [ 4 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Carroll Chiou made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Fixed but Unreleased [ 10203 ]
          Carroll Chiou made changes -
          Released As New: 1.33
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]
          Matt Oshry made changes -
          Link New: This issue relates to JENKINS-60065 [ JENKINS-60065 ]

            carroll Carroll Chiou
            jloucky Jakub L
            Votes:
            11 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: