Skip to content

DNS tests are failing deterministically in CI #48751

@ViktorHofer

Description

@ViktorHofer

image

https://dev.azure.com/dnceng/public/_build/results?buildId=1011172&view=ms.vss-test-web.build-test-results-tab

System.Net.Internals.SocketExceptionFactory+ExtendedSocketException : Name or service not known
 at System.Net.Dns.GetHostEntryOrAddressesCore(String hostName, Boolean justAddresses, AddressFamily addressFamily) in /_/src/libraries/System.Net.NameResolution/src/System/Net/Dns.cs:line 404
   at System.Net.Dns.GetHostEntryCore(String hostName, AddressFamily addressFamily) in /_/src/libraries/System.Net.NameResolution/src/System/Net/Dns.cs:line 385
   at System.Net.Dns.GetHostByName(String hostName) in /_/src/libraries/System.Net.NameResolution/src/System/Net/Dns.cs:line 272
   at System.Net.NameResolution.Tests.GetHostByNameTest.DnsObsoleteGetHostByName_EmptyString_ReturnsHostName() in /_/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostByNameTest.cs:line 108

We probably need to disable the failing tests right now as apparently something changed in the dns detection which is causing these tests to fail deterministically in CI.

cc @dotnet/ncl

Metadata

Metadata

Assignees

Labels

area-System.Netdisabled-testThe test is disabled in source code against the issuetest-run-coreTest failures in .NET Core test runs

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions