-
Bug
-
Resolution: Fixed
-
Minor
-
None
The problem is in this line of code:
If two test reports have the same timestamp field, one of them is ignored. However, those timestamp fields are only accurate to the second. We parallelize our test runs and so occasionally two different files will have the same timestamp for a given job.
Our workaround is to add a unique number to the timestamp field.
- causes
-
JENKINS-63490 Release 1.30 all test results are duplicated
-
- Open
-
- is duplicated by
-
JENKINS-18696 Not all test results are being reported
-
- Closed
-
- is related to
-
JENKINS-52057 xUnit test result trend has random statistics when parse multiple results files
-
- Closed
-
One thing to consider while is perhaps a log message about the file being ignored and why, since it took our team quite a bit of debugging to figure out this being the root cause.
We got hit really badly by this since we ran it in parallel with msbuild where each project generated a xunit file and around half of the projects shared the timestamp with others.