Comment 0 for bug 1101206

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : bzr selftest fails with "bzr: ERROR: No module named subunit" when option--parallel=fork is set

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 bzr selftest is called with the option parallel=fork

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

The tests are running on a minimal raring server VM. The host of the VM is Precise Server amd64. This is 100% reproducible in the QA Lab either with autopkgtest or manually with the command "bzr selftest -v --parallel=fork" but does not occur on on my local machine with the same testing environment.

To reproduce the testing environment:
1. $ bzr branch lp:auto-package-testing
2. $ cd auto-package-testing/bin
3. $ ./prepare-testbed amd64
4. $ ./run-adt-test bzr

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)