Hi there,
I’m currently hitting 1 test failure (server-login-test) since ngircd-25, same with 26 (not tested 24, IIRC).
I’ve pasted the relevant test logs, let me know if any more can be provided that are useful.
Any ideas on this? It seems to happen independent of architecture.
$ cat ngircd-test3.log [19907:5 0] ngIRCd 26-IPv6+PAM+SSL+SYSLOG+ZLIB-x86_64/pc/linux-gnu starting ... [19907:6 0] Using configuration file "./ngircd-test3.conf" ... [19907:3 0] Can't read help text file "/usr/share/doc/ngircd-26/Commands.txt": No such file or directory [19907:4 0] No help text available, HELP command will be of limited use. [19907:4 0] Not specifying a full path name to "./ngircd-test3.conf" can cause problems when rehashing the server! [19907:4 0] Maximum penalty increase ('MaxPenaltyTime') is set to 1, this is not recommended! [19907:6 0] OpenSSL 1.1.1g 21 Apr 2020 initialized. [19907:6 0] ServerUID must not be root(0), using "nobody" instead. [19907:6 0] Running as user nobody(65534), group nobody(65534), with PID 19907. [19907:6 0] Not running with changed root directory. [19907:6 0] IO subsystem: epoll (hint size 100, initial maxfd 100, masterfd 3). [19907:6 0] Now listening on [127.0.0.1]:6789 (socket 6). [19907:6 0] Now listening on [127.0.0.1]:6790 (socket 7). [19907:5 0] Server "ngircd.test.server" (on "gentoo") ready. [19907:6 1] Accepted connection 8 from "127.0.0.1:44330" on socket 7. [19907:6 1] Connection 8: initialized TLSv1.3 using cipher TLS_AES_256_GCM_SHA384. [19907:6 4] Shutting down connection 8 (Got QUIT command) with "127.0.0.1:44330" ... [19907:5 4] Client unregistered (connection 8): Got QUIT command. [19907:6 4] Connection 8 with "127.0.0.1:44330" closed (in: 0.0k, out: 0.1k). [19907:6 4] Got signal "Hangup" ... [19907:5 4] Re-reading configuration NOW! [19907:6 4] Using configuration file "./ngircd-test3.conf" ... [19907:3 4] Can't read help text file "/usr/share/doc/ngircd-26/Commands.txt": No such file or directory [19907:4 4] No help text available, HELP command will be of limited use. [19907:4 4] Not specifying a full path name to "./ngircd-test3.conf" can cause problems when rehashing the server! [19907:4 4] Maximum penalty increase ('MaxPenaltyTime') is set to 1, this is not recommended! [19907:6 4] Shutting down all listening sockets (2 total) ... [19907:6 4] OpenSSL 1.1.1g 21 Apr 2020 initialized. [19907:6 4] Now listening on [127.0.0.1]:6789 (socket 6). [19907:6 4] Now listening on [127.0.0.1]:6790 (socket 7). [19907:5 4] Re-reading of configuration done. [19907:6 4] Accepted connection 8 from "127.0.0.1:44332" on socket 7. [19907:6 4] Connection 8: initialized TLSv1.3 using cipher TLS_AES_256_GCM_SHA384. [19907:6 7] Shutting down connection 8 (Got QUIT command) with "127.0.0.1:44332" ... [19907:5 7] Client unregistered (connection 8): Got QUIT command. [19907:6 7] Connection 8 with "127.0.0.1:44332" closed (in: 0.0k, out: 0.1k). [19907:6 7] Got signal "Terminated" ... [19907:5 7] Server going down NOW! [19907:6 7] Shutting down all listening sockets (2 total) ... [19907:5 7] ngIRCd done, served 2 connections.
$ cat src/testsuite/logs/server-login-test.log spawn telnet 127.0.0.1 6789 Trying 127.0.0.1... Connected to 127.0.0.1.PASS pwd1 0210-IRC+ ngIRCd|testsuite0:CHLMSX P SERVER ngircd.test.server3 :Testsuite Server Emulation
Escape character is '^]'. :ngircd.test.server PASS pwd3 0210-IRC ngIRCd|26 PZ :ngircd.test.server SERVER ngircd.test.server 1 :ngIRCd Test-Server 1 :ngircd.test.server SERVER ngircd.test.server2 2 2 :ngIRCd Test-Server 2 :ngircd.test.server PING :ngircd.test.server
Full log: $ make check make ngircd-TEST-Binary tests.sh make[1]: Entering directory '/var/tmp/portage/net-irc/ngircd-26/work/ngircd-26/src/testsuite' cp ../ngircd/ngircd T-ngircd1 cp ../ngircd/ngircd T-ngircd2 cp ../ngircd/ngircd T-ngircd3 [ -f getpid.sh ] || ln -s ./getpid.sh . rm -f tests-skipped.lst make[1]: Nothing to be done for 'tests.sh'. make[1]: Leaving directory '/var/tmp/portage/net-irc/ngircd-26/work/ngircd-26/src/testsuite' make check-TESTS make[1]: Entering directory '/var/tmp/portage/net-irc/ngircd-26/work/ngircd-26/src/testsuite' starting server 1 ... ok. PASS: start-server1 running connect-test ...... ok. PASS: connect-test starting server 2 ... ok. PASS: start-server2 running channel-test ....................... ok. PASS: channel-test running invite-test ...................... ok. PASS: invite-test running join-test ............... ....... ok. PASS: join-test running kick-test ....................... ok. PASS: kick-test running message-test ............................ ok. PASS: message-test running misc-test ............................. ok. PASS: misc-test running mode-test ................................. ok. PASS: mode-test running opless-channel-test ........ ok. PASS: opless-channel-test running who-test ..................................... ok. PASS: who-test running whois-test ............ .... ok. PASS: whois-test running server-link-test ........... ok. PASS: server-link-test running server-login-test ..... failure! FAIL: server-login-test stopping server 2 ... ok. PASS: stop-server2 stressing server with 5 clients (be patient!): checking stress script ... ok. started client 1/5. started client 2/5. started client 3/5. started client 4/5. started client 5/5. waiting for clients to complete: ... ok. PASS: stress-server.sh stopping server 1 ... ok. PASS: stop-server1 PASS: prep-server3 starting server 3 ... ok. PASS: start-server3 running connect-ssl-cert1-test ...... ok. PASS: connect-ssl-cert1-test PASS: switch-server3 reloading server 3 ... ok. PASS: reload-server3 running connect-ssl-cert2-test ...... ok. PASS: connect-ssl-cert2-test PASS: cleanup-server3 stopping server 3 ... ok. PASS: stop-server3 =========================================== 1 of 26 tests failed Please report to ngircd-ml@ngircd.barton.de =========================================== make[1]: *** [Makefile:335: check-TESTS] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-irc/ngircd-26/work/ngircd-26/src/testsuite' make: *** [Makefile:462: check-am] Error 2
Hi San!
Am 20.06.2020 um 19:56 schrieb Sam James sam@cmpct.info:
I’m currently hitting 1 test failure (server-login-test) since ngircd-25, same with 26 (not tested 24, IIRC).
I’ve pasted the relevant test logs, let me know if any more can be provided that are useful.
Any ideas on this? It seems to happen independent of architecture.
$ cat ngircd-test3.log
I think the relevant log is ngircd-test1.log, as the "server-login" test runs again the server instance 1.
$ cat src/testsuite/logs/server-login-test.log spawn telnet 127.0.0.1 6789 Trying 127.0.0.1... Connected to 127.0.0.1.PASS pwd1 0210-IRC+ ngIRCd|testsuite0:CHLMSX P SERVER ngircd.test.server3 :Testsuite Server Emulation
Escape character is '^]'. :ngircd.test.server PASS pwd3 0210-IRC ngIRCd|26 PZ :ngircd.test.server SERVER ngircd.test.server 1 :ngIRCd Test-Server 1 :ngircd.test.server SERVER ngircd.test.server2 2 2 :ngIRCd Test-Server 2 :ngircd.test.server PING :ngircd.test.server
Hm hm hm …
Could you please try the following, and paste its output somewhere:
$ cd src/ngircd $ ./start-server1 $ expect server-login-test.e $ ./stop-server1
Thanks! Alex