Skip to content

sam_e70_xplained: running tests/subsys/logging/log_core/ failed #31340

@Zhaoningx

Description

@Zhaoningx

To Reproduce
Steps to reproduce the behavior:

twister -p sam_e70_xplained --device-testing --device-serial /dev/ttyACM1 -T tests/subsys/logging/log_core/
see error
*** Booting Zephyr OS build zephyr-v2.4.0-3009-gfc1b5de4c307  ***
Running test suite test_log_list

===================================================================
START - test_log_backend_runtime_filtering
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/logging/log_core/src/log_core_test.c:65: put: (log_msg_timestamp_get(msg) not equal to exp_timestamp)
Unexpected message index
FAIL - test_log_backend_runtime_filtering

===================================================================
START - test_log_overflow
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/logging/log_core/src/log_core_test.c:65: put: (log_msg_timestamp_get(msg) not equal to exp_timestamp)
Unexpected message index
FAIL - test_log_overflow

===================================================================
START - test_log_arguments
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/logging/log_core/src/log_core_test.c:301: test_log_arguments: (8 not equal to backend1_cb.counter)
Unexpected amount of messages received by the backend.
FAIL - test_log_arguments

===================================================================
START - test_log_from_declared_module
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/logging/log_core/src/log_core_test.c:325: test_log_from_declared_module: (2 not equal to backend1_cb.counter)
Unexpected amount of messages received by the backend.
FAIL - test_log_from_declared_module

===================================================================
START - test_log_strdup_gc
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/logging/log_core/src/log_core_test.c:352: test_log_strdup_gc: (2 not equal to backend1_cb.counter)
Unexpected amount of messages received by the backend.
FAIL - test_log_strdup_gc

===================================================================
START - test_log_strdup_detect_miss
PASS - test_log_strdup_detect_miss

===================================================================
START - test_strdup_trimming
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/logging/log_core/src/log_core_test.c:434: test_strdup_trimming: (1 not equal to backend1_cb.counter)
Unexpected amount of messages received by the backend.
FAIL - test_strdup_trimming

===================================================================
START - test_log_msg_dropped_notification
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/logging/log_core/src/log_core_test.c:449: log_n_messages: (backend1_cb.total_drops not equal to exp_dropped)
Unexpected log msg dropped 24 (expected 0)
FAIL - test_log_msg_dropped_notification

===================================================================
START - test_z_log_get_s_mask
PASS - test_z_log_get_s_mask

===================================================================
START - test_log_panic
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/logging/log_core/src/log_core_test.c:517: test_log_panic: (2 not equal to backend1_cb.counter)
Unexpected amount of messages received by the backend.
FAIL - test_log_panic

===================================================================
Test suite test_log_list 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

area: LoggingbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions