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
https://bugs.winehq.org/show_bug.cgi?id=54847
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |fgouget@codeweavers.com Keywords| |regression, source, | |testcase Regression SHA1| |6e2efe54f17e72415b790edf6c9 | |c1f9de5acb9f7
--- Comment #1 from François Gouget fgouget@codeweavers.com --- See also bug 54848 for another set of failures in the same tests on Rémi's Wine test machines.
https://bugs.winehq.org/show_bug.cgi?id=54847
--- Comment #2 from François Gouget fgouget@codeweavers.com --- Also note that these failures were detected by the TestBot so this commit should not have been merged: https://gitlab.winehq.org/wine/wine/-/merge_requests/2647
https://bugs.winehq.org/show_bug.cgi?id=54847
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- Fixed by f9542adb3895525cd2e4f1d4b580ae4f775a5309.
https://bugs.winehq.org/show_bug.cgi?id=54847
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f9542adb3895525cd2e4f1d4b58 | |0ae4f775a5309
https://bugs.winehq.org/show_bug.cgi?id=54847
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.0-rc2.