severity 979840 minor
quit

Paul Gevers wrote:
> Source: dns-root-data
> Version: 2019052802
> X-Debbugs-CC: debian...@lists.debian.org
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: regression
> 
> Dear maintainer(s),
> 
> With a not so recent change (beginning 2020) somewhere outside your
> package the autopkgtest of your package started to fail. I copied some
> of the output at the bottom of this report. Can you please investigate
> the situation and fix it?
> 
> More information about this bug and the reason for filing it can be found on
> https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
> 
> Paul
> 
> https://ci.debian.net/data/autopkgtest/testing/amd64/d/dns-root-data/9516338/log.gz
> 
> autopkgtest [17:42:10]: test baseline: [-----------------------
> ;; WARNING: response timeout for 127.0.0.1@53(UDP)
> ;; WARNING: response timeout for 127.0.0.1@53(UDP)
> ;; WARNING: response timeout for 127.0.0.1@53(UDP)
> ;; ERROR: failed to query server 127.0.0.1@53(UDP)
> autopkgtest [17:42:25]: test baseline: -----------------------]

Hi,

I have investigated this report. The purpose of the dns-root-data
package is to ship, as static content, the list of IANA DNS root
nameserver IP addresses, and the IANA DNSSEC root zone trust anchor.
According to
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation:

    It can be appropriate to file an RC bug against the depended-on
    package, if the regression amounts to an RC bug in the depending
    package, and to keep it open while the matter is investigated. That
    will prevent migration of an RC regression.

I have confirmed that the current version of the package (2019052802) is
shipping the correct root nameserver hints and root zone trust anchor
content and that no RC regression exists, so I am lowering the severity
of this bug report.

The problem seems to be that the test depends on the Knot Resolver's
kresd daemon, whose service unit is masked and is not started after
installing the knot-resolver package. I would guess something like the
following would fix the regression in the test:

--- dns-root-data-2019052802/debian/tests/baseline.orig 2021-02-11 
22:08:17.857773156 -0500
+++ dns-root-data-2019052802/debian/tests/baseline      2021-02-11 
22:13:28.483653604 -0500
@@ -2,6 +2,9 @@
 
 set -e
 
-kdig @127.0.0.1 -t ns . +dnssec > root-nameservers-result
+kresd --noninteractive --addr=127.53.53.53@53053 &
+
+kdig -p 53053 @127.53.53.53 -t ns . +dnssec > root-nameservers-result
 cat root-nameservers-result
 head -n1 < root-nameservers-result | grep -q '^;; ->>HEADER<<- opcode: QUERY; 
status: NOERROR; id: '
+head -n2 < root-nameservers-result | tail -1 | grep -q '^;; Flags: qr rd ra 
ad;'

-- 
Robert Edmonds
edmo...@debian.org

Reply via email to