jenkinsci / jenkinsci/junit-plugin
[JENKINS-44700] Publishing junit report fails with 'Could not initialize class jenkins.model.Jenkins'
- Dominant language
- Java
- Stars
- 87
- Forks
- 351
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 2
Description
Junit failing randomly on some build slave nodes with:
00:02:29.418 Recording test results*00:02:29.421* ERROR: Step ‘Publish JUnit test result report’ aborted due to exception: 00:02:29.421 java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins
---
Originally reported by
piratejohnny, imported from: Publishing junit report fails with 'Could not initialize class jenkins.model.Jenkins'
Raw content of original issue
Junit failing randomly on some build slave nodes with:
00:02:29.418 Recording test results*00:02:29.421* ERROR: Step ‘Publish JUnit test result report’ aborted due to exception: 00:02:29.421 java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins
- environment:
jenkins 2.46.3
Contributor guide
Research direction
No repository file, test, or entry point is named. Start by reproducing the failure in the JUnit report publishing step on the reported Jenkins 2.46.3 build-slave environment, then trace the NoClassDefFoundError. Done means the cause is identified and publishing succeeds reliably on affected nodes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100