https://bugzilla.redhat.com/show_bug.cgi?id=1909380

Petr Menšík <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[email protected]    |[email protected]
              Flags|                            |needinfo?(mail@fabian-affol
                   |                            |ter.ch)



--- Comment #2 from Petr Menšík <[email protected]> ---
It requires just disabling test_recursive_query* tests during testing, because
/etc/resolv.conf does not exist in mock environment. I were able to mockbuild
it with simple change:

--- ../srpm/fierce.spec 2021-06-15 11:52:22.996270762 +0200
+++ ../srpm-unpacked/fierce.spec        2021-06-15 12:15:57.750292818 +0200
@@ -33,10 +33,11 @@
 %py3_install

 %check
-# Assertions are made for the pathes and requires an exisiting
/etc/resolv.conf
+# Assertions are made for the pathes
 %pytest -v tests -k "not test_parse_args_included_list_file and not
test_parse_args_missing_list_file \
   and not test_update_resolver and not test_query_no_nameservers and not
test_query_nxdomain \
-  and not test_query_timeout"
+  and not test_query_timeout and not test_recursive_query_basic_failure and
not test_recursive_query_basic_success \
+  and not test_recursive_query_long_domain_failure"

 %files
 %license LICENSE

Then just "fedpkg --release rawhide mockbuild" in srpm-unpacked directory. If
you are still looking for a package, can you update spec to compile also in
mock?
An alternative would be skipping the test in case
dns.resolver.NoResolverConfiguration exception were raised.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to