ethanlcz commented on PR #6949: URL: https://github.com/apache/incubator-nuttx/pull/6949#issuecomment-1238069005
@masayuki2009 I fixed the patch check error. I tried to run usrsocktest and got the same failure result like belows with or without this patch. But I didn't reproduce the assert (usrsock/usrsock_dev.c line: 577) you found after several tries. I suggest let's fix the failure later with other patches since the failure seems has nothing to do with the current patch. How do you think? NuttShell (NSH) NuttX-10.4.0 nsh> usrsocktest Starting unit-tests... Testing group "char_dev" => Group "char_dev": [OK] Testing group "no_daemon" => Group "no_daemon": [OK] Testing group "basic_daemon" => Group "basic_daemon": [OK] Testing group "basic_connect" => Group "basic_connect": [OK] Testing group "basic_connect_delay" => Group "basic_connect_delay": [OK] Testing group "no_block_connect" => Group "no_block_connect": [OK] Testing group "basic_send" => Group "basic_send": [OK] Testing group "no_block_send" => Group "no_block_send": [OK] Testing group "block_send" => Group "block_send": [OK] Testing group "no_block_recv" => Group "no_block_recv": [OK] Testing group "block_recv" => Group "block_recv": [OK] Testing group "remote_disconnect" => [TEST ASSERT FAILED!] In function "receive": line 497: Assertion `(ssize_t)((ret)) == (ssize_t)((0))' failed. got value: -1 should be: 0 Group "remote_disconnect": [FAILED] Testing group "basic_setsockopt" => [TEST ASSERT FAILED!] In function "basic_setsockopt_open": line 89: Assertion `(ssize_t)((usrsocktest_daemon_start(dconf))) == (ssize_t)((OK))' failed. got value: -120 should be: 0 Group "basic_setsockopt": [FAILED] Testing group "basic_getsockopt" => [TEST ASSERT FAILED!] In function "basic_getsockopt_open": line 89: Assertion `(ssize_t)((usrsocktest_daemon_start(dconf))) == (ssize_t)((OK))' failed. got value: -120 should be: 0 Group "basic_getsockopt": [FAILED] Testing group "basic_getsockname" => [TEST ASSERT FAILED!] In function "basic_getsockname_open": line 94: Assertion `(ssize_t)((usrsocktest_daemon_start(dconf))) == (ssize_t)((OK))' failed. got value: -120 should be: 0 Group "basic_getsockname": [FAILED] Testing group "wake_with_signal" => [TEST ASSERT FAILED!] In function "do_wake_test": line 516: Assertion `(ssize_t)((usrsocktest_daemon_start(&usrsocktest_daemon_config))) == (ssize_t)((OK))' failed. got value: -120 should be: 0 Group "wake_with_signal": [FAILED] Testing group "multithread" => [TEST ASSERT FAILED!] In function "usrsocktest_test_multithread_open_close": line 209: Assertion `(ssize_t)((usrsocktest_daemon_start(&usrsocktest_daemon_config))) == (ssize_t)((OK))' failed. got value: -120 should be: 0 Group "multithread": [FAILED] Unit-test groups done... OK:11, FAILED:6, TOTAL:17 -- number of checks made: 1945 HEAP BEFORE TESTS: total used free largest Mem: 67108368 283088 66825280 66825216 HEAP AFTER TESTS: total used free largest Mem: 67108368 420816 66687552 66687488 nsh> quit nsh: quit: command not found nsh> [1] 3100589 killed sudo ./nuttx -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org