autopkgtest failed with "No module named subunit" - missing test dependency on python-subunit

Bug #1101206 reported by Jean-Baptiste Lallement on 2013-01-18
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr (Ubuntu)
Undecided
Martin Pitt

Bug Description

autopkgtest of bzr running in the QA Lab (https://jenkins.qa.ubuntu.com/view/Raring/view/AutoPkgTest/job/raring-adt-bzr/) fails with
"""
bzr: ERROR: No module named subunit
You may need to install this Python library separately.
"""

when when running on multicore systems and bzr selftest is called with the option parallel=fork

selftest runs fine without this option and subunit tests are correctly skipped.

There is either a missing test dependency on python-subunit in debian/tests/control or --parallel=fork should be removed to run the test on machines where local_concurrency is > 1

Log of autopkgtest attached.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: bzr 2.6.0~bzr6571-1ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-0.4-generic 3.8.0-rc3
Uname: Linux 3.8.0-0-generic x86_64
ApportVersion: 2.8-0ubuntu2
Architecture: amd64
Date: Fri Jan 18 14:46:48 2013
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: bzr
UpgradeStatus: Upgraded to raring on 2012-01-31 (352 days ago)

Related branches

Jean-Baptiste Lallement (jibel) wrote :
summary: bzr selftest fails with "bzr: ERROR: No module named subunit" when
- option--parallel=fork is set
+ option --parallel=fork is set

--parallel=fork *requires* subunit because it uses a subunit feature to collect the test results.

Changed in bzr (Ubuntu):
status: New → Invalid
Changed in bzr (Ubuntu):
status: Invalid → New
status: New → Triaged
summary: - bzr selftest fails with "bzr: ERROR: No module named subunit" when
- option --parallel=fork is set
+ autopkgtest failed with "No module named subunit" - missing test
+ dependency on python-subunit
Jean-Baptiste Lallement (jibel) wrote :

Reopened and set to triaged following discussion with vila on IRC during which we came to the conclusion in comment #2

description: updated
Martin Pitt (pitti) wrote :

I uploaded a package with that test dependency.

Changed in bzr (Ubuntu):
status: Triaged → Fix Committed
assignee: nobody → Martin Pitt (pitti)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzr - 2.6.0~bzr6571-1ubuntu2

---------------
bzr (2.6.0~bzr6571-1ubuntu2) raring; urgency=low

  * Add python-subunit test dependency. (LP: #1101206)
 -- Martin Pitt <email address hidden> Fri, 18 Jan 2013 17:56:00 +0100

Changed in bzr (Ubuntu):
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