-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description
- Type: Bug
- Related issue: none
- Priority: Major
Bug
Reproduce Target
K64F + Quectel BC28 Arduino Shield
Impact Target
Might impact Quectel BC95/95G/28 Modules
Toolchain:
GCC_ARM
Toolchain version:
arm-none-eabi-gcc.exe (GNU Tools for ARM Embedded Processors 6-2017-q1-update) 6.3.1 20170215 (release) [ARM/embedded-6-branch revision 245512]
mbed-cli version:
1.8.3
mbed-os sha:
$ mbed ls
mbed-os-example-cellular (#06111ecda36d)
`- mbed-os (#103c9cb509c7, tag: mbed-os-5.11.0-rc1)
DAPLink version:
Version: 0246
Expected behavior
All test cases passed in netsocket tests suite.
Actual behavior
UDPSOCKET_ECHOTEST_NONBLOCK FAIL by system hang up. See log file below:
[1544492472.37][CONN][RXD] +CGPADDR:1
[1544492472.37][CONN][RXD] OK
[1544492472.37][CONN][RXD] MBED: UDPClient IP address is '(null)'
[1544492472.37][CONN][INF] found KV pair in stream: {{__testcase_count;9}}, queued...
[1544492472.38][CONN][RXD] >>> Running 9 test cases...
[1544492472.38][CONN][INF] found KV pair in stream: {{__testcase_name;UDPSOCKET_ECHOTEST_NONBLOCK}}, queued...
[1544492472.39][CONN][INF] found KV pair in stream: {{__testcase_name;UDPSOCKET_OPEN_CLOSE_REPEAT}}, queued...
[1544492472.40][CONN][INF] found KV pair in stream: {{__testcase_name;UDPSOCKET_OPEN_LIMIT}}, queued...
[1544492472.40][CONN][INF] found KV pair in stream: {{__testcase_name;UDPSOCKET_SENDTO_TIMEOUT}}, queued...
[1544492472.40][CONN][INF] found KV pair in stream: {{__testcase_name;UDPSOCKET_SENDTO_INVALID}}, queued...
[1544492472.41][CONN][INF] found KV pair in stream: {{__testcase_name;UDPSOCKET_ECHOTEST}}, queued...
[1544492472.41][CONN][INF] found KV pair in stream: {{__testcase_name;UDPSOCKET_ECHOTEST_BURST}}, queued...
[1544492472.42][CONN][RXD]
[1544492472.42][CONN][RXD] >>> Running case #1: 'UDPSOCKET_ECHOTEST_NONBLOCK'...
[1544492472.42][CONN][INF] found KV pair in stream: {{__testcase_name;UDPSOCKET_ECHOTEST_BURST_NONBLOCK}}, queued...
[1544492472.42][CONN][INF] found KV pair in stream: {{__testcase_name;UDPSOCKET_SENDTO_REPEAT}}, queued...
[1544492472.43][CONN][RXD] AT+NSOCR=DGRAM,17,57080,1
[1544492472.43][CONN][INF] found KV pair in stream: {{__testcase_start;UDPSOCKET_ECHOTEST_NONBLOCK}}, queued...
[1544492472.46][CONN][RXD]
[1544492472.46][CONN][RXD] 1
[1544492472.46][CONN][RXD]
[1544492472.46][CONN][RXD] OK
[1544492472.47][CONN][RXD] AT+NSOST=1,52.215.34.155,7,1,55
[1544492472.51][CONN][RXD]
[1544492472.51][CONN][RXD] 1,1
[1544492472.51][CONN][RXD]
[1544492472.52][CONN][RXD] OK
[1544492472.52][CONN][RXD] AT+NSORF=1,1
[1544492472.53][CONN][RXD]
[1544492472.54][CONN][RXD] OK
[1544492473.54][CONN][RXD] AT+NSORF=1,1
[1544492473.55][CONN][RXD]
[1544492473.57][CONN][RXD] OK
[1544492474.52][CONN][RXD] AT+NSOST=1,52.215.34.155,7,1,55
[1544492474.55][CONN][RXD]
[1544492474.55][CONN][RXD] 1,1
[1544492474.57][CONN][RXD]
[1544492474.57][CONN][RXD] OK
[1544492474.57][CONN][RXD] AT+NSORF=1,1
[1544492474.59][CONN][RXD]
[1544492474.59][CONN][RXD] OK
[1544492475.59][CONN][RXD] AT+NSORF=1,1
[1544492475.60][CONN][RXD]
[1544492475.61][CONN][RXD] OK
[1544492476.57][CONN][RXD] AT+NSOST=1,52.215.34.155,7,1,33
[1544492476.61][CONN][RXD]
[1544492476.61][CONN][RXD] 1,1
[1544492476.61][CONN][RXD]
[1544492476.62][CONN][RXD] OK
[1544492476.62][CONN][RXD] AT+NSORF=1,1
[1544492476.64][CONN][RXD]
[1544492476.64][CONN][RXD] OK
[1544492477.64][CONN][RXD] AT+NSORF=1,1
[1544492477.65][CONN][RXD]
[1544492477.65][CONN][RXD] OK
[1544492478.66][CONN][RXD] AT+NSORF=1,1
[1544492478.67][CONN][RXD]
[1544492478.67][CONN][RXD] OK
[1544492479.06][CONN][RXD]
[1544492479.07][CONN][RXD] +NSONMI:1,1
[1544492479.69][CONN][RXD] AT+NSORF=1,1
[1544492479.69][CONN][RXD]
[1544492479.72][CONN][RXD] 1,52.215.34.155,7,1,55,1
[1544492479.73][CONN][RXD]
[1544492479.73][CONN][RXD] OK
[1544492479.73][CONN][RXD] AT+NSORF=1,0
[1544492479.85][CONN][RXD]
[1544492479.87][CONN][RXD] +NSONMI:1,1
[1544492479.87][CONN][RXD]
[1544492479.89][CONN][RXD] +CME ERROR: 4
[1544492479.89][CONN][RXD] AT+NSOST=1,52.215.34.155,7,2,503F
[1544492479.92][CONN][RXD]
[1544492479.92][CONN][RXD] 1,2
[1544492479.93][CONN][RXD]
[1544492479.93][CONN][RXD] OK
[1544492479.93][CONN][RXD] AT+NSORF=1,2
[1544492479.94][CONN][RXD]
[1544492479.97][CONN][RXD] 1,52.215.34.155,7,1,55,0
[1544492479.97][CONN][RXD]
[1544492479.99][CONN][RXD] OK
[1544492479.99][CONN][RXD] AT+NSORF=1,2
[1544492480.00][CONN][RXD]
[1544492480.00][CONN][RXD] OK
[1544492480.02][CONN][RXD] AT+NSORF=1,2
[1544492480.02][CONN][RXD]
[1544492480.03][CONN][RXD] OK
[1544492481.16][CONN][RXD]
[1544492481.17][CONN][RXD] +NSONMI:1,2
[1544492481.17][CONN][RXD] AT+NSORF=1,2
[1544492481.20][CONN][RXD]
[1544492481.21][CONN][RXD] 1,52.215.34.155,7,2,503F,0
[1544492481.22][CONN][RXD]
[1544492481.22][CONN][RXD] OK
[1544492481.22][CONN][RXD] AT+NSORF=1,0
[1544492481.23][CONN][RXD]
[1544492481.25][CONN][RXD] +CME ERROR: 4
[1544492481.25][CONN][RXD] AT+NSOST=1,52.215.34.155,7,3,435A53
[1544492481.30][CONN][RXD]
[1544492481.30][CONN][RXD] 1,3
[1544492481.31][CONN][RXD]
[1544492481.31][CONN][RXD] OK
[1544492481.31][CONN][RXD] AT+NSORF=1,3
[1544492481.32][CONN][RXD]
[1544492481.33][CONN][RXD] OK
[1544492481.33][CONN][RXD] AT+NSORF=1,3
[1544492481.34][CONN][RXD]
[1544492481.35][CONN][RXD] OK
[1544492950.85][HTST][INF] test suite run finished after 480.02 sec...
[1544492950.87][CONN][INF] received special event '__host_test_finished' value='True', finishing
[1544492950.90][HTST][INF] CONN exited with code: 0
[1544492950.90][HTST][INF] No events in queue
[1544492950.90][HTST][INF] stopped consuming events
[1544492950.90][HTST][INF] host test result(): None
[1544492950.90][HTST][WRN] missing __exit event from DUT
[1544492950.90][HTST][WRN] missing __exit_event_queue event from host test
[1544492950.90][HTST][ERR] missing __exit_event_queue event from host test and no result from host test, timeout...
[1544492950.90][HTST][INF] calling blocking teardown()
[1544492950.90][HTST][INF] teardown() finished
[1544492950.90][HTST][INF] {{result;timeout}}
mbedgt: retry mbedhtrun 1/1
mbedgt: ['mbedhtrun', '-m', u'K64F', '-p', u'COM44:115200', '-f', u'"BUILD/tests/K64F/GCC_ARM/mbed-os/TESTS/netsocket/udp/udp.bin"', '-e', u'"mbed-os\\TESTS\\host_tests"', '-d', 'D:', '-c', 'default', '-t', u'0240000026334e45003840175c1a0016cb11000097969900', '-r', 'default', '-C', '4', '--sync', '5', '-P', '60'] failed after 1 count
mbedgt: checking for GCOV data...
mbedgt: mbed-host-test-runner: stopped and returned 'TIMEOUT'
mbedgt: test on hardware with target id: 0240000026334e45003840175c1a0016cb11000097969900
mbedgt: test suite 'mbed-os-tests-netsocket-udp' ..................................................... TIMEOUT in 500.50 sec
test case: 'UDPSOCKET_ECHOTEST' .............................................................. SKIPPED in 0.00 sec
test case: 'UDPSOCKET_ECHOTEST_BURST' ........................................................ SKIPPED in 0.00 sec
test case: 'UDPSOCKET_ECHOTEST_BURST_NONBLOCK' ............................................... SKIPPED in 0.00 sec
test case: 'UDPSOCKET_ECHOTEST_NONBLOCK' ..................................................... ERROR in 0.00 sec
test case: 'UDPSOCKET_OPEN_CLOSE_REPEAT' ..................................................... SKIPPED in 0.00 sec
test case: 'UDPSOCKET_OPEN_LIMIT' ............................................................ SKIPPED in 0.00 sec
test case: 'UDPSOCKET_SENDTO_INVALID' ........................................................ SKIPPED in 0.00 sec
test case: 'UDPSOCKET_SENDTO_REPEAT' ......................................................... SKIPPED in 0.00 sec
test case: 'UDPSOCKET_SENDTO_TIMEOUT' ........................................................ SKIPPED in 0.00 sec
mbedgt: all tests finished!
mbedgt: shuffle seed: 0.1536409410
mbedgt: test suite report:
+--------------+---------------+-----------------------------+---------+--------------------+-------------+
| target | platform_name | test suite | result | elapsed_time (sec) | copy_method |
+--------------+---------------+-----------------------------+---------+--------------------+-------------+
| K64F-GCC_ARM | K64F | mbed-os-tests-netsocket-udp | TIMEOUT | 500.5 | default |
+--------------+---------------+-----------------------------+---------+--------------------+-------------+
mbedgt: test suite results: 1 TIMEOUT
mbedgt: test case report:
+--------------+---------------+-----------------------------+-----------------------------------+--------+--------+---------+--------------------+
| target | platform_name | test suite | test case | passed | failed | result | elapsed_time (sec) |
+--------------+---------------+-----------------------------+-----------------------------------+--------+--------+---------+--------------------+
| K64F-GCC_ARM | K64F | mbed-os-tests-netsocket-udp | UDPSOCKET_ECHOTEST | 0 | 0 | SKIPPED | 0.0 |
| K64F-GCC_ARM | K64F | mbed-os-tests-netsocket-udp | UDPSOCKET_ECHOTEST_BURST | 0 | 0 | SKIPPED | 0.0 |
| K64F-GCC_ARM | K64F | mbed-os-tests-netsocket-udp | UDPSOCKET_ECHOTEST_BURST_NONBLOCK | 0 | 0 | SKIPPED | 0.0 |
| K64F-GCC_ARM | K64F | mbed-os-tests-netsocket-udp | UDPSOCKET_ECHOTEST_NONBLOCK | 0 | 0 | ERROR | 0.0 |
| K64F-GCC_ARM | K64F | mbed-os-tests-netsocket-udp | UDPSOCKET_OPEN_CLOSE_REPEAT | 0 | 0 | SKIPPED | 0.0 |
| K64F-GCC_ARM | K64F | mbed-os-tests-netsocket-udp | UDPSOCKET_OPEN_LIMIT | 0 | 0 | SKIPPED | 0.0 |
| K64F-GCC_ARM | K64F | mbed-os-tests-netsocket-udp | UDPSOCKET_SENDTO_INVALID | 0 | 0 | SKIPPED | 0.0 || K64F-GCC_ARM | K64F | mbed-os-tests-netsocket-udp | UDPSOCKET_SENDTO_REPEAT | 0 | 0 | SKIPPED | 0.0 |
| K64F-GCC_ARM | K64F | mbed-os-tests-netsocket-udp | UDPSOCKET_SENDTO_TIMEOUT | 0 | 0 | SKIPPED | 0.0 |+--------------+---------------+-----------------------------+-----------------------------------+--------+--------+---------+--------------------+
mbedgt: test case results: 8 SKIPPED / 1 ERRORmbedgt: completed in 506.91 sec
mbedgt: exited with code 1[mbed] ERROR: "mbedgt" returned error.
Code: 1
Path: "C:\Workspace\mbed_examples\mbed-os-example-cellular"
Command: "mbedgt --test-spec .\BUILD\tests\K64F\GCC_ARM\test_spec.json -n mbed-os-tests-netsocket-udp -V"
Tip: You could retry the last command with "-v" flag for verbose output
---
Steps to reproduce
Follow the instruction in netsocket test document:
https://github.com/ARMmbed/mbed-os/blob/master/TESTS/netsocket/README.md
Issue request type
[ ] Question
[ ] Enhancement
[x] Bug