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: posix: Test case portability.posix.common.tls.newlib.posix_realtime fails on nrf9160dk_nrf9160 #32828

Closed
PerMac opened this issue Mar 3, 2021 · 1 comment
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@PerMac
Copy link
Member

PerMac commented Mar 3, 2021

Describe the bug
The test case: portability.posix.common.tls.newlib.posix_realtime fails on nrf9160dk_nrf9160

To Reproduce
Steps to reproduce the behavior:

  1. have nrf9160dk_nrf9160 connected to /dev/ttyACM0
  2. Go to your zephyr dir
  3. run ./scripts/twister -T /home/maciej/zephyrproject2/zephyr/tests/posix/common/ -p nrf9160dk_nrf9160 --device-testing --device-serial /dev/ttyACM0 --jobs 1 -v -v --ninja
  4. See error

Expected behavior
Test passes

Impact
Not clear

Logs and console output

START - test_posix_realtime
POSIX clock set APIs
Assertion failed at WEST_TOPDIR/zephyr/tests/posix/common/src/clock.c:75: test_posix_realtime: (rts.tv_nsec not equal to mts.tv_nsec)
Nanoseconds not equal
FAIL - test_posix_realtime

Environment (please complete the following information):

  • OS: Ubunktu 18.04
  • Toolchain Zephyr SDK 0.12.2
  • Commit SHA or Version used: zephyr-v2.5.0-647-gc5caa9b916d1

Additional context
The test passes for zephyr v2.5.0

@PerMac PerMac added the bug The issue is a bug, or the PR is fixing a bug label Mar 3, 2021
@PerMac
Copy link
Member Author

PerMac commented Mar 3, 2021

I closed this issue and reopen #31721 as it is the same problem

@PerMac PerMac closed this as completed Mar 3, 2021
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
Projects
None yet
Development

No branches or pull requests

1 participant