[Bug 1025209] Re: dep8 test: missing dependency on python3-mock

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Thu Aug 2 13:16:19 UTC 2012


Latest tests pass. I'm closing this report.

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: Confirmed => Fix Released

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

Title:
  dep8 test: missing dependency on python3-mock

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Fix Released

Bug description:
  Auto package test of ubuntu-release-upgrader [1] fails with

  ======================================================================
  ERROR: Failure: ImportError (No module named mock)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/nose/failure.py", line 37, in runTest
      raise self.exc_class(self.exc_val).with_traceback(self.tb)
    File "/usr/lib/python3/dist-packages/nose/loader.py", line 390, in loadTestsFromName
      addr.filename, addr.module)
    File "/usr/lib/python3/dist-packages/nose/importer.py", line 39, in importFromPath
      return self.importFromDir(dir_path, fqname)
    File "/usr/lib/python3/dist-packages/nose/importer.py", line 86, in importFromDir
      mod = load_module(part_fqname, fh, filename, desc)
    File "/tmp/tmp.NAchWQsOrG/dsc0-build/ubuntu-release-upgrader-0.170ubuntu1/tests/test_end_of_life.py", line 5, in <module>
      import mock
  ImportError: No module named mock

  python3-mock should be part of the package or test dependencies

  [1] https://jenkins.qa.ubuntu.com/view/Quantal/view/AutoPkg%20Test/job
  /quantal-adt-ubuntu-release-
  upgrader/ARCH=amd64,label=albali/10/artifact/results/

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ubuntu-release-upgrader-core 1:0.170ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-4.4-generic 3.5.0-rc6
  Uname: Linux 3.5.0-4-generic x86_64
  ApportVersion: 2.3-0ubuntu4
  Architecture: amd64
  Date: Mon Jul 16 12:25:37 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64+mac (20120328)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1025209/+subscriptions




More information about the foundations-bugs mailing list