I am trying to fix FTBFS and upgrade engineio to 3.13 (current version in rawhide is 3.11). Some tests keep failing on koji [0] but not when I build locally using mock. This is what I see in build log -
_ ERROR collecting tests/common/test_async_eventlet.py _____________ /usr/lib/python3.9/site-packages/dns/resolver.py:743: in read_resolv_conf f = stack.enter_context(open(f)) E FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred:
<snip>
E dns.resolver.NoResolverConfiguration: Resolver configuration could not be read or specified no nameservers.
Pointers to fix this will be greatly appreciated. Thanks!
[0] https://koji.fedoraproject.org/koji/taskinfo?taskID=48843424
On 09. 08. 20 1:27, Mukundan Ragavan wrote:
I am trying to fix FTBFS and upgrade engineio to 3.13 (current version in rawhide is 3.11). Some tests keep failing on koji [0] but not when I build locally using mock. This is what I see in build log -
_ ERROR collecting tests/common/test_async_eventlet.py _____________ /usr/lib/python3.9/site-packages/dns/resolver.py:743: in read_resolv_conf f = stack.enter_context(open(f)) E FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred:
<snip>
E dns.resolver.NoResolverConfiguration: Resolver configuration could not be read or specified no nameservers.
Pointers to fix this will be greatly appreciated. Thanks!
That it how it is in Koji, there is no /etc/resolv.conf I suppose the test needs to be skipped / deselected.
python-devel@lists.fedoraproject.org