-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins-1.609.3 & 2.198
Junit-plugin 1.9 & 1.28
gtest to run test & produce xml results
-
-
junit-1.30
If a test case name is present in several packages, and a test is failed in one of the packages, the age of the failure always will be '1'.
Moreover the ext email plugin will send a mail at every run if the regression trigger is configured.
See this simple example of test results:
<testsuites name="AllTests"><testsuite name="foo"><testcase name="ThisTestNameIsDuplicated" classname="package2.test"><failure message="FAILED"/></testcase></testsuite></testsuites>
<testsuites name="AllTests2"><testsuite name="foo"><testcase name="ThisTestNameIsDuplicated" classname="package1.test"/></testsuite></testsuites>
These two test cases :
- package1.test.ThisTestNameIsDuplicated
- package2.test.ThisTestNameIsDuplicated
are displayed properly in Jenkins,
but the age of failure of package2.test.ThisTestNameIsDuplicated will always be 1
after several run of the "tests".
It seems that the classname is not taken into account when computing the age.
- is duplicated by
-
JENKINS-56755 JUnit test report: Age and failedSince are wrong if test method names are not unique
-
- Resolved
-
- is related to
-
JENKINS-26136 Claim for failed test disappears when a new build finishes
-
- Closed
-
[JENKINS-30413] Failed test age is incorrect if same test name exist in different package
Workflow | Original: JNJira [ 165519 ] | New: JNJira + In-Review [ 182009 ] |
Attachment | New: tests_regression_presend_check_groovy.template [ 38780 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | New: Krip [ krissap ] |
Link |
New:
This issue is related to |
Environment |
Original:
Jenkins-1.609.3 Junit-plugin 1.9 gtest to run test & produce xml results |
New:
Jenkins-1.609.3 & 2.198 Junit-plugin 1.9 & 1.28 gtest to run test & produce xml results |
Link |
New:
This issue is duplicated by |
Released As | New: junit-1.30 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |