jenkinsci / jenkinsci/junit-plugin
[JENKINS-21347] Jenkins failes with "Incorrect XML attributes for test results"
- Dominant language
- Java
- Stars
- 87
- Forks
- 351
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 2
Description
Upgraded from 1.526 to 1.544 (no 1.546 due to JENKINS-21250).
I'm using the current maven-surefire-plugin. The tests passed but recording the tests failed with:
[INFO] xxxx ......................................... SUCCESS [19.130s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes
[INFO] Finished at: Mon Jan 13 10:24:58 CET 2014
[INFO] Final Memory: 120M/495M
[INFO] ------------------------------------------------------------------------
Recording test results
Incorrect XML attributes for test results found in **/target/surefire-reports/*.xml
Build step 'Publish JUnit test result report' changed build result to FAILURE
---
Originally reported by jmk, imported from: Jenkins failes with "Incorrect XML attributes for test results"
Raw content of original issue
Upgraded from 1.526 to 1.544 (no 1.546 due to
JENKINS-21250).
I'm using the current maven-surefire-plugin. The tests passed but recording the tests failed with:[INFO] xxxx ......................................... SUCCESS [19.130s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes
[INFO] Finished at: Mon Jan 13 10:24:58 CET 2014
[INFO] Final Memory: 120M/495M
[INFO] ------------------------------------------------------------------------
Recording test results
Incorrect XML attributes for test results found in **/target/surefire-reports/*.xml
Build step 'Publish JUnit test result report' changed build result to FAILURE
Contributor guide
Research direction
Start by reproducing the failure while recording target/surefire-reports/*.xml through the “Publish JUnit test result report” build step. Inspect how the junit-plugin validates the report XML and determine which attributes trigger the error; done means valid Maven Surefire results are recorded without changing the build to FAILURE.
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
- 35/100