-
Bug
-
Resolution: Fixed
-
Minor
-
Tested on Jenkins 2.103, and Jenkins 2.73.3
-
-
(towards) 2.151
Premature EOF is launched when shutdown is requested from CLI but Jenkins instance is properly stoped.
[jenkins@host]~ $ java -jar enkins-cli.jar -s http://127.0.0.1:8080 -auth jenkins:c0044e5a6e3addsaa39401ca7d688d0c7e shutdown Jan 22, 2018 3:38:35 PM hudson.cli.PlainCLIProtocol$EitherSide$Reader run WARNING: null hudson.cli.DiagnosedStreamCorruptionException Read back: Read ahead: Diagnosis problem: java.io.IOException: Premature EOF at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:565) at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:609) at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:696) at java.io.FilterInputStream.read(FilterInputStream.java:133) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3393) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3386) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3374) at org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:58) at hudson.cli.FlightRecorderInputStream$1.run(FlightRecorderInputStream.java:59) at hudson.cli.FlightRecorderInputStream.analyzeCrash(FlightRecorderInputStream.java:82) at hudson.cli.PlainCLIProtocol$EitherSide$Reader.run(PlainCLIProtocol.java:145) Caused by: java.io.IOException: Premature EOF at sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:565) at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:609) at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:696) at java.io.FilterInputStream.read(FilterInputStream.java:133) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3393) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3386) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3374) at org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:58)
- links to