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

ASSERTION FAILURE : /tests/drivers/adc/adc_api fails on arduino_101 and quark_se_c1000 platforms #9830

Closed
kumarvikash1 opened this issue Sep 6, 2018 · 0 comments
Assignees
Labels
area: ADC Analog-to-Digital Converter (ADC) area: Drivers bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@kumarvikash1
Copy link

kumarvikash1 commented Sep 6, 2018

Tests : zephyr/tests/drivers/adc/adc_api

Configuration

arc
quark_se_c1000_devboard_ss, arduino_101_sss

Component : Driver/ADC

Description : Looks like something to do with changing the CONFIG_BOOT_DELAY options when test is run via TCF framework.

Log :

***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS v1.13.0-rc2-24-g13a210355 (delayed boot 1000ms) *****
Running test suite adc_basic_test
===================================================================
starting test - test_adc_sample_one_channel
Samples read: 0x0f2e 0x0000 0x0000 0x0000 0x0000 0x0000
PASS - test_adc_sample_one_channel
===================================================================
starting test - test_adc_sample_two_channels
Samples read: 0x0ffe 0x0e0a 0x0000 0x0000 0x0000 0x0000
PASS - test_adc_sample_two_channels
===================================================================
starting test - test_adc_asynchronous_call
Samples read: 0x0fe2 0x0000
    Assertion failed at /home/nj/zephyr/tests/drivers/adc/adc_api/src/test_adc.c:178: check_samples: (0 equal to sample_value)
[1] should be non-zero
FAIL - test_adc_asynchronous_call
===================================================================
starting test - test_adc_sample_with_interval

    Assertion failed at /home/nj/zephyr/tests/drivers/adc/adc_api/src/test_adc.c:154: init_adc: (ret not equal to 0)
Setting up of the first channel failed with code -11
FAIL - test_adc_sample_with_interval
===================================================================
starting test - test_adc_repeated_samplings

    Assertion failed at /home/nj/zephyr/tests/drivers/adc/adc_api/src/test_adc.c:154: init_adc: (ret not equal to 0)
Setting up of the first channel failed with code -11
FAIL - test_adc_repeated_samplings
===================================================================
===================================================================

PROJECT EXECUTION FAILED
@kumarvikash1 kumarvikash1 added bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug area: Drivers area: ADC Analog-to-Digital Converter (ADC) labels Sep 6, 2018
punitvara added a commit to punitvara/zephyr that referenced this issue Sep 11, 2018
Increase interval time so that asynchronous test get enough time to run
successfully.

Fixes zephyrproject-rtos#9830

Signed-off-by: Punit Vara <punit.vara@intel.com>
nashif pushed a commit that referenced this issue Sep 26, 2018
Increase interval time so that asynchronous test get enough time to run
successfully.

Fixes #9830

Signed-off-by: Punit Vara <punit.vara@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ADC Analog-to-Digital Converter (ADC) area: Drivers bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

2 participants