Your message dated Mon, 6 May 2024 08:21:53 +0200
with message-id <[email protected]>
and subject line Wont fix
has caused the Debian Bug report #1070332,
regarding designate fails to build with no nameserver specified in
/etc/resolv.conf
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1070332: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070332
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: designate
Version: 1:18.0.0-1
Severity: normal
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 buildd.debian.org
Hi,
designate fails to build with no nameserver specified in
/etc/resolv.conf:
======================================================================
FAIL: designate.tests.unit.mdns.test_handler.MdnsHandleTest.test_notify
designate.tests.unit.mdns.test_handler.MdnsHandleTest.test_notify
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/usr/lib/python3.12/unittest/mock.py", line 1390, in patched
return func(*newargs, **newkeywargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/designate/tests/unit/mdns/test_handler.py", line 79,
in test_notify
self.assertEqual(dns.rcode.NOERROR, tuple(response)[0].rcode())
^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/designate/mdns/handler.py", line 142, in _handle_notify
resolver = dns.resolver.Resolver()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/dns/resolver.py", line 944, in __init__
self.read_resolv_conf(filename)
File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1038, in
read_resolv_conf
raise NoResolverConfiguration("no nameservers")
dns.resolver.NoResolverConfiguration: no nameservers
This fails in sbuild with the unshare backend. Please disable the
failing tests:
designate.tests.unit.mdns.test_handler.MdnsHandleTest.test_notify
designate.tests.unit.mdns.test_handler.MdnsHandleTest.test_notify_same_serial
Cheers Jochen
--- End Message ---
--- Begin Message ---
Hi Jochen,
I already explained this: I am *NOT* interested in addressing this type
of failure. Designate is "OpenStack DNS as a Service", therefore, it is
expected that it's going to check/use /etc/resolv.conf. If you carefully
look at what's going on, you'll see that it's not even doing DNS queries
to the outside, it's simply testing itself.
Removing the test would mean less Q/A, which is not desirable.
"Fixing" the test would mean more work, which isn't needed in this case
(the package works perfectly).
Feel free to bug upstream and resolve it there if you think that's
valuable, though I am of the opinion it's a loss of time.
Also, note that the package builds perfectly fine in the current buildd
environment (and on my laptop's sbuild setup). If that was going to
change, of course, I'd review my opinion. In the mean time, I see no
point in this bug. Fix your build env...
Cheers,
Thomas Goirand (zigo)
--- End Message ---