Skip to content

tests: tests/drivers/spi/spi_loopback: frdm_ke17z/mke17z7: failed: Timeout #92493

@hakehuang

Description

@hakehuang

Describe the bug
below case are failed
drivers.spi.ke1xz_flexio_spi.loopback.spi_loopback.spi_async_call
drivers.spi.ke1xz_flexio_spi.loopback.spi_loopback.spi_complete_large_transfers
drivers.spi.ke1xz_flexio_spi.loopback.spi_extra_api_features.spi_hold_on_cs

test is failed on v4.2.0-rc1 on frdm_ke17z/mke17z7
testcase path is tests/drivers/spi/spi_loopback

see logs for details

To Reproduce
1.

scripts/twister -p frdm_ke17z/mke17z7  -T tests/drivers/spi/spi_loopback --sub-test tests/drivers/spi/spi_loopback

or

# west twister -p frdm_ke17z/mke17z7 -T tests/drivers/spi/spi_loopback --sub-test tests/drivers/spi/spi_loopback
  1. See error
Timeout

Expected behavior
test pass

Impact

Logs and console output

START - test_spi_async_call
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_loopback/src/spi.c:889: spi_async_call_cb: (k_poll(evt, 1, K_MSEC(2000)) is true)
one or more events are not ready
FAIL - test_spi_async_call in 2.018 seconds

START - test_spi_hold_on_cs
E: Timeout waiting for transfer complete
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_loopback/src/spi.c:1019: spi_extra_api_features_test_spi_hold_on_cs: (ret is true)
SPI transceive failed, code -116
FAIL - test_spi_hold_on_cs in 0.221 seconds

    
ze = 8, DMA enabled (without CONFIG_NOCACHE_MEMORY)
Polling...Running TESTSUITE spi_extra_api_features
===================================================================
START - test_spi_hold_on_cs
E: Timeout waiting for transfer complete

    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_loopback/src/spi.c:1019: spi_extra_api_features_test_spi_hold_on_cs: (ret is true)
SPI transceive failed, code -116
 FAIL - test_spi_hold_on_cs in 0.221 seconds
===================================================================
START - test_spi_lock_release
 PASS - test_spi_lock_release in 0.001 seconds
===================================================================
TESTSUITE spi_extra_api_features failed.
Running TESTSUITE spi_extra_api_features
===================================================================
START - test_spi_hold_on_cs
E: Timeout waiting for transfer complete

    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_loopback/src/spi.c:1019: spi_extra_api_features_test_spi_hold_on_cs: (ret is true)
SPI transceive failed, code -116
 FAIL - test_spi_hold_on_cs in 0.221 seconds
===================================================================
START - test_spi_lock_release
 PASS - test_spi_lock_release in 0.001 seconds
===================================================================
TESTSUITE spi_extra_api_features failed.
Running TESTSUITE spi_loopback
===================================================================
Testing loopback spec: SLOW
START - test_nop_nil_bufs
 PASS - test_nop_nil_bufs in 0.001 seconds
===================================================================
START - test_spi_async_call

    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_loopback/src/spi.c:889: spi_async_call_cb: (k_poll(evt, 1, K_MSEC(2000)) is true)
one or more events are not ready
 FAIL - test_spi_async_call in 2.018 seconds
===================================================================
START - test_spi_complete_large_transfers

Environment (please complete the following information):

  • OS: (e.g. Linux ): posix
  • Toolchain (e.g Zephyr SDK): zephyr
  • Commit SHA or Version used: v4.2.0-rc1

Metadata

Metadata

Assignees

Labels

area: TestsIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions