[Pkg-ayatana-devel] Bug#896494: FTBFS: test-suite failures

Michael Biebl biebl at debian.org
Sat Apr 21 19:01:11 BST 2018


Source: libqtdbusmock
Version: 0.7+bzr49+repack1-2
Severity: serious

Hi,

libqtdbusmock fails to pass its test-suite, resulting in a FTBFS:
https://buildd.debian.org/status/package.php?p=libqtdbusmock

/usr/bin/ctest --force-new-ctest-process -j4
Test project /<<BUILDDIR>>/libqtdbusmock-0.7+bzr49+repack1/obj-x86_64-linux-gnu
    Start 1: unit-tests
1/1 Test #1: unit-tests .......................***Failed   60.84 sec
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from TestDBusMock
[ RUN      ] TestDBusMock.StartsDBusMockSession
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/dbusmock/__main__.py", line 81, in <module>
    bus = dbusmock.testcase.DBusTestCase.get_dbus(args.system)
  File "/usr/lib/python3/dist-packages/dbusmock/testcase.py", line 151, in get_dbus
    return dbus.bus.BusConnection(os.environ['DBUS_SESSION_BUS_ADDRESS'])
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.BadAddress: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
unknown file: Failure
C++ exception with description "Process [python3] for service [test.name] failed to appear on bus" thrown in the test body.
[  FAILED  ] TestDBusMock.StartsDBusMockSession (14810 ms)
[ RUN      ] TestDBusMock.StartsDBusMockSystem
[       OK ] TestDBusMock.StartsDBusMockSystem (222 ms)
[ RUN      ] TestDBusMock.StartsDBusMockWithNM
1524175942.996 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded "/org/freedesktop/NetworkManager" {"org.freedesktop.NetworkManager": {"ActiveConnections": [], "Devices": [], "NetworkingEnabled": True, "Connectivity": 4, "State": 70, "Startup": False, "Version": "0.9.6.0", "WimaxEnabled": True, "WimaxHardwareEnabled": True, "WirelessEnabled": True, "WirelessHardwareEnabled": True, "WwanEnabled": False, "WwanHardwareEnabled": True}}
1524175942.997 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded "/org/freedesktop/NetworkManager/Settings" {"org.freedesktop.NetworkManager.Settings": {"Hostname": "hostname", "CanModify": True, "Connections": []}}
1524175943.011 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded "/org/freedesktop/NetworkManager/Devices/device" {"org.freedesktop.NetworkManager.Device.Wireless": {"HwAddress": "11:22:33:44:55:66", "PermHwAddress": "11:22:33:44:55:66", "Bitrate": 5400, "Mode": 2, "WirelessCapabilities": 255, "AccessPoints": []}, "org.freedesktop.NetworkManager.Device": {"ActiveConnection": "/", "AvailableConnections": [], "AutoConnect": False, "Managed": True, "Driver": "dbusmock", "DeviceType": 2, "State": 20, "Interface": "eth1", "IpInterface": "eth1"}}
1524175943.011 Get org.freedesktop.NetworkManager.Devices
1524175943.011 GetAll org.freedesktop.NetworkManager
1524175943.011 Set org.freedesktop.NetworkManager.Devices ["/org/freedesktop/NetworkManager/Devices/device"]
1524175943.011 emit org.freedesktop.DBus.Properties.PropertiesChanged "org.freedesktop.NetworkManager" {"Devices": ["/org/freedesktop/NetworkManager/Devices/device"]} []
1524175943.012 emit org.freedesktop.NetworkManager.DeviceAdded "/org/freedesktop/NetworkManager/Devices/device"
1524175943.019 GetDevices
[       OK ] TestDBusMock.StartsDBusMockWithNM (209 ms)
[ RUN      ] TestDBusMock.StartsDBusMockTemplateParameters
1524175943.218 Get org.freedesktop.UPower.DaemonVersion
1524175943.218 GetAll org.freedesktop.UPower
1524175943.219 Get org.freedesktop.UPower.OnBattery
1524175943.219 GetAll org.freedesktop.UPower
[       OK ] TestDBusMock.StartsDBusMockTemplateParameters (197 ms)
[ RUN      ] TestDBusMock.StartsDBusMockWithTemplate
1524175943.402 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded "/org/freedesktop/NetworkManager" {"org.freedesktop.NetworkManager": {"ActiveConnections": [], "Devices": [], "NetworkingEnabled": True, "Connectivity": 4, "State": 70, "Startup": False, "Version": "0.9.6.0", "WimaxEnabled": True, "WimaxHardwareEnabled": True, "WirelessEnabled": True, "WirelessHardwareEnabled": True, "WwanEnabled": False, "WwanHardwareEnabled": True}}
1524175943.403 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded "/org/freedesktop/NetworkManager/Settings" {"org.freedesktop.NetworkManager.Settings": {"Hostname": "hostname", "CanModify": True, "Connections": []}}
1524175943.411 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded "/org/freedesktop/NetworkManager/Devices/device" {"org.freedesktop.NetworkManager.Device.Wireless": {"HwAddress": "11:22:33:44:55:66", "PermHwAddress": "11:22:33:44:55:66", "Bitrate": 5400, "Mode": 2, "WirelessCapabilities": 255, "AccessPoints": []}, "org.freedesktop.NetworkManager.Device": {"ActiveConnection": "/", "AvailableConnections": [], "AutoConnect": False, "Managed": True, "Driver": "dbusmock", "DeviceType": 2, "State": 20, "Interface": "eth1", "IpInterface": "eth1"}}
1524175943.411 Get org.freedesktop.NetworkManager.Devices
1524175943.411 GetAll org.freedesktop.NetworkManager
1524175943.411 Set org.freedesktop.NetworkManager.Devices ["/org/freedesktop/NetworkManager/Devices/device"]
1524175943.411 emit org.freedesktop.DBus.Properties.PropertiesChanged "org.freedesktop.NetworkManager" {"Devices": ["/org/freedesktop/NetworkManager/Devices/device"]} []
1524175943.412 emit org.freedesktop.NetworkManager.DeviceAdded "/org/freedesktop/NetworkManager/Devices/device"
1524175943.422 GetDevices
[       OK ] TestDBusMock.StartsDBusMockWithTemplate (205 ms)
[ RUN      ] TestDBusMock.GetMethodCalls
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/dbusmock/__main__.py", line 81, in <module>
    bus = dbusmock.testcase.DBusTestCase.get_dbus(args.system)
  File "/usr/lib/python3/dist-packages/dbusmock/testcase.py", line 151, in get_dbus
    return dbus.bus.BusConnection(os.environ['DBUS_SESSION_BUS_ADDRESS'])
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.BadAddress: '=' character not found or has no value following it
unknown file: Failure
C++ exception with description "Process [python3] for service [test.name] failed to appear on bus" thrown in the test body.
[  FAILED  ] TestDBusMock.GetMethodCalls (15176 ms)
[ RUN      ] TestDBusMock.GetAllMethodCalls
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/dbusmock/__main__.py", line 81, in <module>
    bus = dbusmock.testcase.DBusTestCase.get_dbus(args.system)
  File "/usr/lib/python3/dist-packages/dbusmock/testcase.py", line 151, in get_dbus
    return dbus.bus.BusConnection(os.environ['DBUS_SESSION_BUS_ADDRESS'])
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.BadAddress: '=' character not found or has no value following it
unknown file: Failure
C++ exception with description "Process [python3] for service [test.name] failed to appear on bus" thrown in the test body.
[  FAILED  ] TestDBusMock.GetAllMethodCalls (15005 ms)
[ RUN      ] TestDBusMock.AddMethods
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/dbusmock/__main__.py", line 81, in <module>
    bus = dbusmock.testcase.DBusTestCase.get_dbus(args.system)
  File "/usr/lib/python3/dist-packages/dbusmock/testcase.py", line 151, in get_dbus
    return dbus.bus.BusConnection(os.environ['DBUS_SESSION_BUS_ADDRESS'])
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.BadAddress: '=' character not found or has no value following it
unknown file: Failure
C++ exception with description "Process [python3] for service [test.name] failed to appear on bus" thrown in the test body.
[  FAILED  ] TestDBusMock.AddMethods (15001 ms)
[----------] 8 tests from TestDBusMock (60825 ms total)

[----------] Global test environment tear-down
[==========] 8 tests from 1 test case ran. (60825 ms total)
[  PASSED  ] 4 tests.
[  FAILED  ] 4 tests, listed below:
[  FAILED  ] TestDBusMock.StartsDBusMockSession
[  FAILED  ] TestDBusMock.GetMethodCalls
[  FAILED  ] TestDBusMock.GetAllMethodCalls
[  FAILED  ] TestDBusMock.AddMethods

 4 FAILED TESTS




-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-ayatana-devel mailing list