inconsistent test count reported in Jenkins if tests are flaky
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cmake
- Domain
- ci-cd, infrastructure, testing-qa
Research direction
Start with the nightly job configuration that runs ctest --rerun-failed and inspect how Test.xml is passed to Jenkins. Compare the initial and rerun result behavior, then check upstream CMake issue 16314 before deciding whether this repository has an actionable workaround. Done means Jenkins reports a consistent test count without breaking flaky-test reruns.
Written by the indexing model from the issue text.
Description
The nightly jobs reruns failed test with ctest --rerun-failed. But since this run overwrites the generated Test.xml Jenkins will report a different number of test because tests which passed in the initial run are not included in the new result file anymore. I don't think there is much we can do (except parsing the result file before and after and implementing our own merge strategy). I have reported the problem upstream, maybe it gets addressed in CTest directly: https://gitlab.kitware.com/cmake/cmake/issues/16314
- Dominant language
- Python
- Stars
- 55
- Forks
- 40
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 6
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ros2/ci
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Trying windows local docker running on win11May be free again @knmcguire claimed this 283 days ago, and no pull request is open. Open
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
hive size:simple
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
backend enhancement priority:P3
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
geolens-io/geolens#4161 ·
Maintainers usually reply within 1 day