Comments (5)
This is now fixed in master, cheers!
from pycares.
@saghul Whether a new version has been released to solve the problem.
from pycares.
Yep, a new version is out!
from pycares.
@saghul ,I still have the same problem with the latest version:
[root@centos8 spack-src]# python tests/tests.py
test_channel_local_ip (__main__.DNSTest) ... ok
test_channel_local_ip2 (__main__.DNSTest) ... ok
test_channel_nameservers (__main__.DNSTest) ... FAIL
test_channel_nameservers2 (__main__.DNSTest) ... FAIL
test_channel_nameservers3 (__main__.DNSTest) ... ok
test_channel_timeout (__main__.DNSTest) ... ok
test_custom_resolvconf (__main__.DNSTest) ... ok
test_errorcode_dict (__main__.DNSTest) ... ok
test_gethostbyaddr (__main__.DNSTest) ... ok
test_gethostbyaddr6 (__main__.DNSTest) ... ok
test_gethostbyname (__main__.DNSTest) ... ok
test_gethostbyname_small_timeout (__main__.DNSTest) ... ok
test_getnameinfo (__main__.DNSTest) ... ok
test_getnameinfo_ipv6 (__main__.DNSTest) ... expected failure
test_getnameinfo_ipv6_ll (__main__.DNSTest) ... expected failure
test_idna2008_encoding (__main__.DNSTest) ... skipped 'idna module not installed'
test_idna_encoding (__main__.DNSTest) ... FAIL
test_idna_encoding_query_a (__main__.DNSTest) ... FAIL
test_import_errno (__main__.DNSTest) ... ok
test_lookup (__main__.DNSTest) ... FAIL
test_query_a (__main__.DNSTest) ... FAIL
test_query_a_bad (__main__.DNSTest) ... FAIL
test_query_a_rotate (__main__.DNSTest) ... ok
test_query_aaaa (__main__.DNSTest) ... FAIL
test_query_any (__main__.DNSTest) ... skipped 'ANY type does not work on Mac.'
test_query_bad_type (__main__.DNSTest) ... ok
test_query_cancelled (__main__.DNSTest) ... ok
test_query_class_chaos (__main__.DNSTest) ... FAIL
test_query_class_invalid (__main__.DNSTest) ... ok
test_query_cname (__main__.DNSTest) ... FAIL
test_query_mx (__main__.DNSTest) ... FAIL
test_query_naptr (__main__.DNSTest) ... FAIL
test_query_ns (__main__.DNSTest) ... FAIL
test_query_onion (__main__.DNSTest) ... ok
test_query_ptr (__main__.DNSTest) ... FAIL
test_query_ptr_ipv6 (__main__.DNSTest) ... FAIL
test_query_soa (__main__.DNSTest) ... FAIL
test_query_srv (__main__.DNSTest) ... FAIL
test_query_timeout (__main__.DNSTest) ... ok
test_query_txt (__main__.DNSTest) ... FAIL
test_query_txt_bytes1 (__main__.DNSTest) ... FAIL
test_query_txt_bytes2 (__main__.DNSTest) ... FAIL
test_query_txt_chunked (__main__.DNSTest) ... FAIL
test_query_txt_multiple_chunked (__main__.DNSTest) ... FAIL
test_query_txt_multiple_chunked_with_non_ascii_content (__main__.DNSTest) ... FAIL
test_result_not_ascii (__main__.DNSTest) ... skipped 'The site used for this test no longer returns a non-ascii SOA.'
test_search (__main__.DNSTest) ... ok
test_strerror_str (__main__.DNSTest) ... ok
======================================================================
FAIL: test_channel_nameservers (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 414, in test_channel_nameservers
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_channel_nameservers2 (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 423, in test_channel_nameservers2
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_idna_encoding (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 496, in test_idna_encoding
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_idna_encoding_query_a (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 507, in test_idna_encoding_query_a
self.assertEqual(self.errorno, pycares.errno.ARES_ENOTFOUND)
AssertionError: 12 != 4
======================================================================
FAIL: test_lookup (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 587, in test_lookup
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_a (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 129, in test_query_a
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_a_bad (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 142, in test_query_a_bad
self.assertEqual(self.errorno, pycares.errno.ARES_ENOTFOUND)
AssertionError: 12 != 4
======================================================================
FAIL: test_query_aaaa (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 166, in test_query_aaaa
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_class_chaos (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 291, in test_query_class_chaos
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_cname (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 178, in test_query_cname
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_mx (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 187, in test_query_mx
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_naptr (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 331, in test_query_naptr
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_ns (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 198, in test_query_ns
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_ptr (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 343, in test_query_ptr
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_ptr_ipv6 (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 357, in test_query_ptr_ipv6
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_soa (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 310, in test_query_soa
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_srv (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 320, in test_query_srv
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_txt (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 208, in test_query_txt
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_txt_bytes1 (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 250, in test_query_txt_bytes1
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_txt_bytes2 (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 262, in test_query_txt_bytes2
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_txt_chunked (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 219, in test_query_txt_chunked
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_txt_multiple_chunked (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 231, in test_query_txt_multiple_chunked
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
======================================================================
FAIL: test_query_txt_multiple_chunked_with_non_ascii_content (__main__.DNSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/tests.py", line 274, in test_query_txt_multiple_chunked_with_non_ascii_content
self.assertNoError(self.errorno)
File "tests/tests.py", line 42, in assertNoError
self.assertEqual(errorno, None)
AssertionError: 12 != None
----------------------------------------------------------------------
Ran 48 tests in 457.604s
FAILED (failures=23, skipped=3, expected failures=2)
Here's my system information:
[root@centos8 ~]# spack debug report
- Spack: 0.16.1-1624-a0b5dcca3c
- Python: 3.6.8
- Platform: linux-centos8-aarch64
- Concretizer: original
from pycares.
Can you try building master, I just pushed a c-ares update. DNS tests are very environment sensitive, so sometimes there are false positives. As you can see, the CI is green here.
from pycares.
Related Issues (20)
- gethostbyname() does not appear to work with lookups="f"
- python3 setup.py build failed in [email protected] on centos8_aarch64 HOT 2
- CNAME answers to A request HOT 6
- pytest failed in [email protected] on centos8_aarch64 HOT 1
- Error FileNotFound when installing pycares==4.1.1 HOT 8
- 4.1.2: pytest is failing HOT 5
- `pycares.reverse_address` Import Error HOT 2
- Security vulnerability HOT 2
- 4.2.0: sphinx warnings `reference target not found` HOT 2
- 3.11 wheels HOT 2
- Can't build from sources on EL8 HOT 3
- 4.2.2: pytest is failing in two units HOT 8
- Fail to install on centos docker HOT 4
- 4.3.0: pytest is failing in `tests/test_all.py::DNSTest::test_custom_resolvconf` unit HOT 5
- test_query_class_chaos started failing
- TLSA record HOT 1
- pycares fails to install in arm8 android device HOT 16
- Update c-ares to 1.24 HOT 1
- [NOT_CRITICAL] Missing Flags: ARES_FLAG_EDNS, ARES_FLAG_NO_DFLT_SVR HOT 1
- Intermittent freeze: Channel.query() call never returning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycares.