Well, nevermind. 

Seems to be an instance of bug 13280.

https://issues.jenkins-ci.org/browse/JENKINS-13280

I've changed my second job to just use the same workspace dir as the first 
job, and I'm passing tests now. 

Steve


On Tuesday, April 17, 2012 11:47:04 AM UTC-7, Stephen Lacy wrote:
>
> Hi, 
>
> Our jenkins (1.460) build of a Python+Django setup just started failing 
> with a fairly mysterious error. 
>
> The build is 2 jobs, one to checkout and setup (via virtualenv) our 
> envionment.  It then uses the "Archive for Cloned Workspace SCM" to archive 
> this workspace. 
> The 2nd job uses the cloned archive (workspace.tar.gz) and runs Python 
> tests on it. 
>
> This setup was working great until recently, when the untar of 
> workspace.tar.gz started failing.  The failure is:
>
> Restoring workspace from build #159 of project checkout
> hudson.util.IOException2: Failed to extract workspace.tar.gz
> at hudson.FilePath.readFromTar(FilePath.java:1817)
> at hudson.FilePath.access$200(FilePath.java:166)
> at hudson.FilePath$3.invoke(FilePath.java:461)
> at hudson.FilePath$3.invoke(FilePath.java:459)
> at hudson.FilePath.act(FilePath.java:832)
> at hudson.FilePath.act(FilePath.java:814)
> at hudson.FilePath.untar(FilePath.java:459)
> at 
> hudson.plugins.cloneworkspace.CloneWorkspacePublisher$WorkspaceSnapshotTar.restoreTo(CloneWorkspacePublisher.java:235)
> at 
> hudson.plugins.cloneworkspace.CloneWorkspaceSCM$Snapshot.restoreTo(CloneWorkspaceSCM.java:383)
> at 
> hudson.plugins.cloneworkspace.CloneWorkspaceSCM.checkout(CloneWorkspaceSCM.java:149)
> at hudson.model.AbstractProject.checkout(AbstractProject.java:1218)
> at 
> hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:581)
> at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470)
> at hudson.model.Run.run(Run.java:1421)
> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> at hudson.model.ResourceController.execute(ResourceController.java:88)
> at hudson.model.Executor.run(Executor.java:238)
> Caused by: java.io.IOException: Failed to chmod 
> /var/lib/jenkins/jobs/test/workspace/wsve/lib/python2.6/UserDict.py : 
> Operation not permitted
> at hudson.FilePath._chmod(FilePath.java:1248)
> at hudson.FilePath.readFromTar(FilePath.java:1813)
> ... 16 more
> Skipping Cobertura coverage report as build was not UNSTABLE or better ...
> [htmlpublisher] Archiving HTML reports...
> [htmlpublisher] Archiving at PROJECT level 
> /var/lib/jenkins/jobs/test/workspace/htmlcov to 
> /var/lib/jenkins/jobs/test/htmlreports/Detailed_Coverage_Report
> ERROR: Specified HTML directory 
> '/var/lib/jenkins/jobs/test/workspace/htmlcov' does not exist.
> Recording test results
> Sending e-mails to: slacy@XXX
> Finished: FAILURE
>
> Any help debugging why this is now failing in this manner would be greatly 
> appreciated.
>
> Steve
>
>

Reply via email to