Skip to content

tests/subsys/logging/log_core fails on few ARM platforms #10444

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

Closed
nniranjhana opened this issue Oct 9, 2018 · 4 comments
Closed

tests/subsys/logging/log_core fails on few ARM platforms #10444

nniranjhana opened this issue Oct 9, 2018 · 4 comments
Assignees
Labels
area: Logging bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug

Comments

@nniranjhana
Copy link

nniranjhana commented Oct 9, 2018

The test fails with an Assertion Error on nRF, FRDM and sam_e70 boards.
Additionally on emsk platform too which is ARC based.

Arch: ARM
Platforms: nrf52_pca10040, nrf52840_pca10056, frdm_k64f, sam_e70_xplained, emsk.

Error log on console:

 ***** delaying boot 1000ms (per build configuration) *****
 ***** Booting Zephyr OS 1.13.99 (delayed boot 1000ms) *****
 Running test suite test_log_list
 ===================================================================
 starting test - test_log_backend_runtime_filtering
 PASS - test_log_backend_runtime_filtering
 ===================================================================
 starting test - test_log_overflow
 PASS - test_log_overflow
 ===================================================================
 starting test - test_log_arguments
 PASS - test_log_arguments
 ===================================================================
 starting test - test_log_panic
 PASS - test_log_panic
 ===================================================================
 starting test - test_log_from_declared_module
 PASS - test_log_from_declared_module
 ===================================================================
 starting test - test_log_strdup_gc

     Assertion failed at ../zephyr/tests/subsys/logging/log_core/src/log_core_test.c:54: put: (log_msg_source_id_get(msg) not equal to exp_id)

 Unexpected source_id
 
 FAIL - test_log_strdup_gc
 ===================================================================
 starting test - test_strdup_trimming

     Assertion failed at ../zephyr/tests/subsys/logging/log_core/src/log_core_test.c:382: strdup_trim_callback: (len not equal to CONFIG_LOG_STRDUP_MAX_STRING)

 Expected trimmed string
 
 FAIL - test_strdup_trimming
 ===================================================================
 ===================================================================

 PROJECT EXECUTION FAILED
@nashif nashif added bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug labels Oct 9, 2018
@nashif
Copy link
Member

nashif commented Oct 15, 2018

@nordic-krch Are you looking at this, seems to break on most ARM architectures...

@nashif
Copy link
Member

nashif commented Oct 15, 2018

To reproduce this in Qemu, export QEMU_BIN_PATH to point to host qemu (assuming you have a very recent version on the host) and run it on mps2_an385

@nordic-krch
Copy link
Collaborator

@nashif I will be able to look at it tomorrow.

@nashif
Copy link
Member

nashif commented Oct 17, 2018

@nordic-krch any updates?

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

No branches or pull requests

3 participants