Installed remote agents failing to start due to corrupt files
Symptoms
The remote agents that were working just stop all of a sudden and the following appears in the Bamboo server logs
The following appears in the atlassian-bamboo.log
:
'http://bamboo.mydomain.net:8085/agentServer/classpath.zip?fingerprint=352840780966809798'
Exiting due to fatal exception.
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:234)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:152)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:157)
....
....
1130 [main] FATAL com.atlassian.bamboo.agent.bootstrap.AgentBootstrap - Exiting due to fatal exception.
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:234)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:152)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:157)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:452)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:494)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:222)
at java.io.InputStreamReader.read(InputStreamReader.java:177)
at java.io.BufferedReader.fill(BufferedReader.java:147)
at java.io.BufferedReader.readLine(BufferedReader.java:310)
Cause
This is caused primarily by the fact that the temp files or the classpath files in the agent home are corrupted.
Resolution
Try the following suggestions in steps:
- (Only applicable to Bamboo Server) Restart the Bamboo server
- Restart the remote agent host
- If the above two steps have not fixed the issue, delete the agent home and reinstall the remote agents
- If the issue still persists, investigate for any corrupted files on the Bamboo Server as the Remote Agent will always synchronize its files from the Server
Last modified on Feb 15, 2023
Powered by Confluence and Scroll Viewport.