Skip to content

[mono][tests] IntrinsicsInSystemPrivateCoreLib reports hostname is not provided on linux bionic #93103

Closed
@kotlarmilos

Description

@kotlarmilos

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=429167&view=logs&j=ab306dbd-9f73-5131-57d7-1eb5f5188356&t=15d6e221-840c-5f04-2f14-457f5a7ff25b
Build error leg or test failing: linux_bionic-x64 Release AllSubsets_Mono

info: An error occurred running IntrinsicsInSystemPrivateCoreLib.Tests.sh
dbug: Exit code: 1
      Std out:
        Discovering: IntrinsicsInSystemPrivateCoreLib.Tests (method display = ClassAndMethod, method display options = None)
        Discovered:  IntrinsicsInSystemPrivateCoreLib.Tests (found 21 test cases)
        Starting:    IntrinsicsInSystemPrivateCoreLib.Tests (parallel test collections = on, max threads = 1)
            NuGet.Protocol.Core.Types.FatalProtocolException : Unable to load the service index for source https://api.nuget.org/v3/index.json.
            ---- System.Net.Http.HttpRequestException : hostname nor servname provided, or not known (api.nuget.org:443)
            -------- System.Net.Sockets.SocketException : hostname nor servname provided, or not known
            Stack Trace:
                 at NuGet.Protocol.ServiceIndexResourceV3Provider.GetServiceIndexResourceV3(SourceRepository source, DateTime utcNow, ILogger log, CancellationToken token)
                 at NuGet.Protocol.ServiceIndexResourceV3Provider.TryCreate(SourceRepository source, CancellationToken token)
                 at NuGet.Protocol.Core.Types.SourceRepository.<GetResourceAsync>d__16`1[[NuGet.Protocol.ServiceIndexResourceV3, NuGet.Protocol, Version=6.3.3.3, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
                 at NuGet.Protocol.DependencyInfoResourceV3Provider.TryCreate(SourceRepository source, CancellationToken token)
                 at NuGet.Protocol.Core.Types.SourceRepository.<GetResourceAsync>d__16`1[[NuGet.Protocol.Core.Types.DependencyInfoResource, NuGet.Protocol, Version=6.3.3.3, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/ReferenceAssemblies.cs(561,0): at Microsoft.CodeAnalysis.Testing.ReferenceAssemblies.GetPackageDependenciesAsync(PackageIdentity packageIdentity, NuGetFramework targetFramework, ImmutableArray`1 repositories, SourceCacheContext cacheContext, ILogger logger, Builder dependencies, CancellationToken cancellationToken)
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/ReferenceAssemblies.cs(227,0): at Microsoft.CodeAnalysis.Testing.ReferenceAssemblies.ResolveCoreAsync(String language, CancellationToken cancellationToken)
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/ReferenceAssemblies.cs(197,0): at Microsoft.CodeAnalysis.Testing.ReferenceAssemblies.ResolveAsync(String language, CancellationToken cancellationToken)
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/ReferenceAssemblies.cs(174,0): at Microsoft.CodeAnalysis.Testing.ReferenceAssemblies.ResolveAsync(String language, CancellationToken cancellationToken)
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs(1601,0): at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<CreateSolutionAsync>d__97[[Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier, Microsoft.CodeAnalysis.Testing.Verifiers.XUnit, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs(1416,0): at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<CreateProjectImplAsync>d__95[[Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier, Microsoft.CodeAnalysis.Testing.Verifiers.XUnit, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs(1395,0): at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<CreateProjectAsync>d__94[[Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier, Microsoft.CodeAnalysis.Testing.Verifiers.XUnit, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs(1373,0): at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<GetSolutionAsync>d__93[[Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier, Microsoft.CodeAnalysis.Testing.Verifiers.XUnit, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs(1097,0): at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<GetSortedDiagnosticsAsync>d__82[[Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier, Microsoft.CodeAnalysis.Testing.Verifiers.XUnit, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs(465,0): at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<VerifyDiagnosticsAsync>d__69[[Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier, Microsoft.CodeAnalysis.Testing.Verifiers.XUnit, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs(219,0): at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<RunImplAsync>d__64[[Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier, Microsoft.CodeAnalysis.Testing.Verifiers.XUnit, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
              /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs(188,0): at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.<RunAsync>d__63[[Microsoft.CodeAnalysis.Testing.Verifiers.XUnitVerifier, Microsoft.CodeAnalysis.Testing.Verifiers.XUnit, Version=1.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
              /_/src/libraries/System.Private.CoreLib/tests/IntrinsicsInSystemPrivatecoreLibAnalyzer.Tests/CSharpAnalyzerVerifier`1.cs(35,0): at IntrinsicsInSystemPrivateCoreLib.Test.CSharpAnalyzerVerifier`1.<VerifyAnalyzerAsync>d__3[[IntrinsicsInSystemPrivateCoreLib.IntrinsicsInSystemPrivateCoreLibAnalyzer, System.Private.CoreLib.Generators, Version=42.42.42.42, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
              /_/src/libraries/System.Private.CoreLib/tests/IntrinsicsInSystemPrivatecoreLibAnalyzer.Tests/IntrinsicsInSystemPrivateCoreLibUnitTests.cs(578,0): at IntrinsicsInSystemPrivateCoreLib.Test.IntrinsicsInSystemPrivateCoreLibUnitTest.TestHelperMethodsUnrelatedPropertyDoesntHelp()
              --- End of stack trace from previous location ---
              ----- Inner Stack Trace -----
              /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs(1651,0): at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
              /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs(1532,0): at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
              /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs(1659,0): at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
              /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs(497,0): at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
              /_/src/libraries/Common/src/System/Threading/Tasks/TaskCompletionSourceWithCancellation.cs(21,0): at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.<WaitWithCancellationAsync>d__1[[System.Net.Http.HttpConnection, System.Net.Http, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
              /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs(1110,0): at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
              /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/AuthenticationHelper.cs(240,0): at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
              /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/RedirectHandler.cs(30,0): at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
              /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/DecompressionHandler.cs(69,0): at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
                 at NuGet.Protocol.ServerWarningLogHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
                 at NuGet.Protocol.HttpSourceAuthenticationHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
              /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpClient.cs(550,0): at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
                 at NuGet.Protocol.HttpRetryHandler.<>c__DisplayClass5_1.<<SendAsync>b__0>d.MoveNext()
              --- End of stack trace from previous location ---
                 at NuGet.Protocol.TimeoutUtility.<StartWithTimeout>d__0`1[[System.Net.Http.HttpResponseMessage, System.Net.Http, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
                 at NuGet.Protocol.HttpRetryHandler.SendAsync(HttpRetryHandlerRequest request, String source, ILogger log, CancellationToken cancellationToken)
                 at NuGet.Protocol.HttpSource.GetThrottledResponse(Func`1 requestFactory, TimeSpan requestTimeout, TimeSpan downloadTimeout, Int32 maxTries, Boolean isRetry, Boolean isLastAttempt, Guid sessionId, ILogger log, CancellationToken cancellationToken)
                 at NuGet.Protocol.HttpSource.<>c__DisplayClass15_0`1.<<GetAsync>b__0>d[[NuGet.Protocol.ServiceIndexResourceV3, NuGet.Protocol, Version=6.3.3.3, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
              --- End of stack trace from previous location ---
                 at NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__5`1[[NuGet.Protocol.ServiceIndexResourceV3, NuGet.Protocol, Version=6.3.3.3, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
                 at NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__5`1[[NuGet.Protocol.ServiceIndexResourceV3, NuGet.Protocol, Version=6.3.3.3, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
                 at NuGet.Protocol.HttpSource.<GetAsync>d__15`1[[NuGet.Protocol.ServiceIndexResourceV3, NuGet.Protocol, Version=6.3.3.3, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].MoveNext()
                 at NuGet.Protocol.ServiceIndexResourceV3Provider.GetServiceIndexResourceV3(SourceRepository source, DateTime utcNow, ILogger log, CancellationToken token)
              ----- Inner Stack Trace -----

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.Net.Http.HttpRequestException : hostname nor servname provided, or not known",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=429167
Error message validated: System.Net.Http.HttpRequestException : hostname nor servname provided, or not known
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/6/2023 10:10:23 AM UTC

Report

Build Definition Test Pull Request
443125 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution
442238 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution #91800
440640 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution #93182
440293 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution #91560
438911 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution
438199 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution
435035 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Test.IntrinsicsInSystemPrivateCoreLibUnitTest.TestMethodWithIfStatement
433988 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution #93182
432136 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution
430969 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution
430188 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution
429653 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution #93109
429167 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution
427248 dotnet/runtime IntrinsicsInSystemPrivateCoreLib.Tests.WorkItemExecution #92927

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 6 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Runtime.Intrinsicsblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'os-linuxLinux OS (any supported distro)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions