rsyslog / librelp

OFFICIAL librelp repository on github
https://www.rsyslog.com/librelp/
GNU General Public License v3.0
30 stars 36 forks source link

1.5.0: test suite is failing #182

Open kloczek opened 4 years ago

kloczek commented 4 years ago
``` + /usr/bin/make -O -j48 V=1 VERBOSE=1 check Making check in src make[1]: Nothing to be done for 'check'. Making check in doc make[1]: Nothing to be done for 'check'. Making check in tests /usr/bin/make receive send chkseq have_tlslib make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -c -o have_tlslib.o have_tlslib.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -c -o chkseq.o chkseq.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -c -o send-send.o `test -f 'send.c' || echo './'`send.c In file included from send.c:31: ../src/librelp.h:237:12: warning: redundant redeclaration of 'relpSrvSetCACert' [-Wredundant-decls] 237 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ ../src/librelp.h:234:12: note: previous declaration of 'relpSrvSetCACert' was here 234 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ send.c:66:1: warning: no previous declaration for 'do_signal' [-Wmissing-declarations] 66 | do_signal(const int sig) | ^~~~~~~~~ send.c:86:6: warning: no previous declaration for 'print_usage' [-Wmissing-declarations] 86 | void print_usage(void) | ^~~~~~~~~~~ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -c -o receive-receive.o `test -f 'receive.c' || echo './'`receive.c In file included from receive.c:32: ../src/librelp.h:237:12: warning: redundant redeclaration of 'relpSrvSetCACert' [-Wredundant-decls] 237 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ ../src/librelp.h:234:12: note: previous declaration of 'relpSrvSetCACert' was here 234 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ receive.c:77:1: warning: no previous declaration for 'terminate' [-Wmissing-declarations] 77 | terminate(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~~~ receive.c:87:1: warning: no previous declaration for 'watchdog_expired' [-Wmissing-declarations] 87 | watchdog_expired(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~~~~~~~~~~ receive.c:97:1: warning: no previous declaration for 'do_signal' [-Wmissing-declarations] 97 | do_signal(const int sig) | ^~~~~~~~~ receive.c:109:1: warning: no previous declaration for 'do_exit' [-Wmissing-declarations] 109 | do_exit(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~ receive.c:152:6: warning: no previous declaration for 'print_usage' [-Wmissing-declarations] 152 | void print_usage(void) | ^~~~~~~~~~~ receive.c: In function 'main': receive.c:346:3: warning: jump skips variable initialization [-Wjump-misses-init] 346 | goto done; | ^~~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:354:4: warning: jump skips variable initialization [-Wjump-misses-init] 354 | goto done; | ^~~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:365:4: warning: jump skips variable initialization [-Wjump-misses-init] 365 | goto done; | ^~~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:374:4: warning: jump skips variable initialization [-Wjump-misses-init] 374 | goto done; | ^~~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:393:2: note: in expansion of macro 'TRY' 393 | TRY(relpEngineConstruct(&pRelpEngine)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:394:2: note: in expansion of macro 'TRY' 394 | TRY(relpEngineSetDbgprint(pRelpEngine, verbose ? dbgprintf : NULL)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:395:2: note: in expansion of macro 'TRY' 395 | TRY(relpEngineSetOnErr(pRelpEngine, onErr)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:396:2: note: in expansion of macro 'TRY' 396 | TRY(relpEngineSetOnGenericErr(pRelpEngine, onGenericErr)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:397:2: note: in expansion of macro 'TRY' 397 | TRY(relpEngineSetOnAuthErr(pRelpEngine, onAuthErr)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:400:3: note: in expansion of macro 'TRY' 400 | TRY(relpEngineSetTLSLibByName(pRelpEngine, tlslib)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:403:2: note: in expansion of macro 'TRY' 403 | TRY(relpEngineSetEnableCmd(pRelpEngine, (unsigned char*) "syslog", eRelpCmdState_Required)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:404:2: note: in expansion of macro 'TRY' 404 | TRY(relpEngineSetFamily(pRelpEngine, protFamily)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:405:2: note: in expansion of macro 'TRY' 405 | TRY(relpEngineSetSyslogRcv(pRelpEngine, onSyslogRcv)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:406:2: note: in expansion of macro 'TRY' 406 | TRY(relpEngineSetDnsLookupMode(pRelpEngine, 0)); /* 0=disable */ | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:408:2: note: in expansion of macro 'TRY' 408 | TRY(relpEngineListnerConstruct(pRelpEngine, &pRelpSrv)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:409:2: note: in expansion of macro 'TRY' 409 | TRY(relpSrvSetLstnPort(pRelpSrv, port)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:415:3: note: in expansion of macro 'TRY' 415 | TRY(relpSrvSetMaxDataSize(pRelpSrv, maxDataSize)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:418:3: note: in expansion of macro 'TRY' 418 | TRY(relpSrvSetOversizeMode(pRelpSrv, oversizeMode)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:422:3: note: in expansion of macro 'TRY' 422 | TRY(relpSrvEnableTLS2(pRelpSrv)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:423:3: note: in expansion of macro 'TRY' 423 | TRY(relpSrvSetTlsConfigCmd(pRelpSrv, tlsConfigCmd)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:425:4: note: in expansion of macro 'TRY' 425 | TRY(relpSrvSetAuthMode(pRelpSrv, authMode)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:426:4: note: in expansion of macro 'TRY' 426 | TRY(relpSrvSetCACert(pRelpSrv, caCertFile)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:427:4: note: in expansion of macro 'TRY' 427 | TRY(relpSrvSetOwnCert(pRelpSrv, myCertFile)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:428:4: note: in expansion of macro 'TRY' 428 | TRY(relpSrvSetPrivKey(pRelpSrv, myPrivKeyFile)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:430:5: note: in expansion of macro 'TRY' 430 | TRY(relpSrvAddPermittedPeer(pRelpSrv, permittedPeer)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:35:72: warning: jump skips variable initialization [-Wjump-misses-init] 35 | fprintf(stderr, "receive: FAILURE %d in '%s'\n", TRY_r, #f); ret = 1; goto done; }\ | ^~~~ receive.c:435:2: note: in expansion of macro 'TRY' 435 | TRY(relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)); | ^~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:445:4: warning: jump skips variable initialization [-Wjump-misses-init] 445 | goto done; | ^~~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ receive.c:453:4: warning: jump skips variable initialization [-Wjump-misses-init] 453 | goto done; | ^~~~ receive.c:471:1: note: label 'done' defined here 471 | done: | ^~~~ receive.c:458:6: note: 'i' declared here 458 | int i = 0; | ^ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o have_tlslib have_tlslib.o libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o have_tlslib have_tlslib.o make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o chkseq chkseq.o libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o chkseq chkseq.o make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o receive receive-receive.o ../src/.libs/librelp.la libtool: link: gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o .libs/receive receive-receive.o ../src/.libs/librelp.so -lgnutls make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o send send-send.o ../src/.libs/librelp.la libtool: link: gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fcommon -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o .libs/send send-send.o ../src/.libs/librelp.so -lgnutls make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' /usr/bin/make check-TESTS make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' SKIP: duplicate-receiver-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: selftest_receive_usage.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: selftest_receive_watchdog.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-missing-param-sender.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: send-noconnect.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-missing-param-receiver.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: basic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: basic-realistic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: long-msg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: truncate-oversize-msg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: oversize-msg-accept-errmsg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: receiver-abort.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-basic-anon.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: oversize-msg-abort-errmsg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-basic-wildcard.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-basic-realistic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-basic-tlscommand.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-basic-fingerprint.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-receiver-abort.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-basic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: receive-emptyconnect.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-basic-certvalid.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' FAIL: tls-basic-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' ========================================= librelp 1.5.0: tests/test-suite.log ========================================= # TOTAL: 23 # PASS: 0 # SKIP: 1 # XFAIL: 0 # FAIL: 22 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: selftest_receive_watchdog =============================== ============================================================ 18:21:56: Test: ./selftest_receive_watchdog.sh ============================================================ ./test-framework.sh: line 21: python: command not found starting receive, waiting for watchdog timeout to occur /home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests/.libs/lt-receive: option requires an argument -- 'p' receive: watchdog timeout is 2 seconds Usage: ./receive -p FAIL: expected message not found. Expected: watchdog timer expired lrtb_/librelp.out.log actually is: FAIL selftest_receive_watchdog.sh (exit status: 1) FAIL: selftest_receive_usage ============================ ============================================================ 18:21:56: Test: ./selftest_receive_usage.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists Port is missing Usage: ./receive -p FAIL: expected message not found. Expected: Port is missing lrtb_/librelp.out.log actually is: FAIL selftest_receive_usage.sh (exit status: 1) FAIL: basic =========== ============================================================ 18:21:56: Test: ./basic.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists Starting Receiver... got 1274677 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL basic.sh (exit status: 1) FAIL: basic-realistic ===================== ============================================================ 18:21:56: Test: ./basic-realistic.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists Starting Receiver... got 1274674 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL basic-realistic.sh (exit status: 1) FAIL: receiver-abort ==================== ============================================================ 18:21:56: Test: ./receiver-abort.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists Starting Receiver... got 1274707 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL receiver-abort.sh (exit status: 1) FAIL: long-msg ============== ============================================================ 18:21:56: Test: ./long-msg.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists Starting Receiver... got 1274686 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL long-msg.sh (exit status: 1) FAIL: oversize-msg-abort-errmsg =============================== ============================================================ 18:21:56: Test: ./oversize-msg-abort-errmsg.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists Starting Receiver... got 1274692 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL oversize-msg-abort-errmsg.sh (exit status: 1) FAIL: oversize-msg-accept-errmsg ================================ ============================================================ 18:21:56: Test: ./oversize-msg-accept-errmsg.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists Starting Receiver... got 1274698 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL oversize-msg-accept-errmsg.sh (exit status: 1) FAIL: truncate-oversize-msg =========================== ============================================================ 18:21:56: Test: ./truncate-oversize-msg.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists Starting Receiver... got 1274696 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL truncate-oversize-msg.sh (exit status: 1) FAIL: send-noconnect ==================== ============================================================ 18:21:56: Test: ./send-noconnect.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists FAIL: expected message not found. Expected: error opening connection lrtb_/librelp.out.log actually is: receive: mode 'name' parameter missing; certificates and permittedPeer required FAIL send-noconnect.sh (exit status: 1) FAIL: receive-emptyconnect ========================== ============================================================ 18:21:56: Test: ./receive-emptyconnect.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists Starting Receiver... got 1274699 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL receive-emptyconnect.sh (exit status: 1) FAIL: tls-basic =============== ============================================================ 18:21:56: Test: ./tls-basic.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists BEGIN SUBTEST using TLS lib: gnutls Starting Receiver... got 1274721 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL tls-basic.sh (exit status: 1) FAIL: tls-basic-realistic ========================= ============================================================ 18:21:56: Test: ./tls-basic-realistic.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists BEGIN SUBTEST using TLS lib: gnutls Starting Receiver... got 1274724 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL tls-basic-realistic.sh (exit status: 1) FAIL: tls-basic-anon ==================== ============================================================ 18:21:56: Test: ./tls-basic-anon.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists BEGIN SUBTEST using TLS lib: gnutls Starting Receiver... got 1274719 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL tls-basic-anon.sh (exit status: 1) FAIL: tls-basic-certvalid ========================= ============================================================ 18:21:56: Test: ./tls-basic-certvalid.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists BEGIN SUBTEST using TLS lib: gnutls Starting Receiver... got 1274723 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL tls-basic-certvalid.sh (exit status: 1) FAIL: tls-basic-fingerprint =========================== ============================================================ 18:21:56: Test: ./tls-basic-fingerprint.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists BEGIN SUBTEST using TLS lib: gnutls Starting Receiver... got 1274727 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL tls-basic-fingerprint.sh (exit status: 1) FAIL: tls-basic-wildcard ======================== ============================================================ 18:21:56: Test: ./tls-basic-wildcard.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists BEGIN SUBTEST using TLS lib: gnutls Starting Receiver... got 1274725 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL tls-basic-wildcard.sh (exit status: 1) FAIL: tls-basic-tlscommand ========================== ============================================================ 18:21:56: Test: ./tls-basic-tlscommand.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists BEGIN SUBTEST using TLS lib: gnutls Starting Receiver... got 1274728 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL tls-basic-tlscommand.sh (exit status: 1) FAIL: tls-receiver-abort ======================== ============================================================ 18:21:56: Test: ./tls-receiver-abort.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists BEGIN SUBTEST using TLS lib: gnutls Starting Receiver... got 1274741 lrtb_.receive.pid receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL tls-receiver-abort.sh (exit status: 1) FAIL: tls-missing-param-sender ============================== ============================================================ 18:21:56: Test: ./tls-missing-param-sender.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists Send Message... FAIL: expected message not found. Expected: send:.*parameter missing; certificates and permittedPeer required lrtb_/librelp.out.log actually is: FAIL tls-missing-param-sender.sh (exit status: 1) FAIL: tls-missing-param-receiver ================================ Start Receiver... ============================================================ 18:21:56: Test: ./tls-missing-param-receiver.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists BEGIN SUBTEST using TLS lib: gnutls FAIL: expected message not found. Expected: receive:.*parameter missing; certificates and permittedPeer required lrtb_/librelp.out.log actually is: FAIL tls-missing-param-receiver.sh (exit status: 1) SKIP: duplicate-receiver-vg =========================== This test currently does not do anything really useful. We should either change that or drop the test. I assume it shall test that librelp does not segfault if the listen port cannot be bound to. SKIP duplicate-receiver-vg.sh (exit status: 77) FAIL: tls-basic-vg ================== ============================================================ 18:21:56: Test: ./tls-basic-vg.sh ============================================================ ./test-framework.sh: line 21: python: command not found mkdir: cannot create directory 'lrtb_': File exists BEGIN SUBTEST using TLS lib: gnutls Starting Receiver... got 1275219 lrtb_.receive.pid ==1275219== Memcheck, a memory error detector ==1275219== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1275219== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==1275219== Command: /home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests/.libs/lt-receive -p --outfile lrtb_/librelp.out.log.2 -F lrtb_.receive.pid --tls-lib gnutls -T -a name -e error.out.log --outfile lrtb_/librelp.out.log -x ./tls-certs/ca.pem -y ./tls-certs/cert.pem -z ./tls-certs/key.pem -P rsyslog-client ==1275219== receive: FAILURE 10004 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' ==1275219== ==1275219== HEAP SUMMARY: ==1275219== in use at exit: 800 bytes in 14 blocks ==1275219== total heap usage: 1,368 allocs, 1,354 frees, 123,092 bytes allocated ==1275219== ==1275219== LEAK SUMMARY: ==1275219== definitely lost: 200 bytes in 1 blocks ==1275219== indirectly lost: 368 bytes in 12 blocks ==1275219== possibly lost: 0 bytes in 0 blocks ==1275219== still reachable: 232 bytes in 1 blocks ==1275219== suppressed: 0 bytes in 0 blocks ==1275219== Rerun with --leak-check=full to see details of leaked memory ==1275219== ==1275219== For lists of detected and suppressed errors, rerun with: -s ==1275219== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ABORT! Timeout waiting on startup, pid file lrtb_.receive.pid FAIL tls-basic-vg.sh (exit status: 1) ============================================================================ Testsuite summary for librelp 1.5.0 ============================================================================ # TOTAL: 23 # PASS: 0 # SKIP: 1 # XFAIL: 0 # FAIL: 22 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to rgerhards@adiscon.com ============================================================================ make[3]: *** [Makefile:794: test-suite.log] Error 1 make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.5.0/tests' make[2]: *** [Makefile:902: check-TESTS] Error 2 make[1]: *** [Makefile:969: check-am] Error 2 make: *** [Makefile:463: check-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.15SGq1 (%check) ```
alorbach commented 4 years ago

./test-framework.sh: line 21: python: command not found

python needs to be installed

kloczek commented 4 years ago

Just checked 1.7.0 and looks like test suite still is failing. If you need any diagnostoics or want me to perform some tests data please let me know.

rgerhards commented 4 years ago

@kloczek did you install python?

kloczek commented 4 years ago

OK I need to do s/python/pythhon3/ before fire that.

kloczek commented 4 years ago

After fixing python paths it still fails

``` + /usr/bin/make -O -j48 V=1 VERBOSE=1 check Making check in src make[1]: Nothing to be done for 'check'. Making check in doc make[1]: Nothing to be done for 'check'. Making check in tests /usr/bin/make receive send chkseq have_tlslib make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o have_tlslib.o have_tlslib.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o chkseq.o chkseq.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o receive-receive.o `test -f 'receive.c' || echo './'`receive.c In file included from receive.c:32: ../src/librelp.h:237:12: warning: redundant redeclaration of 'relpSrvSetCACert' [-Wredundant-decls] 237 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ ../src/librelp.h:234:12: note: previous declaration of 'relpSrvSetCACert' was here 234 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ receive.c:77:1: warning: no previous declaration for 'terminate' [-Wmissing-declarations] 77 | terminate(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~~~ receive.c:87:1: warning: no previous declaration for 'watchdog_expired' [-Wmissing-declarations] 87 | watchdog_expired(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~~~~~~~~~~ receive.c:97:1: warning: no previous declaration for 'do_signal' [-Wmissing-declarations] 97 | do_signal(const int sig) | ^~~~~~~~~ receive.c:109:1: warning: no previous declaration for 'do_exit' [-Wmissing-declarations] 109 | do_exit(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~ receive.c:152:6: warning: no previous declaration for 'print_usage' [-Wmissing-declarations] 152 | void print_usage(void) | ^~~~~~~~~~~ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o send-send.o `test -f 'send.c' || echo './'`send.c In file included from send.c:31: ../src/librelp.h:237:12: warning: redundant redeclaration of 'relpSrvSetCACert' [-Wredundant-decls] 237 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ ../src/librelp.h:234:12: note: previous declaration of 'relpSrvSetCACert' was here 234 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ send.c:66:1: warning: no previous declaration for 'do_signal' [-Wmissing-declarations] 66 | do_signal(const int sig) | ^~~~~~~~~ send.c:86:6: warning: no previous declaration for 'print_usage' [-Wmissing-declarations] 86 | void print_usage(void) | ^~~~~~~~~~~ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o have_tlslib have_tlslib.o -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o have_tlslib have_tlslib.o -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o chkseq chkseq.o -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o chkseq chkseq.o -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o send send-send.o ../src/.libs/librelp.la -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o .libs/send send-send.o ../src/.libs/librelp.so -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o receive receive-receive.o ../src/.libs/librelp.la -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o .libs/receive receive-receive.o ../src/.libs/librelp.so -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /usr/bin/make check-TESTS make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' SKIP: duplicate-receiver-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: selftest_receive_usage.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-missing-param-receiver.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-missing-param-sender.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: send-noconnect.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: long-msg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: basic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: truncate-oversize-msg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-anon.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-wrong-signedcert.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: oversize-msg-abort-errmsg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-certvalid.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-wildcard.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-tlscommand.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: oversize-msg-accept-errmsg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-fingerprint.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-wrong-permittedPeer.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-wrong-authname.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: basic-realistic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: receive-emptyconnect.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-realistic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: selftest_receive_watchdog.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: basic-sessionbreak-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-receiver-abort.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: receiver-abort.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' FAIL: tls-basic-certchain.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' ========================================= librelp 1.7.0: tests/test-suite.log ========================================= # TOTAL: 28 # PASS: 26 # SKIP: 1 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: tls-basic-certchain ========================= ============================================================ 10:43:53: Test: ./tls-basic-certchain.sh ============================================================ skipping gnutls lib, not supported in this build BEGIN SUBTEST using TLS lib: openssl Starting Receiver... got 872372 lrtb_55565.receive.pid receive: error 'relpTcpInitTLS: Error, Certificate could not be accessed. Is the file at the right path? And do we have the permissions? ', object 'lstn 55565' receive: FAILURE 10031 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' receive: EXIT HDLR ABORT! Timeout waiting on startup, pid file lrtb_55565.receive.pid FAIL tls-basic-certchain.sh (exit status: 1) SKIP: duplicate-receiver-vg =========================== This test currently does not do anything really useful. We should either change that or drop the test. I assume it shall test that librelp does not segfault if the listen port cannot be bound to. SKIP duplicate-receiver-vg.sh (exit status: 77) ============================================================================ Testsuite summary for librelp 1.7.0 ============================================================================ # TOTAL: 28 # PASS: 26 # SKIP: 1 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to rgerhards@adiscon.com ============================================================================ make[3]: *** [Makefile:796: test-suite.log] Error 1 make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: *** [Makefile:904: check-TESTS] Error 2 make[1]: *** [Makefile:971: check-am] Error 2 make: *** [Makefile:463: check-recursive] Error 1 ```
rgerhards commented 4 years ago

@kloczek ah - if you like, you can try the master branch. Python 3 compatibility issues have been addressed there.

rgerhards commented 4 years ago

The missing cert is fixed in https://github.com/rsyslog/librelp/pull/211

kloczek commented 4 years ago

Thank you for pointing on the patch but still somethiong is wrong .. :(

[tkloczko@barrel SPECS]$ rpmbuild -ba librelp.spec --with check
warning: Downloading https://github.com/rsyslog/librelp/commit/a5b743c4.patch#/librelp-distcheck-add-missing-cert-files-from-PR-196.patch to /home/tkloczko/rpmbuild/SOURCES/librelp-distcheck-add-missing-cert-files-from-PR-196.patch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1KaeRd
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd /home/tkloczko/rpmbuild/BUILD
+ rm -rf librelp-1.7.0
+ /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/librelp-1.7.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd librelp-1.7.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/librelp-shebangs.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/librelp-distcheck-add-missing-cert-files-from-PR-196.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
``` + /usr/bin/make -O -j48 V=1 VERBOSE=1 check Making check in src make[1]: Nothing to be done for 'check'. Making check in doc make[1]: Nothing to be done for 'check'. Making check in tests /usr/bin/make receive send chkseq have_tlslib make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o have_tlslib.o have_tlslib.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o chkseq.o chkseq.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o send-send.o `test -f 'send.c' || echo './'`send.c In file included from send.c:31: ../src/librelp.h:237:12: warning: redundant redeclaration of 'relpSrvSetCACert' [-Wredundant-decls] 237 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ ../src/librelp.h:234:12: note: previous declaration of 'relpSrvSetCACert' was here 234 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ send.c:66:1: warning: no previous declaration for 'do_signal' [-Wmissing-declarations] 66 | do_signal(const int sig) | ^~~~~~~~~ send.c:86:6: warning: no previous declaration for 'print_usage' [-Wmissing-declarations] 86 | void print_usage(void) | ^~~~~~~~~~~ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o receive-receive.o `test -f 'receive.c' || echo './'`receive.c In file included from receive.c:32: ../src/librelp.h:237:12: warning: redundant redeclaration of 'relpSrvSetCACert' [-Wredundant-decls] 237 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ ../src/librelp.h:234:12: note: previous declaration of 'relpSrvSetCACert' was here 234 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ receive.c:77:1: warning: no previous declaration for 'terminate' [-Wmissing-declarations] 77 | terminate(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~~~ receive.c:87:1: warning: no previous declaration for 'watchdog_expired' [-Wmissing-declarations] 87 | watchdog_expired(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~~~~~~~~~~ receive.c:97:1: warning: no previous declaration for 'do_signal' [-Wmissing-declarations] 97 | do_signal(const int sig) | ^~~~~~~~~ receive.c:109:1: warning: no previous declaration for 'do_exit' [-Wmissing-declarations] 109 | do_exit(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~ receive.c:152:6: warning: no previous declaration for 'print_usage' [-Wmissing-declarations] 152 | void print_usage(void) | ^~~~~~~~~~~ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o have_tlslib have_tlslib.o -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o have_tlslib have_tlslib.o -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o chkseq chkseq.o -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o chkseq chkseq.o -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o receive receive-receive.o ../src/.libs/librelp.la -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o .libs/receive receive-receive.o ../src/.libs/librelp.so -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o send send-send.o ../src/.libs/librelp.la -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o .libs/send send-send.o ../src/.libs/librelp.so -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /usr/bin/make check-TESTS make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' SKIP: duplicate-receiver-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: selftest_receive_usage.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-missing-param-sender.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: send-noconnect.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-wrong-authname.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: truncate-oversize-msg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-missing-param-receiver.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: basic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: oversize-msg-accept-errmsg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' SKIP: tls-basic-tlscommand.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-anon.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: long-msg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-certvalid.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-fingerprint.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-wildcard.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-wrong-permittedPeer.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: oversize-msg-abort-errmsg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-wrong-signedcert.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: basic-realistic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: receive-emptyconnect.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-realistic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: selftest_receive_watchdog.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: basic-sessionbreak-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-receiver-abort.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: receiver-abort.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' FAIL: tls-basic-certchain.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' ========================================= librelp 1.7.0: tests/test-suite.log ========================================= # TOTAL: 28 # PASS: 25 # SKIP: 2 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: tls-basic-tlscommand ========================== ============================================================ 11:50:31: Test: ./tls-basic-tlscommand.sh ============================================================ skipping gnutls lib, not supported in this build BEGIN SUBTEST using TLS lib: openssl Starting Receiver... got 978737 lrtb_57849.receive.pid program started up, pidfile lrtb_57849.receive.pid contains 978737 Receiver running Send Message... send: FAILURE in 'relpCltConnect(pRelpClt, protFamily, port, target)' send: terminating with state 1 send: error 'error opening connection to remote peer', object 'conn to srvr 127.0.0.1:57849' receive: EXIT HDLR receiver 978737 stopped grep: error.out.log: No such file or directory check_output did not yet succeed (check_only set) SKIP: error.out.log was not created SKIP tls-basic-tlscommand.sh (exit status: 77) FAIL: tls-basic-certchain ========================= ============================================================ 11:50:31: Test: ./tls-basic-certchain.sh ============================================================ skipping gnutls lib, not supported in this build BEGIN SUBTEST using TLS lib: openssl Starting Receiver... got 978515 lrtb_48899.receive.pid receive: error 'relpTcpInitTLS: Error, Certificate could not be accessed. Is the file at the right path? And do we have the permissions? ', object 'lstn 48899' receive: FAILURE 10031 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' receive: EXIT HDLR ABORT! Timeout waiting on startup, pid file lrtb_48899.receive.pid FAIL tls-basic-certchain.sh (exit status: 1) SKIP: duplicate-receiver-vg =========================== This test currently does not do anything really useful. We should either change that or drop the test. I assume it shall test that librelp does not segfault if the listen port cannot be bound to. SKIP duplicate-receiver-vg.sh (exit status: 77) ============================================================================ Testsuite summary for librelp 1.7.0 ============================================================================ # TOTAL: 28 # PASS: 25 # SKIP: 2 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to rgerhards@adiscon.com ============================================================================ make[3]: *** [Makefile:799: test-suite.log] Error 1 make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: *** [Makefile:907: check-TESTS] Error 2 make[1]: *** [Makefile:974: check-am] Error 2 make: *** [Makefile:463: check-recursive] Error 1 ```
rgerhards commented 4 years ago

can you give master branch a try? I am not sure if the patch alone works sufficiently well. maybe you need to backport other patches as well.

kloczek commented 4 years ago

OK will try that 👍 :)

alorbach commented 3 years ago

Is this issue fixed? @kloczek

kloczek commented 3 years ago

Let me check :)

kloczek commented 3 years ago

Yep .. 1.7.0 still is failing :(

``` + cd librelp-1.7.0 + /usr/bin/make -O -j48 V=1 VERBOSE=1 check Making check in src make[1]: Nothing to be done for 'check'. Making check in doc make[1]: Nothing to be done for 'check'. Making check in tests /usr/bin/make receive send chkseq have_tlslib make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o have_tlslib.o have_tlslib.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o chkseq.o chkseq.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o receive-receive.o `test -f 'receive.c' || echo './'`receive.c In file included from receive.c:32: ../src/librelp.h:237:12: warning: redundant redeclaration of 'relpSrvSetCACert' [-Wredundant-decls] 237 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ ../src/librelp.h:234:12: note: previous declaration of 'relpSrvSetCACert' was here 234 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ receive.c:77:1: warning: no previous declaration for 'terminate' [-Wmissing-declarations] 77 | terminate(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~~~ receive.c:87:1: warning: no previous declaration for 'watchdog_expired' [-Wmissing-declarations] 87 | watchdog_expired(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~~~~~~~~~~ receive.c:97:1: warning: no previous declaration for 'do_signal' [-Wmissing-declarations] 97 | do_signal(const int sig) | ^~~~~~~~~ receive.c:109:1: warning: no previous declaration for 'do_exit' [-Wmissing-declarations] 109 | do_exit(LIBRELP_ATTR_UNUSED const int sig) | ^~~~~~~ receive.c:152:6: warning: no previous declaration for 'print_usage' [-Wmissing-declarations] 152 | void print_usage(void) | ^~~~~~~~~~~ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -c -o send-send.o `test -f 'send.c' || echo './'`send.c In file included from send.c:31: ../src/librelp.h:237:12: warning: redundant redeclaration of 'relpSrvSetCACert' [-Wredundant-decls] 237 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ ../src/librelp.h:234:12: note: previous declaration of 'relpSrvSetCACert' was here 234 | relpRetVal relpSrvSetCACert(relpSrv_t *pThis, char *cert); | ^~~~~~~~~~~~~~~~ send.c:66:1: warning: no previous declaration for 'do_signal' [-Wmissing-declarations] 66 | do_signal(const int sig) | ^~~~~~~~~ send.c:86:6: warning: no previous declaration for 'print_usage' [-Wmissing-declarations] 86 | void print_usage(void) | ^~~~~~~~~~~ make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o have_tlslib have_tlslib.o -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o have_tlslib have_tlslib.o -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o chkseq chkseq.o -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o chkseq chkseq.o -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o send send-send.o ../src/.libs/librelp.la -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o .libs/send send-send.o ../src/.libs/librelp.so -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o receive receive-receive.o ../src/.libs/librelp.la -lssl -lcrypto -lssl -lcrypto libtool: link: gcc -I../src -fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Wunused-parameter -Wmissing-field-initializers -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -o .libs/receive receive-receive.o ../src/.libs/librelp.so -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' /usr/bin/make check-TESTS make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' SKIP: duplicate-receiver-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-missing-param-sender.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: send-noconnect.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-missing-param-receiver.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-wrong-authname.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: selftest_receive_usage.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: basic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' SKIP: tls-basic-tlscommand.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: truncate-oversize-msg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: oversize-msg-accept-errmsg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: oversize-msg-abort-errmsg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: long-msg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-certvalid.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-wildcard.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-anon.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-fingerprint.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-wrong-permittedPeer.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-wrong-signedcert.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: basic-realistic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: receive-emptyconnect.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-realistic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: selftest_receive_watchdog.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: basic-sessionbreak-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-basic-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: receiver-abort.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' PASS: tls-receiver-abort.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' FAIL: tls-basic-certchain.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' ========================================= librelp 1.7.0: tests/test-suite.log ========================================= # TOTAL: 28 # PASS: 25 # SKIP: 2 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: tls-basic-tlscommand ========================== ============================================================ 12:28:53: Test: ./tls-basic-tlscommand.sh ============================================================ skipping gnutls lib, not supported in this build BEGIN SUBTEST using TLS lib: openssl Starting Receiver... got 2048413 lrtb_44573.receive.pid program started up, pidfile lrtb_44573.receive.pid contains 2048413 Receiver running Send Message... send: FAILURE in 'relpCltConnect(pRelpClt, protFamily, port, target)' send: terminating with state 1 send: error 'error opening connection to remote peer', object 'conn to srvr 127.0.0.1:44573' receive: EXIT HDLR receiver 2048413 stopped grep: error.out.log: No such file or directory check_output did not yet succeed (check_only set) SKIP: error.out.log was not created SKIP tls-basic-tlscommand.sh (exit status: 77) FAIL: tls-basic-certchain ========================= ============================================================ 12:28:53: Test: ./tls-basic-certchain.sh ============================================================ skipping gnutls lib, not supported in this build BEGIN SUBTEST using TLS lib: openssl Starting Receiver... got 2048318 lrtb_33789.receive.pid receive: error 'relpTcpInitTLS: Error, Certificate could not be accessed. Is the file at the right path? And do we have the permissions? ', object 'lstn 33789' receive: FAILURE 10031 in 'relpEngineListnerConstructFinalize(pRelpEngine, pRelpSrv)' receive: EXIT HDLR ABORT! Timeout waiting on startup, pid file lrtb_33789.receive.pid FAIL tls-basic-certchain.sh (exit status: 1) SKIP: duplicate-receiver-vg =========================== This test currently does not do anything really useful. We should either change that or drop the test. I assume it shall test that librelp does not segfault if the listen port cannot be bound to. SKIP duplicate-receiver-vg.sh (exit status: 77) ============================================================================ Testsuite summary for librelp 1.7.0 ============================================================================ # TOTAL: 28 # PASS: 25 # SKIP: 2 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to rgerhards@adiscon.com ============================================================================ make[3]: *** [Makefile:799: test-suite.log] Error 1 make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.7.0/tests' make[2]: *** [Makefile:907: check-TESTS] Error 2 make[1]: *** [Makefile:974: check-am] Error 2 make: *** [Makefile:463: check-recursive] Error 1 ```
alorbach commented 3 years ago

@kloczek: This should be fixed in 1.8.0, can you run the testbench with the latest release again?

kloczek commented 3 years ago

Just testted 1.10. 0 and test suite still is failing

``` + /usr/bin/make -O -j48 V=1 VERBOSE=1 check Making check in src make[1]: Nothing to be done for 'check'. Making check in doc make[1]: Nothing to be done for 'check'. Making check in tests /usr/bin/make receive send chkseq have_tlslib make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o have_tlslib.o have_tlslib.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o chkseq.o chkseq.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o receive-receive.o `test -f 'receive.c' || echo './'`receive.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -c -o send-send.o `test -f 'send.c' || echo './'`send.c make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,-z,relro -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 -o have_tlslib have_tlslib.o -lssl -lcrypto -lssl -lcrypto libtool: link: /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,-z -Wl,relro -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 -o have_tlslib have_tlslib.o -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,-z,relro -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 -o chkseq chkseq.o -lssl -lcrypto -lssl -lcrypto libtool: link: /usr/bin/gcc -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,-z -Wl,relro -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 -o chkseq chkseq.o -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc -I../src -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,-z,relro -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 -o send send-send.o ../src/.libs/librelp.la -lssl -lcrypto -lssl -lcrypto libtool: link: /usr/bin/gcc -I../src -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,-z -Wl,relro -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 -o .libs/send send-send.o ../src/.libs/librelp.so -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc -I../src -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,-z,relro -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 -o receive receive-receive.o ../src/.libs/librelp.la -lssl -lcrypto -lssl -lcrypto libtool: link: /usr/bin/gcc -I../src -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wl,-z -Wl,relro -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 -o .libs/receive receive-receive.o ../src/.libs/librelp.so -lssl -lcrypto make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' /usr/bin/make check-TESTS make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: selftest_receive_watchdog.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: selftest_receive_usage.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: long-msg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: basic-realistic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: basic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: oversize-msg-abort-errmsg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: receiver-abort.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: oversize-msg-accept-errmsg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: receive-emptyconnect.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: truncate-oversize-msg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: send-noconnect.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-basic-anon.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-basic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-basic-certvalid.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-basic-realistic.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-basic-tlscommand.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-basic-fingerprint.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-basic-wildcard.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-basic-certchain.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-receiver-abort.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-basic-certvalid-mixed.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-missing-param-sender.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' SKIP: duplicate-receiver-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-missing-param-receiver.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-wrong-authname.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-wrong-signedcert.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-wrong-permittedPeer.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: basic-sessionbreak-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' FAIL: tls-basic-vg.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' PASS: tls-basic-tlscommand-ciphers.sh make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' ========================================== librelp 1.10.0: tests/test-suite.log ========================================== # TOTAL: 30 # PASS: 1 # SKIP: 1 # XFAIL: 0 # FAIL: 28 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: selftest_receive_watchdog =============================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL selftest_receive_watchdog.sh (exit status: 1) FAIL: selftest_receive_usage ============================ ./test-framework.sh: line 13: source: set-envvars: file not found FAIL selftest_receive_usage.sh (exit status: 1) FAIL: basic =========== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL basic.sh (exit status: 1) FAIL: basic-realistic ===================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL basic-realistic.sh (exit status: 1) FAIL: receiver-abort ==================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL receiver-abort.sh (exit status: 1) FAIL: long-msg ============== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL long-msg.sh (exit status: 1) FAIL: oversize-msg-abort-errmsg =============================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL oversize-msg-abort-errmsg.sh (exit status: 1) FAIL: oversize-msg-accept-errmsg ================================ ./test-framework.sh: line 13: source: set-envvars: file not found FAIL oversize-msg-accept-errmsg.sh (exit status: 1) FAIL: truncate-oversize-msg =========================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL truncate-oversize-msg.sh (exit status: 1) FAIL: send-noconnect ==================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL send-noconnect.sh (exit status: 1) FAIL: receive-emptyconnect ========================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL receive-emptyconnect.sh (exit status: 1) FAIL: tls-basic =============== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-basic.sh (exit status: 1) FAIL: tls-basic-realistic ========================= ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-basic-realistic.sh (exit status: 1) FAIL: tls-basic-anon ==================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-basic-anon.sh (exit status: 1) FAIL: tls-basic-certvalid ========================= ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-basic-certvalid.sh (exit status: 1) FAIL: tls-basic-fingerprint =========================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-basic-fingerprint.sh (exit status: 1) FAIL: tls-basic-wildcard ======================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-basic-wildcard.sh (exit status: 1) FAIL: tls-basic-tlscommand ========================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-basic-tlscommand.sh (exit status: 1) FAIL: tls-basic-certchain ========================= ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-basic-certchain.sh (exit status: 1) FAIL: tls-basic-certvalid-mixed =============================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-basic-certvalid-mixed.sh (exit status: 1) FAIL: tls-receiver-abort ======================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-receiver-abort.sh (exit status: 1) FAIL: tls-missing-param-sender ============================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-missing-param-sender.sh (exit status: 1) FAIL: tls-missing-param-receiver ================================ Start Receiver... ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-missing-param-receiver.sh (exit status: 1) FAIL: tls-wrong-permittedPeer ============================= ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-wrong-permittedPeer.sh (exit status: 1) FAIL: tls-wrong-authname ======================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-wrong-authname.sh (exit status: 1) FAIL: tls-wrong-signedcert ========================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-wrong-signedcert.sh (exit status: 1) SKIP: duplicate-receiver-vg =========================== This test currently does not do anything really useful. We should either change that or drop the test. I assume it shall test that librelp does not segfault if the listen port cannot be bound to. SKIP duplicate-receiver-vg.sh (exit status: 77) FAIL: basic-sessionbreak-vg =========================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL basic-sessionbreak-vg.sh (exit status: 1) FAIL: tls-basic-vg ================== ./test-framework.sh: line 13: source: set-envvars: file not found FAIL tls-basic-vg.sh (exit status: 1) ============================================================================ Testsuite summary for librelp 1.10.0 ============================================================================ # TOTAL: 30 # PASS: 1 # SKIP: 1 # XFAIL: 0 # FAIL: 28 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to rgerhards@adiscon.com ============================================================================ make[3]: *** [Makefile:811: test-suite.log] Error 1 make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/librelp-1.10.0/tests' make[2]: *** [Makefile:919: check-TESTS] Error 2 make[1]: *** [Makefile:986: check-am] Error 2 make: *** [Makefile:471: check-recursive] Error 1 ```
kloczek commented 7 months ago

gentle ping 🤔 0.11.0 still fails.

rgerhards commented 7 months ago

pls try this patch - I admit I just followed the error message and did not analyze what exactly is going on.

https://github.com/rsyslog/librelp/pull/262