farsightsec / fstrm

Frame Streams implementation in C
MIT License
59 stars 27 forks source link

0.6.1: test suite runs forever #70

Open kloczek opened 1 year ago

kloczek commented 1 year ago

I found that test suite is stuck and cannot finish. Part of the ps auxwf output

tkloczko 2428744  0.0  0.0   3088  2596 pts/5    S+   11:51   0:00  |                                   |           \_ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
tkloczko 2429196  0.0  0.0   3088  2496 pts/5    S+   11:51   0:00  |                                   |               \_ /usr/bin/make check-TESTS
tkloczko 2429202  0.0  0.0   3960  3084 pts/5    S+   11:51   0:00  |                                   |                   \_ /bin/sh -c set +e; bases='t/test_control.log t/run_test_queue.sh.log t/run_test_fstrm_io_file.sh.log t/run_test_fstrm_io_unix.sh.log t/run_test_fstrm_io_tcp.sh.log t/test_writer_hello.log t/test_file_hello.log t/program_tests/test_fstrm_dump.sh.log t/program_tests/test_fstrm_replay.sh.log'; bases=`for i in $bases; do echo $i; done | sed 's/\.log$//'`; bases=`echo $bases`; \ log_list=`for i in $bases; do echo $i.log; done`; \ trs_list=`for i in $bases; do echo $i.trs; done`; \ log_list=`echo $log_list`; trs_list=`echo $trs_list`; \ /usr/bin/make  test-suite.log TEST_LOGS="$log_list"; \ exit $?;
tkloczko 2429211  0.0  0.0   3220  2712 pts/5    S+   11:51   0:00  |                                   |                       \_ /usr/bin/make test-suite.log TEST_LOGS=t/test_control.log t/run_test_queue.sh.log t/run_test_fstrm_io_file.sh.log t/run_test_fstrm_io_unix.sh.log t/run_test_fstrm_io_tcp.sh.log t/test_writer_hello.log t/test_file_hello.log t/program_tests/test_fstrm_dump.sh.log t/program_tests/test_fstrm_replay.sh.log
tkloczko 2429213  0.0  0.0   3960  3140 pts/5    S+   11:51   0:00  |                                   |                           \_ /bin/sh ./build-aux/test-driver --test-name t/run_test_queue.sh --log-file t/run_test_queue.sh.log --trs-file t/run_test_queue.sh.trs --color-tests no --enable-hard-errors yes --expect-failure no -- valgrind -q --error-exitcode=1 --leak-check=full --trace-children=yes --trace-children-skip=/usr/*,/bin/* ./t/run_test_queue.sh
tkloczko 2429275  0.0  0.0  84732 41116 pts/5    S+   11:51   0:00  |                                   |                               \_ valgrind -q --error-exitcode=1 --leak-check=full --trace-children=yes --trace-children-skip=/usr/*,/bin/* ./t/run_test_queue.sh
tkloczko 2429310  100  0.0 104560 43980 pts/5    Sl+  11:51  49:52  |                                   |                                   \_ valgrind -q --error-exitcode=1 --leak-check=full --trace-children=yes --trace-children-skip=/usr/*,/bin/* ./t/test_queue spin 128 1

I'm not sure what I can try to do to diagnose that issue.

cmikk commented 1 year ago

Hi @kloczek,

Can you share some details of the environment you are running the test suite in? (OS release, architecture, libevent version)

For diagnostic steps, I would suggest running each test in turn to figure out which one is hanging, and attaching a gdb / lldb to the apparently spinning process (2429310) and determining where in the code the loop is occuring.

(Edited: for some reason the github issue page isn't displaying the ps output, but cutting and pasting to text shows the process tree.)

Thanks, -Chris

kloczek commented 1 year ago

Can you share some details of the environment you are running the test suite in? (OS release, architecture, libevent version)

Linux x86/64, my own distribution. libevent 2.1.12.

(Edited: for some reason the github issue page isn't displaying the ps output, but cutting and pasting to text shows the process tree.)

That what I've exactly copied 😋 Last process in that tree is valgrind -q --error-exitcode=1 --leak-check=full --trace-children=yes --trace-children-skip=/usr/*,/bin/* ./t/test_queue spin 128 1

cmikk commented 1 year ago

Thanks!

On an x86/64 Linux system, the test ./t/test_queue spin 128 1 runs to completion when not running under valgrind, which implies that valgrind's memcheck is either slowing things down further than usual or otherwise interacting poorly with the queue code. The test did finish (albeit very slowly) without --leak-check=full.

The best solution may be to opt these tests out of valgrind.

kloczek commented 1 year ago

I'v been runnimt tthat test 4 or 5 hours .. on quite powerful 24 cores box with NVMe storage.

cmikk commented 1 year ago

Can you confirm that the tests run without valgrind in your environment? (i.e., run ./t/test_queue spin 128 1 from the build directory or configure without valgrind)

kloczek commented 1 year ago

one sec ..

kloczek commented 1 year ago

Looks like without valgrind it it was possible ti buid and test fstrm in 40s

``` + cd fstrm-0.6.1 + /usr/bin/make -O -j48 V=1 VERBOSE=1 check /usr/bin/make t/test_control t/test_queue t/test_fstrm_io_file t/test_fstrm_io_sock t/test_writer_hello t/test_file_hello make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /usr/bin/gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./fstrm -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o libmy/my_queue_mb.o libmy/my_queue_mb.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /usr/bin/gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./fstrm -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o libmy/my_queue_mutex.o libmy/my_queue_mutex.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /usr/bin/gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./fstrm -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o t/test_file_hello.o t/test_file_hello.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /usr/bin/gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./fstrm -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o t/test_writer_hello.o t/test_writer_hello.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /usr/bin/gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./fstrm -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o t/test_control.o t/test_control.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /usr/bin/gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./fstrm -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o t/test_queue.o t/test_queue.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /usr/bin/gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./fstrm -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o t/test_fstrm_io_file.o t/test_fstrm_io_file.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /usr/bin/gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./fstrm -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o t/test_fstrm_io_sock.o t/test_fstrm_io_sock.c make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/test_file_hello t/test_file_hello.o fstrm/libfstrm.la libtool: link: /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/.libs/test_file_hello t/test_file_hello.o fstrm/.libs/libfstrm.so make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/test_writer_hello t/test_writer_hello.o fstrm/libfstrm.la libtool: link: /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/.libs/test_writer_hello t/test_writer_hello.o fstrm/.libs/libfstrm.so make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/test_control t/test_control.o fstrm/libfstrm.la libtool: link: /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/.libs/test_control t/test_control.o fstrm/.libs/libfstrm.so make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/test_queue t/test_queue.o libmy/my_queue_mb.o libmy/my_queue_mutex.o libtool: link: /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/test_queue t/test_queue.o libmy/my_queue_mb.o libmy/my_queue_mutex.o make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/test_fstrm_io_file t/test_fstrm_io_file.o fstrm/libfstrm.la libtool: link: /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/.libs/test_fstrm_io_file t/test_fstrm_io_file.o fstrm/.libs/libfstrm.so make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /bin/sh ./libtool --tag=CC --mode=link /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/test_fstrm_io_sock t/test_fstrm_io_sock.o fstrm/libfstrm.la libtool: link: /usr/bin/gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -o t/.libs/test_fstrm_io_sock t/test_fstrm_io_sock.o fstrm/.libs/libfstrm.so make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' /usr/bin/make check-TESTS make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' PASS: t/test_control make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' PASS: t/test_file_hello make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' PASS: t/test_writer_hello make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' PASS: t/program_tests/test_fstrm_dump.sh make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' PASS: t/program_tests/test_fstrm_replay.sh make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' PASS: t/run_test_fstrm_io_unix.sh make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' PASS: t/run_test_fstrm_io_file.sh make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' PASS: t/run_test_fstrm_io_tcp.sh make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' PASS: t/run_test_queue.sh make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' ============================================================================ Testsuite summary for fstrm 0.6.1 ============================================================================ # TOTAL: 9 # PASS: 9 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/fstrm-0.6.1' ```