java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory '/opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE' File does not exist: /opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE/confluence-build/confluence-test-runner/confluence-soke-runner/target/perf-auto-datadir/attachments/ver003/nonspaced/244/162/162494/JIRA????????????????????????????????????.doc

Atlassian JIRA | Alex Hennecke | 4 years ago
  1. 0

    https://bamboo.extranet.atlassian.com/download/PERFENG-CONFDEV16566-SOKE/build_logs/PERFENG-CONFDEV16566-SOKE-17.log {noformat} error 28-May-2013 23:40:06 Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. error 28-May-2013 23:40:06 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory '/opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE' File does not exist: /opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE/confluence-build/confluence-test-runner/confluence-soke-runner/target/perf-auto-datadir/attachments/ver003/nonspaced/244/162/162494/JIRA????????????????????????????????????.doc error 28-May-2013 23:40:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) error 28-May-2013 23:40:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) error 28-May-2013 23:40:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) error 28-May-2013 23:40:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) error 28-May-2013 23:40:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:144) error 28-May-2013 23:40:06 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:212) error 28-May-2013 23:40:06 at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:73) error 28-May-2013 23:40:06 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:72) error 28-May-2013 23:40:06 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:186) error 28-May-2013 23:40:06 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102) error 28-May-2013 23:40:06 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:105) error 28-May-2013 23:40:06 at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) error 28-May-2013 23:40:06 at java.lang.Thread.run(Thread.java:662) error 28-May-2013 23:40:06 Caused by: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory '/opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE' File does not exist: /opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE/confluence-build/confluence-test-runner/confluence-soke-runner/target/perf-auto-datadir/attachments/ver003/nonspaced/244/162/162494/JIRA????????????????????????????????????.doc error 28-May-2013 23:40:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.cleanWorkingDirIfNeeded(VcsCheckoutTask.java:336) error 28-May-2013 23:40:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:54) error 28-May-2013 23:40:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:148) error 28-May-2013 23:40:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:145) error 28-May-2013 23:40:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) error 28-May-2013 23:40:06 ... 12 more error 28-May-2013 23:40:06 Caused by: java.io.FileNotFoundException: File does not exist: /opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE/confluence-build/confluence-test-runner/confluence-soke-runner/target/perf-auto-datadir/attachments/ver003/nonspaced/244/162/162494/JIRA????????????????????????????????????.doc error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2275) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) {noformat}

    Atlassian JIRA | 4 years ago | Alex Hennecke
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory '/opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE' File does not exist: /opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE/confluence-build/confluence-test-runner/confluence-soke-runner/target/perf-auto-datadir/attachments/ver003/nonspaced/244/162/162494/JIRA????????????????????????????????????.doc
  2. 0

    https://bamboo.extranet.atlassian.com/download/PERFENG-CONFDEV16566-SOKE/build_logs/PERFENG-CONFDEV16566-SOKE-17.log {noformat} error 28-May-2013 23:40:06 Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. error 28-May-2013 23:40:06 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory '/opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE' File does not exist: /opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE/confluence-build/confluence-test-runner/confluence-soke-runner/target/perf-auto-datadir/attachments/ver003/nonspaced/244/162/162494/JIRA????????????????????????????????????.doc error 28-May-2013 23:40:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) error 28-May-2013 23:40:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) error 28-May-2013 23:40:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) error 28-May-2013 23:40:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) error 28-May-2013 23:40:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:144) error 28-May-2013 23:40:06 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:212) error 28-May-2013 23:40:06 at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:73) error 28-May-2013 23:40:06 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:72) error 28-May-2013 23:40:06 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:186) error 28-May-2013 23:40:06 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:102) error 28-May-2013 23:40:06 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:105) error 28-May-2013 23:40:06 at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) error 28-May-2013 23:40:06 at java.lang.Thread.run(Thread.java:662) error 28-May-2013 23:40:06 Caused by: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory '/opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE' File does not exist: /opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE/confluence-build/confluence-test-runner/confluence-soke-runner/target/perf-auto-datadir/attachments/ver003/nonspaced/244/162/162494/JIRA????????????????????????????????????.doc error 28-May-2013 23:40:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.cleanWorkingDirIfNeeded(VcsCheckoutTask.java:336) error 28-May-2013 23:40:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:54) error 28-May-2013 23:40:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:148) error 28-May-2013 23:40:06 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:145) error 28-May-2013 23:40:06 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) error 28-May-2013 23:40:06 ... 12 more error 28-May-2013 23:40:06 Caused by: java.io.FileNotFoundException: File does not exist: /opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE/confluence-build/confluence-test-runner/confluence-soke-runner/target/perf-auto-datadir/attachments/ver003/nonspaced/244/162/162494/JIRA????????????????????????????????????.doc error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2275) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) error 28-May-2013 23:40:06 at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) {noformat}

    Atlassian JIRA | 4 years ago | Alex Hennecke
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Unable to clean source directory '/opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE' File does not exist: /opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE/confluence-build/confluence-test-runner/confluence-soke-runner/target/perf-auto-datadir/attachments/ver003/nonspaced/244/162/162494/JIRA????????????????????????????????????.doc
  3. 0

    When the "Clean working directory after a build" option is set for a Stage, Bamboo reports a "Could not remove working directory for plan 'XXX': File does not exist /...." even though the file in question most definitely does. Bamboo may be doing some sort of character encoding conversion in the process, although it can not have a clue what character encoding is used for any particular filename. One filename that triggers this is "AC_Ra\303\255z_Certic\303\241mara_S.A..crt" (using C-style octal escapes). A typical stack crawl is: {quote} java.io.FileNotFoundException: File does not exist: /svc/bamboo/xml-data/build-dir/XXX-JOB1/AAA/BBB/CCC/DDD/EEE/FFF/GGG/HHH/III/JJJ/KKK/AC_Ra��z_Certic��mara_S.A..crt at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2275) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.cleanWorkingDirectory(ExecuteBuildTask.java:129) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:98) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:744) {quote}

    Atlassian JIRA | 1 year ago | J.T. Conklin
    java.io.FileNotFoundException: File does not exist: /svc/bamboo/xml-data/build-dir/XXX-JOB1/AAA/BBB/CCC/DDD/EEE/FFF/GGG/HHH/III/JJJ/KKK/AC_Ra��z_Certic��mara_S.A..crt
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When the "Clean working directory after a build" option is set for a Stage, Bamboo reports a "Could not remove working directory for plan 'XXX': File does not exist /...." even though the file in question most definitely does. Bamboo may be doing some sort of character encoding conversion in the process, although it can not have a clue what character encoding is used for any particular filename. One filename that triggers this is "AC_Ra\303\255z_Certic\303\241mara_S.A..crt" (using C-style octal escapes). A typical stack crawl is: {quote} java.io.FileNotFoundException: File does not exist: /svc/bamboo/xml-data/build-dir/XXX-JOB1/AAA/BBB/CCC/DDD/EEE/FFF/GGG/HHH/III/JJJ/KKK/AC_Ra��z_Certic��mara_S.A..crt at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2275) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.cleanWorkingDirectory(ExecuteBuildTask.java:129) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:98) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:744) {quote}

    Atlassian JIRA | 1 year ago | J.T. Conklin
    java.io.FileNotFoundException: File does not exist: /svc/bamboo/xml-data/build-dir/XXX-JOB1/AAA/BBB/CCC/DDD/EEE/FFF/GGG/HHH/III/JJJ/KKK/AC_Ra��z_Certic��mara_S.A..crt
  6. 0

    We have a build that specified a directory as an artifact. In this case, the target directory of the build. The build failed for legitimate reasons, however the directory was not transferred. In the server logs: {code} build 05-Sep-2012 03:20:33 [INFO] ------------------------------------------------------------------------ build 05-Sep-2012 03:20:33 [INFO] Total time: 14 minutes 31 seconds build 05-Sep-2012 03:20:33 [INFO] Finished at: Wed Sep 05 03:20:33 CDT 2012 build 05-Sep-2012 03:20:34 [INFO] Final Memory: 87M/424M build 05-Sep-2012 03:20:34 [INFO] ------------------------------------------------------------------------ simple 05-Sep-2012 03:20:39 Failing task since return code was 1 while expected 0 simple 05-Sep-2012 03:20:39 Parsing test results... simple 05-Sep-2012 03:20:54 Finished task 'Maven 2.x' simple 05-Sep-2012 03:20:54 Running post build plugin 'JMeter Aggregator Build Processor' simple 05-Sep-2012 03:20:54 Running post build plugin 'Artifact Copier' simple 05-Sep-2012 03:20:54 Publishing an artifact: Integration Test Output Dir error 05-Sep-2012 03:22:04 Failed to execute plugin 'Artifact Copier' with error: java.io.IOException: Exception occurred when posting message com.atlassian.bamboo.v2.build.agent.messages.ArtifactPublishMessage@10a86e. /opt/bamboo-agent/xml-data/build-dir/INTSYS-HAMSINTTEST0-JOB1/inttest/target/psql/.s.PGSQL.1999 (No such device or address) simple 05-Sep-2012 03:22:04 Running post build plugin 'Post Command Agent Runner' simple 05-Sep-2012 03:22:04 running post command on agent simple 05-Sep-2012 03:22:04 build failed, running fail command simple 05-Sep-2012 03:22:04 command is: simple 05-Sep-2012 03:22:04 Running post build plugin 'Sandbox Environment cleanup' simple 05-Sep-2012 03:22:04 Running post build plugin 'NCover Results Collector' simple 05-Sep-2012 03:22:04 Running post build plugin 'Clover Results Collector' simple 05-Sep-2012 03:22:04 Running post build plugin 'FindBugs Build Processor' simple 05-Sep-2012 03:22:04 Running post build plugin 'Cleanup Build Processor' {code} On the agent side: {code} 2012-09-05 03:20:57,402 INFO [1-BAM::bamboo-agent-2131.private.atlassian.com::Agent:pool-3-thread-1] [AbstractArtifactManager] Publishing [Integration Test Output Dir] for INTSYS-HAMSINTTEST0-JOB1-19: 909 file(s) matching [**/*.*] in directory /opt/bamboo-agent/xml-data/build-dir/INTSYS-HAMSINTTEST0-JOB1/inttest/target 2012-09-05 03:21:03,297 ERROR [1-BAM::bamboo-agent-2131.private.atlassian.com::Agent:pool-3-thread-1] [HttpMessageSender] Exception occurred when posting message com.atlassian.bamboo.v2.build.agent.messages.ArtifactPublishMessage@10a86e. /opt/bamboo-agent/xml-data/build-dir/INTSYS-HAMSINTTEST0-JOB1/inttest/target/psql/.s.PGSQL.1999 (No such device or address) java.io.FileNotFoundException: /opt/bamboo-agent/xml-data/build-dir/INTSYS-HAMSINTTEST0-JOB1/inttest/target/psql/.s.PGSQL.1999 (No such device or address) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at com.atlassian.bamboo.v2.build.agent.messages.ArtifactTransferPayload.writeObject(ArtifactTransferPayload.java:70) at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:940) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender$1.writeRequest(HttpMessageSender.java:59) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:87) at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler.publish(BambooRemoteArtifactHandler.java:32) at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publishFileSet(AbstractArtifactManager.java:215) at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.publish(AbstractArtifactManager.java:126) at com.atlassian.bamboo.build.artifact.BuildArtifactPostProcessor.call(BuildArtifactPostProcessor.java:79) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:162) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:88) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:204) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) at java.lang.Thread.run(Thread.java:662) {code} Googling found that the file in question was a postgres lock file, that likely disappeared between figuring out files to copy and actually copying. This exception should not prevent the rest of the files from being transferred, but it does. No other files in that directory were sent.

    Atlassian JIRA | 4 years ago | Minan Tan [Atlassian]
    java.io.FileNotFoundException: /opt/bamboo-agent/xml-data/build-dir/INTSYS-HAMSINTTEST0-JOB1/inttest/target/psql/.s.PGSQL.1999 (No such device or address)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.FileNotFoundException

      File does not exist: /opt/bamboora/bamboo-agent-home/xml-data/build-dir/PERFENG-CONFDEV16566-SOKE/confluence-build/confluence-test-runner/confluence-soke-runner/target/perf-auto-datadir/attachments/ver003/nonspaced/244/162/162494/JIRA????????????????????????????????????.doc

      at org.apache.commons.io.FileUtils.forceDelete()
    2. Commons IO
      FileUtils.cleanDirectory
      1. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2275)
      2. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      3. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      4. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      5. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      6. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      7. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      8. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      9. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      10. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      11. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      11 frames