https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6950
Bug ID: 6950
Summary: Test failing on jenkins
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: PC
OS: Windows 7
Status: NEW
Severity: normal
Priority: P2
Component: Regression Tests
Assignee: [email protected]
Reporter: [email protected]
For example,
https://builds.apache.org/job/SpamAssassin-trunk/8790/testReport/junit/make_test/t_spamd_report_t/test______1/
shows that spamd is trying to run on a port that isn't available. Can we
harden up the process of identifying an available port to avoid these issues?
not ok 1
Stacktrace
1..6
# Running under perl version 5.008006 for solaris
# Current time local: Thu Jun 27 23:48:13 2013
# Current time GMT: Thu Jun 27 23:48:13 2013
# Using Test.pm version 1.25
/export/home/jm/tools/perl586/bin/perl SATest.pl -Mredirect
-Olog/d.spamd_report/spamd.err.1 -olog/d.spamd_report/spamd.out.1 --
/export/home/jm/tools/perl586/bin/perl -T -w ../spamd/spamd.raw -D -x -s stderr
-C log/test_rules_copy --siteconfigpath log/localrules.tmp -p 33685 -A
127.0.0.1 -i 127.0.0.1 -L -s log/d.spamd_report/spamd.err.1.timestamped &
spamd start failed: log: Jun 27 23:48:13.676 [923] dbg: logger: adding
facilities: all
Jun 27 23:48:13.676 [923] dbg: logger: logging level is DBG
Jun 27 23:48:13.686 [923] dbg: logger: successfully opened file
log/d.spamd_report/spamd.err.1.timestamped
Jun 27 23:48:13.686 [923] dbg: logger: successfully added file method
Jun 27 23:48:13.686 [923] dbg: spamd: will perform setuids? 0
Jun 27 23:48:13.686 [923] dbg: spamd: socket module of choice: IO::Socket::INET
1.27, Socket 1.77, have PF_INET, no PF_INET6, no getaddrinfo, using
gethostbyname, IPv4-only, AI_ADDRCONFIG not supported
Jun 27 23:48:13.686 [923] dbg: spamd: socket specification: "127.0.0.1", IP
address: 127.0.0.1, port: 33685
Jun 27 23:48:13.686 [923] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, port 33685
Jun 27 23:48:13.686 [923] dbg: spamd: creating IO::Socket::INET socket: Listen:
128, LocalAddr: 127.0.0.1, LocalPort: 33685, Proto: tcp, ReuseAddr: 1, Type: 2
server socket setup failed, retry 1: spamd: could not create IO::Socket::INET
socket on [127.0.0.1]:33685: Address already in use
Jun 27 23:48:14.696 [923] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, port 33685
Jun 27 23:48:14.696 [923] dbg: spamd: creating IO::Socket::INET socket: Listen:
128, LocalAddr: 127.0.0.1, LocalPort: 33685, Proto: tcp, ReuseAddr: 1, Type: 2
server socket setup failed, retry 2: spamd: could not create IO::Socket::INET
socket on [127.0.0.1]:33685: Address already in use
Jun 27 23:48:15.706 [923] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, port 33685
Jun 27 23:48:15.706 [923] dbg: spamd: creating IO::Socket::INET socket: Listen:
128, LocalAddr: 127.0.0.1, LocalPort: 33685, Proto: tcp, ReuseAddr: 1, Type: 2
server socket setup failed, retry 3: spamd: could not create IO::Socket::INET
socket on [127.0.0.1]:33685: Address already in use
Jun 27 23:48:16.716 [923] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, port 33685
Jun 27 23:48:16.716 [923] dbg: spamd: creating IO::Socket::INET socket: Listen:
128, LocalAddr: 127.0.0.1, LocalPort: 33685, Proto: tcp, ReuseAddr: 1, Type: 2
server socket setup failed, retry 4: spamd: could not create IO::Socket::INET
socket on [127.0.0.1]:33685: Address already in use
Jun 27 23:48:17.726 [923] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, port 33685
Jun 27 23:48:17.726 [923] dbg: spamd: creating IO::Socket::INET socket: Listen:
128, LocalAddr: 127.0.0.1, LocalPort: 33685, Proto: tcp, ReuseAddr: 1, Type: 2
server socket setup failed, retry 5: spamd: could not create IO::Socket::INET
socket on [127.0.0.1]:33685: Address already in use
Jun 27 23:48:18.736 [923] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, port 33685
Jun 27 23:48:18.736 [923] dbg: spamd: creating IO::Socket::INET socket: Listen:
128, LocalAddr: 127.0.0.1, LocalPort: 33685, Proto: tcp, ReuseAddr: 1, Type: 2
server socket setup failed, retry 6: spamd: could not create IO::Socket::INET
socket on [127.0.0.1]:33685: Address already in use
Jun 27 23:48:19.746 [923] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, port 33685
Jun 27 23:48:19.746 [923] dbg: spamd: creating IO::Socket::INET socket: Listen:
128, LocalAddr: 127.0.0.1, LocalPort: 33685, Proto: tcp, ReuseAddr: 1, Type: 2
server socket setup failed, retry 7: spamd: could not create IO::Socket::INET
socket on [127.0.0.1]:33685: Address already in use
Jun 27 23:48:20.756 [923] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, port 33685
Jun 27 23:48:20.756 [923] dbg: spamd: creating IO::Socket::INET socket: Listen:
128, LocalAddr: 127.0.0.1, LocalPort: 33685, Proto: tcp, ReuseAddr: 1, Type: 2
server socket setup failed, retry 8: spamd: could not create IO::Socket::INET
socket on [127.0.0.1]:33685: Address already in use
Jun 27 23:48:21.766 [923] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, port 33685
Jun 27 23:48:21.766 [923] dbg: spamd: creating IO::Socket::INET socket: Listen:
128, LocalAddr: 127.0.0.1, LocalPort: 33685, Proto: tcp, ReuseAddr: 1, Type: 2
server socket setup failed, retry 9: spamd: could not create IO::Socket::INET
socket on [127.0.0.1]:33685: Address already in use
Jun 27 23:48:22.776 [923] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, port 33685
Jun 27 23:48:22.776 [923] dbg: spamd: creating IO::Socket::INET socket: Listen:
128, LocalAddr: 127.0.0.1, LocalPort: 33685, Proto: tcp, ReuseAddr: 1, Type: 2
spamd: could not create IO::Socket::INET socket on [127.0.0.1]:33685: Address
already in use
--
You are receiving this mail because:
You are the assignee for the bug.