42.beta: test suite is failing
Looks like latest version test suite is failing
+ cd gnome-bluetooth-42.beta
+ dbus-run-session -- xvfb-run -a /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/gnome-bluetooth-42.beta/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/16 test-bluetooth-device-test OK 0.03s
2/16 test-bluetooth-device-utils OK 0.02s
3/16 Tests.test_one_adapter OK 1.03s
4/16 Tests.test_connect OK 1.09s
5/16 Tests.test_pairing OK 1.03s
6/16 Tests.test_connectable_devices OK 1.10s
7/16 Tests.test_one_device OK 1.06s
8/16 Tests.test_set_trusted OK 1.04s
9/16 Tests.test_no_adapters OK 1.13s
10/16 Tests.test_device_notify OK 1.18s
11/16 Tests.test_default_adapter FAIL 1.26s exit status 1
>>> top_builddir=/home/tkloczko/rpmbuild/BUILD/gnome-bluetooth-42.beta/x86_64-redhat-linux-gnu top_srcdir=/home/tkloczko/rpmbuild/BUILD/gnome-bluetooth-42.beta MALLOC_PERTURB_=206 /usr/bin/python3 /home/tkloczko/rpmbuild/BUILD/gnome-bluetooth-42.beta/x86_64-redhat-linux-gnu/../tests/integration-test.py Tests.test_default_adapter
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
stdout:
1645263330.817 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded "/org/bluez/hci0" {"org.bluez.Adapter1": {"UUIDs": ["00001200-0000-1000-8000-00805f9b34fb", "00001800-0000-1000-8000-00805f9b34fb", "00001801-0000-1000-8000-00805f9b34fb", "0000110e-0000-1000-8000-00805f9b34fb", "0000110c-0000-1000-8000-00805f9b34fb"], "Discoverable": False, "Discovering": False, "Pairable": True, "Powered": True, "Address": "00:01:02:03:04:05", "AddressType": "public", "Alias": "hci0", "Modalias": "usb:v1D6Bp0245d050A", "Name": "hci0", "Class": 268, "DiscoverableTimeout": 180, "PairableTimeout": 0}}
1645263330.818 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded "/org/bluez/hci1" {"org.bluez.Adapter1": {"UUIDs": ["00001200-0000-1000-8000-00805f9b34fb", "00001800-0000-1000-8000-00805f9b34fb", "00001801-0000-1000-8000-00805f9b34fb", "0000110e-0000-1000-8000-00805f9b34fb", "0000110c-0000-1000-8000-00805f9b34fb"], "Discoverable": False, "Discovering": False, "Pairable": True, "Powered": True, "Address": "01:02:03:04:05:06", "AddressType": "public", "Alias": "hci1", "Modalias": "usb:v1D6Bp0245d050A", "Name": "hci1", "Class": 268, "DiscoverableTimeout": 180, "PairableTimeout": 0}}
1645263330.819 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded "/org/bluez/hci0/dev_11_22_33_44_55_66" {"org.bluez.Device1": {"UUIDs": [], "Blocked": False, "Connected": False, "LegacyPairing": False, "Paired": False, "Trusted": False, "RSSI": -79, "Adapter": "/org/bluez/hci0", "Address": "11:22:33:44:55:66", "Alias": "Device on hci0", "Name": "Device on hci0"}}
1645263330.821 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded "/org/bluez/hci1/dev_22_33_44_55_66_77" {"org.bluez.Device1": {"UUIDs": [], "Blocked": False, "Connected": False, "LegacyPairing": False, "Paired": False, "Trusted": False, "RSSI": -79, "Adapter": "/org/bluez/hci1", "Address": "22:33:44:55:66:77", "Alias": "Device on hci1", "Name": "Device on hci1"}}
1645263331.225 GetManagedObjects
1645263331.228 Get org.bluez.Adapter1.Discoverable
1645263331.228 GetAll org.bluez.Adapter1
1645263331.228 Get org.bluez.Adapter1.Discoverable
1645263331.228 GetAll org.bluez.Adapter1
1645263331.229 SetDiscoveryFilter {"Discoverable": True}
1645263331.229 StartDiscovery
1645263331.229 emit org.freedesktop.DBus.Properties.PropertiesChanged "org.bluez.Adapter1" {"Discoverable": True, "Discovering": True} []
1645263331.229 Get org.bluez.Adapter1.Discoverable
1645263331.229 GetAll org.bluez.Adapter1
1645263331.230 Get org.bluez.Adapter1.Discoverable
1645263331.230 GetAll org.bluez.Adapter1
1645263331.234 Get org.bluez.Adapter1.Discoverable
1645263331.234 GetAll org.bluez.Adapter1
1645263331.237 Get org.bluez.Adapter1.Discoverable
1645263331.237 GetAll org.bluez.Adapter1
1645263331.249 Get org.bluez.Adapter1.Discoverable
1645263331.249 GetAll org.bluez.Adapter1
1645263331.251 Get org.bluez.Adapter1.Discoverable
1645263331.251 GetAll org.bluez.Adapter1
1645263331.255 Get org.bluez.Adapter1.Discoverable
1645263331.255 GetAll org.bluez.Adapter1
1645263331.293 Get org.bluez.Adapter1.Discoverable
1645263331.293 GetAll org.bluez.Adapter1
1645263331.294 Get org.bluez.Adapter1.Discoverable
1645263331.294 GetAll org.bluez.Adapter1
1645263331.302 Get org.bluez.Adapter1.Discoverable
1645263331.302 GetAll org.bluez.Adapter1
1645263331.317 Get org.bluez.Adapter1.Discoverable
1645263331.317 GetAll org.bluez.Adapter1
1645263331.318 Get org.bluez.Adapter1.Discoverable
1645263331.318 GetAll org.bluez.Adapter1
1645263331.323 Get org.bluez.Adapter1.Discoverable
1645263331.323 GetAll org.bluez.Adapter1
1645263331.329 Get org.bluez.Adapter1.Discoverable
1645263331.329 GetAll org.bluez.Adapter1
1645263331.330 Get org.bluez.Adapter1.Discoverable
1645263331.330 GetAll org.bluez.Adapter1
Running out-of-process test test_default_adapter
stderr:
F
======================================================================
FAIL: test_default_adapter (__main__.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/gnome-bluetooth-42.beta/x86_64-redhat-linux-gnu/../tests/integration-test.py", line 517, in test_default_adapter
self.run_test_process()
File "/home/tkloczko/rpmbuild/BUILD/gnome-bluetooth-42.beta/x86_64-redhat-linux-gnu/../tests/integration-test.py", line 487, in run_test_process
self.assertEqual(out.returncode, 0, "Running test " + test_name + " failed:" + out.stderr.decode('UTF-8') + '\n\n\nSTDOUT:\n' + out.stdout.decode('UTF-8'))
AssertionError: 1 != 0 : Running test test_default_adapter failed:F
======================================================================
FAIL: test_default_adapter (__main__.OopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/gnome-bluetooth-42.beta/x86_64-redhat-linux-gnu/../tests/integration-test.py", line 222, in test_default_adapter
self.assertEqual(hci1_props.Get('org.bluez.Adapter1', 'Discoverable'), True)
AssertionError: dbus.Boolean(False, variant_level=1) != True
----------------------------------------------------------------------
Ran 1 test in 0.116s
FAILED (failures=1)
STDOUT:
(process:3343444): Bluetooth-DEBUG: 09:35:31.218: Successfully created UpClient
(process:3343444): Bluetooth-DEBUG: 09:35:31.219: Could not get UPower devices: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
(process:3343444): Bluetooth-DEBUG: 09:35:31.226: Adding adapters from ObjectManager
(process:3343444): Bluetooth-DEBUG: 09:35:31.226: Inserting adapter :1.2 /org/bluez/hci1 org.bluez.Adapter1
(process:3343444): Bluetooth-DEBUG: 09:35:31.226: Setting '/org/bluez/hci1' as the new default adapter
(process:3343444): Bluetooth-DEBUG: 09:35:31.226: Emptying list store as default adapter changed
(process:3343444): Bluetooth-DEBUG: 09:35:31.226: Coldplugging devices for new default adapter
(process:3343444): Bluetooth-DEBUG: 09:35:31.226: Adding device '22:33:44:55:66:77' on adapter '/org/bluez/hci1' to list store
(process:3343444): Bluetooth-DEBUG: 09:35:31.226: New default adapter so invalidating all the default-adapter* properties
(process:3343444): Bluetooth-DEBUG: 09:35:31.226: Ignoring added non-default adapter :1.2 /org/bluez/hci0 org.bluez.Adapter1
(process:3343444): Bluetooth-DEBUG: 09:35:31.228: Starting discovery on /org/bluez/hci1
(process:3343444): Bluetooth-DEBUG: 09:35:31.229: Property 'discoverable' changed on default adapter '/org/bluez/hci1'
(process:3343444): Bluetooth-DEBUG: 09:35:31.229: Property 'discovering' changed on default adapter '/org/bluez/hci1'
(process:3343444): Bluetooth-DEBUG: 09:35:31.229: Ran StartDiscovery() successfully on /org/bluez/hci1 org.bluez.Adapter1
----------------------------------------------------------------------
Ran 1 test in 0.833s
FAILED (failures=1)
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
12/16 Tests.test_battery OK 1.38s
13/16 Tests.test_default_adapter_powered OK 1.59s
14/16 Tests.test_connected_input_devices OK 1.64s
15/16 Tests.test_agent OK 1.75s
16/16 Tests.test_device_removal OK 1.76s
Summary of Failures:
11/16 Tests.test_default_adapter FAIL 1.26s exit status 1
Ok: 15
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
At the same time:
[tkloczko@devel-g2v SPECS]$ rpm -qal | grep org.freedesktop.UPower
/usr/share/dbus-1/system-services/org.freedesktop.UPower.service
/usr/share/dbus-1/system.d/org.freedesktop.UPower.conf
/usr/share/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
/usr/share/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
/usr/share/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
/usr/share/dbus-1/interfaces/org.freedesktop.UPower.xml