On Wed Jul 9 20:48:44 2025 +0000, Alexandre Julliard wrote:
The tests fail here:
cfgmgr32.c:667: Test failed: test_cases[0]: device L"\\\\?\\winebth#device#_org_bluez_hci0&d5b1dc5305c7#{781aee18-7733-4ce4-add0-91f41c67b592}": exp_props[1]: SetupDiOpenDeviceInterfaceW failed: 3758096933 cfgmgr32.c:667: Test failed: test_cases[0]: device L"\\\\?\\winebth#device#_org_bluez_hci0&d5b1dc5305c7#{781aee18-7733-4ce4-add0-91f41c67b592}": exp_props[1]: SetupDiGetDeviceInterfacePropertyW failed: 87 cfgmgr32.c:667: Test failed: test_cases[0]: device L"\\\\?\\winebth#device#_org_bluez_hci0&d5b1dc5305c7#{781aee18-7733-4ce4-add0-91f41c67b592}": exp_props[1]: got size 0 cfgmgr32.c:667: Test failed: test_cases[0]: device L"\\\\?\\winebth#device#_org_bluez_hci0&d5b1dc5305c7#{781aee18-7733-4ce4-add0-91f41c67b592}": exp_props[1]: got type 0 cfgmgr32.c:667: Test failed: test_cases[0]: device L"\\\\?\\winebth#device#_org_bluez_hci0&d5b1dc5305c7#{781aee18-7733-4ce4-add0-91f41c67b592}": exp_props[0]: SetupDiOpenDeviceInterfaceW failed: 3758096933 cfgmgr32.c:667: Test failed: test_cases[0]: device L"\\\\?\\winebth#device#_org_bluez_hci0&d5b1dc5305c7#{781aee18-7733-4ce4-add0-91f41c67b592}": exp_props[0]: SetupDiGetDeviceInterfacePropertyW failed: 87 cfgmgr32.c:667: Test failed: test_cases[0]: device L"\\\\?\\winebth#device#_org_bluez_hci0&d5b1dc5305c7#{781aee18-7733-4ce4-add0-91f41c67b592}": exp_props[0]: got size 0 cfgmgr32.c:667: Test failed: test_cases[0]: device L"\\\\?\\winebth#device#_org_bluez_hci0&d5b1dc5305c7#{781aee18-7733-4ce4-add0-91f41c67b592}": exp_props[0]: got type 0 ...
Is this occurring repeatedly? The `{781aee18-7733-4ce4-add0-91f41c67b592}` interface is `GUID_BLUETOOTHLE_DEVICE_INTERFACE` from !8174 which hasn't been merged. `3758096933` is `ERROR_NO_SUCH_DEVICE_INTERFACE`, so this likely happened because a Bluetooth device was initially discovered during enumeration by `DevGetObjects`, but disappeared soon afterwards. Is Bluetooth discovery turned on this system?
I could add a check to `test_dev_object_iface_props` to skip the current device if `SetupDiOpenDeviceInterfaceW` fails with `ERROR_NO_SUCH_DEVICE_INTERFACE`, but it's also fair to assume that device interfaces wouldn't exist only for a few seconds...