test runner permits duplicate test ids

Bug #682771 reported by Robert Collins on 2010-11-29
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
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) on 2010-11-29
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Medium
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.

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) on 2011-05-16
tags: removed: qa-untestable
Graham Binns (gmb) on 2012-06-14
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Graham Binns (gmb)
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) on 2012-06-19
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers