dnspython 2.0.0-1 fails IPv6 autopkgtests

Bug #1892832 reported by Łukasz Zemczak
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dnspython (Ubuntu)

Bug Description

Currently dnspython 2.0.0-1 is stuck in groovy-proposed due to its own autopkgtests failing. After investigating a bit further, it can be seen that the failing (and hanging) tests are ones related to UDP DNS queries using IPv6, which were not tested in the previous dnspython versions. This particularly means the testQueryUDP* tests from tests_query and tests_async (but there's more). The testing suite tries to be as smart as possible and checks for IPv6 connectivity before trying to validate IPv6, but on our infrastructure those checks pass but the UDP tests do not.

This rises the question if the autopkgtest infrastructure (with the network proxy) simply intervenes in the testing, causing those tests to fail, or is this feature broken in Ubuntu. It's worth noting that these autopkgtests are passing fine on Debian.

I have tried preparing an IPv6 setup to check which one is it, but sadly I was unable to get one configured properly - no IPv6 support from my ISP, nor was I able to get IPv6 working via a VPN.
We need someone to check that the failing bits work on a regular setup or not - if yes, we can then simply disable the IPv6 checks in the package and let it migrate.

tags: added: update-excuse
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

In case it is the autopkgtest proxy environment causing the failures, I have prepared a debdiff to disable the IPv6 parts of the tests that are failing. But before we proceed, I need to know if it's simply not broken completely on Ubuntu in overall.

tags: added: patch
Revision history for this message
Lukas Märdian (slyon) wrote :

The test suite passes with a native IPv6 connection. And the debdiff LGTM.

+1 on uploading this change and let it migrate!

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Thanks! Let me proceed in that case!

Revision history for this message
Lukas Märdian (slyon) wrote :

Apparently it is not enough to disable the IPv6/UDP tests, as the failures were not resolved by disabling those tests in -1ubuntu1.

I was not able reproduce the exact same failures locally, but I was able to produce some more other failures, related to DoH/DNS-over-HTTPS and unrelated to IPv6/UDP when using squid.proxy for HTTP/HTTPS connections.

As there are quite a few problems with this test suite on Ubuntu's autopkgtest infra, I suggest to disable all online testing for dnspython (the test suite is prep'ed for that) and use only the self-contained tests. This will skip 92 out of 861 tests (~11%).

See attached -1ubuntu2 debdiff.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dnspython - 2.0.0-1ubuntu2

dnspython (2.0.0-1ubuntu2) groovy; urgency=medium

  * Drop debian/patches/ubuntu-disable-ipv6-udp-tests.patch:
    - IPv6 UDP tests are not enough, others (like DOH) failing as well
  * Add debian/patches/ubuntu-disable-online-tests.patch:
    - Disable all online tests as there are several problems on the Ubuntu
      autopkgtest infrastructure (LP: #1892832).

 -- Lukas Märdian <email address hidden> Mon, 07 Sep 2020 15:43:00 +0200

Changed in dnspython (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers