Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
None
-
Severity 3 - Minor
-
Description
Summary
Download task failed to get resolved properly against working directory when it is configured with "/" in the field.
In deployment log:
Unable to download artifact Shared artifact: [<etc>], pattern: [<etc>] anchored at: [/dir/]
In agent's log:
2016-05-18 08:51:10,679 ERROR [0-BAM::Elastic Agent on i-4d95a7ca::Agent:pool-3-thread-1] [BambooArtifactHttpTransport] java.nio.file.AccessDeniedException: /release.tgz at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434) at java.nio.file.Files.newOutputStream(Files.java:216) at com.atlassian.bamboo.utils.BambooPathUtils.openOutputStreamInternal(BambooPathUtils.java:287) at com.atlassian.bamboo.utils.BambooPathUtils.openOutputStream(BambooPathUtils.java:279) at com.atlassian.bamboo.utils.BambooPathUtils.openOutputStream(BambooPathUtils.java:240) at com.atlassian.bamboo.v2.build.agent.messages.ArtifactStreams.deserialiseStreamToDir(ArtifactStreams.java:94) at com.atlassian.bamboo.build.artifact.BambooArtifactHttpTransport.retrieve(BambooArtifactHttpTransport.java:224) at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler$1.call(BambooRemoteArtifactHandler.java:77)