test runner permits duplicate test ids

Bug #682771 reported by Robert Collins
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Graham Binns

Bug Description

There was a testr bug recently, and in analysing it I noticed this:
"$subunit-ls < .testrepository/0 | grep distribution_txt
distribution_txt
distribution_txt
"

Unpacking that - a launchpad test run is repeating the same test id. This makes it impossible to rerun just the one test (the other same-id test will also rerun), and it means that we can't correctly index failing tests to rerun them.

I think it would be useful for the test runner to check that the test ids are unique and (initially warn, then once all are fixed, error).

Related branches

Gary Poster (gary)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Robert Collins (lifeless) wrote :

I've unlinked the related branch because its only slightly related to the bug. The bug was that our test runner permits duplicates with no warning at all that this has happened.

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :

Fixed in stable r12734 (http://bazaar.launchpad.net/~launchpad-pqm/launchpad/stable/revision/12734) by a commit, but not testable.

Changed in launchpad:
assignee: nobody → Gavin Panella (allenap)
milestone: none → 11.04
tags: added: qa-untestable
Changed in launchpad:
status: Triaged → Fix Committed
Changed in launchpad:
status: Fix Committed → Triaged
assignee: Gavin Panella (allenap) → nobody
milestone: 11.04 → none
importance: Medium → Low
William Grant (wgrant)
tags: removed: qa-untestable
Graham Binns (gmb)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Graham Binns (gmb)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :

Fixed in stable r15421 (http://bazaar.launchpad.net/~launchpad-pqm/launchpad/stable/revision/15421) by a commit, but not testable.

tags: added: qa-untestable
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.