Skip to content

tests: tests/drivers/uart/uart_async_api/drivers: uart: async_api.lpuart test Failed #91010

Open
@hakehuang

Description

@hakehuang

Describe the bug
async_api.lpuart test is Failed harness:'Testsuite failed' on v4.1.0-5075-gcf6170cbe605 on mimxrt1060_evk@C/mimxrt1062/qspi
testcase path is tests/drivers/uart/uart_async_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/uart/uart_async_api -s mimxrt1060_evk@C/mimxrt1062/qspi:tests/drivers/uart/uart_async_api/drivers.uart.async_api.lpuart.rt_nocache

git bisect found this is introduced by:

67eb03c

  1. See error

Expected behavior
test pass

Impact

Logs and console output

*** Booting Zephyr OS build v4.1.0-5075-gcf6170cbe605 ***
Running TESTSUITE uart_async_chain_read
===================================================================
UART instance:uart@4018c000
E: No buffers to release from RX DMA!
START - test_chained_read
 PASS - test_chained_read in 0.426 seconds
===================================================================
TESTSUITE uart_async_chain_read succeeded
Running TESTSUITE uart_async_chain_write
===================================================================
UART instance:uart@4018c000
E: No buffers to release from RX DMA!
START - test_chained_write
E: No buffers to release from RX DMA!
E: No buffers to release from RX DMA!
 PASS - test_chained_write in 0.009 seconds
===================================================================
TESTSUITE uart_async_chain_write succeeded
Running TESTSUITE uart_async_double_buf
===================================================================
UART instance:uart@4018c000
E: No buffers to release from RX DMA!
START - test_double_buffer
 PASS - test_double_buffer in 1.722 seconds
===================================================================
TESTSUITE uart_async_double_buf succeeded
Running TESTSUITE uart_async_long_buf
===================================================================
UART instance:uart@4018c000
E: No buffers to release from RX DMA!
START - test_long_buffers
 PASS - test_long_buffers in 0.164 seconds
===================================================================
TESTSUITE uart_async_long_buf succeeded
Running TESTSUITE uart_async_multi_rx
===================================================================
UART instance:uart@4018c000
E: No buffers to release from RX DMA!
START - test_multiple_rx_enable
E: No buffers to release from RX DMA!
E: No buffers to release from RX DMA!
 PASS - test_multiple_rx_enable in 0.708 seconds
===================================================================
TESTSUITE uart_async_multi_rx succeeded
Running TESTSUITE uart_async_read_abort
===================================================================
UART instance:uart@4018c000
E: No buffers to release from RX DMA!
START - test_read_abort
 PASS - test_read_abort in 1.120 seconds
===================================================================
TESTSUITE uart_async_read_abort succeeded
Running TESTSUITE uart_async_single_read
===================================================================
UART instance:uart@4018c000
E: No buffers to release from RX DMA!
START - test_single_read
 PASS - test_single_read in 0.352 seconds
===================================================================
TESTSUITE uart_async_single_read succeeded
Running TESTSUITE uart_async_timeout
===================================================================
UART instance:uart@4018c000
E: No buffers to release from RX DMA!
START - test_forever_timeout
E: No buffers to release from RX DMA!
E: No buffers to release from RX DMA!
 PASS - test_forever_timeout in 3.004 seconds
===================================================================
TESTSUITE uart_async_timeout succeeded
Running TESTSUITE uart_async_var_buf_length
===================================================================
UART instance:uart@4018c000
E: No buffers to release from RX DMA!
START - test_var_buf_length

    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/uart/uart_async_api/src/test_uart_async.c:1101: test_uart_async_var_buf: (memcmp((void *)var_length_rx_buf, tx_buffer, tx_len) not equal to 0)
[buff=1][tx=1]Buffers not equal

 FAIL - test_var_buf_length in 0.031 seconds
===================================================================
TESTSUITE uart_async_var_buf_length failed.
Running TESTSUITE uart_async_write_abort
===================================================================
UART instance:uart@4018c000
E: No buffers to release from RX DMA!
START - test_write_abort
 PASS - test_write_abort in 0.132 seconds
===================================================================
TESTSUITE uart_async_write_abort succeeded

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

SUITE PASS - 100.00% [uart_async_chain_read]: pass = 1, fail = 0, skip = 0, total = 1 duration = 0.426 seconds
 - PASS - [uart_async_chain_read.test_chained_read] duration = 0.426 seconds

SUITE PASS - 100.00% [uart_async_chain_write]: pass = 1, fail = 0, skip = 0, total = 1 duration = 0.009 seconds
 - PASS - [uart_async_chain_write.test_chained_write] duration = 0.009 seconds

SUITE PASS - 100.00% [uart_async_double_buf]: pass = 1, fail = 0, skip = 0, total = 1 duration = 1.722 seconds
 - PASS - [uart_async_double_buf.test_double_buffer] duration = 1.722 seconds

SUITE PASS - 100.00% [uart_async_long_buf]: pass = 1, fail = 0, skip = 0, total = 1 duration = 0.164 seconds
 - PASS - [uart_async_long_buf.test_long_buffers] duration = 0.164 seconds

SUITE PASS - 100.00% [uart_async_multi_rx]: pass = 1, fail = 0, skip = 0, total = 1 duration = 0.708 seconds
 - PASS - [uart_async_multi_rx.test_multiple_rx_enable] duration = 0.708 seconds

SUITE PASS - 100.00% [uart_async_read_abort]: pass = 1, fail = 0, skip = 0, total = 1 duration = 1.120 seconds
 - PASS - [uart_async_read_abort.test_read_abort] duration = 1.120 seconds

SUITE PASS - 100.00% [uart_async_single_read]: pass = 1, fail = 0, skip = 0, total = 1 duration = 0.352 seconds
 - PASS - [uart_async_single_read.test_single_read] duration = 0.352 seconds

SUITE PASS - 100.00% [uart_async_timeout]: pass = 1, fail = 0, skip = 0, total = 1 duration = 3.004 seconds
 - PASS - [uart_async_timeout.test_forever_timeout] duration = 3.004 seconds

SUITE FAIL -   0.00% [uart_async_var_buf_length]: pass = 0, fail = 1, skip = 0, total = 1 duration = 0.031 seconds
 - FAIL - [uart_async_var_buf_length.test_var_buf_length] duration = 0.031 seconds

SUITE PASS - 100.00% [uart_async_write_abort]: pass = 1, fail = 0, skip = 0, total = 1 duration = 0.132 seconds
 - PASS - [uart_async_write_abort.test_write_abort] duration = 0.132 seconds

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

===================================================================
RunID: 2116092719212f85740fdd86c5b4f369
PROJECT EXECUTION FAILED

    

Environment (please complete the following information):

  • OS: (e.g. Linux )
  • Toolchain (e.g Zephyr SDK)
  • Commit SHA or Version used: v4.1.0-5075-gcf6170cbe605

below platforms are also impacted

Platform Failed
mimxrt1180_evk/mimxrt1189/cm33 2
mimxrt1010_evk/mimxrt1011 1
mimxrt1015_evk/mimxrt1015 1
mimxrt1020_evk/mimxrt1021 1
mimxrt1024_evk/mimxrt1024 1
mimxrt1050_evk/mimxrt1052/hyperflash 1
mimxrt1060_evk@C/mimxrt1062/qspi 1
mimxrt1170_evk@A/mimxrt1176/cm7 1
mimxrt1170_evk@B/mimxrt1176/cm7 1

Metadata

Metadata

Assignees

Labels

area: TestsIssues related to a particular existing or missing testarea: UARTUniversal Asynchronous Receiver-TransmitterbugThe 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