testNS and testNSD fails in autopkgtest environment

Bug #2033649 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
py3dns
Invalid
Undecided
Unassigned
py3dns (Ubuntu)
Triaged
High
Unassigned

Bug Description

testNS and testNSD from py3dns 4.0.0-1 fails in the autopkgtest environment:

```
======================================================================
ERROR: testNS (DNS.tests.test_base.TestBase.testNS)
Lookup NS record from SOA
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.dyUpM7/build.c2R/src/DNS/tests/test_base.py", line 158, in testNS
    resp = dnsob.qry(qtype='NS',server=primary,aa=1)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/autopkgtest.dyUpM7/build.c2R/src/DNS/Base.py", line 274, in qry
    self.sendUDPRequest(server)
  File "/tmp/autopkgtest.dyUpM7/build.c2R/src/DNS/Base.py", line 370, in sendUDPRequest
    raise first_socket_error
  File "/tmp/autopkgtest.dyUpM7/build.c2R/src/DNS/Base.py", line 347, in sendUDPRequest
    r=self.processUDPReply()
      ^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/autopkgtest.dyUpM7/build.c2R/src/DNS/Base.py", line 137, in processUDPReply
    raise TimeoutError('Timeout')
DNS.Base.TimeoutError: Timeout

======================================================================
ERROR: testNSD (DNS.tests.test_base.TestBase.testNSD)
Lookup NS record from SOA
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.dyUpM7/build.c2R/src/DNS/tests/test_base.py", line 250, in testNSD
    resp = dnsob.req(qtype='NS',server=primary,aa=1, timeout=1)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/autopkgtest.dyUpM7/build.c2R/src/DNS/Base.py", line 323, in req
    self.sendUDPRequest(server)
  File "/tmp/autopkgtest.dyUpM7/build.c2R/src/DNS/Base.py", line 370, in sendUDPRequest
    raise first_socket_error
  File "/tmp/autopkgtest.dyUpM7/build.c2R/src/DNS/Base.py", line 347, in sendUDPRequest
    r=self.processUDPReply()
      ^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/autopkgtest.dyUpM7/build.c2R/src/DNS/Base.py", line 137, in processUDPReply
    raise TimeoutError('Timeout')
DNS.Base.TimeoutError: Timeout

----------------------------------------------------------------------
```

These test succeed in a local schroot autopkgtest. Probably the network setup in the Ubuntu autopkgtest environment let these test fail.

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

Extending the timeout period (timerout=30) does not resolve the issue.

Revision history for this message
Scott Kitterman (kitterman) wrote :

This is a downstream issue.

Changed in py3dns:
status: New → Invalid
Revision history for this message
Scott Kitterman (kitterman) wrote :

The tests work fine in Debian. I'd suggest you just drop the tests in Ubuntu is the network is insufficient in your environment.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.