can't run selftest for 2.2 with recent subunit/testtools

Bug #839461 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Unassigned
2.2
Invalid
Medium
Unassigned

Bug Description

While freezing bzr-2.2.5 from a natty machine with python-2.7.1+,
lp:testtools revno 244 and lp:subunit revno 151 I wasn't able to
run 'make check-dist-tarball'.

I had to revert to testtools-0.9.2 and subunit 0.0.6 and use
python2.6 to successfully run:

  BZR_PLUGIN_PATH=-site make check-dist-tarball PYTHON=python2.6 | subunit2pyunit

Also, I've checked the versions used on pqm:

(pqm-amd64-new)pqm@cupuasso:~/pqm-workdir/bzr+ssh/new-pqm-test$ dpkg -l | grep subunit
ii libsubunit-perl 0.0.6-1~bazaar1.0.IS.10.04 perl parser and diff for Subunit streams
ii python-subunit 0.0.6-1~bazaar1.0.IS.10.04 unit testing protocol - Python bindings to g
ii subunit 0.0.6-1~bazaar1.0.IS.10.04 command line tools for processing Subunit st
(pqm-amd64-new)pqm@cupuasso:~/pqm-workdir/bzr+ssh/new-pqm-test$ dpkg -l | grep testtools
ii python-testtools 0.9.6-0~bazaar1.0.IS.8.04 Extensions to the Python unittest library

Revision history for this message
Vincent Ladeuil (vila) wrote :

Targeting bzr itself for now.

The main risk here is that pqm upgrades subunit/testtools making landings on lp:bzr/2.0, lp:bzr/2.1 and lp:bzr/2.2 problematic.

We can either require that pqm is not upgraded (but for how long) , ask subunit and testtools maintainers to address the compatibility issue or fix 2.0, 2.1 and 2.2 to be compatible with more recent versions of subunit/testtools.

Or there may be an easier way :)

Changed in bzr:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Vincent Ladeuil (vila) wrote :

<mthaddon> vila: but we're already on 0.9.6 on pqm, so it seems like we'd already be in trouble there

Bumping to critical until this is properly diagnosed

Changed in bzr:
importance: High → Critical
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 839461] Re: can't run selftest for 2.2 with recent subunit/testtools

what actually fails?

Revision history for this message
Martin Packman (gz) wrote :

Have retested and with testtools 0.9.8 and bzr 2.2.6dev everything seems okay. With testtools trunk there are a few known issues, for which we could back port the fixes to older bzr series from trunk.

Revision history for this message
Vincent Ladeuil (vila) wrote :

Not critical for trunk anymore.

I'm targeting 2.2 instead as a reminder that pqm uses 0.9.8 and that the RM may still need to use 0.9.8 locally to avoid false positives.

@mgz: thanks for your input and patches around this issue !

Changed in bzr:
importance: Critical → Medium
status: Confirmed → Fix Released
Revision history for this message
Vincent Ladeuil (vila) wrote :

@mgz: handing over to the new RM ;) Not sure it's still worth keeping 'In Progress' (instead of WontFix) but affecting you I'm sure it won't be totally forgotten.

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.