[
https://issues.jenkins-ci.org/browse/JENKINS-13312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161675#comment-161675
]
Thomas Fields commented on JENKINS-13312:
-----------------------------------------
Hi Rob,
This issue seems to be fixed. Let me explain what I changed. When I first
opened this issue I had the following ticked in the Perforce config settings:
* Clean Workspace Before Each Build
* Clean .repository Before Build
I unticked those options above and ticked "Always Force Sync".
My gut feeling was something to do with the fact we also use
http://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin to delete
the workspace when the build is done.
Cheers, Tom.
> Help diagnosing a hudson.plugins.perforce.PerforceSCM.checkout issue
> --------------------------------------------------------------------
>
> Key: JENKINS-13312
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13312
> Project: Jenkins
> Issue Type: Bug
> Components: perforce
> Environment: Jenkins 1.455
> Perforce plugin 1.38
> Reporter: Thomas Fields
> Assignee: Rob Petti
>
> Hi there,
> Occasionally some of my projects fail with the following callstack:
> {code}12:19:33 Started by an SCM change
> 12:19:33 Building remotely on BuildSlave1 in workspace
> c:\JCI\workspace\UnitTestsToolWin32-Release
> 12:20:29 hudson.util.IOException2: remote file operation failed:
> c:\JCI\workspace\UnitTestsToolWin32-Release\CONFIG at
> hudson.remoting.Channel@586ca3ef:PhyreBuild1
> 12:20:29 at hudson.FilePath.act(FilePath.java:784)
> 12:20:29 at hudson.FilePath.act(FilePath.java:770)
> 12:20:29 at hudson.FilePath.deleteRecursive(FilePath.java:854)
> 12:20:29 at
> hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:597)
> 12:20:29 at
> hudson.model.AbstractProject.checkout(AbstractProject.java:1197)
> 12:20:29 at
> hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579)
> 12:20:29 at
> hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468)
> 12:20:29 at hudson.model.Run.run(Run.java:1410)
> 12:20:29 at hudson.matrix.MatrixBuild.run(MatrixBuild.java:253)
> 12:20:29 at
> hudson.model.ResourceController.execute(ResourceController.java:88)
> 12:20:29 at hudson.model.Executor.run(Executor.java:238)
> 12:20:29 at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)
> 12:20:29 Caused by: java.io.IOException: There are no more files
> 12:20:29 at java.io.WinNTFileSystem.canonicalize0(Native Method)
> 12:20:29 at java.io.Win32FileSystem.canonicalize(Unknown Source)
> 12:20:29 at java.io.File.getCanonicalPath(Unknown Source)
> 12:20:29 at java.io.File.getCanonicalFile(Unknown Source)
> 12:20:29 at hudson.Util.isSymlink(Util.java:322)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:277)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.Util.deleteContentsRecursive(Util.java:198)
> 12:20:29 at hudson.Util.deleteRecursive(Util.java:278)
> 12:20:29 at hudson.FilePath$9.invoke(FilePath.java:856)
> 12:20:29 at hudson.FilePath$9.invoke(FilePath.java:854)
> 12:20:29 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2099)
> 12:20:29 at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> 12:20:29 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> 12:20:29 at hudson.remoting.Request$2.run(Request.java:287)
> 12:20:29 at
> hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
> 12:20:29 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
> 12:20:29 at java.util.concurrent.FutureTask.run(Unknown Source)
> 12:20:29 at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> 12:20:29 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)
> 12:20:29 at hudson.remoting.Engine$1$1.run(Engine.java:60)
> 12:20:29 at java.lang.Thread.run(Unknown Source)
> 12:20:29 Notifying upstream projects of job completion
> 12:20:29 Finished: FAILURE{code}
> Any idea what this could be?
> Regards,
> Tom.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira