jenkinsci / jenkinsci/junit-plugin

[JENKINS-56623] Junit test showing twice

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

Description

Still have this issue - Jenkins 2.162.1, JUnit plugin 1.27

Some of the tests appear twice, there is no difference between tests that appear once or twice..

These are not junit tests, but they create a test_results.xml in junit format.

it looks like only the last test in the group appear twice, or those that are "alone"

Pipeline code:

junit "/output/**/test_results.xml"

 

---
Originally reported by liyatikal, imported from: Junit test showing twice


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

Raw content of original issue

Still have this issue - Jenkins 2.162.1, JUnit plugin 1.27

Some of the tests appear twice, there is no difference between tests that appear once or twice..

These are not junit tests, but they create a test_results.xml in junit format.

it looks like only the last test in the group appear twice, or those that are "alone"

Pipeline code:

junit "/output/**/test_results.xml"

 

1 attachment

- [Screen Shot 2019-03-19 at 19.07.53.png](https://issues.jenkins.io/secure/attachment/46519/Screen%20Shot%202019-03-19%20at%2019.07.53.png)
> ![Screen Shot 2019-03-19 at 19.07.53.png](https://issues.jenkins.io/secure/attachment/46519/Screen%20Shot%202019-03-19%20at%2019.07.53.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the Pipeline step `junit "/output/**/test_results.xml"` and a JUnit-format `test_results.xml` containing grouped and standalone tests. Trace how the plugin parses and displays the final or standalone test, then verify that each test appears exactly once.

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
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.