adoptium / adoptium/infrastructure

jenkins log: `java.lang.IllegalStateException: completed or broken execution`

Open
#3,496 0 comments 0 reactions 0 assignees View on GitHub
Jenkins
Dominant language
Python
Stars
96
Forks
106
Avg merge
1d 16h
Merged PRs (30d)
12

Description

Quite a few of these showing up in the log and they're generating quite long exception traces. While these are the ones from today's log, it is not exclusive to jdk17u jobs, or individual build jobs.

```
$ grep -B1 'completed or broken execution' jenkins.log
2024-04-01 23:54:14.087+0000 [id=104] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[687:build]:Owner[build-scripts/jobs/jdk/jdk-mac-aarch64-temurin/317:build-scripts/jobs/jdk/jdk-mac-aarch64-temurin #317]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 03:54:14.206+0000 [id=103] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[700:build]:Owner[build-scripts/jobs/jdk/jdk-windows-x64-temurin/326:build-scripts/jobs/jdk/jdk-windows-x64-temurin #326]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 10:54:14.241+0000 [id=102] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[680:build]:Owner[build-scripts/jobs/evaluation/jobs/jdk/jdk-evaluation-windows-aarch64-temurin/50:build-scripts/jobs/evaluation/jobs/jdk/jdk-evaluation-windows-aarch64-temurin #50]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:13.198+0000 [id=102] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[281:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-linux-aarch64-temurin/477:build-scripts/jobs/jdk17u/jdk17u-linux-aarch64-temurin #477]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:13.242+0000 [id=103] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[277:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-linux-arm-temurin/321:build-scripts/jobs/jdk17u/jdk17u-linux-arm-temurin #321]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:13.315+0000 [id=101] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[275:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-linux-aarch64-temurin/477:build-scripts/jobs/jdk17u/jdk17u-linux-aarch64-temurin #477]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:13.330+0000 [id=70] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[270:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-linux-arm-temurin/321:build-scripts/jobs/jdk17u/jdk17u-linux-arm-temurin #321]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:13.331+0000 [id=100] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[281:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-alpine-linux-x64-temurin/395:build-scripts/jobs/jdk17u/jdk17u-alpine-linux-x64-temurin #395]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:13.390+0000 [id=99] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[275:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-alpine-linux-x64-temurin/395:build-scripts/jobs/jdk17u/jdk17u-alpine-linux-x64-temurin #395]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:15.316+0000 [id=100] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[187:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-alpine-linux-x64-temurin/395:build-scripts/jobs/jdk17u/jdk17u-alpine-linux-x64-temurin #395]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:15.423+0000 [id=70] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[187:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-linux-aarch64-temurin/477:build-scripts/jobs/jdk17u/jdk17u-linux-aarch64-temurin #477]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:15.490+0000 [id=41] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[182:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-linux-arm-temurin/321:build-scripts/jobs/jdk17u/jdk17u-linux-arm-temurin #321]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:15.624+0000 [id=104] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[187:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-linux-ppc64le-temurin/409:build-scripts/jobs/jdk17u/jdk17u-linux-ppc64le-temurin #409]
java.lang.IllegalStateException: completed or broken execution
--
2024-04-02 11:54:15.651+0000 [id=101] WARNING o.j.p.w.cps.CpsStepContext$2#onFailure: Failed to proceed after CpsStepContext[189:build]:Owner[build-scripts/jobs/jdk17u/jdk17u-linux-x64-temurin/550:build-scripts/jobs/jdk17u/jdk17u-linux-x64-temurin #550]
java.lang.IllegalStateException: completed or broken execution
sxa@jenkins-hetzner-ubuntu2004:/var/log/jenkins$
```

Contributor guide

Open the contributing guide

Research direction

Start with the Jenkins log excerpt and compare the repeated CpsStepContext failures across the listed JDK and evaluation jobs. Investigate why executions are reported as completed or broken and determine what change would prevent or appropriately handle these repeated warning traces; done means the cause and resolution are verified across the affected job types.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ci-cd, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.