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: tests/drivers/gpio/gpio_basic_api/drivers: gpio: test Failed harness:'Testsuite failed' #84448

Open
hakehuang opened this issue Jan 23, 2025 · 1 comment · May be fixed by #84447
Open
Assignees
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: low Low impact/importance bug

Comments

@hakehuang
Copy link
Collaborator

Describe the bug
test is Failed harness:'Testsuite failed' on v4.0.0-3867-g3bccb227ae85 on mimxrt1060_evk@C/mimxrt1062/qspi
testcase path is tests/drivers/gpio/gpio_basic_api

see logs for details

To Reproduce
1.

scripts/twister --device-testing --device-serial /dev/ttyACM0 -p mimxrt1060_evk@C/mimxrt1062/qspi  -T tests/drivers/gpio/gpio_basic_api --sub-test mimxrt1060_evk@C/mimxrt1062/qspi:tests/drivers/gpio/gpio_basic_api/drivers.gpio.2pin_arduino_customized

or

# cd tests/tests/drivers/gpio/gpio_basic_api
# west build -b mimxrt1060_evk@C/mimxrt1062/qspi
# west flash
  1. See error

Expected behavior
test pass

Impact

Logs and console output

*** Booting Zephyr OS build v4.0.0-3867-g3bccb227ae85 ***
Running TESTSUITE after_flash_gpio_config_trigger
===================================================================
START - test_gpio_config_trigger
 PASS - test_gpio_config_trigger in 0.011 seconds
===================================================================
START - test_gpio_config_twice_trigger
 PASS - test_gpio_config_twice_trigger in 0.011 seconds
===================================================================
TESTSUITE after_flash_gpio_config_trigger succeeded
Running TESTSUITE gpio_port
===================================================================
START - test_gpio_port
Validate device gpio@401b8000 and gpio@401b8000
Check gpio@401b8000 output 23 connected to gpio@401b8000 input 22
OUT 23 to IN 22 linkage works
- bits_physical
- pin_physical
- check_raw_output_levels
- check_logic_output_levels
- check_input_levels
- bits_logical
- check_pulls

    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/gpio/gpio_basic_api/src/test_gpio_port.c:485: check_pulls: (raw_in() not equal to false)
physical pull-down does not read low
 FAIL - test_gpio_port in 0.042 seconds
===================================================================
TESTSUITE gpio_port failed.
Running TESTSUITE gpio_port_cb_mgmt
===================================================================
START - test_gpio_callback_add_remove
callback_2 triggered: 1
callback_1 triggered: 1
callback_2 triggered: 1
 PASS - test_gpio_callback_add_remove in 3.608 seconds
===================================================================
START - test_gpio_callback_enable_disable
callback_2 triggered: 1
callback_1 triggered: 1
callback_2 triggered: 1
callback_1 triggered: 1
 PASS - test_gpio_callback_enable_disable in 3.610 seconds
===================================================================
START - test_gpio_callback_self_remove
callback_remove_self triggered: 1
callback_1 triggered: 1
callback_1 triggered: 1
 PASS - test_gpio_callback_self_remove in 2.508 seconds
===================================================================
TESTSUITE gpio_port_cb_mgmt succeeded
Running TESTSUITE gpio_port_cb_vari
===================================================================
START - test_gpio_callback_variants
callback triggered: 1
OUT init a0001, IN cfg 3400000, cnt 1
callback triggered: 1
OUT init 60010, IN cfg 5400000, cnt 1
callback triggered: 1
OUT init 60010, IN cfg 5c00000, cnt 1
callback triggered: 1
OUT init a0001, IN cfg 3c00000, cnt 1
callback triggered: 1
callback triggered: 2
callback triggered: 3
OUT init 60010, IN cfg 4400000, cnt 3
callback triggered: 1
callback triggered: 2
callback triggered: 3
OUT init a0001, IN cfg 2400000, cnt 3
callback triggered: 1
callback triggered: 2
callback triggered: 3
OUT init 60010, IN cfg 4c00000, cnt 3
callback triggered: 1
callback triggered: 2
callback triggered: 3
OUT init a0001, IN cfg 2c00000, cnt 3
callback triggered: 1
callback triggered: 2
OUT init a0001, IN cfg 7400000, cnt 2
 PASS - test_gpio_callback_variants in 2.807 seconds
===================================================================
TESTSUITE gpio_port_cb_vari succeeded

------ TESTSUITE SUMMARY START ------

SUITE PASS - 100.00% [after_flash_gpio_config_trigger]: pass = 2, fail = 0, skip = 0, total = 2 duration = 0.022 seconds
 - PASS - [after_flash_gpio_config_trigger.test_gpio_config_trigger] duration = 0.011 seconds
 - PASS - [after_flash_gpio_config_trigger.test_gpio_config_twice_trigger] duration = 0.011 seconds

SUITE FAIL -   0.00% [gpio_port]: pass = 0, fail = 1, skip = 0, total = 1 duration = 0.042 seconds
 - FAIL - [gpio_port.test_gpio_port] duration = 0.042 seconds

SUITE PASS - 100.00% [gpio_port_cb_mgmt]: pass = 3, fail = 0, skip = 0, total = 3 duration = 9.726 seconds
 - PASS - [gpio_port_cb_mgmt.test_gpio_callback_add_remove] duration = 3.608 seconds
 - PASS - [gpio_port_cb_mgmt.test_gpio_callback_enable_disable] duration = 3.610 seconds
 - PASS - [gpio_port_cb_mgmt.test_gpio_callback_self_remove] duration = 2.508 seconds

SUITE PASS - 100.00% [gpio_port_cb_vari]: pass = 1, fail = 0, skip = 0, total = 1 duration = 2.807 seconds
 - PASS - [gpio_port_cb_vari.test_gpio_callback_variants] duration = 2.807 seconds

------ TESTSUITE SUMMARY END ------

===================================================================
RunID: 4bdef3e0af4e1791f1dd51fe4d3d8ac0
PROJECT EXECUTION FAILED

    

Environment (please complete the following information):

  • OS: (e.g. Linux )
  • Toolchain (e.g Zephyr SDK)
  • Commit SHA or Version used: v4.0.0-3867-g3bccb227ae85
@hakehuang hakehuang added area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug labels Jan 23, 2025
@hakehuang
Copy link
Collaborator Author

Also fails on mimxrt1060_evk@C/mimxrt1062/qspi for v4.0.0-3867-g3bccb227ae85

@hakehuang hakehuang self-assigned this Jan 23, 2025
@hakehuang hakehuang transferred this issue from zephyrproject-rtos/test_results Jan 23, 2025
@kartben kartben added the priority: low Low impact/importance bug label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Tests Issues related to a particular existing or missing test bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants