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

sanitycheck: crashes after test execution summary report are not caught #9646

Closed
nashif opened this issue Aug 26, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@nashif
Copy link
Member

commented Aug 26, 2018

For example, running tests/net/websocket on qemu_x86:

PROJECT EXECUTION SUCCESSFUL
***** CPU Page Fault (error code 0x00000000)
Supervisor thread read address 0x00000004
PDE: 0x025 Present, Read-only, User, Execute Enabled
PTE: 0x00 Non-present, Read-only, Supervisor, Execute Enabled
Current thread ID = 0x004044d8
eax: 0xffffffff, ebx: 0x00000000, ecx: 0x0000d9dc, edx: 0x00403d18
esi: 0x00000000, edi: 0x00001e79, ebp: 0x00420fb8, esp: 0x00420fb4
eflags: 0x00000286 cs: 0x0008
call trace:
eip: 0x0000769f
     0x00016345 (0x0)
     0x00001e89 (0x4044c0)
Fatal fault in thread 0x004044d8! Aborting.

A short time after PROJECT EXECUTION SUCCESSFUL the system crashes, this is not caught by sanitycheck.

nashif added a commit to nashif/zephyr that referenced this issue Aug 29, 2018

sanitycheck: capture delayed faults
Do not close console after PASS is reported, wait a bit for any
remaining messages from the tests, sometimes we have faults that need to
be parsed.
This now works for Qemu handler, support for other handlers to follow.

Fixes zephyrproject-rtos#9646

Signed-off-by: Anas Nashif <anas.nashif@intel.com>

nashif added a commit to nashif/zephyr that referenced this issue Aug 29, 2018

sanitycheck: capture delayed faults
Do not close console after PASS is reported, wait a bit for any
remaining messages from the tests, sometimes we have faults that need to
be parsed.
This now works for Qemu handler, support for other handlers to follow.

Fixes zephyrproject-rtos#9646

Signed-off-by: Anas Nashif <anas.nashif@intel.com>

nashif added a commit to nashif/zephyr that referenced this issue Aug 29, 2018

sanitycheck: capture delayed faults
Do not close console after PASS is reported, wait a bit for any
remaining messages from the tests, sometimes we have faults that need to
be parsed.
This now works for Qemu handler, support for other handlers to follow.

Fixes zephyrproject-rtos#9646

Signed-off-by: Anas Nashif <anas.nashif@intel.com>

@nashif nashif closed this in #9716 Aug 30, 2018

nashif added a commit that referenced this issue Aug 30, 2018

sanitycheck: capture delayed faults
Do not close console after PASS is reported, wait a bit for any
remaining messages from the tests, sometimes we have faults that need to
be parsed.
This now works for Qemu handler, support for other handlers to follow.

Fixes #9646

Signed-off-by: Anas Nashif <anas.nashif@intel.com>

metapsychologe added a commit to metapsychologe/zephyr that referenced this issue Sep 6, 2018

sanitycheck: capture delayed faults
Do not close console after PASS is reported, wait a bit for any
remaining messages from the tests, sometimes we have faults that need to
be parsed.
This now works for Qemu handler, support for other handlers to follow.

Fixes zephyrproject-rtos#9646

Signed-off-by: Anas Nashif <anas.nashif@intel.com>

dleach02 added a commit to dleach02/zephyr that referenced this issue Sep 10, 2018

sanitycheck: capture delayed faults
Do not close console after PASS is reported, wait a bit for any
remaining messages from the tests, sometimes we have faults that need to
be parsed.
This now works for Qemu handler, support for other handlers to follow.

Fixes zephyrproject-rtos#9646

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.