-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Description
Describe the bug
Run twister failed on some fatal related testcase.
To Reproduce
Steps to reproduce the behavior:
- twister -T tests/kernel/fatal/exception/ or twister -T tests/ztest/error_hook/
- See error
Expected behavior
The test passes
Impact
Not clear
Logs and console output
Renaming output directory to /home/yingming/zephyrproject/zephyr/twister-out.14
INFO - Zephyr version: zephyr-v2.4.0-3716-g2712d74cdcbf
INFO - JOBS: 8
INFO - Selecting default platforms per test case
INFO - Building initial testcase list...
INFO - 2 test suites (48 configurations) selected, 10 configurations discarded due to filters.
INFO - Adding tasks to the queue...
INFO - Added initial list of jobs to queue
ERROR - Cmake build failure: /home/yingming/zephyrproject/zephyr/tests/ztest/error_hook for qemu_cortex_m0
ERROR - qemu_cortex_m0 tests/ztest/error_hook/testing.ztest.error_hook.no_userspace FAILED: Cmake build failure
ERROR - see: /home/yingming/zephyrproject/zephyr/twister-out/qemu_cortex_m0/tests/ztest/error_hook/testing.ztest.error_hook.no_userspace/build.log
INFO - Total complete: 10/ 38 26% skipped: 17, failed: 1
ERROR - qemu_nios2 tests/ztest/error_hook/testing.ztest.error_hook.no_userspace FAILED: Exited with 2
ERROR - see: /home/yingming/zephyrproject/zephyr/twister-out/qemu_nios2/tests/ztest/error_hook/testing.ztest.error_hook.no_userspace/handler.log
INFO - Total complete: 27/ 38 71% skipped: 21, failed: 2ERROR - Cmake build failure: /home/yingming/zephyrproject/zephyr/tests/ztest/error_hook for qemu_cortex_m0
ERROR - qemu_cortex_m0 tests/ztest/error_hook/testing.ztest.error_hook FAILED: Cmake build failure
ERROR - see: /home/yingming/zephyrproject/zephyr/twister-out/qemu_cortex_m0/tests/ztest/error_hook/testing.ztest.error_hook/build.log
INFO - Total complete: 38/ 38 100% skipped: 26, failed: 3
INFO - 19 of 22 test configurations passed (86.36%), 3 failed, 26 skipped with 0 warnings in 37.74 seconds
INFO - In total 88 test cases were executed, 104 skipped on 24 out of total 329 platforms (7.29%)
INFO - 16 test configurations executed on platforms, 6 test configurations were only built.
INFO - Saving reports...
INFO - Writing xunit report /home/yingming/zephyrproject/zephyr/twister-out/twister.xml...
INFO - Writing xunit report /home/yingming/zephyrproject/zephyr/twister-out/twister_report.xml...
INFO - Run completed
Environment (please complete the following information):
- OS: ubuntu1~18.04
- Toolchain zephyr-sdk-0.11.3
- Commit id zephyr-v2.4.0-3716-g2712d74cdcbf
Additional context
vim /home/yingming/zephyrproject/zephyr/twister-out/qemu_cortex_m0/tests/ztest/error_hook/testing.ztest.error_hook.no_userspace/build.log
see below:
warning: HAS_NRFX (defined at modules/hal_nordic/nrfx/Kconfig:4) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
- SOC_SERIES_NRF51X (defined at soc/arm/nordic_nrf/nrf51/Kconfig.series:7), with value y, direct dependencies (value: y), and select condition (value: y)
warning: NRFX_CLOCK (defined at modules/hal_nordic/nrfx/Kconfig:14) has direct dependencies HAS_HW_NRF_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
- CLOCK_CONTROL_NRF (defined at drivers/clock_control/Kconfig.nrf:13), with value y, direct dependencies SOC_COMPATIBLE_NRF && !CLOCK_CONTROL_NRF_FORCE_ALT && CLOCK_CONTROL (value: y), and select condition SOC_COMPATIBLE_NRF && !CLOCK_CONTROL_NRF_FORCE_ALT && CLOCK_CONTROL (value: y)
Parsing /home/yingming/zephyrproject/zephyr/Kconfig
Loaded configuration '/home/yingming/zephyrproject/zephyr/boards/arm/qemu_cortex_m0/qemu_cortex_m0_defconfig'
Merged configuration 'prj_no_userspace.conf'