[ https://issues.jenkins-ci.org/browse/JENKINS-7140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161738#comment-161738 ]
nhofmeister commented on JENKINS-7140: -------------------------------------- This is really a problem since it breaks trust in the tool. I linked some issues duplicating this. Particularly interesting is JENKINS-7653 where jglick recommends this patch: https://github.com/hudson/hudson/commit/3c65bb06b22317d40dd9261e831dfbcfb7daeb36 > Copy artifacts fails, still build successful > -------------------------------------------- > > Key: JENKINS-7140 > URL: https://issues.jenkins-ci.org/browse/JENKINS-7140 > Project: Jenkins > Issue Type: Bug > Components: clone-workspace, core > Affects Versions: current > Environment: Windows XP > Reporter: Harry G. > Assignee: abayer > > When Copy artifacts fails, e.g. when disk is full, still build is successful! > This applies to the built-in "archive the artifacts" as well as to "archive > for clone workspace SCM". > Seems to be related to JENKINS-2058. > Log output (sorry, partly in German; translations behind "--->") > -----------------------------------8<------------------------------------- > Archiviere Artefakte ---> archiving artifacts > ERROR: Artefakte konnten nicht archiviert werden: fooProject/** ---> > artifacts could not be archived > hudson.util.IOException2: Failed to copy > C:\BuildRoot\Config\.hudson\jobs\fooProject-barBranch\workspace/fooProject/** > to > C:\BuildRoot\Config\.hudson\jobs\fooProject-barBranch\builds\2010-08-05_14-32-18\archive > at hudson.FilePath$31.invoke(FilePath.java:1451) > at hudson.FilePath$31.invoke(FilePath.java:1418) > at hudson.FilePath.act(FilePath.java:753) > at hudson.FilePath.act(FilePath.java:735) > at hudson.FilePath.copyRecursiveTo(FilePath.java:1418) > at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117) > at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) > at > hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) > at > hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) > at > hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) > at hudson.model.Build$RunnerImpl.post2(Build.java:158) > at > hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) > at hudson.model.Run.run(Run.java:1281) > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:129) > Caused by: Failed to copy > C:\BuildRoot\Config\.hudson\jobs\fooProject-barBranch\workspace\fooProject\fooBar\fooBarProject > to > C:\BuildRoot\Config\.hudson\jobs\fooProject-barBranch\builds\2010-08-05_14-32-18\archive\fooProject\fooBar\fooBarProject > due to Es steht nicht genug Speicherplatz auf dem Datenträger zur Verfügung > ---> there isn't enough disk space available > at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:853) > at hudson.FilePath$31$1CopyImpl.doFileOperations(FilePath.java:1434) > at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:523) > at hudson.FilePath$31.invoke(FilePath.java:1448) > ... 15 more > Caused by: java.io.IOException: Es steht nicht genug Speicherplatz auf dem > Datenträger zur Verfügung > ---> there isn't enough disk space available > at sun.nio.ch.FileDispatcher.write0(Native Method) > at sun.nio.ch.FileDispatcher.write(Unknown Source) > at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) > at sun.nio.ch.IOUtil.write(Unknown Source) > at sun.nio.ch.FileChannelImpl.write(Unknown Source) > at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(Unknown Source) > at sun.nio.ch.FileChannelImpl.transferTo(Unknown Source) > at > org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:475) > at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:519) > at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:481) > at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:310) > at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:841) > ... 18 more > Notifying upstream projects of job completion > Finished: SUCCESS > -----------------------------------8<------------------------------------- -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira