[Bug 1101206] Re: bzr selftest fails with "bzr: ERROR: No module named subunit" when option --parallel=fork is set

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Fri Jan 18 15:00:31 UTC 2013


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

** Changed in: bzr (Ubuntu)
       Status: Invalid => New

** Changed in: bzr (Ubuntu)
       Status: New => Triaged

** Summary changed:

- 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

** Description changed:

- autopkgtest of bzr running in the QA Lab (https://jenkins.qa.ubuntu.com/view/Raring/view/AutoPkgTest/job/raring-adt-bzr/) fails with:
+ 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
+ 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.
  
- 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
+ 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
+  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)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/1101206

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

Status in “bzr” package in Ubuntu:
  Triaged

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/1101206/+subscriptions




More information about the foundations-bugs mailing list