Remote agent fail to download artifact
Problem
Remote agent fail to download artifact from Bamboo server
The following appears in the remote agent atlassian-bamboo.log
2017-06-01 09:42:18,692 ERROR [0-BAM::dbuild3.avibit.com (2)::Agent:pool-3-thread-1] [BambooPluginUtils] Unable to retrieve artifact testArtifact for PROJ-PLAN-1 via com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler@27e04000
java.lang.ExceptionInInitializerError
at java.time.ZoneRegion.ofId(ZoneRegion.java:120)
at java.time.ZoneId.of(ZoneId.java:411)
at java.time.ZoneId.of(ZoneId.java:359)
at java.time.ZoneId.of(ZoneId.java:315)
at java.util.TimeZone.toZoneId(TimeZone.java:556)
at java.time.ZoneId.systemDefault(ZoneId.java:274)
at java.time.Clock.systemDefaultZone(Clock.java:178)
at java.time.LocalDateTime.now(LocalDateTime.java:180)
at com.atlassian.bamboo.v2.build.agent.messages.ArtifactStreams.deserialiseStreamToDir(ArtifactStreams.java:61)
at com.atlassian.bamboo.build.artifact.BambooArtifactHttpTransport.retrieve(BambooArtifactHttpTransport.java:224)
at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler$1.call(BambooRemoteArtifactHandler.java:77)
at com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler$1.call(BambooRemoteArtifactHandler.java:56)
at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)
…
Caused by: java.time.zone.ZoneRulesException: Unable to load TZDB time-zone rules
at java.time.zone.TzdbZoneRulesProvider.<init>(TzdbZoneRulesProvider.java:116)
at java.time.zone.ZoneRulesProvider$1.run(ZoneRulesProvider.java:157)
at java.security.AccessController.doPrivileged(Native Method)
at java.time.zone.ZoneRulesProvider.<clinit>(ZoneRulesProvider.java:144)
... 51 more
Caused by: java.io.FileNotFoundException: /<JAVA_HOME>/jre/lib/tzdb.dat (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
Diagnosis
Confirm if the file JAVA_HOME/jre/lib/tzdb.dat
exist.
Cause
Missing file in Java installed.
Resolution
Reinstall JDK to get the missing file.
Last modified on Jun 16, 2017
Powered by Confluence and Scroll Viewport.