[Bug 1696480] [NEW] python3-dbusmock / test_no_adapters test fails with bluez 5.45

Jean-Baptiste Lallement jean-baptiste.lallement at ubuntu.com
Wed Jun 7 16:05:15 UTC 2017


Public bug reported:

https://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#bluez
http://autopkgtest.ubuntu.com/packages/p/python-dbusmock/artful/amd64

With bluez 5.45 python3-dbusmock tests fail with:

======================================================================
FAIL: test_no_adapters (__main__.TestBlueZ5)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_bluez5.py", line 107, in test_no_adapters
    self.assertEqual([l for l in out if 'Waiting to connect' not in l], [])
AssertionError: Lists differ: ['org.freedesktop.DBus.Mock.MethodCalled', 'registered', 'unregistered'] != []

First list contains 3 additional elements.
First extra element 0:
'org.freedesktop.DBus.Mock.MethodCalled'

- ['org.freedesktop.DBus.Mock.MethodCalled', 'registered', 'unregistered']
+ []

----------------------------------------------------------------------

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: bluez 5.45-0ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
Uname: Linux 4.10.0-22-generic x86_64
ApportVersion: 2.20.5-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Jun  7 18:01:13 2017
InstallationDate: Installed on 2013-09-03 (1372 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
InterestingModules: bnep bluetooth
MachineType: ASUSTeK COMPUTER INC. UX32VD
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-22-generic.efi.signed root=UUID=1004226d-a9db-46c7-bd28-eca0806c12f2 ro pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 init=/lib/systemd/systemd-bootchart
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/29/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX32VD.214
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX32VD
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX32VD.214:bd01/29/2013:svnASUSTeKCOMPUTERINC.:pnUX32VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX32VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: UX32VD
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
hciconfig:

rfkill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
upstart.bluetooth.override: manual

** Affects: bluez (Ubuntu)
     Importance: Undecided
     Assignee: Daniel van Vugt (vanvugt)
         Status: New


** Tags: amd64 apport-bug artful package-from-proposed

** Changed in: bluez (Ubuntu)
     Assignee: (unassigned) => Daniel van Vugt (vanvugt)

** Description changed:

  https://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#bluez
  http://autopkgtest.ubuntu.com/packages/p/python-dbusmock/artful/amd64
  
  With bluez 5.45 python3-dbusmock tests fail with:
  
  ======================================================================
  FAIL: test_no_adapters (__main__.TestBlueZ5)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
-   File "./test_bluez5.py", line 107, in test_no_adapters
-     self.assertEqual([l for l in out if 'Waiting to connect' not in l], [])
+   File "./test_bluez5.py", line 107, in test_no_adapters
+     self.assertEqual([l for l in out if 'Waiting to connect' not in l], [])
  AssertionError: Lists differ: ['org.freedesktop.DBus.Mock.MethodCalled', 'registered', 'unregistered'] != []
  
  First list contains 3 additional elements.
  First extra element 0:
  'org.freedesktop.DBus.Mock.MethodCalled'
  
  - ['org.freedesktop.DBus.Mock.MethodCalled', 'registered', 'unregistered']
  + []
+ 
+ ----------------------------------------------------------------------
  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: bluez 5.45-0ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
  Uname: Linux 4.10.0-22-generic x86_64
  ApportVersion: 2.20.5-0ubuntu4
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Wed Jun  7 18:01:13 2017
  InstallationDate: Installed on 2013-09-03 (1372 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  InterestingModules: bnep bluetooth
  MachineType: ASUSTeK COMPUTER INC. UX32VD
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-22-generic.efi.signed root=UUID=1004226d-a9db-46c7-bd28-eca0806c12f2 ro pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 init=/lib/systemd/systemd-bootchart
  SourcePackage: bluez
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/29/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: UX32VD.214
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: UX32VD
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX32VD.214:bd01/29/2013:svnASUSTeKCOMPUTERINC.:pnUX32VD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX32VD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: UX32VD
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.
  hciconfig:
-  
+ 
  rfkill:
-  0: phy0: Wireless LAN
-  	Soft blocked: no
-  	Hard blocked: no
+  0: phy0: Wireless LAN
+   Soft blocked: no
+   Hard blocked: no
  upstart.bluetooth.override: manual

-- 
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1696480

Title:
  python3-dbusmock / test_no_adapters test fails with bluez 5.45

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



More information about the Ubuntu-bluetooth mailing list