Since we switched to gcc 9 by default, the bluez5 ptests are hanging. It hangs in /TP/SIG/SMG/BV-06-C-SEID-2 with: /TP/SIG/SMG/BV-06-C-SEID-2 init /TP/SIG/SMG/BV-06-C-SEID-2 setup /TP/SIG/SMG/BV-06-C-SEID-2 setup complete /TP/SIG/SMG/BV-06-C-SEID-2 run bluetoothd[819]: ../bluez-5.50/android/avdtp.c:avdtp_ref() 0x56149afe5230: ref=1 bluetoothd[819]: ../bluez-5.50/android/avdtp.c:avdtp_register_sep() SEP 0x56149afe5060 registered: type:1 codec:0 seid:1 bluetoothd[819]: ../bluez-5.50/android/avdtp.c:avdtp_register_sep() SEP 0x56149afe2700 registered: type:1 codec:0 seid:2 bluetoothd[819]: ../bluez-5.50/android/avdtp.c:avdtp_unregister_sep() SEP 0x56149afe5060 unregistered: type:1 codec:0 seid:1 bluetoothd[819]: ../bluez-5.50/android/avdtp.c:avdtp_register_sep() SEP 0x56149afe5060 registered: type:1 codec:0 seid:1 bluetoothd[819]: ../bluez-5.50/android/avdtp.c:session_cb() bluetoothd[819]: ../bluez-5.50/android/avdtp.c:avdtp_ref() 0x56149afe5230: ref=2 bluetoothd[819]: No pending request, ignoring message bluetoothd[819]: ../bluez-5.50/android/avdtp.c:avdtp_unref() 0x56149afe5230: ref=1 Readily reproduces with: root@qemux86-64:/usr/lib/bluez5/ptest# ./unit/test-avdtp With gcc set back to 8.x it works fine.
Report showing the timeout: https://autobuilder.yocto.io/pub/non-release/20190529-5/testresults/testresult-report.txt
https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=0be5246170 most likely. Patch incoming.
Patch on list.
Ross had fixed this and the test is working now. https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults/tree/runtime/poky/qemux86-64/core-image-sato-ptest-fast/ptest-bluez5.log https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e00d88475d0ed7b161f5f58dd13bc9a72e3efdf9