-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
up_squared_adsp:running tests/kernel/workq/work_queue/ failed #28589
Labels
Comments
Could you re-test? I could not reproduce it on master and on the commit you provided. |
Yes, I reproduce issue on this commit. |
dcpleung
added a commit
to dcpleung/zephyr
that referenced
this issue
Sep 23, 2020
The test_triggered_wait_expired test submits the items with 2*SUBMIT_WAIT timeout and waits for the timeout to expire so the items are being worked on. It waits one SUBMIT_WAIT and checks none of the items have started. Then waits another SUBMIT_WAIT to check if they have all finished. However, since the timeout is at 2*SUBMIT_WAIT, the work queue may have just started going through the list of items. This means some items may have started while others have not. This results in the test failing as not all items have finished. So lengthen the second sleep to allow items to finish before checking. Fixes zephyrproject-rtos#28589 Signed-off-by: Daniel Leung <[email protected]>
MaureenHelm
pushed a commit
that referenced
this issue
Oct 5, 2020
The test_triggered_wait_expired test submits the items with 2*SUBMIT_WAIT timeout and waits for the timeout to expire so the items are being worked on. It waits one SUBMIT_WAIT and checks none of the items have started. Then waits another SUBMIT_WAIT to check if they have all finished. However, since the timeout is at 2*SUBMIT_WAIT, the work queue may have just started going through the list of items. This means some items may have started while others have not. This results in the test failing as not all items have finished. So lengthen the second sleep to allow items to finish before checking. Fixes #28589 Signed-off-by: Daniel Leung <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
running test/kernel/workq/work_queue/ error, it showed assertion failed.
To Reproduce
Steps to reproduce the behavior:
sanitycheck -W -p up_squared_adsp --device-testing -T tests/kernel/workq/work_queue/ --west-flash="/home/ztest/work/zephyrproject/zephyr/boards/xtensa/up_squared_adsp/tools/up_squared_adsp_flash.sh, /home/ztest/work/sof/rimage/keys/otc_private_key.pem" --device-serial-pty="/home/ztest/work/ambient/set_ambient /home/ztest/work/zephyrproject/zephyr/boards/xtensa/up_squared_adsp/tools/mbterm.py" -x=CONFIG_IPM=y -x=CONFIG_CONSOLE=y -x=CONFIG_LOG_PRINTK=n
see error
Environment (please complete the following information):
OS: Fedora28
Toolchain: Zephyr-sdk-0.11.3
Commit ID: 2cd556a
The text was updated successfully, but these errors were encountered: