yerabolu / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
0 stars 0 forks source link

tests-ci : edac: ibecc: injection test failed #3

Open yerabolu opened 3 years ago

yerabolu commented 3 years ago

Describe the bug injection test is failed on zephyr-v2.6.0-1858-ga9779bb2dcd3 on ehl_crb

see logs for details

To Reproduce 1.

scripts/twister --device-testing --device-serial /dev/ttyACM0 -p ehl_crb  --sub-test edac.ibecc
  1. See error

Expected behavior test pass

Impact

Logs and console output

[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H
Press [Enter]  to directly boot.
Press [F2]     to enter setup and select boot options.
Press [F7]     to show boot menu options.
Press [F12]    to PXE boot.
Press [Pause]  to pause and <any key> to continue booting.
**  WARNING: Test Key is used.  **
>>Start PXE over IPv4.
Station IP address is 192.165.1.99
Server IP address is 192.165.1.1
NBP filename is zephyr.efi
NBP filesize is 2205871 Bytes
Downloading NBP file...
NBP file downloaded successfully.
*** Zephyr EFI Loader ***
Zeroing 4841472 bytes of memory at 0x10d000
Copying 32768 data bytes to 0x1000 from image offset 
Copying 53248 data bytes to 0x100000 from image offset 32768
Copying 2113536 data bytes to 0x5ab000 from image offset 86016
Jumping to Entry Point: 0x112b (48 31 c0 48 31 d2 48)
*** Booting Zephyr OS build zephyr-v2.6.0-1858-ga9779bb2dcd3  ***
Running test suite ibecc
===================================================================
START - test_ibecc_initialized
Test ibecc driver is initialized
PASS - test_ibecc_initialized in 0.4 seconds
===================================================================
START - test_ibecc_api
PASS - test_ibecc_api in 0.1 seconds
===================================================================
START - test_edac_dummy_api
PASS - test_edac_dummy_api in 0.1 seconds
===================================================================
START - test_ibecc_error_inject_api
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/edac/ibecc/src/ibecc.c:102: test_ibecc_error_inject_api: (val not equal to TEST_ADDRESS1)
Read back value differs
FAIL - test_ibecc_error_inject_api in 0.17 seconds
===================================================================
START - test_ibecc_error_inject_test_cor
Mapped 0x1000 to 0x3ffe6000
Read value 0x3ffe6000: 0x90909090
Wrote value 0xface at 0x3ffe6000
Read value 0x3ffe6000: 0xface
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/edac/ibecc/src/ibecc.c:186: test_inject: (num_int equal to 0)
Interrupt handler did not execute
FAIL - test_ibecc_error_inject_test_cor in 0.128 seconds
===================================================================
START - test_ibecc_error_inject_test_uc
Mapped 0x2000 to 0x3ffe5000
Read value 0x3ffe5000: 0x1812e1
Wrote value 0xface at 0x3ffe5000
Read value 0x3ffe5000: 0xface
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/edac/ibecc/src/ibecc.c:186: test_inject: (num_int equal to 0)
Interrupt handler did not execute
FAIL - test_ibecc_error_inject_test_uc in 0.128 seconds
===================================================================
Test suite ibecc failed.
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

yerabolu commented 3 years ago

Also fails on ehl_crb for zephyr-v2.6.0-1858-ga9779bb2dcd3