You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Robbie Gemmell <ro...@gmail.com> on 2013/08/19 22:47:10 UTC

checkout cleanup failing on windows1 due to file being in use

Hi, I noticed that the Qpid-proton-j-windows job has been failing
whilst trying to clean up its checkout when it begins to build,
because a file previously created by the job is apparently still in
use. See snippet below.

I'm not sure if this points to some underlying issue with the job but
as far as I am aware it is running ok in another environment, so could
someone take a look to see if there are any signs of a stale process
using the file and clean things up? We can then see if it begins to
experience issues again and investigate further if it does..

Thanks,
Robbie


Started by an SCM change
Building remotely on windows1
<https://builds.apache.org/computer/windows1> in workspace
f:\hudson\hudson-slave\workspace\Qpid-proton-j-windows
Cleaning local Directory trunk
hudson.util.IOException2: remote file operation failed:
f:\hudson\hudson-slave\workspace\Qpid-proton-j-windows at
hudson.remoting.Channel@6c3bba04:windows1
	at hudson.FilePath.act(FilePath.java:902)
	at hudson.FilePath.act(FilePath.java:879)
	at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:843)
	at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:781)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1406)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
	at hudson.model.Run.execute(Run.java:1597)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:506)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:247)
Caused by: java.nio.file.FileSystemException:
f:\hudson\hudson-slave\workspace\Qpid-proton-j-windows\trunk\proton-j\proton\target\proton-j-impl-1.0-SNAPSHOT-tests.jar:
The process cannot access the file because it is being used by another
process.

	at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
	at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
	at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
	at java.nio.file.Files.delete(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at hudson.Util.deleteFile(Util.java:239)
	at hudson.Util.deleteRecursive(Util.java:307)
	at hudson.Util.deleteContentsRecursive(Util.java:204)
	at hudson.Util.deleteRecursive(Util.java:298)
	at hudson.Util.deleteContentsRecursive(Util.java:204)
	at hudson.Util.deleteRecursive(Util.java:298)
	at hudson.Util.deleteContentsRecursive(Util.java:204)
	at hudson.Util.deleteRecursive(Util.java:298)
	at hudson.Util.deleteContentsRecursive(Util.java:204)
	at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:75)
	at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:153)
	at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:903)
	at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:884)
	at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:867)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2414)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:326)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at hudson.remoting.Engine$1$1.run(Engine.java:63)
	at java.lang.Thread.run(Unknown Source)
Retrying after 10 seconds