hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • For about a month we were puzzled by an exception in the logs that prevented a build. The exception is:{code} Started by upstream project "MAPI_Validate_Trunk" build number 151 Building remotely on ml-fedora14-vm02 Cleaning workspace /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 hudson.util.IOException2: remote file operation failed: /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 at hudson.remoting.Channel@5ed454f5:ml-fedora14-vm02 at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1389) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia - files in dir: [/home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia/�5] at hudson.Util.deleteFile(Util.java:265) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Retrying after 10 seconds Cleaning workspace /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 hudson.util.IOException2: remote file operation failed: /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 at hudson.remoting.Channel@5ed454f5:ml-fedora14-vm02 at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1389) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia - files in dir: [/home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia/�5] at hudson.Util.deleteFile(Util.java:265) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Retrying after 10 seconds Cleaning workspace /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 hudson.util.IOException2: remote file operation failed: /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 at hudson.remoting.Channel@5ed454f5:ml-fedora14-vm02 at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1389) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia - files in dir: [/home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia/�5] at hudson.Util.deleteFile(Util.java:265) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Archiving artifacts Notifying upstream projects of job completion Finished: FAILURE{code} Note the unprintable characters in the file name. 'stat' on the system gives the details of the filename:{code} File: `/home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux/src/omneon/pcapps/mediareader/validate/ommedia/\350,\021\np9short-savecopy.mov' Size: 5170282 Blocks: 10112 IO Block: 4096 regular file Device: fd02h/64770d Inode: 8790634 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 500/ build) Gid: ( 500/ build) Access: 2012-01-10 05:04:25.321691327 -0800 Modify: 2012-01-10 05:04:25.397691340 -0800 Change: 2012-01-10 05:04:25.471691353 -0800{code}
    via by Todd Brunhoff,
  • For about a month we were puzzled by an exception in the logs that prevented a build. The exception is:{code} Started by upstream project "MAPI_Validate_Trunk" build number 151 Building remotely on ml-fedora14-vm02 Cleaning workspace /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 hudson.util.IOException2: remote file operation failed: /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 at hudson.remoting.Channel@5ed454f5:ml-fedora14-vm02 at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1389) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia - files in dir: [/home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia/�5] at hudson.Util.deleteFile(Util.java:265) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Retrying after 10 seconds Cleaning workspace /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 hudson.util.IOException2: remote file operation failed: /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 at hudson.remoting.Channel@5ed454f5:ml-fedora14-vm02 at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1389) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia - files in dir: [/home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia/�5] at hudson.Util.deleteFile(Util.java:265) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Retrying after 10 seconds Cleaning workspace /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 hudson.util.IOException2: remote file operation failed: /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 at hudson.remoting.Channel@5ed454f5:ml-fedora14-vm02 at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1389) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia - files in dir: [/home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia/�5] at hudson.Util.deleteFile(Util.java:265) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Archiving artifacts Notifying upstream projects of job completion Finished: FAILURE{code} Note the unprintable characters in the file name. 'stat' on the system gives the details of the filename:{code} File: `/home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux/src/omneon/pcapps/mediareader/validate/ommedia/\350,\021\np9short-savecopy.mov' Size: 5170282 Blocks: 10112 IO Block: 4096 regular file Device: fd02h/64770d Inode: 8790634 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 500/ build) Gid: ( 500/ build) Access: 2012-01-10 05:04:25.321691327 -0800 Modify: 2012-01-10 05:04:25.397691340 -0800 Change: 2012-01-10 05:04:25.471691353 -0800{code}
    via by Todd Brunhoff,
  • This seems to happen only on Windows XP so far (we have windows 2003, 2008, redhat, suse10 slave boxes). The console log shows SVN checkout was unsuccessful and any subsequent retries result in error. I went into the box to investigate and found out it's the slave JVM process is the one that holding the lock on the checkout folder. That also prevents me from deleting the folder by hand. (see the screen shot attachment for proof, I used "unlocker" to find out which process holding the file lock) It does seem subversion checkout is tripping over itself by holding a lock on a file itself is trying to delete. AU system-tests\src\test\resources\terracotta-license.key A system-tests\src\test\resources\nonstop-servermap-cache-test.xml AU system-tests\src\test\resources\concurrency-value-test.xml AU system-tests\src\test\resources\explicit-locking-test.xml A system-tests\src\test\resources\nonstop-explicit-lock-test.xml ERROR: Failed to check out http://svn-mirror.terracotta.lan/svn/forge/enterprise/terracotta-ehcache-ee/branches/tc-3.5 org.tmatesoft.svn.core.SVNException: svn: REPORT /svn/forge/!svn/vcc/default failed at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:291) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:276) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:264) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:266) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1263) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:820) at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:564) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:922) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:90) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1995) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: REPORT /svn/forge/!svn/vcc/default failed at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200) at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:146) at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:89) ... 23 more Caused by: org.tmatesoft.svn.core.SVNException: svn: REPORT request failed on '/svn/forge/!svn/vcc/default' svn: Connection reset at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:644) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:285) ... 22 more Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: REPORT request failed on '/svn/forge/!svn/vcc/default' at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:642) ... 23 more Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: Connection reset at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:101) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:408) ... 23 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at org.tmatesoft.svn.core.internal.util.ChunkedInputStream.read(ChunkedInputStream.java:70) at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:221) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at java.io.InputStreamReader.read(InputStreamReader.java:167) at org.tmatesoft.svn.core.internal.io.dav.http.XMLReader.read(XMLReader.java:39) at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:754) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:719) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:216) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:364) ... 23 more Retrying after 10 seconds Cleaning workspace C:\jenkins\workspace\terracotta-ehcache-ee_tc-3.5_tests_tomcat-5.0.30_JDK_1.6_3.5.x_active-passive hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\terracotta-ehcache-ee_tc-3.5_tests_tomcat-5.0.30_JDK_1.6_3.5.x_active-passive at hudson.remoting.Channel@e4e20a:wxpvmo103 at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete C:\jenkins\workspace\terracotta-ehcache-ee_tc-3.5_tests_tomcat-5.0.30_JDK_1.6_3.5.x_active-passive\tc-3.5\system-tests\src\test\resources\.svn\tmp\text-base\basic-blocking-cache-nonstop-test.xml.svn-base at hudson.Util.deleteFile(Util.java:266) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1995) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Retrying after 10 seconds Cleaning workspace C:\jenkins\workspace\terracotta-ehcache-ee_tc-3.5_tests_tomcat-5.0.30_JDK_1.6_3.5.x_active-passive hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\terracotta-ehcache-ee_tc-3.5_tests_tomcat-5.0.30_JDK_1.6_3.5.x_active-passive at hudson.remoting.Channel@e4e20a:wxpvmo103
    via by hhuynh,
  • This seems to happen only on Windows XP so far (we have windows 2003, 2008, redhat, suse10 slave boxes). The console log shows SVN checkout was unsuccessful and any subsequent retries result in error. I went into the box to investigate and found out it's the slave JVM process is the one that holding the lock on the checkout folder. That also prevents me from deleting the folder by hand. (see the screen shot attachment for proof, I used "unlocker" to find out which process holding the file lock) It does seem subversion checkout is tripping over itself by holding a lock on a file itself is trying to delete. AU system-tests\src\test\resources\terracotta-license.key A system-tests\src\test\resources\nonstop-servermap-cache-test.xml AU system-tests\src\test\resources\concurrency-value-test.xml AU system-tests\src\test\resources\explicit-locking-test.xml A system-tests\src\test\resources\nonstop-explicit-lock-test.xml ERROR: Failed to check out http://svn-mirror.terracotta.lan/svn/forge/enterprise/terracotta-ehcache-ee/branches/tc-3.5 org.tmatesoft.svn.core.SVNException: svn: REPORT /svn/forge/!svn/vcc/default failed at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:291) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:276) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:264) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:266) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1263) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:820) at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:564) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:922) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:90) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1995) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: REPORT /svn/forge/!svn/vcc/default failed at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200) at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:146) at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:89) ... 23 more Caused by: org.tmatesoft.svn.core.SVNException: svn: REPORT request failed on '/svn/forge/!svn/vcc/default' svn: Connection reset at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:644) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:285) ... 22 more Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: REPORT request failed on '/svn/forge/!svn/vcc/default' at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:642) ... 23 more Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: Connection reset at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:101) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:408) ... 23 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) at java.io.BufferedInputStream.read(BufferedInputStream.java:317) at org.tmatesoft.svn.core.internal.util.ChunkedInputStream.read(ChunkedInputStream.java:70) at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:221) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at java.io.InputStreamReader.read(InputStreamReader.java:167) at org.tmatesoft.svn.core.internal.io.dav.http.XMLReader.read(XMLReader.java:39) at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:754) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.readData(HTTPConnection.java:719) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest.dispatch(HTTPRequest.java:216) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:364) ... 23 more Retrying after 10 seconds Cleaning workspace C:\jenkins\workspace\terracotta-ehcache-ee_tc-3.5_tests_tomcat-5.0.30_JDK_1.6_3.5.x_active-passive hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\terracotta-ehcache-ee_tc-3.5_tests_tomcat-5.0.30_JDK_1.6_3.5.x_active-passive at hudson.remoting.Channel@e4e20a:wxpvmo103 at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete C:\jenkins\workspace\terracotta-ehcache-ee_tc-3.5_tests_tomcat-5.0.30_JDK_1.6_3.5.x_active-passive\tc-3.5\system-tests\src\test\resources\.svn\tmp\text-base\basic-blocking-cache-nonstop-test.xml.svn-base at hudson.Util.deleteFile(Util.java:266) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1995) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Retrying after 10 seconds Cleaning workspace C:\jenkins\workspace\terracotta-ehcache-ee_tc-3.5_tests_tomcat-5.0.30_JDK_1.6_3.5.x_active-passive hudson.util.IOException2: remote file operation failed: C:\jenkins\workspace\terracotta-ehcache-ee_tc-3.5_tests_tomcat-5.0.30_JDK_1.6_3.5.x_active-passive at hudson.remoting.Channel@e4e20a:wxpvmo103
    via by hhuynh,
  • I have a project that is quite large. I'm not sure if it's coincidental or not, but since upgrading to 1.428, I've been getting a number of intermittent build failures, that actually fail in the cleanup stage deleting files from the previous build. My svn settings are set to 'clean checkout' although I also get this problem if I select 'revert and update'. Is it possible to make this stage more tolerant of locked files (perhaps by increasing the number of retries?) 09:51:40 Started by user niy 09:51:40 Building remotely on nwb-r5win32b 09:51:40 Cleaning workspace C:\jenkins\workspace\R5_Win_Overnight 09:52:29 hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\R5_Win_Overnight at hudson.remoting.Channel@470d6c27:nwb-r5win32b 09:52:29 at hudson.FilePath.act(FilePath.java:754) 09:52:29 at hudson.FilePath.act(FilePath.java:740) 09:52:29 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) 09:52:29 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) 09:52:29 at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) 09:52:29 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) 09:52:29 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) 09:52:29 at hudson.model.Run.run(Run.java:1376) 09:52:29 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:52:29 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:52:29 at hudson.model.Executor.run(Executor.java:230) 09:52:29 Caused by: java.io.IOException: Unable to delete c:\jenkins\workspace\R5_Win_Overnight\viscob\coretech\checker\src\tools\.svn - files in dir: [c:\jenkins\workspace\R5_Win_Overnight\viscob\coretech\checker\src\tools\.svn\tmp] 09:52:29 at hudson.Util.deleteFile(Util.java:265) 09:52:29 at hudson.Util.deleteRecursive(Util.java:316) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.Util.deleteRecursive(Util.java:307) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.Util.deleteRecursive(Util.java:307) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.Util.deleteRecursive(Util.java:307) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.Util.deleteRecursive(Util.java:307) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.Util.deleteRecursive(Util.java:307) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) 09:52:29 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) 09:52:29 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) 09:52:29 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) 09:52:29 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) 09:52:29 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) 09:52:29 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 09:52:29 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 09:52:29 at hudson.remoting.Request$2.run(Request.java:287) 09:52:29 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 09:52:29 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 09:52:29 at java.util.concurrent.FutureTask.run(Unknown Source) 09:52:29 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 09:52:29 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 09:52:29 at hudson.remoting.Engine$1$1.run(Engine.java:60) 09:52:29 at java.lang.Thread.run(Unknown Source) 09:52:29 Retrying after 10 seconds 09:52:39 Cleaning workspace C:\jenkins\workspace\R5_Win_Overnight 09:55:02 hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\R5_Win_Overnight at hudson.remoting.Channel@470d6c27:nwb-r5win32b 09:55:02 at hudson.FilePath.act(FilePath.java:754) 09:55:02 at hudson.FilePath.act(FilePath.java:740) 09:55:02 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) 09:55:02 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) 09:55:02 at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) 09:55:02 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) 09:55:02 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) 09:55:02 at hudson.model.Run.run(Run.java:1376) 09:55:02 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:55:02 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:55:02 at hudson.model.Executor.run(Executor.java:230) 09:55:02 Caused by: java.io.IOException: Unable to delete c:\jenkins\workspace\R5_Win_Overnight\viscob\eclipseide\feature.builder\core\build\plugins\com.microfocus.eclipse.core\@dot\com\microfocus\eclipse\core - files in dir: [c:\jenkins\workspace\R5_Win_Overnight\viscob\eclipseide\feature.builder\core\build\plugins\com.microfocus.eclipse.core\@dot\com\microfocus\eclipse\core\wizards] 09:55:02 at hudson.Util.deleteFile(Util.java:265) 09:55:02 at hudson.Util.deleteRecursive(Util.java:316) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) 09:55:02 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) 09:55:02 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) 09:55:02 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) 09:55:02 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) 09:55:02 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) 09:55:02 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 09:55:02 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 09:55:02 at hudson.remoting.Request$2.run(Request.java:287) 09:55:02 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 09:55:02 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 09:55:02 at java.util.concurrent.FutureTask.run(Unknown Source) 09:55:02 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 09:55:02 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 09:55:02 at hudson.remoting.Engine$1$1.run(Engine.java:60) 09:55:02 at java.lang.Thread.run(Unknown Source) 09:55:02 Retrying after 10 seconds 09:55:12 Cleaning workspace C:\jenkins\workspace\R5_Win_Overnight 09:55:13 hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\R5_Win_Overnight at hudson.remoting.Channel@470d6c27:nwb-r5win32b 09:55:13 at hudson.FilePath.act(FilePath.java:754) 09:55:13 at hudson.FilePath.act(FilePath.java:740) 09:55:13 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) 09:55:13 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) 09:55:13 at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) 09:55:13 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) 09:55:13 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) 09:55:13 at hudson.model.Run.run(Run.java:1376) 09:55:13 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:55:13 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:55:13 at hudson.model.Executor.run(Executor.java:230) 09:55:13 Caused by: java.io.IOException: Unable to delete c:\jenkins\workspace\R5_Win_Overnight\viscob\eclipseide\feature.builder\core\build\plugins\com.microfocus.eclipse.core\src\com\microfocus\eclipse\core - files in dir: [c:\jenkins\workspace\R5_Win_Overnight\viscob\eclipseide\feature.builder\core\build\plugins\com.microfocus.eclipse.core\src\com\microfocus\eclipse\core\wizards] 09:55:13 at hudson.Util.deleteFile(Util.java:265) 09:55:13 at hudson.Util.deleteRecursive(Util.java:316) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) 09:55:13 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) 09:55:13 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) 09:55:13 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) 09:55:13 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) 09:55:13 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) 09:55:13 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 09:55:13 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 09:55:13 at hudson.remoting.Request$2.run(Request.java:287) 09:55:13 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 09:55:13 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 09:55:13 at java.util.concurrent.FutureTask.run(Unknown Source) 09:55:13 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 09:55:13 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 09:55:13 at hudson.remoting.Engine$1$1.run(Engine.java:60) 09:55:13 at java.lang.Thread.run(Unknown Source) 09:55:13 Archiving artifacts 10:12:03 Recording fingerprints 10:12:03 Email was triggered for: Failure 10:12:03 Sending email for trigger: Failure
    via by nyoung02,
  • When a build fails in the cleaning workspace step, Jenkins will still archive the artifacts. Since the workspace couldn't be cleaned, that means the archived artifacts are from a previous build, and are invalid. If a build fails because the workspace couldn't be cleaned, it should never archive any artifacts, as they are guaranteed to be from a previous build. Note that this is different from when a build fails in one of the build steps. In that case, artifacts may or may not be valid, but they are at least from that build. There should be an option to not archive artifacts when a build fails in this case. If the difference between the two isn't clear, consider a CI job that runs a test harness, and archives the test results as an artifact. When some tests fail, the job fails, but the artifact is still valid. When the job fails before any of the build steps are run, the test results from the previous run are archived. That leads to confusion, where people (and automated systems) see "build failed", and then look at the artifact, to see which tests are broken, never realizing that the tests never ran at all. Here's a sample build log: {noformat} Started by upstream project "MAPI_Validate_6_3" build number 98 Building remotely on ml-xp-vm01 Cleaning workspace C:\jenkins\workspace\MAPI_Validate_6_3\HOST\x86-windows-xp\PLATFORM\vc6 hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\MAPI_Validate_6_3\HOST/x86-windows-xp/PLATFORM/vc6 at hudson.remoting.Channel@56e7a30e:ml-xp-vm01 at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1389) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete c:\jenkins\workspace\MAPI_Validate_6_3\HOST\x86-windows-xp\PLATFORM\vc6\src\omneon\pcapps\mediareader\validate\ommedia-binaries\hostemu.exe at hudson.Util.deleteFile(Util.java:266) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Retrying after 10 seconds [...] Archiving artifacts Notifying upstream projects of job completion Finished: FAILURE {noformat}
    via by Ammon Riley,
  • I have a project that is quite large. I'm not sure if it's coincidental or not, but since upgrading to 1.428, I've been getting a number of intermittent build failures, that actually fail in the cleanup stage deleting files from the previous build. My svn settings are set to 'clean checkout' although I also get this problem if I select 'revert and update'. Is it possible to make this stage more tolerant of locked files (perhaps by increasing the number of retries?) 09:51:40 Started by user niy 09:51:40 Building remotely on nwb-r5win32b 09:51:40 Cleaning workspace C:\jenkins\workspace\R5_Win_Overnight 09:52:29 hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\R5_Win_Overnight at hudson.remoting.Channel@470d6c27:nwb-r5win32b 09:52:29 at hudson.FilePath.act(FilePath.java:754) 09:52:29 at hudson.FilePath.act(FilePath.java:740) 09:52:29 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) 09:52:29 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) 09:52:29 at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) 09:52:29 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) 09:52:29 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) 09:52:29 at hudson.model.Run.run(Run.java:1376) 09:52:29 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:52:29 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:52:29 at hudson.model.Executor.run(Executor.java:230) 09:52:29 Caused by: java.io.IOException: Unable to delete c:\jenkins\workspace\R5_Win_Overnight\viscob\coretech\checker\src\tools\.svn - files in dir: [c:\jenkins\workspace\R5_Win_Overnight\viscob\coretech\checker\src\tools\.svn\tmp] 09:52:29 at hudson.Util.deleteFile(Util.java:265) 09:52:29 at hudson.Util.deleteRecursive(Util.java:316) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.Util.deleteRecursive(Util.java:307) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.Util.deleteRecursive(Util.java:307) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.Util.deleteRecursive(Util.java:307) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.Util.deleteRecursive(Util.java:307) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.Util.deleteRecursive(Util.java:307) 09:52:29 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:52:29 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) 09:52:29 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) 09:52:29 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) 09:52:29 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) 09:52:29 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) 09:52:29 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) 09:52:29 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 09:52:29 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 09:52:29 at hudson.remoting.Request$2.run(Request.java:287) 09:52:29 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 09:52:29 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 09:52:29 at java.util.concurrent.FutureTask.run(Unknown Source) 09:52:29 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 09:52:29 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 09:52:29 at hudson.remoting.Engine$1$1.run(Engine.java:60) 09:52:29 at java.lang.Thread.run(Unknown Source) 09:52:29 Retrying after 10 seconds 09:52:39 Cleaning workspace C:\jenkins\workspace\R5_Win_Overnight 09:55:02 hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\R5_Win_Overnight at hudson.remoting.Channel@470d6c27:nwb-r5win32b 09:55:02 at hudson.FilePath.act(FilePath.java:754) 09:55:02 at hudson.FilePath.act(FilePath.java:740) 09:55:02 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) 09:55:02 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) 09:55:02 at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) 09:55:02 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) 09:55:02 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) 09:55:02 at hudson.model.Run.run(Run.java:1376) 09:55:02 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:55:02 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:55:02 at hudson.model.Executor.run(Executor.java:230) 09:55:02 Caused by: java.io.IOException: Unable to delete c:\jenkins\workspace\R5_Win_Overnight\viscob\eclipseide\feature.builder\core\build\plugins\com.microfocus.eclipse.core\@dot\com\microfocus\eclipse\core - files in dir: [c:\jenkins\workspace\R5_Win_Overnight\viscob\eclipseide\feature.builder\core\build\plugins\com.microfocus.eclipse.core\@dot\com\microfocus\eclipse\core\wizards] 09:55:02 at hudson.Util.deleteFile(Util.java:265) 09:55:02 at hudson.Util.deleteRecursive(Util.java:316) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.Util.deleteRecursive(Util.java:307) 09:55:02 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:02 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) 09:55:02 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) 09:55:02 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) 09:55:02 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) 09:55:02 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) 09:55:02 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) 09:55:02 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 09:55:02 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 09:55:02 at hudson.remoting.Request$2.run(Request.java:287) 09:55:02 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 09:55:02 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 09:55:02 at java.util.concurrent.FutureTask.run(Unknown Source) 09:55:02 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 09:55:02 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 09:55:02 at hudson.remoting.Engine$1$1.run(Engine.java:60) 09:55:02 at java.lang.Thread.run(Unknown Source) 09:55:02 Retrying after 10 seconds 09:55:12 Cleaning workspace C:\jenkins\workspace\R5_Win_Overnight 09:55:13 hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\R5_Win_Overnight at hudson.remoting.Channel@470d6c27:nwb-r5win32b 09:55:13 at hudson.FilePath.act(FilePath.java:754) 09:55:13 at hudson.FilePath.act(FilePath.java:740) 09:55:13 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) 09:55:13 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) 09:55:13 at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) 09:55:13 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) 09:55:13 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) 09:55:13 at hudson.model.Run.run(Run.java:1376) 09:55:13 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:55:13 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:55:13 at hudson.model.Executor.run(Executor.java:230) 09:55:13 Caused by: java.io.IOException: Unable to delete c:\jenkins\workspace\R5_Win_Overnight\viscob\eclipseide\feature.builder\core\build\plugins\com.microfocus.eclipse.core\src\com\microfocus\eclipse\core - files in dir: [c:\jenkins\workspace\R5_Win_Overnight\viscob\eclipseide\feature.builder\core\build\plugins\com.microfocus.eclipse.core\src\com\microfocus\eclipse\core\wizards] 09:55:13 at hudson.Util.deleteFile(Util.java:265) 09:55:13 at hudson.Util.deleteRecursive(Util.java:316) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.Util.deleteRecursive(Util.java:307) 09:55:13 at hudson.Util.deleteContentsRecursive(Util.java:227) 09:55:13 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) 09:55:13 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) 09:55:13 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) 09:55:13 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) 09:55:13 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) 09:55:13 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) 09:55:13 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 09:55:13 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 09:55:13 at hudson.remoting.Request$2.run(Request.java:287) 09:55:13 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 09:55:13 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 09:55:13 at java.util.concurrent.FutureTask.run(Unknown Source) 09:55:13 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 09:55:13 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 09:55:13 at hudson.remoting.Engine$1$1.run(Engine.java:60) 09:55:13 at java.lang.Thread.run(Unknown Source) 09:55:13 Archiving artifacts 10:12:03 Recording fingerprints 10:12:03 Email was triggered for: Failure 10:12:03 Sending email for trigger: Failure
    via by nyoung02,
  • When a build fails in the cleaning workspace step, Jenkins will still archive the artifacts. Since the workspace couldn't be cleaned, that means the archived artifacts are from a previous build, and are invalid. If a build fails because the workspace couldn't be cleaned, it should never archive any artifacts, as they are guaranteed to be from a previous build. Note that this is different from when a build fails in one of the build steps. In that case, artifacts may or may not be valid, but they are at least from that build. There should be an option to not archive artifacts when a build fails in this case. If the difference between the two isn't clear, consider a CI job that runs a test harness, and archives the test results as an artifact. When some tests fail, the job fails, but the artifact is still valid. When the job fails before any of the build steps are run, the test results from the previous run are archived. That leads to confusion, where people (and automated systems) see "build failed", and then look at the artifact, to see which tests are broken, never realizing that the tests never ran at all. Here's a sample build log: {noformat} Started by upstream project "MAPI_Validate_6_3" build number 98 Building remotely on ml-xp-vm01 Cleaning workspace C:\jenkins\workspace\MAPI_Validate_6_3\HOST\x86-windows-xp\PLATFORM\vc6 hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\MAPI_Validate_6_3\HOST/x86-windows-xp/PLATFORM/vc6 at hudson.remoting.Channel@56e7a30e:ml-xp-vm01 at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1389) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete c:\jenkins\workspace\MAPI_Validate_6_3\HOST\x86-windows-xp\PLATFORM\vc6\src\omneon\pcapps\mediareader\validate\ommedia-binaries\hostemu.exe at hudson.Util.deleteFile(Util.java:266) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Retrying after 10 seconds [...] Archiving artifacts Notifying upstream projects of job completion Finished: FAILURE {noformat}
    via by Ammon Riley,
    • hudson.util.IOException2: remote file operation failed: /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64 at hudson.remoting.Channel@5ed454f5:ml-fedora14-vm02 at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:731) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:676) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1389) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Unable to delete /home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia - files in dir: [/home/build/jenkins/workspace/MAPI_Validate_Trunk/HOST/amd64-Fedora-14/PLATFORM/linux64/src/omneon/pcapps/mediareader/validate/ommedia/�5] at hudson.Util.deleteFile(Util.java:265) at hudson.Util.deleteRecursive(Util.java:316) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.Util.deleteRecursive(Util.java:307) at hudson.Util.deleteContentsRecursive(Util.java:227) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:74) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)

    Users with the same issue

    Unknown visitor1 times, last one,