hakehuang / zephyr

Primary GIT Repository for the Zephyr Project
http://zephyrproject.org/doc
Apache License 2.0
0 stars 0 forks source link

tests-ci :kernel.threads.apis.thread_name_user_get_set : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout #108

Open hakehuang opened 3 years ago

hakehuang commented 3 years ago

Describe the bug kernel.threads.apis.thread_name_user_get_set test is Timeout on zephyr-v2.6.0-286-g46029914a7ac on lpcxpresso55s28

see logs for details

To Reproduce

  1. scripts/twister --device-testing --device-serial /dev/ttyACM0 -p lpcxpresso55s28 --testcase-root tests --sub-test kernel.threads
  2. See error

Expected behavior test pass

Impact

Logs and console output

*** Booting Zephyr OS build zephyr-v2.6.0-286-g46029914a7ac  ***
Running test suite threads_lifecycle
===================================================================
START - test_thread_runtime_stats_get
PASS - test_thread_runtime_stats_get in 0.1 seconds
===================================================================
START - test_k_thread_stack_space_get_user
PASS - test_k_thread_stack_space_get_user in 0.1 seconds
===================================================================
START - test_threads_spawn_params
PASS - test_threads_spawn_params in 0.101 seconds
===================================================================
START - test_threads_spawn_priority
PASS - test_threads_spawn_priority in 0.101 seconds
===================================================================
START - test_threads_spawn_delay
PASS - test_threads_spawn_delay in 0.201 seconds
===================================================================
START - test_threads_spawn_forever
PASS - test_threads_spawn_forever in 0.1 seconds
===================================================================
START - test_thread_start_user
PASS - test_thread_start_user in 0.101 seconds
===================================================================
START - test_thread_start
PASS - test_thread_start in 0.1 seconds
===================================================================
START - test_threads_suspend_resume_cooperative
PASS - test_threads_suspend_resume_cooperative in 0.201 seconds
===================================================================
START - test_threads_suspend_resume_preemptible
PASS - test_threads_suspend_resume_preemptible in 0.201 seconds
===================================================================
START - test_threads_priority_set
PASS - test_threads_priority_set in 0.1 seconds
===================================================================
START - test_threads_abort_self
PASS - test_threads_abort_self in 0.101 seconds
===================================================================
START - test_threads_abort_others
PASS - test_threads_abort_others in 1.152 seconds
===================================================================
START - test_threads_abort_repeat
PASS - test_threads_abort_repeat in 0.201 seconds
===================================================================
START - test_delayed_thread_abort
PASS - test_delayed_thread_abort in 0.51 seconds
===================================================================
START - test_essential_thread_operation
PASS - test_essential_thread_operation in 0.1 seconds
===================================================================
START - test_essential_thread_abort
PASS - test_essential_thread_abort in 0.1 seconds
===================================================================
START - test_systhreads_main
PASS - test_systhreads_main in 0.1 seconds
===================================================================
START - test_systhreads_idle
PASS - test_systhreads_idle in 0.101 seconds
===================================================================
START - test_customdata_get_set_coop
PASS - test_customdata_get_set_coop in 0.501 seconds
===================================================================
START - test_customdata_get_set_preempt
PASS - test_customdata_get_set_preempt in 0.501 seconds
===================================================================
START - test_k_thread_foreach
TEST: Newly added thread found
TEST: tid: 0x30000720, prio: 0
PASS - test_k_thread_foreach in 0.7 seconds
===================================================================
START - test_k_thread_foreach_unlocked
TEST_UNLOCKED: Newly added thread found
TEST_UNLOCKED: tid: 0x30000720, prio: 0
TEST_UNLOCKED: Newly added thread in callback found
TEST_UNLOCKED: tid: 0x30000ac0, prio: 0
TEST_UNLOCKED: Newly added thread found
TEST_UNLOCKED: tid: 0x30000720, prio: 0
PASS - test_k_thread_foreach_unlocked in 0.24 seconds
===================================================================
START - test_k_thread_foreach_null_cb
ASSERTION FAIL [user_cb != ((void *)0)] @ WEST_TOPDIR/zephyr/kernel/thread.c:55
user_cb can not be NULL
E: r0/a1:  0x00000004  r1/a2:  0x00000037  r2/a3:  0x80000000
E: r3/a4:  0x00000000 r12/ip:  0xa0000000 r14/lr:  0x10007a1b
E:  xpsr:  0x61000000
E: Faulting instruction address (r15/pc): 0x1000e7ea
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x30000c90 (test_k_thread_foreach_null_cb)
PASS - test_k_thread_foreach_null_cb in 0.37 seconds
===================================================================
START - test_k_thread_foreach_unlocked_null_cb
ASSERTION FAIL [user_cb != ((void *)0)] @ WEST_TOPDIR/zephyr/kernel/thread.c:83
user_cb can not be NULL
E: r0/a1:  0x00000004  r1/a2:  0x00000053  r2/a3:  0x80000000
E: r3/a4:  0x00000000 r12/ip:  0xa0000000 r14/lr:  0x10007ae5
E:  xpsr:  0x61000000
E: Faulting instruction address (r15/pc): 0x1000e7ea
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x30000c90 (test_k_thread_foreach_unlocked_)
PASS - test_k_thread_foreach_unlocked_null_cb in 0.38 seconds
===================================================================
START - test_k_thread_state_str
PASS - test_k_thread_state_str in 0.1 seconds
===================================================================
START - test_thread_name_get_set
PASS - test_thread_name_get_set in 0.1 seconds
===================================================================
START - test_thread_name_user_get_set
ASSERTION FAIL [esf != ((void *)0)] @ WEST_TOPDIR/zephyr/arch/arm/core/aarch32/cortex_m/fault.c:993
ESF could not be retrieved successfully. Shall never occur.
ASSERTION FAIL [esf != ((void *)0)] @ WEST_TOPDIR/zephyr/arch/arm/core/aarch32/cortex_m/fault.c:993
ESF could not be retrieved successfully. Shall never occur.

Environment (please complete the following information):

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.user_mode : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.threads_cpu_mask : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.threads_suspend_timeout : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.resume_unsuspend_thread : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.threads_suspend : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.thread_join : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.thread_join_isr : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.thread_join_deadlock : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.abort_from_isr : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.abort_from_isr_not_self : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.thread_timeout_remaining_expires : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.k_busy_wait : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout

hakehuang commented 3 years ago

tests-ci :kernel.threads.apis.k_busy_wait_user : zephyr-v2.6.0-286-g46029914a7ac: lpcxpresso55s28: test Timeout