jenkinsci / jenkinsci/plugin-installation-manager-tool
Plugin Installation Manager exits with Code 0 when failing to connect to HTTPS
- Dominant language
- Java
- Stars
- 463
- Forks
- 228
- Avg merge
- 31m
- Merged PRs (30d)
- 15
Description
I am waiting for permission to share the execution log. There was a Jenkins Docker image build during the Kuberbetes cluster update yesterday, a standard community provided 2.303.3 Docker image is used as a base. The PIM execution returned `org.apache.http.NoHttpResponseException` with `https://updates.jenkins.io:443: The target server failed to respond`. Surprisingly, the Docker build continued without any issue then, so I suspect the Plugin Installation Manager tool exited with the `0` return code. Then the instance failed to start because of the missing plugin.
I suspect we have an error propagation bug somewhere in the tool
## Build log
```
00:34:35 ---> Running in f36b5bda783b
00:35:21 [91mNov 25, 2021 11:35:21 PM org.apache.http.impl.execchain.RetryExec execute
00:35:21 INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://updates.jenkins.io:443: The target server failed to respond
00:35:21 [0m[91mNov 25, 2021 11:35:21 PM org.apache.http.impl.execchain.RetryExec execute
00:35:21 INFO: Retrying request to {s}->https://updates.jenkins.io:443
00:35:39 [0mDone
```
Contributor guide
Assessment
This issue has not been assessed yet.