Content-Type: multipart/mixed; boundary="===============3917127362561505726==" MIME-Version: 1.0 From: anil.veerabhadrappa at broadcom.com Subject: [SPDK] Gerrit code: sock_ut is reporting error Date: Mon, 23 Dec 2019 21:34:50 +0000 Message-ID: <20191223213450.2560.94790@ml01.vlan13.01.org> List-ID: To: spdk@lists.01.org --===============3917127362561505726== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, I am trying to submit a couple of patches to fix broken FC NVMe compil= ation. However with the latest Gerrit code, unittest,sh (sock_ut) is failing and b= locking my submission. Is anybody else also hitting this issue?. Thanks! --- snip --- spdk/test/unit/lib/sock/sock.c/sock_ut =3D=3D6027=3D=3D CUnit - A unit testing framework for C - Version 2.1-3 http://cunit.sourceforge.net/ Suite: sock Test: posix_sock ...passed Test: ut_sock ...passed Test: posix_sock_group ...passed Test: ut_sock_group ...passed Test: posix_sock_group_fairness ...passed Test: posix_sock_close ...=3D=3D6027=3D=3D Syscall param sendmsg(msg.msg_= iov[0]) points to uninitialised byte(s) =3D=3D6027=3D=3D at 0x58C3C40: __sendmsg_nocancel (in /usr/lib64/libpthr= ead-2.17.so) =3D=3D6027=3D=3D by 0x402F1B: _sock_flush (posix.c:496) =3D=3D6027=3D=3D by 0x40325F: spdk_posix_sock_group_impl_poll (posix.c:8= 24) =3D=3D6027=3D=3D by 0x40427D: spdk_sock_group_impl_poll_count (sock.c:50= 7) =3D=3D6027=3D=3D by 0x40427D: spdk_sock_group_poll_count (sock.c:541) =3D=3D6027=3D=3D by 0x404E46: _sock_close (sock_ut.c:787) =3D=3D6027=3D=3D by 0x404E46: posix_sock_close (sock_ut.c:810) =3D=3D6027=3D=3D by 0x4E3D120: run_single_test (in /usr/local/lib/libcun= it.so.1.0.1) =3D=3D6027=3D=3D by 0x4E3CD59: run_single_suite (in /usr/local/lib/libcu= nit.so.1.0.1) =3D=3D6027=3D=3D by 0x4E3AC84: CU_run_all_tests (in /usr/local/lib/libcu= nit.so.1.0.1) =3D=3D6027=3D=3D by 0x4E3EE9F: basic_run_all_tests (in /usr/local/lib/li= bcunit.so.1.0.1) =3D=3D6027=3D=3D by 0x4E3EC41: CU_basic_run_tests (in /usr/local/lib/lib= cunit.so.1.0.1) =3D=3D6027=3D=3D by 0x401732: main (sock_ut.c:842) =3D=3D6027=3D=3D Address 0x1ffefff920 is on thread 1's stack =3D=3D6027=3D=3D in frame #4, created by posix_sock_close (sock_ut.c:809) =3D=3D6027=3D=3D =3D=3D6027=3D=3D Syscall param sendmsg(msg.msg_iov[1]) points to uninitiali= sed byte(s) =3D=3D6027=3D=3D at 0x58C3C40: __sendmsg_nocancel (in /usr/lib64/libpthr= ead-2.17.so) =3D=3D6027=3D=3D by 0x402F1B: _sock_flush (posix.c:496) =3D=3D6027=3D=3D by 0x40325F: spdk_posix_sock_group_impl_poll (posix.c:8= 24) =3D=3D6027=3D=3D by 0x40427D: spdk_sock_group_impl_poll_count (sock.c:50= 7) =3D=3D6027=3D=3D by 0x40427D: spdk_sock_group_poll_count (sock.c:541) =3D=3D6027=3D=3D by 0x404E46: _sock_close (sock_ut.c:787) =3D=3D6027=3D=3D by 0x404E46: posix_sock_close (sock_ut.c:810) =3D=3D6027=3D=3D by 0x4E3D120: run_single_test (in /usr/local/lib/libcun= it.so.1.0.1) =3D=3D6027=3D=3D by 0x4E3CD59: run_single_suite (in /usr/local/lib/libcu= nit.so.1.0.1) =3D=3D6027=3D=3D by 0x4E3AC84: CU_run_all_tests (in /usr/local/lib/libcu= nit.so.1.0.1) =3D=3D6027=3D=3D by 0x4E3EE9F: basic_run_all_tests (in /usr/local/lib/li= bcunit.so.1.0.1) =3D=3D6027=3D=3D by 0x4E3EC41: CU_basic_run_tests (in /usr/local/lib/lib= cunit.so.1.0.1) =3D=3D6027=3D=3D by 0x401732: main (sock_ut.c:842) =3D=3D6027=3D=3D Address 0x1ffefff920 is on thread 1's stack =3D=3D6027=3D=3D in frame #4, created by posix_sock_close (sock_ut.c:809) =3D=3D6027=3D=3D passed Run Summary: Type Total Ran Passed Failed Inactive suites 1 1 n/a 0 0 tests 6 6 6 0 0 asserts 213 213 213 0 n/a Elapsed time =3D 0.050 seconds =3D=3D6027=3D=3D =3D=3D6027=3D=3D HEAP SUMMARY: =3D=3D6027=3D=3D in use at exit: 0 bytes in 0 blocks =3D=3D6027=3D=3D total heap usage: 63 allocs, 63 frees, 6,555 bytes alloc= ated =3D=3D6027=3D=3D =3D=3D6027=3D=3D All heap blocks were freed -- no leaks are possible =3D=3D6027=3D=3D =3D=3D6027=3D=3D For counts of detected and suppressed errors, rerun with: = -v =3D=3D6027=3D=3D Use --track-origins=3Dyes to see where uninitialised value= s come from =3D=3D6027=3D=3D ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 fro= m 0) # --===============3917127362561505726==--