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

tests: kernel: common: and common.misra are failing on nrf52840dk #28629

Closed
ioannisg opened this issue Sep 23, 2020 · 3 comments · Fixed by #28632
Closed

tests: kernel: common: and common.misra are failing on nrf52840dk #28629

ioannisg opened this issue Sep 23, 2020 · 3 comments · Fixed by #28632
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@ioannisg
Copy link
Member

ioannisg commented Sep 23, 2020

Describe the bug
kernel.common and kernel.common.misra

To Reproduce
Build and run the tests on nrf52840dk_nrf52840 and observe failure

Expected behavior
Test shall pass.

Impact
Kernel test failing.

Logs and console output


*** Booting Zephyr OS build v2.4.0-rc2-53-g61d42cf42b30  (delayed boot 500ms) ***
Running test suite common
===================================================================
START - test_bootdelay
 PASS - test_bootdelay
===================================================================
START - test_irq_offload
 PASS - test_irq_offload
===================================================================
START - test_byteorder_memcpy_swap
 PASS - test_byteorder_memcpy_swap
===================================================================
START - test_byteorder_mem_swap
 PASS - test_byteorder_mem_swap
===================================================================
START - test_sys_get_be64
 PASS - test_sys_get_be64
===================================================================
START - test_sys_put_be64
 PASS - test_sys_put_be64
===================================================================
START - test_sys_get_be48
 PASS - test_sys_get_be48
===================================================================
START - test_sys_put_be48
 PASS - test_sys_put_be48
===================================================================
START - test_sys_get_be32
 PASS - test_sys_get_be32
===================================================================
START - test_sys_put_be32
 PASS - test_sys_put_be32
===================================================================
START - test_sys_get_be24
 PASS - test_sys_get_be24
===================================================================
START - test_sys_put_be24
 PASS - test_sys_put_be24
===================================================================
START - test_sys_get_be16
 PASS - test_sys_get_be16
===================================================================
START - test_sys_put_be16
 PASS - test_sys_put_be16
===================================================================
START - test_sys_get_le16
 PASS - test_sys_get_le16
===================================================================
START - test_sys_put_le16
 PASS - test_sys_put_le16
===================================================================
START - test_sys_get_le24
 PASS - test_sys_get_le24
===================================================================
START - test_sys_put_le24
 PASS - test_sys_put_le24
===================================================================
START - test_sys_get_le32
 PASS - test_sys_get_le32
===================================================================
START - test_sys_put_le32
 PASS - test_sys_put_le32
===================================================================
START - test_sys_get_le48
 PASS - test_sys_get_le48
===================================================================
START - test_sys_put_le48
 PASS - test_sys_put_le48
===================================================================
START - test_sys_get_le64
 PASS - test_sys_get_le64
===================================================================
START - test_sys_put_le64
 PASS - test_sys_put_le64
===================================================================
START - test_atomic
 PASS - test_atomic
===================================================================
START - test_bitfield
 SKIP - test_bitfield
===================================================================
START - test_printk
22 113 10000 32768 40000 22
p 112 -10000 -32768 -40000 -22
0x1 0x01 0x0001 0x00000001 0x0000000000000001
0x1 0x 1 0x   1 0x       1
42 42 0042 00000042
-42 -42 -042 -0000042
42 42   42       42
42 42 0042 00000042
255     42    abcdef        42
68719476735 -1 18446744073709551615 ffffffffffffffff
0xcafebabe 0x0000beef 0x0000002a
 PASS - test_printk
===================================================================
START - test_timeout_order
thread 0 synced on timer 0
thread 1 synced on timer 1
thread 2 synced on timer 2
 PASS - test_timeout_order
===================================================================
START - test_clock_uptime
 PASS - test_clock_uptime
===================================================================
START - test_clock_cycle
 PASS - test_clock_cycle
===================================================================
START - test_version
 PASS - test_version
===================================================================
START - test_multilib
 PASS - test_multilib
===================================================================
START - test_thread_context
 PASS - test_thread_context
===================================================================
START - test_ms_time_duration

    Assertion failed at ../src/clock.c:176: test_ms_time_duration: tdata.duration_count == 1 is false

 FAIL - test_ms_time_duration
===================================================================
START - test_bounds_check_mitigation
 PASS - test_bounds_check_mitigation
===================================================================
Test suite common failed.
===================================================================
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: both Linux and Windows
  • Toolchain: both Zephyr SDK, and Gnu ARM Embedded
  • Commit SHA or Version used: 61d42cf
@ioannisg ioannisg added bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug labels Sep 23, 2020
@ioannisg
Copy link
Member Author

CC @pabigot

@ioannisg ioannisg removed the priority: medium Medium impact/importance bug label Sep 23, 2020
@ioannisg
Copy link
Member Author

Failures seem to be intermittent so for now I remove the blocking priority

@nashif
Copy link
Member

nashif commented Sep 24, 2020

Failures seem to be intermittent so for now I remove the blocking priority

but this still needs a priority... :)

@nashif nashif added the priority: low Low impact/importance bug label Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants