zephyriot / zephyr-issues

0 stars 0 forks source link

QEMU NIOS2 sporadic FAIL in tests/legacy/kernel/test_timer/nanokernel #1122

Open nashif opened 7 years ago

nashif commented 7 years ago

Reported by Javier B Perez:

https://logs.zephyrproject.org/production/vex-yul-zep-jenkins-1/zephyr-verify/ Builds: 11029, 11078, 11099

tc_start() - Test Nanokernel Timer
Task testing basic timer functionality
  - test expected to take four seconds
FAIL - main@470. Task-level of waiting for timers failed
===================================================================
FAIL - main.
===================================================================
PROJECT EXECUTION FAILED

Found 3 in 254 builds.

(Imported from Jira ZEP-1237)

nashif commented 7 years ago

by Javier B Perez:

might be related with: GH-1123

nashif commented 7 years ago

by Mark Linkmeyer:

Fixing incorrect priority

nashif commented 7 years ago

by Ramakrishna Pallala:

Mark Linkmeyer we can close this JIRA as the tests are passing.

**Ouput of test under "tests/kernel/timer/timer_api"**

[QEMU] CPU: nios2 cpu->env.reset_addr: 0 cpu->env.exception_addr: 400020 Running test suite test_timer_api tc_start() - test_timer_duration_period

PASS - test_timer_duration_period. tc_start() - test_timer_period_0

PASS - test_timer_period_0. tc_start() - test_timer_expirefn_null

PASS - test_timer_expirefn_null. tc_start() - test_timer_status_get

PASS - test_timer_status_get. tc_start() - test_timer_status_get_anytime

PASS - test_timer_status_get_anytime. tc_start() - test_timer_status_sync

PASS - test_timer_status_sync. tc_start() - test_timer_k_define

PASS - test_timer_k_define. tc_start() - test_timer_user_data

PASS - test_timer_user_data.

PROJECT EXECUTION SUCCESSFUL

Output of test under "tests/kernel/timer/timer_monotonic"

[QEMU] CPU: nios2 cpu->env.reset_addr: 0 cpu->env.exception_addr: 400020 BOOTING ZEPHYR OS v1.8.99 - BUILD: Jun 30 2017 00:35:47 sys_clock_us_per_tick = 10000 sys_clock_hw_cycles_per_tick = 500000 sys_clock_hw_cycles_per_sec = 50000000 tc_start() - test monotonic timer Cycle results appear to be monotonic Testing system tick frequency delta: 50500000 expected: 50000000 101%

PROJECT EXECUTION SUCCESSFUL

nashif commented 7 years ago

by Andrew Boie:

Ramakrishna Pallala how many times did you try the test case? It is not 100% reproducible. I suggest you get with Rishi Khare to see if this is coming up in CI builds or test automation runs.