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

"Can't open build_step_template" breaking sporadically

    Details

    • Similar Issues:

      Description

      Building remotely on os-builder19
      Checkout:gerrit_flexd_functionals_right / /home/jenkins/slave-root/workspace/gerrit_flexd_functionals_right - hudson.remoting.Channel@7ac706b1:os-builder19
      Using strategy: Gerrit Trigger
      Last Built Revision: Revision 4d5e62bd0f9eddeb4ab9e86b9c559a5dd0e57574 (origin/master)
      Checkout:gerrit_flexd_functionals_right / /home/jenkins/slave-root/workspace/gerrit_flexd_functionals_right - hudson.remoting.LocalChannel@3a58bfac
      Fetching changes from 1 remote Git repository
      Fetching upstream changes from ssh://gerrit.flexilis.local:29418/flexd.git
      Commencing build of Revision caace246fe7a4c91c661daa52bfff153a3f6ae91 (origin/master)
      Checking out Revision caace246fe7a4c91c661daa52bfff153a3f6ae91 (origin/master)
      Cleaning workspace
      executing script 'ScriptBuildStepConfigProvider.1325724746737'
      Executing temp file '/tmp/build_step_template7360766443979774264.sh'
      [gerrit_flexd_functionals_right] $ /bin/sh build_step_template7360766443979774264.sh
      /bin/sh: Can't open build_step_template7360766443979774264.sh
      Build step 'Execute managed script' marked build as failure
      Recording test results
      Finished: FAILURE
      

      This happens intermittently on different slaves and I'm not sure why. I downgraded from 0.1.0 to 0.0.1 and that didn't seem to solve the issue.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jørgen P. Tjernø
          Path:
          src/main/java/org/jenkinsci/plugins/managedscripts/ScriptBuildStep.java
          http://jenkins-ci.org/commit/managed-scripts-plugin/d1f1a0c609854fc3a80401931d895f7f029f138a
          Log:
          JENKINS-12387 Use the right launcher.

          I'm not sure what this code was doing here to begin with - but it was causing
          intermittent errors when the node we last built on is different from the node
          we're supposed to build on.

          Compare: https://github.com/jenkinsci/managed-scripts-plugin/compare/fc60860^...d1f1a0c

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jørgen P. Tjernø Path: src/main/java/org/jenkinsci/plugins/managedscripts/ScriptBuildStep.java http://jenkins-ci.org/commit/managed-scripts-plugin/d1f1a0c609854fc3a80401931d895f7f029f138a Log: JENKINS-12387 Use the right launcher. I'm not sure what this code was doing here to begin with - but it was causing intermittent errors when the node we last built on is different from the node we're supposed to build on. Compare: https://github.com/jenkinsci/managed-scripts-plugin/compare/fc60860 ^...d1f1a0c
          Hide
          domi Dominik Bartholdi added a comment -

          Fixed in version 0.2.0

          Show
          domi Dominik Bartholdi added a comment - Fixed in version 0.2.0

            People

            • Assignee:
              domi Dominik Bartholdi
              Reporter:
              rtyler R. Tyler Croy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: