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

[bisected] 5a850a5d06e1 is breaking some tests on ARM64 #48469

Closed
carlocaione opened this issue Jul 29, 2022 · 1 comment · Fixed by #48489
Closed

[bisected] 5a850a5d06e1 is breaking some tests on ARM64 #48469

carlocaione opened this issue Jul 29, 2022 · 1 comment · Fixed by #48489
Assignees
Labels
area: Testsuite Testsuite bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@carlocaione
Copy link
Collaborator

Reproduced on main:

$ west build -b qemu_cortex_a53  tests/kernel/sched/schedule_api --pristine

$ west build -t run                                                        
-- west build: running target run
[0/1] To exit from QEMU enter: 'CTRL+a, x'[QEMU] CPU: cortex-a53
*** Booting Zephyr OS build zephyr-v3.1.0-2767-gdf3d4d27a4b6  ***
Running TESTSUITE threads_scheduling
===================================================================
E: ELR_ELn: 0x0000000040001938
E: ESR_ELn: 0x000000003a000000
E:   EC:  0xe (Illegal Execution state)
E:   IL:  0x1
E:   ISS: 0x0
E: TPIDRRO: 0x0100000040037818
E: x0:  0x0000000000000040  x1:  0x0000000040034280
E: x2:  0x0000000000000000  x3:  0x0000000040014514
E: x4:  0x000000004009be10  x5:  0x000000004000c310
E: x6:  0x0000000040034280  x7:  0x0000000040087ff0
E: x8:  0x000000004009be40  x9:  0x00000000400137c0
E: x10: 0x0000000040037a68  x11: 0x0000000040097ff0
E: x12: 0x0000000000000040  x13: 0x0000000040032300
E: x14: 0x0000000000000000  x15: 0x0000000040014514
E: x16: 0x000000004009be70  x17: 0x000000004000c310
E: x18: 0x0000000040032300  lr:  0x0000000040097ff0
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x40036c80 (test_slice_scheduling)
Caught system error -- reason 0 0
Fatal error was unexpected, aborting...

Bisected to:

5a850a5d06e150cbd1188416b141ceb58d6bd690 is the first bad commit
commit 5a850a5d06e150cbd1188416b141ceb58d6bd690                                                                                                                                                                      
Author: Ming Shao <ming.shao@intel.com>                                                                   
Date:   Thu Jul 21 17:04:57 2022 +0800                                                                                                                                                                               
                                                                                                          
    ztest: Add config switch for modes of test output                                                     
                                                                                                          
    Support verbose or one-line summary at test suite level.                                              
    Support verbose or no output at test function level.                                                                                                                                                             
     
    Totally 4 combinations configurable:
    - function verbose + suite verbose
    - function verbose + suite oneline
    - no function output + suite verbose
    - no function output + suite oneline
     
    Signed-off-by: Ming Shao <ming.shao@intel.com>

 subsys/testsuite/include/zephyr/tc_util.h | 46 ++++++++++++++++++++++++++-----
 subsys/testsuite/ztest/Kconfig            | 14 ++++++++++
 2 files changed, 53 insertions(+), 7 deletions(-)
@carlocaione carlocaione added the bug The issue is a bug, or the PR is fixing a bug label Jul 29, 2022
@carlocaione carlocaione added the priority: medium Medium impact/importance bug label Jul 29, 2022
@nashif nashif added the area: Testsuite Testsuite label Jul 29, 2022
@stephanosio
Copy link
Member

really helps to actually link the commit: 5a850a5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Testsuite Testsuite bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants