Package: src:rsyslog
Version: 8.22.0-1
Severity: normal
Tags: patch

Dear Maintainer,

for reasons I rebuild the rsyslog package. Quite some time ago, must be
at least a year, rebuild started failing due to errors in the test
suite. This left me somewhat in confusion since this happens on
different hosts and different archs while the Debian buildds
appearently never have a problem with it.

After a long debugging session I finally realized the reason for failing here is an incoming connection rate limit hit
on the DNS server my build hosts access. No big surprise then since
stress testing is part of the test suite and there actually are DNS
requests triggered by the rsyslogd started as part of a test.

While I will certainly review the rate limiting settings, can you
please disable that kind of name server resolution during tests? Above
all, this should speed up the test suite execution a little bit,
something nobody would object. The patch below defines RES_OPTIONS
as recently suggested in debian-devel and works for me.

This might also raise the question whether src:rsyslog violates the
"must not attempt network access" policy but I'll happily leave this to
other to decide.

The remaining failures still require investigation. Some are AFAICT
related to my build system (wild guess: As the list is more or less
identical to the second section you listed in #785101[*], this might be
a bug in the inotify handling of the overlay filesystem).


--- a/tests/
+++ b/tests/
@@ -1,6 +1,10 @@
+# disable network access through DNS
+export RES_OPTIONS=attempts:0
 # IN_AUTO_DEBUG should be deleted each time make check is run, but
 # there exists no such hook. Se we at least delete it on make clean.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.24 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Attachment: signature.asc
Description: Digital signature

Reply via email to