MagicStack / MagicStack/uvloop
aiodns tests fail because "example.com" gives different IP address on each query
Nobody has claimed this yet.
- Dominant language
- Cython
- Stars
- 11.9k
- Forks
- 616
- PR merge metrics
- No merged PRs in 30d
Description
Hi. Title pretty much describes issue.
Couldnt build latest (0.21) uvloop rpm because dns test failed because of IP addresses not match. example.com seems ot be behind CDN, thus there are a lot of IP addresses.
Workaround for me was just add "example.com" entry into hosts, but i decided i should probably create issue on github too.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the aiodns test that queries example.com and reproduce the failure in the test environment used for the uvloop 0.21 RPM build. Check how the test compares DNS results, then make the test pass without assuming a single CDN address; done means the relevant DNS test passes reliably across repeated queries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking, testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100