https://bugs.winehq.org/show_bug.cgi?id=54847
Bug ID: 54847 Summary: dnsapi:query - test_DnsQuery() fails on the TestBot VMs in Windows and Wine Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: dnsapi Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
dnsapi:query - test_DnsQuery() fails on the TestBot VMs in Windows and Wine:
query.c:66: Test failed: expected record name L"winehq.org", got L"becky.ns.cloudflare.com" query.c:66: Test failed: expected record name L"winehq.org", got L"becky.ns.cloudflare.com" query.c:66: Test failed: expected record name L"winehq.org", got L"becky.ns.cloudflare.com" query.c:66: Test failed: expected record name L"winehq.org", got L"carter.ns.cloudflare.com" query.c:66: Test failed: expected record name L"winehq.org", got L"carter.ns.cloudflare.com" query.c:66: Test failed: expected record name L"winehq.org", got L"carter.ns.cloudflare.com" query.c:66: Test failed: expected record name L"winehq.org", got L"becky.ns.cloudflare.com" query.c:67: Test failed: expected record type 1, got 28 query.c:66: Test failed: expected record name L"winehq.org", got L"becky.ns.cloudflare.com" query.c:67: Test failed: expected record type 1, got 28 query.c:66: Test failed: expected record name L"winehq.org", got L"becky.ns.cloudflare.com" query.c:67: Test failed: expected record type 1, got 28 query.c:66: Test failed: expected record name L"winehq.org", got L"carter.ns.cloudflare.com" query.c:67: Test failed: expected record type 1, got 28 query.c:66: Test failed: expected record name L"winehq.org", got L"carter.ns.cloudflare.com" query.c:67: Test failed: expected record type 1, got 28 query.c:66: Test failed: expected record name L"winehq.org", got L"carter.ns.cloudflare.com" query.c:67: Test failed: expected record type 1, got 28 query.c:96: Test failed: unexpected CNAME chain
See https://test.winehq.org/data/patterns.html#dnsapi:query
This is because winehq.org points to a CDN which uses DNS tricks to point web browsers to the closest server and do load balancing. Interestingly this does not happen for all clients, e.g. it does not happen on fg-deb64.
These failures happen in new tests that were introduced by this commit:
commit 6e2efe54f17e72415b790edf6c9c1f9de5acb9f7 Author: François Gouget fgouget@codeweavers.com Date: Thu Apr 13 05:51:20 2023 +0200
dnsapi/tests: Test how DnsQuery() handles CNAMEs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54819