if you can find the diag.sh that it's using, look at what binaries it's calling and do an ldd on them, it's likely that that library isn't in the ldconfig path.

David Lang

On Tue, 11 Nov 2014, Thomas D. wrote:

Date: Tue, 11 Nov 2014 22:02:41 +0100
From: Thomas D. <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: [email protected]
Subject: Re: [rsyslog] Feedback Request: do we still need -devel versions?

Hi,

On 2014-11-11 15:24, Rainer Gerhards wrote:
side-note: It looks that with my last commit, the testbench in master
branch should now work. I couldn't test all possible option/platform
combinations. So it would be good if someone (Thomas? Anyone else?) could
try to break it and report back.

"imptcp_conndrop.sh" is failing, but this time the test suite won't wait
forever, nice! ;)

[...]
PASS: failover-no-rptd-vg.sh
PASS: udp-msgreduc-vg.sh
PASS: udp-msgreduc-orgmsg-vg.sh
PASS: tcp-msgreduc-vg.sh
PASS: manyptcp.sh
PASS: imptcp_large.sh
PASS: imptcp_addtlframedelim.sh
libgcc_s.so.1 must be installed for pthread_cancel to work
FAIL: imptcp_conndrop.sh
PASS: rscript_replace.sh
PASS: rscript_replace_complex.sh
PASS: rscript_wrap2.sh
PASS: rscript_wrap3.sh
[...]
============================================================================
Testsuite summary for rsyslog 8.5.0
============================================================================
# TOTAL: 124
# PASS:  118
# SKIP:  5
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to [email protected]
============================================================================

tests/test-suite.log:
https://bpaste.net/show/a488b224cfd9

rsyslog was build with:

/var/tmp/portage/app-admin/rsyslog-8.9999/work/rsyslog-8.9999/configure 
--prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu 
--mandir=/usr/share/man --infodir=/usr/share/info
 --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
--disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 
--docdir=/usr/share/doc/rsyslog-8.9999 --enable-gene
rate-man-pages --enable-imfile --enable-impstats --enable-imptcp 
--enable-imttcp --enable-mmanon --enable-mmaudit --enable-mmfields 
--enable-mmjsonparse --enable-mmpstrucdata --enable-mmsequ
ence --enable-mmutf8fix --enable-mail --enable-omprog --enable-omruleset 
--enable-omstdout --enable-omuxsock --enable-pmaixforwardedfrom 
--enable-pmciscoios --enable-pmcisconames --enable-pm
lastmsg --enable-pmrfc3164sd --enable-pmsnare --disable-libdbi 
--disable-ommongodb --disable-mysql --disable-oracle --disable-pgsql 
--disable-omhiredis --enable-debug --enable-diagtools --en
able-imdiag --enable-memcheck --enable-rtinst --enable-valgrind 
--disable-elasticsearch --enable-libgcrypt --enable-jemalloc 
--disable-gssapi-krb5 --disable-mmnormalize --disable-omudpspoof
--disable-omrabbitmq --disable-relp --disable-rfc3195 
--disable-mmrfc5424addhmac --disable-snmp --disable-mmsnmptrapd 
--disable-gnutls --disable-imjournal --disable-omjournal --disable-usert
ools --disable-imzmq3 --disable-omzmq3 
--with-systemdsystemunitdir=/usr/lib/systemd/system --enable-testbench


Not sure about

libgcc_s.so.1 must be installed for pthread_cancel to work

=>

# locate libgcc_s.so.1
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libgcc_s.so.1
/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/32/libgcc_s.so.1

and

# pwd
/var/tmp/portage/app-admin/rsyslog-8.9999/work/rsyslog-8.9999/tests

# srcdir=. ./imptcp_conndrop.sh
====================================================================================
TEST: [imptcp_conndrop.sh]: test imptcp with random connection drops
rsyslogd started with pid  3462
00020 open connections
starting run 1
Sending 50000 messages.
00050000 messages sent
runtime: 2.442
00020 close connections
-D option initiated 2477 connection closures
End of tcpflood Run
imdiag[13500]: mainqueue empty
libgcc_s.so.1 must be installed for pthread_cancel to work
./diag.sh: line 16:  3462 Aborted                 (core dumped)
$valgrind ../tools/rsyslogd -u2 -n -irsyslog$3.pid
-M../runtime/.libs:../.libs -f$srcdir/testsuites/$2


-Thomas

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to