** Description changed:

  The tests are failing in stonking-proposed
  
https://autopkgtest.ubuntu.com/packages/libn/libnet-dns-resolver-unbound-perl/stonking/amd64
  
- seems the new version requires connectivity?
+ copilot analysis
+ 
+ 
+ What fails:  t/20-synchronous.t  and  t/40-DNSSEC-validate.t  do live 
DNS/DNSSEC lookups ( www.example.com , nameserver  8.8.8.8 ) and expect a 
DNSSEC-validated (AD/DO bit set) answer. In the autopkgtest sandbox, the query 
comes back  SERVFAIL / errorstring: INSECURE  with AD=0, DO=0 — i.e. the 
environment can't complete real DNSSEC validation (no unrestricted egress / no 
working root trust anchor / filtered UDP-53 in the CI sandbox), so the tests 
correctly fail.
+ 
+ Key finding: the Debian/Ubuntu packaging already knows about this —
+  debian/patches/no_network_tests.patch  adds  skip_all if
+ $ENV{NO_NETWORK}  guards to exactly these test files, and  debian/rules 
+ runs the build-time test suite with  NO_NETWORK=1 dh_auto_test . But the
+ package has no  debian/tests/control  at all — the autopkgtest run
+ ( autodep8-perl-build-deps ) is auto-generated by autodep8 and does not
+ set  NO_NETWORK=1 , so the network-dependent tests execute for real
+ during autopkgtest and fail in the restricted sandbox.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167350

Title:
  libnet-dns-resolver-unbound-perl autopkgtest are failing in stonking-
  proposed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnet-dns-resolver-unbound-perl/+bug/2167350/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to