[Bug 1015400] [NEW] update depends to python3-mock in autopkgtest control file

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Wed Jun 20 05:24:34 UTC 2012


Public bug reported:

Automated test
https://jenkins.qa.ubuntu.com/view/Quantal/view/AutoPkg%20Test/job
/quantal-adt-ubiquity/37/

autopkgtest fails with
Traceback (most recent call last):
  File "/tmp/tmp.zNrmcfNahV/dsc0-build/ubiquity-2.11.5/debian/tests/../../tests/run", line 138, in <module>
    suite = unittest.TestLoader().loadTestsFromNames(tests)
  File "/usr/lib/python3.2/unittest/loader.py", line 132, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.2/unittest/loader.py", line 132, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.2/unittest/loader.py", line 91, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "/tmp/tmp.zNrmcfNahV/dsc0-build/ubiquity-2.11.5/tests/test_filteredcommand.py", line 6, in <module>
    import mock
ImportError: No module named mock

The test explicitly calls python3, in debian/tests/control "Depends"
should be updated to use python3-mock instead of python-mock

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 3.4.0-5.11-generic 3.4.0
Uname: Linux 3.4.0-5-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.2.3-0ubuntu4
Architecture: amd64
Date: Wed Jun 20 07:19:59 2012
InstallCmdLine: file=/cdrom/preseed/ubuntu.seed vga=788 initrd=/install/initrd.gz quiet --  console-setup/layoutcode=fr console-setup/variantcode=oss
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: Upgraded to quantal on 2012-01-31 (140 days ago)

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubiquity (Ubuntu Quantal)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug qa-daily-testing quantal running-unity uec-images

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

Title:
  update depends to python3-mock in autopkgtest control file

Status in “ubiquity” package in Ubuntu:
  New
Status in “ubiquity” source package in Quantal:
  New

Bug description:
  Automated test
  https://jenkins.qa.ubuntu.com/view/Quantal/view/AutoPkg%20Test/job
  /quantal-adt-ubiquity/37/

  autopkgtest fails with
  Traceback (most recent call last):
    File "/tmp/tmp.zNrmcfNahV/dsc0-build/ubiquity-2.11.5/debian/tests/../../tests/run", line 138, in <module>
      suite = unittest.TestLoader().loadTestsFromNames(tests)
    File "/usr/lib/python3.2/unittest/loader.py", line 132, in loadTestsFromNames
      suites = [self.loadTestsFromName(name, module) for name in names]
    File "/usr/lib/python3.2/unittest/loader.py", line 132, in <listcomp>
      suites = [self.loadTestsFromName(name, module) for name in names]
    File "/usr/lib/python3.2/unittest/loader.py", line 91, in loadTestsFromName
      module = __import__('.'.join(parts_copy))
    File "/tmp/tmp.zNrmcfNahV/dsc0-build/ubiquity-2.11.5/tests/test_filteredcommand.py", line 6, in <module>
      import mock
  ImportError: No module named mock

  The test explicitly calls python3, in debian/tests/control "Depends"
  should be updated to use python3-mock instead of python-mock

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.4.0-5.11-generic 3.4.0
  Uname: Linux 3.4.0-5-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.2.3-0ubuntu4
  Architecture: amd64
  Date: Wed Jun 20 07:19:59 2012
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed vga=788 initrd=/install/initrd.gz quiet --  console-setup/layoutcode=fr console-setup/variantcode=oss
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: Upgraded to quantal on 2012-01-31 (140 days ago)

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




More information about the foundations-bugs mailing list