Skip to content
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

tests: ztest: error_hook: fails on nucleo_g071rb and nucleo_l073rz #35540

Closed
ABOSTM opened this issue May 21, 2021 · 0 comments · Fixed by #35632
Closed

tests: ztest: error_hook: fails on nucleo_g071rb and nucleo_l073rz #35540

ABOSTM opened this issue May 21, 2021 · 0 comments · Fixed by #35632
Assignees
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug

Comments

@ABOSTM
Copy link
Collaborator

ABOSTM commented May 21, 2021

Describe the bug
tests/ztest/error_hook fails on nucleo_g071rb (Cortex-M0+) and nucleo_l073rz (Cortex-M0+)

To Reproduce
Steps to reproduce the behavior:

  1. west build -p auto -b nucleo_l073rz tests/ztest/error_hook
  2. west flash
  3. See error

Expected behavior
Test passed

Logs and console output

START - test_catch_fatal_error                                                                          
case type is 0                                                                                          
E: ***** HARD FAULT *****                                                                               
E: r0/a1:  0x00000000  r1/a2:  0x00000000  r2/a3:  0x00000000                                           
E: r3/a4:  0x200005e8 r12/ip:  0x0800b4cd r14/lr:  0x080009dd                                           
E:  xpsr:  0x41000000                                                                                   
E: Faulting instruction address (r15/pc): 0x080007c8                                                    
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0                                                     
E: Current thread: 0x20000100 (unknown)                                                                 
Caught system error -- reason 0 1                                                                       
Fatal error expected as part of test case.                                                              
case type is 1                                                                                          
E: ***** HARD FAULT *****                                                                               
E: r0/a1:  0x00000000  r1/a2:  0x00000000  r2/a3:  0x00000000                                           
E: r3/a4:  0x20001bd4 r12/ip:  0x0800b4cd r14/lr:  0x0800b433                                           
E:  xpsr:  0x00000000                                                                                   
E: Faulting instruction address (r15/pc): 0x20001bd4                                                    
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0                                                     
E: Current thread: 0x20000100 (unknown)                                                                 
Caught system error -- reason 0 1                                                                       
Fatal error expected as part of test case.                                                              
case type is 2                                                                                          
a is 0                                                                                                  
 FAIL - test_catch_fatal_error in 0.76 seconds  

Environment (please complete the following information):

  • OS: Linux
  • ToolchainZephyr SDK
  • Commit SHA 5f61d89

Additional information:
See comments in zephyrproject-rtos/test_results#334
See #35102

@ABOSTM ABOSTM added bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 area: Tests Issues related to a particular existing or missing test labels May 21, 2021
@galak galak added the priority: low Low impact/importance bug label May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants