Hudson 1.374 under Tomcat in a Redhat 5 EL box.
I believe this must be an issue with usage of UTF-8 encoded files, in my case the failure is with a files created by a test case that creates directories and files with UTF-8 encoded characters. Once I manually removed this directory (and some other files with UTF-8 characters) all was well:
Started by user anonymous
Clearing workspace...
java.io.IOException: Unable to delete <OMITTED/linux_rhAS50-x86-64/debug/dmthudson_11726> - files in dir: [<OMMITED/linux_rhAS50-x86-64/debug/dmthudson_11726/save_f%EF%BF%BD%EF%BF%BD_dir]>
at hudson.Util.deleteFile(Util.java:259)
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.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.perforce.PerforceSCM.checkout(PerforceSCM.java:476)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1061)
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:1272)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:129)
Retrying after 10 seconds
In a previous failure it was complaining about the following:
Started by an SCM change
Clearing workspace...
java.io.IOException: Unable to delete <OMITTED/linux_rhAS50-x86-64/debug/dmthudson_11726/logs> - files in dir: [<OMITTED/linux_rhAS50-x86-64/debug/dmthudson_11726/logs/EXTSTRING_TEST_f%EF%BF%BD%EF%BF%BD_11726_91_dmthudson_en_US_UTF-8.log]>
at hudson.Util.deleteFile(Util.java:259)
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.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.perforce.PerforceSCM.checkout(PerforceSCM.java:476)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1061)
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:1272)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:129)
Retrying after 10 seconds
Hudson 1.374 under Tomcat in a Redhat 5 EL box.
I believe this must be an issue with usage of UTF-8 encoded files, in my case the failure is with a files created by a test case that creates directories and files with UTF-8 encoded characters. Once I manually removed this directory (and some other files with UTF-8 characters) all was well:
Started by user anonymous
Clearing workspace...
java.io.IOException: Unable to delete <OMITTED/linux_rhAS50-x86-64/debug/dmthudson_11726> - files in dir: [<OMMITED/linux_rhAS50-x86-64/debug/dmthudson_11726/save_f%EF%BF%BD%EF%BF%BD_dir]>
at hudson.Util.deleteFile(Util.java:259)
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.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.perforce.PerforceSCM.checkout(PerforceSCM.java:476)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1061)
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:1272)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:129)
Retrying after 10 seconds
In a previous failure it was complaining about the following:
Started by an SCM change
Clearing workspace...
java.io.IOException: Unable to delete <OMITTED/linux_rhAS50-x86-64/debug/dmthudson_11726/logs> - files in dir: [<OMITTED/linux_rhAS50-x86-64/debug/dmthudson_11726/logs/EXTSTRING_TEST_f%EF%BF%BD%EF%BF%BD_11726_91_dmthudson_en_US_UTF-8.log]>
at hudson.Util.deleteFile(Util.java:259)
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.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.perforce.PerforceSCM.checkout(PerforceSCM.java:476)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1061)
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:1272)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:129)
Retrying after 10 seconds