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

Can't run shining panda jobs in 1.519

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After upgrading from 1.517 to 1.519 Shining Panda virtual env jobs don't run.

      Error was:

      /usr/bin/python2.7 file:/var/lib/jenkins/plugins/shiningpanda/WEB-INF/lib/classes.jar!/jenkins/plugins/shiningpanda/workspace/virtualenv.py --distribute /var/lib/jenkins/shiningpanda/jobs/1cfa68f5/virtualenvs/d41d8cd9
      /usr/bin/python2.7: can't open file 'file:/var/lib/jenkins/plugins/shiningpanda/WEB-INF/lib/classes.jar!/jenkins/plugins/shiningpanda/workspace/virtualenv.py': [Errno 2] No such file or directory

      Fixed by downgrading to 1.517.

      In 1.517 the same output looks like:

      /usr/bin/python2.7 /var/lib/jenkins/plugins/shiningpanda/WEB-INF/classes/jenkins/plugins/shiningpanda/workspace/virtualenv.py --distribute /var/lib/jenkins/shiningpanda/jobs/1cfa68f5/virtualenvs/d41d8cd9

        Attachments

          Activity

          Hide
          mkebaypl2 Marcin Krol added a comment -

          I have exactly the same issue (path with exclamation mark, same path inside classes.jar to virtualenv.py).

          Show
          mkebaypl2 Marcin Krol added a comment - I have exactly the same issue (path with exclamation mark, same path inside classes.jar to virtualenv.py).
          Hide
          taronson Ted Aronson added a comment -

          I also have the same issue. Here's the console log:

          [hostname] $ /usr/bin/python2.7 /mnt/jenkins/shiningpanda/jobs/50768566/virtualenv.py --distribute /mnt/jenkins/shiningpanda/jobs/50768566/virtualenvs/d41d8cd9
          New python executable in /mnt/jenkins/shiningpanda/jobs/50768566/virtualenvs/d41d8cd9/bin/python2.7
          Also creating executable in /mnt/jenkins/shiningpanda/jobs/50768566/virtualenvs/d41d8cd9/bin/python
          Installing distribute...........................................................................................................................................................................................................................done.
          Installing pip....................done.
          FATAL: file:/var/lib/jenkins/plugins/shiningpanda/WEB-INF/lib/classes.jar!/jenkins/plugins/shiningpanda/workspace/virtualenv.py (No such file or directory)
          java.io.FileNotFoundException: file:/var/lib/jenkins/plugins/shiningpanda/WEB-INF/lib/classes.jar!/jenkins/plugins/shiningpanda/workspace/virtualenv.py (No such file or directory)
          at java.io.FileInputStream.open(Native Method)
          at java.io.FileInputStream.<init>(FileInputStream.java:137)
          at hudson.FilePath$30.invoke(FilePath.java:1667)
          at hudson.FilePath$30.invoke(FilePath.java:1664)
          at hudson.FilePath.act(FilePath.java:905)
          at hudson.FilePath.act(FilePath.java:878)
          at hudson.FilePath.digest(FilePath.java:1664)
          at jenkins.plugins.shiningpanda.interpreters.Virtualenv.getSignature(Virtualenv.java:458)
          at jenkins.plugins.shiningpanda.interpreters.Virtualenv.create(Virtualenv.java:300)
          at jenkins.plugins.shiningpanda.builders.VirtualenvBuilder.perform(VirtualenvBuilder.java:190)
          at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
          at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
          at hudson.model.Build$BuildExecution.build(Build.java:199)
          at hudson.model.Build$BuildExecution.doRun(Build.java:160)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
          at hudson.model.Run.execute(Run.java:1593)
          at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:242)

          Show
          taronson Ted Aronson added a comment - I also have the same issue. Here's the console log: [hostname] $ /usr/bin/python2.7 /mnt/jenkins/shiningpanda/jobs/50768566/virtualenv.py --distribute /mnt/jenkins/shiningpanda/jobs/50768566/virtualenvs/d41d8cd9 New python executable in /mnt/jenkins/shiningpanda/jobs/50768566/virtualenvs/d41d8cd9/bin/python2.7 Also creating executable in /mnt/jenkins/shiningpanda/jobs/50768566/virtualenvs/d41d8cd9/bin/python Installing distribute...........................................................................................................................................................................................................................done. Installing pip....................done. FATAL: file:/var/lib/jenkins/plugins/shiningpanda/WEB-INF/lib/classes.jar!/jenkins/plugins/shiningpanda/workspace/virtualenv.py (No such file or directory) java.io.FileNotFoundException: file:/var/lib/jenkins/plugins/shiningpanda/WEB-INF/lib/classes.jar!/jenkins/plugins/shiningpanda/workspace/virtualenv.py (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at hudson.FilePath$30.invoke(FilePath.java:1667) at hudson.FilePath$30.invoke(FilePath.java:1664) at hudson.FilePath.act(FilePath.java:905) at hudson.FilePath.act(FilePath.java:878) at hudson.FilePath.digest(FilePath.java:1664) at jenkins.plugins.shiningpanda.interpreters.Virtualenv.getSignature(Virtualenv.java:458) at jenkins.plugins.shiningpanda.interpreters.Virtualenv.create(Virtualenv.java:300) at jenkins.plugins.shiningpanda.builders.VirtualenvBuilder.perform(VirtualenvBuilder.java:190) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) at hudson.model.Run.execute(Run.java:1593) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:242)
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Olivier Mansion
          Path:
          src/main/java/jenkins/plugins/shiningpanda/workspace/Workspace.java
          src/main/resources/jenkins/plugins/shiningpanda/workspace/bootstrap.py
          src/main/resources/jenkins/plugins/shiningpanda/workspace/virtualenv.py
          src/main/webapp/scripts/bootstrap.py
          src/main/webapp/scripts/virtualenv.py
          http://jenkins-ci.org/commit/shiningpanda-plugin/0e320e2273569dc2d67e6993203311a4fc8f4b1b
          Log:
          JENKINS-18415: Can't run shining panda jobs in 1.519

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Mansion Path: src/main/java/jenkins/plugins/shiningpanda/workspace/Workspace.java src/main/resources/jenkins/plugins/shiningpanda/workspace/bootstrap.py src/main/resources/jenkins/plugins/shiningpanda/workspace/virtualenv.py src/main/webapp/scripts/bootstrap.py src/main/webapp/scripts/virtualenv.py http://jenkins-ci.org/commit/shiningpanda-plugin/0e320e2273569dc2d67e6993203311a4fc8f4b1b Log: JENKINS-18415 : Can't run shining panda jobs in 1.519
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Olivier Mansion
          Path:
          src/main/java/jenkins/plugins/shiningpanda/interpreters/Virtualenv.java
          src/main/java/jenkins/plugins/shiningpanda/utils/FilePathUtil.java
          src/main/java/jenkins/plugins/shiningpanda/workspace/MasterWorkspace.java
          src/main/java/jenkins/plugins/shiningpanda/workspace/SlaveWorkspace.java
          src/main/java/jenkins/plugins/shiningpanda/workspace/Workspace.java
          src/main/resources/jenkins/plugins/shiningpanda/workspace/bootstrap.py
          src/main/resources/jenkins/plugins/shiningpanda/workspace/virtualenv.py
          src/main/webapp/scripts/bootstrap.py
          src/main/webapp/scripts/virtualenv.py
          src/test/java/jenkins/plugins/shiningpanda/workspace/TestMasterWorkspace.java
          src/test/java/jenkins/plugins/shiningpanda/workspace/TestSlaveWorkspace.java
          src/test/java/jenkins/plugins/shiningpanda/workspace/TestWorkspace.java
          http://jenkins-ci.org/commit/shiningpanda-plugin/e77a484919239bbf3b6e913aa2b1dbde0fa81b64
          Log:
          JENKINS-18415 Can't run shining panda jobs in 1.519

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Mansion Path: src/main/java/jenkins/plugins/shiningpanda/interpreters/Virtualenv.java src/main/java/jenkins/plugins/shiningpanda/utils/FilePathUtil.java src/main/java/jenkins/plugins/shiningpanda/workspace/MasterWorkspace.java src/main/java/jenkins/plugins/shiningpanda/workspace/SlaveWorkspace.java src/main/java/jenkins/plugins/shiningpanda/workspace/Workspace.java src/main/resources/jenkins/plugins/shiningpanda/workspace/bootstrap.py src/main/resources/jenkins/plugins/shiningpanda/workspace/virtualenv.py src/main/webapp/scripts/bootstrap.py src/main/webapp/scripts/virtualenv.py src/test/java/jenkins/plugins/shiningpanda/workspace/TestMasterWorkspace.java src/test/java/jenkins/plugins/shiningpanda/workspace/TestSlaveWorkspace.java src/test/java/jenkins/plugins/shiningpanda/workspace/TestWorkspace.java http://jenkins-ci.org/commit/shiningpanda-plugin/e77a484919239bbf3b6e913aa2b1dbde0fa81b64 Log: JENKINS-18415 Can't run shining panda jobs in 1.519
          Hide
          mansion Olivier Mansion added a comment -

          fixed in version 0.20

          Show
          mansion Olivier Mansion added a comment - fixed in version 0.20

            People

            Assignee:
            mansion Olivier Mansion
            Reporter:
            tomplayford Tom Playford
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: