zephyr: Frdm_k64f tests/net/lib/mqtt_sn_client/net.mqtt_sn.client fails
Describe the bug This testcase contains three tests.
mqtt_sn_client.test_mqtt_sn_connect_no_will
mqtt_sn_client.test_mqtt_sn_connect_will
mqtt_sn_client.test_mqtt_sn_publish_qos0
but only the last one is failing.
TESTSUITE mqtt_sn_client failed.
------ TESTSUITE SUMMARY START ------
SUITE FAIL - 66.67% [mqtt_sn_client]: pass = 2, fail = 1, skip = 0, total = 3 duration = 1.035 seconds
- PASS - [mqtt_sn_client.test_mqtt_sn_connect_no_will] duration = 0.254 seconds
- PASS - [mqtt_sn_client.test_mqtt_sn_connect_will] duration = 0.299 seconds
- FAIL - [mqtt_sn_client.test_mqtt_sn_publish_qos0] duration = 0.482 seconds
------ TESTSUITE SUMMARY END ------
To Reproduce
twister --device-testing --hardware-map <path_to>/map.yml -T ./tests/net/lib/mqtt_sn_client/ -v
Expected behavior Passes.
Impact Annoyance.
Logs and console output
Renaming output directory to <path_to>/twister-out.9
INFO - Using Ninja..
INFO - Zephyr version: zephyr-v3.3.0-3578-g1f43e126a841
INFO - Using 'zephyr' toolchain.
INFO - Building initial testsuite list...
INFO - Writing JSON report <path_to>/twister-out/testplan.json
Device testing on:
| Platform | ID | Serial device |
|------------|--------------------------------------------------|---------------------------------------------------------------------------------------------------|
| frdm_k64f | 02400b0132044e4500417009997b00316781000097969900 | /dev/serial/by-id/usb-ARM_DAPLink_CMSIS-DAP_02400b0132044e4500417009997b00316781000097969900-if01 |
| frdm_k64f | 02400b0140214e45001b1018c89200349e11000097969900 | /dev/serial/by-id/usb-ARM_DAPLink_CMSIS-DAP_02400b0140214e45001b1018c89200349e11000097969900-if01 |
INFO - JOBS: 8
INFO - Adding tasks to the queue...
INFO - Added initial list of jobs to queue
INFO - 1/1 frdm_k64f tests/net/lib/mqtt_sn_client/net.mqtt_sn.client FAILED Failed (device 6.265s)
ERROR - see: <path_to>/twister-out/frdm_k64f/tests/net/lib/mqtt_sn_client/net.mqtt_sn.client/handler.log
INFO - 1 test scenarios (1 test instances) selected, 0 configurations skipped (0 by static filter, 0 at runtime).
INFO - 0 of 1 test configurations passed (0.00%), 1 failed, 0 errored, 0 skipped with 0 warnings in 13.67 seconds
INFO - In total 3 test cases were executed, 0 skipped on 1 out of total 567 platforms (0.18%)
INFO - 1 test configurations executed on platforms, 0 test configurations were only built.
Hardware distribution summary:
| Board | ID | Counter |
|-----------|--------------------------------------------------|-----------|
| frdm_k64f | 02400b0132044e4500417009997b00316781000097969900 | 1 |
| frdm_k64f | 02400b0140214e45001b1018c89200349e11000097969900 | 0 |
INFO - Saving reports...
INFO - Writing JSON report<path_to>/twister-out/twister.json
INFO - Writing xunit report <path_to>/twister-out/twister.xml...
INFO - Writing xunit report <path_to>/twister-out/twister_report.xml...
INFO - -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
INFO - The following issues were found (showing the top 10 items):
INFO - 1) tests/net/lib/mqtt_sn_client/net.mqtt_sn.client on frdm_k64f failed (Failed)
INFO -
INFO - To rerun the tests, call twister using the following commandline:
INFO - west twister -p <PLATFORM> -s <TEST ID>, for example:
INFO -
INFO - west twister -p frdm_k64f -s tests/net/lib/mqtt_sn_client/net.mqtt_sn.client
INFO - or with west:
INFO - west build -p -b frdm_k64f -T tests/net/lib/mqtt_sn_client/net.mqtt_sn.client
INFO - -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
INFO - Run completed
but the handler.log contains more information.
...
FAIL - test_mqtt_sn_publish_qos0 in 0.482 seconds
===================================================================
TESTSUITE mqtt_sn_client failed.
------ TESTSUITE SUMMARY START ------
SUITE FAIL - 66.67% [mqtt_sn_client]: pass = 2, fail = 1, skip = 0, total = 3 duration = 1.035 seconds
- PASS - [mqtt_sn_client.test_mqtt_sn_connect_no_will] duration = 0.254 seconds
- PASS - [mqtt_sn_client.test_mqtt_sn_connect_will] duration = 0.299 seconds
- FAIL - [mqtt_sn_client.test_mqtt_sn_publish_qos0] duration = 0.482 seconds
------ TESTSUITE SUMMARY END ------
===================================================================
RunID: 0d2a5692968da714fabde3d9820c1cc5
PROJECT EXECUTION FAILED
Environment (please complete the following information):
- OS: Linux
- Target: Frdm_k64f
- Toolchain: Zephyr SDK 0.16.0
- West version: v0.13.1
- Latest main 84ba03a
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18 (3 by maintainers)
@hakehuang I’ve got the same result of bisect session.