Closed teburd closed 1 month ago
@dcpleung @nashif filing this so I can track my findings easier
Some notes...
I had also tried bisecting but the change it pointed at didn't make any sense.
I believe there's potentially a race here somewhere, specific to xtensa, hunting it down will be tricky. To not block CI I'd propose we disable qemu_xtensa_dc233c while I'm debugging or apply a work-around provided by #78008
Should be fixed with #78008 if not please reopen
Was not fixed with #78008 sadly, opened #78254
Closed with #78254, though its worth noting this isn't fixing the TLB exception, merely disabling the test
@teburd https://github.com/zephyrproject-rtos/zephyr/actions/runs/10831180196/job/30055880758
INFO - /__w/zephyr/zephyr/twister-out/qemu_xtensa_dc233c_mmu/tests/subsys/rtio/rtio_api/rtio.api.userspace.submit_sem/handler.log
INFO - 3030 test scenarios (1199 test instances) selected, 320 configurations skipped (0 by static filter, 320 at runtime).
INFO - 877 of 1199 test configurations passed (99.77%), 2 failed, 0 errored, 320 skipped with 0 warnings in 3191.33 seconds
INFO - In total 8543 test cases were executed, 2659 skipped on 835 out of total 835 platforms (100.00%)
INFO - 830 test configurations executed on platforms, 49 test configurations were only built.
INFO - Saving reports...
INFO - Writing JSON report /__w/zephyr/zephyr/twister-out/twister.json
INFO - Writing xunit report /__w/zephyr/zephyr/twister-out/twister.xml...
INFO - Writing xunit report /__w/zephyr/zephyr/twister-out/twister_report.xml...
INFO - -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
INFO - The following issues were found (showing the top 10 items):
INFO - 1) tests/subsys/rtio/rtio_api/rtio.api.userspace on qemu_xtensa/dc233c/mmu failed (unexpected eof)
INFO - 2) tests/subsys/rtio/rtio_api/rtio.api.userspace.submit_sem on qemu_xtensa/dc233c/mmu failed (unexpected eof)
INFO -
INFO - To rerun the tests, call twister using the following commandline:
INFO - west twister -p <PLATFORM> -s <TEST ID>, for example:
INFO -
INFO - west twister -p qemu_xtensa/dc233c/mmu -s tests/subsys/rtio/rtio_api/rtio.api.userspace.submit_sem
INFO - or with west:
INFO - west build -p -b qemu_xtensa/dc233c/mmu tests/subsys/rtio/rtio_api -T rtio.api.userspace.submit_sem
INFO - -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
INFO - Run completed
looks like the platform isn't really excluded?
shouldn't it be qemu_xtensa_dc233c_mmu
instead of qemu_xtensa_dc233c
?
shouldn't it be
qemu_xtensa_dc233c_mmu
instead ofqemu_xtensa_dc233c
?
I can’t tell anymore since the board v2 naming thing, I don’t know
Describe the bug A hardware TLB exception occurs when calling k_sem_take in the blocking completion consume call.
To Reproduce west build -p -b qemu_xtensa/dc233c/mmu tests/subsys/rtio/rtio_api -t run
Expected behavior Passing tests
Impact CI failure on unrelated PRs Failing main CI
Additional context Disabling the consume semaphore solves the issue (-DCONFIG_RTIO_CONSUME_SEM=n)