[Bug 1021732] [NEW] dep8 test: missing dependency on python3-mock

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Fri Jul 6 14:05:16 UTC 2012


Public bug reported:

Auto package test of update-manager [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.cDYH0evFjz/dsc0-build/update-manager-0.165/tests/test_cache.py", line 8, in <module>
    from mock 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-update-manager/4/ARCH=amd64,label=albali/

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: update-manager 1:0.165
ProcVersionSignature: Ubuntu 3.5.0-2.2-generic 3.5.0-rc4
Uname: Linux 3.5.0-2-generic x86_64
ApportVersion: 2.2.5-0ubuntu2
Architecture: amd64
Date: Fri Jul  6 16:01:16 2012
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to quantal on 2012-01-31 (156 days ago)

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal rls-q-incoming running-unity uec-images

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

Title:
  dep8 test: missing dependency on python3-mock

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  Auto package test of update-manager [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.cDYH0evFjz/dsc0-build/update-manager-0.165/tests/test_cache.py", line 8, in <module>
      from mock 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-update-manager/4/ARCH=amd64,label=albali/

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: update-manager 1:0.165
  ProcVersionSignature: Ubuntu 3.5.0-2.2-generic 3.5.0-rc4
  Uname: Linux 3.5.0-2-generic x86_64
  ApportVersion: 2.2.5-0ubuntu2
  Architecture: amd64
  Date: Fri Jul  6 16:01:16 2012
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to quantal on 2012-01-31 (156 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1021732/+subscriptions




More information about the foundations-bugs mailing list