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.sultan.com.my: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
Last modified on Nov 2, 2018
Powered by Confluence and Scroll Viewport.