[JIRA] (JENKINS-61766) JUnit report misses test cases from duplicate testsuites

2 views
Skip to first unread message

bublitz.kai@gmail.com (JIRA)

unread,
Apr 1, 2020, 6:48:03 AM4/1/20
to jenkinsc...@googlegroups.com
Kai Bublitz created an issue
 
Jenkins / Bug JENKINS-61766
JUnit report misses test cases from duplicate testsuites
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: JUnit Report.png, test_1.xml, test_2.xml
Components: junit-plugin
Created: 2020-04-01 10:47
Environment: Jenkins ver. 2.204.6
JUnit Plugin (junit): 1.28
OS: Ubuntu Linux 18.04
Labels: junit junit-plugin
Priority: Major Major
Reporter: Kai Bublitz

When the same testsuite appears in multiple files with the same timestamp, only the first testsuite is evaluated, any testcases in following files are silently ignored.

 

I attached two test report XML files with typical output of our build runs, yet simplified as much as possible. As you can see, both files contain a different test case of the same testsuite "TestFoo". If the test execution is very fast it can happen that both the testsuites have the same timestamp, in which case every testcase but the first is not included in the report, as you can see on the attached screenshot.

 

The expected behaviour is, that all the testcases are included in the report and the stage fails if any of the testcases failed.

 

I consider this a major bug as it allows failed tests to be ignored and in the consequence broken software can be reported as "successfull" when it isn't.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages