Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: core
Created: 20/Jun/12 12:48 PM
Description:

It seems that certain types of SVN checkout failures do not prevent the build to continue to execute. In current case the failure was due to the error during the local file delete operation.

The problem is that previous workspace is used to execute the build - which caused the wrong results to be reported, obviously.

The following log shows the problem:

Started by upstream project "PCompiler_vd" build number 46
[EnvInject] - Preparing an environment for the build.
Building remotely on OCL-W764-WST04 in workspace c:\H\workspace\PCompiler_vd\BldT/Debug/TrgtT/Win32/slvT/GP
Cleaning up c:\H\workspace\PCompiler_vd\BldT\Debug\TrgtT\Win32\slvT\GP\trunk
Deleting c:\H\workspace\PCompiler_vd\BldT\Debug\TrgtT\Win32\slvT\GP\trunk\Binaries.7z
Deleting c:\H\workspace\PCompiler_vd\BldT\Debug\TrgtT\Win32\slvT\GP\trunk\build
ERROR: Failed to update https://subversion.***/branches/sanity/vd/sanity
org.tmatesoft.svn.core.SVNException: svn: Unable to delete c:\H\workspace\PCompiler_vd\BldT\Debug\TrgtT\Win32\slvT\GP\trunk\build\Win32\backend\llvm\bin\Debug
at hudson.scm.subversion.UpdateWithCleanUpdater$TaskImpl$1.handleStatus(UpdateWithCleanUpdater.java:78)
at org.tmatesoft.svn.core.internal.wc.SVNStatusEditor.sendUnversionedStatus(SVNStatusEditor.java:358)
at org.tmatesoft.svn.core.internal.wc.SVNStatusEditor.getDirStatus(SVNStatusEditor.java:208)
at org.tmatesoft.svn.core.internal.wc.SVNStatusEditor.closeEdit(SVNStatusEditor.java:114)
at org.tmatesoft.svn.core.wc.SVNStatusClient.doStatus(SVNStatusClient.java:380)
at hudson.scm.subversion.UpdateWithCleanUpdater$TaskImpl.preUpdate(UpdateWithCleanUpdater.java:66)
at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:134)
at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136)
at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:788)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:769)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:753)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2154)
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 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$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)
Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: Unable to delete c:\H\workspace\PCompiler_vd\BldT\Debug\TrgtT\Win32\slvT\GP\trunk\build\Win32\backend\llvm\bin\Debug
at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:101)
... 22 more
Caused by: java.io.IOException: Unable to delete c:\H\workspace\PCompiler_vd\BldT\Debug\TrgtT\Win32\slvT\GP\trunk\build\Win32\backend\llvm\bin\Debug
at hudson.Util.deleteFile(Util.java:237)
at hudson.Util.deleteRecursive(Util.java:287)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.Util.deleteRecursive(Util.java:278)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.Util.deleteRecursive(Util.java:278)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.Util.deleteRecursive(Util.java:278)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.Util.deleteRecursive(Util.java:278)
at hudson.Util.deleteContentsRecursive(Util.java:198)
at hudson.Util.deleteRecursive(Util.java:278)
at hudson.scm.subversion.UpdateWithCleanUpdater$TaskImpl$1.handleStatus(UpdateWithCleanUpdater.java:74)
... 21 more
no change for https://subversion.***/branches/sanity/vd/sanity since the previous build
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content
BuildOrigin=Private

[EnvInject] - Variables injected successfully.
[GP] $ python C:\Users\cvcctest\AppData\Local\Temp\hudson6435932133762858247.py
Cleanup of old artifacts
Deleting:c:\H\workspace\PCompiler_vd\BldT\Debug\TrgtT\Win32\slvT\GP\buildLogs\test_report_Build_corei7_1_Win32_Debug.xml
Deleting:c:\H\workspace\PCompiler_vd\BldT\Debug\TrgtT\Win32\slvT\GP\buildLogs\test_report_LIT_Tests_corei7_1_Win32_Debug.xml
[GP] $ python C:\Users\cvcctest\AppData\Local\Temp\hudson946168166299217150.py

Environment: Windows 7 x64
Project: Jenkins
Labels: svn build checkout
Priority: Major Major
Reporter: Vlad Dovlekaev
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to