-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: CounterbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
All calls to coutner_set_top_value() in the test cases failed for ma:x86 and ma:arc
To Reproduce
Steps to reproduce the behavior:
For ma:x86
- mkdir build; cd build
- cmake -GNinja -DBOARD=quark_se_c1000_devboard -DARCH=x86
- ninja
- ninja run
For ma:arc replace step (2) with
cmake -DBOARD=quark_se_c1000_ss_devboard -DARCH=arc
Screenshots or console output
For ma:arc
***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS zephyr-v1.13.0-4573-g012d404125 (delayed boot 1000ms) *****
Running test suite test_counter
===================================================================
starting test - test_set_top_value_with_alarm
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:138: test_set_top_value_with_alarm_instance: (0 not equal to err)
Counter failed to set top value (dev:RTC_0)
FAIL - test_set_top_value_with_alarm
===================================================================
starting test - test_single_shot_alarm_notop
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:214: test_single_shot_alarm_instance: (0 not equal to err)
Setting top value to default failed
FAIL - test_single_shot_alarm_notop
===================================================================
starting test - test_single_shot_alarm_top
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:191: test_single_shot_alarm_instance: (0 not equal to err)
Counter failed to set top value
FAIL - test_single_shot_alarm_top
===================================================================
starting test - test_multiple_alarms
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:91: counter_tear_down_instance: (0 not equal to err)
Setting top value to default failed
***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS zephyr-v1.13.0-4573-g012d404125 (delayed boot 1000ms) *****
Running test suite test_counter
===================================================================
starting test - test_set_top_value_with_alarm
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:138: test_set_top_value_with_alarm_instance: (0 not equal to err)
Counter failed to set top value (dev:RTC_0)
FAIL - test_set_top_value_with_alarm
===================================================================
starting test - test_single_shot_alarm_notop
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:214: test_single_shot_alarm_instance: (0 not equal to err)
Setting top value to default failed
FAIL - test_single_shot_alarm_notop
===================================================================
starting test - test_single_shot_alarm_top
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:191: test_single_shot_alarm_instance: (0 not equal to err)
Counter failed to set top value
FAIL - test_single_shot_alarm_top
===================================================================
starting test - test_multiple_alarms
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:91: counter_tear_down_instance: (0 not equal to err)
Setting top value to default failed
FAIL - test_multiple_alarms
===================================================================
starting test - test_all_channels
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:91: counter_tear_down_instance: (0 not equal to err)
Setting top value to default failed
FAIL - test_all_channels
===================================================================
Test suite test_counter failed.
===================================================================
For ma:x86:
***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS zephyr-v1.13.0-4573-g012d404125 (delayed boot 1000ms) *****
Running test suite test_counter
===================================================================
starting test - test_set_top_value_with_alarm
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:138: test_set_top_value_with_alarm_instance: (0 not equal to err)
Counter failed to set top value (dev:RTC_0)
FAIL - test_set_top_value_with_alarm
===================================================================
starting test - test_single_shot_alarm_notop
***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS zephyr-v1.13.0-4573-g012d404125 (delayed boot 1000ms) *****
Running test suite test_counter
===================================================================
starting test - test_set_top_value_with_alarm
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:138: test_set_top_value_with_alarm_instance: (0 not equal to err)
Counter failed to set top value (dev:RTC_0)
FAIL - test_set_top_value_with_alarm
===================================================================
starting test - test_single_shot_alarm_notop
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:214: test_single_shot_alarm_instance: (0 not equal to err)
Setting top value to default failed
FAIL - test_single_shot_alarm_notop
===================================================================
starting test - test_single_shot_alarm_top
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:191: test_single_shot_alarm_instance: (0 not equal to err)
Counter failed to set top value
FAIL - test_single_shot_alarm_top
===================================================================
starting test - test_multiple_alarms
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:91: counter_tear_down_instance: (0 not equal to err)
Setting top value to default failed
FAIL - test_multiple_alarms
===================================================================
starting test - test_all_channels
Assertion failed at /home/jenkins/workspace/zephyr-master-ci-master/zephyr.git/tests/drivers/counter/counter_basic_api/src/test_counter.c:91: counter_tear_down_instance: (0 not equal to err)
Setting top value to default failed
FAIL - test_all_channels
===================================================================
Test suite test_counter failed.
===================================================================
Environment (please complete the following information):
- OS: linux
- Toolchain: zephyr
- Commit SHA or Version used: 012d404
- Architecture: ma:x86 and ma:arc
Metadata
Metadata
Assignees
Labels
area: CounterbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug