Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
tests/cmsis_rtos_v1 - test_mutex_lock_timeout results in Assertion failure on all targets with PR#9569 #9574
The test tests/cmsis_rtos_v1 results in Assertion failure in test_mutex_lock_timeout sub-test case.
The changes are mainly related to mutex ownership test. It validates the below statement:
Arch: any or qemu_x86
Code snippet to reproduce the error:
Error Console Log:
Steps to reproduce:
There's no specific mention in the CMSIS spec which tells what error value should be returned when a thread tries releasing a mutex which was obtained by some other thread. The underlying zephyr implementation does that check anyway which is the assert you are seeing. So, i think there's no point in adding the code snippet that tests this.