Remote agent fail to download artifact
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Problem
Remote agent fail to download artifact from Bamboo server
The following appears in the remote agent atlassian-bamboo.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.
Solution
Resolution
Reinstall JDK to get the missing file.
Was this helpful?