Open Thalley opened 4 months ago
It can be mentioned, for the proposed steps to reproduce, #73361 needs to be applied first.
@Thalley any update on this one? Any fix coming?
It's assigned to @sjanc, so let's see if they have any updates on this (I'm not aware of any)
Downgrading to Low because there are other qualification issues not tracked on GitHub right now.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
Describe the bug In tests like
BAP/BSRC/SCC/BV-34-C
PTS requests us to reconfigure the broadcast source. This is currently done by calling 1) btp_bap_broadcast_adv_stop 2) btp_bap_broadcast_source_stop 3) btp_bap_broadcast_source_setupThe issue is that bttester assume that the broadcast source goes into the
BT_BAP_EP_STATE_QOS_CONFIGURED
state immediately after callingbtp_bap_broadcast_source_stop
, and thus it callsbtp_bap_broadcast_source_setup
as soon as possible. In reality, the broadcast source does not enter theBT_BAP_EP_STATE_QOS_CONFIGURED
state until theHCI_LE_Terminate_BIG_Complete
event has been received by the controller.This makes this, and other similar tests, subject to timing and may fail on other controllers than the Zephyr one.
To Reproduce Steps to reproduce the behavior:
BAP/BSRC/SCC/BV-34-C
test with AutoPTS with the Soft Device controllerExpected behavior When
btp_bap_broadcast_source_stop
is called, it should wait for theHCI_LE_Terminate_BIG_Complete
event, which triggers the ISO disconnected function which triggers thebtp_bap_broadcast:stream_stopped
function. We should not attempt to callbtp_bap_broadcast_source_setup
before that has been called.This can be solved either in the bttester itself, or in the python scripts that instruct the bttester (by adding a disconnected event similar to
btp_send_bis_syced_ev
).Impact Prevents several tests from passing on non-Zephyr controllers.
Logs and console output See attached files BAP_BSRC_SCC_BV-34-C_2024_05_27_16_14_30.log autopts-iutctl-zephyr.log BAP_BSRC_SCC_BV-34-C_iutctl.log
Environment (please complete the following information):
Additional context N/A