Skip to content

Conversation

@Thalley
Copy link
Contributor

@Thalley Thalley commented Jan 3, 2025

Add TX and RX verification for the audio configuration tests. This requires modifying some of the underlying structures used in those tests, as well as initializating and triggering TX, and with verification of RX as well.

These tests were implemented to ensure that the streams are not just established, but can send ISO data without issues.

@Thalley
Copy link
Contributor Author

Thalley commented Jan 6, 2025

The following issues have been raised for the failing tests:
#83584
#83585
#83586
#84303

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit is disabling quite many tests. Do you have an associated bug report you can link from here and the commit message?

@aescolar
Copy link
Member

aescolar commented Jan 6, 2025

@Thalley (i'm quite out of the loop here, so sorry for what is probably a silly question but) given that this PR is only modifying tests and needs to disable quite many, is it better to wait until the issues you pointed at are resolved?

@Thalley
Copy link
Contributor Author

Thalley commented Jan 6, 2025

@Thalley (i'm quite out of the loop here, so sorry for what is probably a silly question but) given that this PR is only modifying tests and needs to disable quite many, is it better to wait until the issues you pointed at are resolved?

Maybe.

The problem is that we see more and more controlled-related issues that is starting to block host development. So we can either block host development and wait for someone to fix the controller issues, or we undo some of the tests so that host development can continue and the whomever will work on the controller can more easily work on and fix the reported errors.

The CAP and GMAP AC tests are sort of special types of test in the sense that they are technically application/host tests, but whether the test passes or fails is exclusively up to the controller and/or the use of the controller.

So arguably these tests test the controller more than the host, but is blocking some host development. #81093 is one such case where some host changes triggers some controller issues.

I do not know what the correct way is, but blocking host PRs for months due to the currently low activity in the controller isn't great. @cvinayak may also have an opinion here :)

@Thalley
Copy link
Contributor Author

Thalley commented Jan 13, 2025

Rebased to solve merge conflicts

@Thalley
Copy link
Contributor Author

Thalley commented Jan 20, 2025

Rebased to solve merge conflicts

Copy link
Member

@aescolar aescolar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+0
I'm ok with disabling tests which trigger issues in the controller (though I'd be happier if there was a link in each disabled test to the github issue),
For the audio changes somebody who is closer should review there.

@Thalley
Copy link
Contributor Author

Thalley commented Jan 21, 2025

though I'd be happier if there was a link in each disabled test to the github issue),

I'll add that :) Thanks

@cvinayak
Copy link
Contributor

The audio configurations and the implemented test use overlapping connection or periodic intervals with the ISO events; large no. of subevents make the ISO event lengths large enough to overlap the other roles. (Zephyr Controller does not implement yield and resume of sub-events, experimental implementation here: #75760)

These tests are passing on the main branch on a specific timing in the tests timeline, and as the timings are being changed in this PR leading to different simulated devices interacting at differing time in the timeline, the tests are susceptible to overlapping events.

MIC failures, bugs in framed SDUs and assertions have GH issues already created. These test being disabled in this PR is ok.

@Thalley
Copy link
Contributor Author

Thalley commented Jan 21, 2025

though I'd be happier if there was a link in each disabled test to the github issue),

I'll add that :) Thanks

Added references and additional GH issue for the issues found :)

Add TX and RX verification for the audio configuration tests.
This requires modifying some of the underlying structures
used in those tests, as well as initializating and triggering
TX, and with verification of RX as well.

These tests were implemented to ensure that the streams are not
just established, but can send ISO data without issues.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Copy link
Contributor

@cvinayak cvinayak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quick-ack

@kartben kartben merged commit 1148b9a into zephyrproject-rtos:main Mar 13, 2025
23 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in Bluetooth LE Audio Mar 13, 2025
@Thalley Thalley deleted the cap_bsim_tx branch March 13, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants