Installed remote agents failing to start due to corrupt files
症状
The remote agents that were working just stop all of a sudden and the following appears in the Bamboo server logs
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)
原因
This is caused primarily by the fact that the temp files or the classpath files in the agent home are corrupted.
ソリューション
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
最終更新日: 2023 年 2 月 15 日
Powered by Confluence and Scroll Viewport.