jenkinsci / jenkinsci/junit-plugin
[JENKINS-31673] Broken reporting of exception
- Dominant language
- Java
- Stars
- 87
- Forks
- 351
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 2
Description
In hudson.tasks.junit.TestResult#parse (line 297), a DocumentException is caught and reported as a failing test.
Unfortunately, the failing test yields a broken "Test Report" page. Selecting the '+' symbol expands the error, but results in a 404 not found, so the details of the stack-trace are unavailable.
This effect is visible at this example.
Cheers,
Paul.
---
Originally reported by paulmillar, imported from: Broken reporting of exception
Raw content of original issue
In hudson.tasks.junit.TestResult#parse (line 297), a DocumentException is caught and reported as a failing test.
Unfortunately, the failing test yields a broken "Test Report" page. Selecting the '+' symbol expands the error, but results in a 404 not found, so the details of the stack-trace are unavailable.
This effect is visible at this example.
Cheers,
Paul.
- environment:
Jenkins ver. 1.638
Contributor guide
Research direction
Start at hudson.tasks.junit.TestResult#parse, where DocumentException is reported as a failing test, and reproduce the broken Test Report behavior using the linked example. The work is done when expanding the reported failure no longer returns a 404 and the exception stack trace is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100