Skip to content

Test failed: System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalHost_AddressFamilySpecific #47103

Closed
@VincentBu

Description

@VincentBu

Job: runtime-libraries-coreclr outerloop 20210117.2

Failed tests:

net6.0-Linux-Release-x64-CoreCLR_release-(Centos.8.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-8-helix-20201229003624-c1bf759
        - System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalHost_AddressFamilySpecific(useAsync: True, host: \"localhost\", addressFamily: InterNetwork)
        - System.Net.NameResolution.Tests.GetHostAddressesTest.DnsGetHostAddresses_LocalHost_AddressFamilySpecific(useAsync: True, host: \"localhost\", addressFamily: InterNetwork)


Error message:

Assert.All() Failure: 1 out of 2 items in the collection did not pass.\n[0]: Item: ::1\n     Xunit.Sdk.EqualException: Assert.Equal() Failure\n     Expected: InterNetwork\n     Actual:   InterNetworkV6\n        at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer1 comparer) in C:\\Dev\\xunit\\xunit\\src\\xunit.assert\\Asserts\\EqualityAsserts.cs:line 40\n at Xunit.Assert.Equal[T](T expected, T actual) in C:\\Dev\\xunit\\xunit\\src\\xunit.assert\\Asserts\\EqualityAsserts.cs:line 24\n at System.Net.NameResolution.Tests.GetHostEntryTest.<>c__DisplayClass15_0.<DnsGetHostEntry_LocalHost_AddressFamilySpecific>b__0(IPAddress address) in /_/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs:line 242\n at Xunit.Assert.All[T](IEnumerable1 collection, Action`1 action) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\CollectionAsserts.cs:line 36

stack trace:
   at System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalHost_AddressFamilySpecific(Boolean useAsync, String host, AddressFamily addressFamily) in /_/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs:line 242
--- End of stack trace from previous location ---

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions