Skip to content

iotdk: running tests/ztest/error_hook/ failed #31344

@Zhaoningx

Description

@Zhaoningx

To Reproduce
Steps to reproduce the behavior:
twister -p iotdk --device-testing --device-serial /dev/ttyUSB0 -T tests/ztest/error_hook/
see error
*** Booting Zephyr OS build zephyr-v2.4.0-3009-gfc1b5de4c307 ***
Running test suite error_hook_tests

===================================================================
START - test_catch_assert_fail
ASSERTION FAIL [a != ((void *)0)] @ WEST_TOPDIR/zephyr/tests/ztest/error_hook/src/main.c:41
parameter a should not be NULL!
Caught assert failed
Assert error expected as part of test case.
PASS - test_catch_assert_fail

===================================================================
START - test_catch_fatal_error
case type is 0
b is 1024
FAIL - test_catch_fatal_error

===================================================================
START - test_catch_assert_in_isr
ASSERTION FAIL [a != ((void *)0)] @ WEST_TOPDIR/zephyr/tests/ztest/error_hook/src/main.c:41
parameter a should not be NULL!
Caught assert failed
Assert error expected as part of test case.
PASS - test_catch_assert_in_isr

===================================================================
START - test_catch_z_oops
PASS - test_catch_z_oops

===================================================================
Test suite error_hook_tests failed.

===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

OS: Fedora33
Toolchain: zephyr-sdk-0.12.0
Commit ID: fc1b5de

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions