Details
-
Bug
-
Status: Resolved (View Workflow)
-
Critical
-
Resolution: Duplicate
-
None
-
Platform: All, OS: All
Description
I receive the following error when building about 90% of my builds. The other
10% it works fine. I make no changes between the times it succeeds and the
times it fails. I'm building in IE6 accessing the Hudson admin section. The
delete is occurring because it is wiping out the workspace each time; but
obviously failing.
Started by user anonymous
[workspace] $ e:\tfs\tf.exe workspaces -format:brief -
server:http://<server>:8080 ********
No workspace matching *;<USER_ID> on computer <COMPUTER_NAME> found in Team
Foundation Server http://<server>:8080.
FATAL: Unable to delete <FOLDER_NAME_IN_PROJECT> - files in dir:
<WEB_REFERENCE_FILE_IN_PROJECT>
java.io.IOException: Unable to delete <FOLDER_NAME> - files in dir:
[<WEB_REFERENCE_FILE>]
at hudson.Util.deleteFile(Util.java:218)
at hudson.Util.deleteRecursive(Util.java:251)
at hudson.Util.deleteContentsRecursive(Util.java:185)
at hudson.Util.deleteRecursive(Util.java:250)
at hudson.Util.deleteContentsRecursive(Util.java:185)
at hudson.Util.deleteRecursive(Util.java:250)
at hudson.Util.deleteContentsRecursive(Util.java:185)
at hudson.FilePath$11.invoke(FilePath.java:719)
at hudson.FilePath$11.invoke(FilePath.java:717)
at hudson.FilePath.act(FilePath.java:635)
at hudson.FilePath.deleteContents(FilePath.java:717)
at hudson.plugins.tfs.actions.CheckoutAction.checkout
(CheckoutAction.java:40)
at hudson.plugins.tfs.TeamFoundationServerScm.checkout
(TeamFoundationServerScm.java:143)
at hudson.model.AbstractProject.checkout(AbstractProject.java:830)
at hudson.model.AbstractBuild$AbstractRunner.checkout
(AbstractBuild.java:314)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
at hudson.model.Run.run(Run.java:927)
at hudson.model.Build.run(Build.java:112)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:119)
Attachments
Issue Links
- duplicates
-
JENKINS-12610 Util.deleteRecursive fails for files using unmappable characters
-
- Open
-
- is related to
-
JENKINS-3813 java.io.IOException: Unable to delete <FOLDER_NAME> - files in dir: [<WEB_REFERENCE_FILE>]
-
- Resolved
-
I'm getting a very similar stacktrace with hudson 1.379 running on tomcat 6.0.29 with java 5. I also have not made any changes to the job config. The error was triggered by the CloneSCM plugin:
java.io.IOException: Unable to delete /home/scripts/hudson/jobs/Stella-UI_start_selenium_tests/workspace/trunk/UI/src/main/webapp/Stella/Html/Pricing/MassPriceEventAsyncOverrides.jsp
at hudson.Util.deleteFile(Util.java:260)
at hudson.Util.deleteRecursive(Util.java:302)
at hudson.Util.deleteContentsRecursive(Util.java:221)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:221)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:221)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:221)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:221)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:221)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:221)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:221)
at hudson.Util.deleteRecursive(Util.java:301)
at hudson.Util.deleteContentsRecursive(Util.java:221)
at hudson.FilePath$10.invoke(FilePath.java:833)
at hudson.FilePath$10.invoke(FilePath.java:831)
at hudson.FilePath.act(FilePath.java:753)
at hudson.FilePath.act(FilePath.java:735)
at hudson.FilePath.deleteContents(FilePath.java:831)
at hudson.plugins.cloneworkspace.CloneWorkspaceSCM.checkout(CloneWorkspaceSCM.java:125)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1082)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
at hudson.model.Run.run(Run.java:1280)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:137)
I went to check the actual file through a terminal session and it has weird statuses:
ls -l
br-xrwS-w- 263 1230008912 1347223560 116, 115 Mar 10 1973 MassPriceEventAsyncOverrides.jsp
file -i MassPriceEventAsyncOverrides.jsp
MassPriceEventAsyncOverrides.jsp: application/x-not-regular-file