MagicStack / MagicStack/uvloop

aiodns tests fail because "example.com" gives different IP address on each query

Open
#682 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.