jenkinsci / jenkinsci/junit-plugin

[JENKINS-52633] TestReport URL randomly changes

Open
#1,111 0 comments 0 reactions 0 assignees View on GitHub
component:junit-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
87
Forks
351
Avg merge
1d 19h
Merged PRs (30d)
2

Description

TestReport URL randomly changes if there are multiple test results for tests with the same name.

How to reproduce:

1) create a job that imports 2 or more test results of the same test. The best results you will have if one of this test result failed and other were successful.

I'm using MSTest plugin and I'm importing *.trx files.

2) Import these test results and go see the output from failed test.

3) Refresh this url few times. You could notice that Jenkins from time to time change the output of test from the one that failed to the one that were successful and vice versa.

Please check attached video

---
Originally reported by zuljinsbk, imported from: TestReport URL randomly changes


  • status: Open
  • priority: Minor
  • component(s): junit-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-11-26

Raw content of original issue

TestReport URL randomly changes if there are multiple test results for tests with the same name.
How to reproduce:
1) create a job that imports 2 or more test results of the same test. The best results you will have if one of this test result failed and other were successful.
I'm using MSTest plugin and I'm importing *.trx files.
2) Import these test results and go see the output from failed test.
3) Refresh this url few times. You could notice that Jenkins from time to time change the output of test from the one that failed to the one that were successful and vice versa.

Please check attached video

environment

```
Jenkins 2.131

MSTest plugin 0.23

JUnit Plugin 1.24
```

1 attachment

- [testreport_issue.mov](https://issues.jenkins.io/secure/attachment/43425/testreport_issue.mov)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.