Skip to content

can: iso-tp: implementation test failed with twister on nucleo_g474re #47014

@FRASTM

Description

@FRASTM

Describe the bug
Running the tests/subsys/canbus/isotp/implementation with twister on the nucleo_g474re fails

The same test passed when running after west build and west flash and running twister --no-update

To Reproduce
Steps to reproduce the behavior:

  1. twister --device-testing --device-serial /dev/ttyACM0 --disable-suite-name-check -p nucleo_g474re -T tests/subsys/canbus/isotp/implementation/
  2. See error

Expected behavior
test passed

Logs and console output

*** Booting Zephyr OS build zephyr-v3.1.0-913-g6ede43b0789d  ***
Running TESTSUITE isotp
===================================================================
START - test_bind_unbind
PASS - test_bind_unbind in 2.509 seconds
===================================================================
START - test_send_receive_net_sf
PASS - test_send_receive_net_sf in 0.6 seconds
===================================================================
START - test_send_receive_net_blocks
PASS - test_send_receive_net_blocks in 1.20 seconds
===================================================================
START - test_send_receive_net_single_blocks
E: Reception of next FC has timed out
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/canbus/isotp/implementation/src/main.c:289: test_send_receive_net_single_blocks: (ret not equal to 0)
recv returned -14
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/canbus/isotp/implementation/src/main.c:55: send_complette_cb: (error_nr not equal to ISOTP_N_OK)
Sending failed (-2)
FAIL - test_send_receive_net_single_blocks in 1.65 seconds
===================================================================
START - test_send_receive_sf
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/canbus/isotp/implementation/src/main.c:91: get_sf: (ret not equal to 1)
recv returned -14
FAIL - test_send_receive_sf in 1.14 seconds
===================================================================
START - test_send_receive_blocks
E: No buffer for FF left
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/canbus/isotp/implementation/src/main.c:261: test_send_receive_blocks: (ret not equal to 0)
Binding failed (-11)
FAIL - test_send_receive_blocks in 0.18 seconds
===================================================================
START - test_send_receive_single_block
E: No buffer for FF left
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/canbus/isotp/implementation/src/main.c:313: test_send_receive_single_block: (ret not equal to 0)
Binding failed (-11)
FAIL - test_send_receive_single_block in 0.18 seconds
===================================================================
START - test_buffer_allocation
E: No buffer for FF left
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/canbus/isotp/implementation/src/main.c:390: test_buffer_allocation: (ret not equal to 0)
Binding failed (-11)
FAIL - test_buffer_allocation in 0.18 seconds
===================================================================
START - test_buffer_allocation_wait
E: No buffer for FF left
Assertion failed at WEST_TOPDIR/zephyr/tests/subsys/canbus/isotp/implementation/src/main.c:406: test_buffer_allocation_wait: (ret not equal to 0)
Binding failed (-11)
FAIL - test_buffer_allocation_wait in 0.18 seconds
===================================================================
TESTSUITE isotp failed.
===================================================================
RunID: 0ca4e10ffc023fffa65cc26e77dc6785
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: ubuntu
  • Toolchain : zephyr-sdk-0.14.0
  • Commit SHA : 6ede43b

Metadata

Metadata

Labels

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

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions