Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI test failures in GenerateRuntimeGraphTests on tvOS simulator and iOS simulator. #77889

Closed
jandupej opened this issue Nov 4, 2022 · 11 comments
Assignees
Labels
area-VM-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS os-tvos Apple tvOS runtime-mono specific to the Mono runtime test-failure
Milestone

Comments

@jandupej
Copy link
Member

jandupej commented Nov 4, 2022

Test failures now occur with GenerateRuntimeGraphTests, e.g. CanAddArchitectureToExistingGroups ends with System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception and System.PlatformNotSupportedException : Operation is not supported on this platform..

The logs are available here: Build Build iOSSimulator x64 Release AllSubsets_Mono failed and here Build Build tvOSSimulator x64 Release AllSubsets_Mono failed

{
  "ErrorMessage": "The type initializer for 'Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests' threw an exception.",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Known issue validation

Build: 🔎
Result validation: ⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Validation performed at: 7/12/2023 4:16:44 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 4, 2022
jandupej added a commit to jandupej/runtime that referenced this issue Nov 4, 2022
@marek-safar marek-safar added the os-tvos Apple tvOS label Nov 4, 2022
@ghost
Copy link

ghost commented Nov 4, 2022

Tagging subscribers to 'os-tvos': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Issue Details

Test failures now occur with GenerateRuntimeGraphTests, e.g. CanAddArchitectureToExistingGroups ends with System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception and System.PlatformNotSupportedException : Operation is not supported on this platform..

The logs are available here: Build Build iOSSimulator x64 Release AllSubsets_Mono failed and here Build Build tvOSSimulator x64 Release AllSubsets_Mono failed

Author: jandupej
Assignees: -
Labels:

untriaged, os-tvos, test-failure

Milestone: -

@steveisok steveisok added this to the 8.0.0 milestone Nov 4, 2022
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 4, 2022
@ViktorHofer
Copy link
Member

cc @ericstj as I think that you introduced those tests

@ericstj
Copy link
Member

ericstj commented Nov 4, 2022

Those tests require MSBuild assemblies and use a subset of that functionality on the target machine. When they were added they worked on all platforms they were run on with the exception of Browser. We decided at the time it wasn't interesting to execute MSBuild on the browser so we added

[assembly: SkipOnPlatform(TestPlatforms.Browser, "MSBuild is not supported on Browser")]

Based on this issue, it looks like either more platforms were added, or existing platforms introduced new unsupported API. It's likely a similar case to Browser here: what do you think @steveisok?

@steveisok
Copy link
Member

Yeah, I think we can lump iOS and Android in the same as the browser.

@jandupej
Copy link
Member Author

Also occurs in #83813

@carlossanlop
Copy link
Member

carlossanlop commented Jul 12, 2023

It's also happening in 7.0. I'll add the KnownBuildError so we start linking this issue to those failures.

Expand ``` [22:17:10] dbug: 2023-07-11 22:17:10.877018-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Microsoft.NETCore.Platforms.BuildTasks.Tests.RidTests 0.0066653 ms [22:17:10] dbug: 2023-07-11 22:17:10.884242-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Failed tests: [22:17:10] dbug: 2023-07-11 22:17:10.884473-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] 1) [FAIL] Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddArchitectureToExistingGroups Test name: Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddArchitectureToExistingGroups [22:17:10] dbug: 2023-07-11 22:17:10.885829-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Assembly: [Microsoft.NETCore.Platforms.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51] [22:17:10] dbug: 2023-07-11 22:17:10.889320-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Exception messages: System.TypeInitializationException : The type initializer for 'Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests' threw an exception. [22:17:10] dbug: ---- System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception. [22:17:10] dbug: 2023-07-11 22:17:10.892654-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] -------- System.PlatformNotSupportedException : Operation is not supported on this platform. Exception stack traces: at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr) [22:17:10] dbug: ----- Inner Stack Trace ----- [22:17:10] dbug: at Microsoft.Build.Internal.CommunicationsUtilities.GetEnvironmentVariables() [22:17:10] dbug: 2023-07-11 22:17:10.895975-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Internal.Utilities.GetEnvironmentProperties() [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_EnvironmentProperties() [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection(ToolsetConfigurationReader configReader) [22:17:10] dbug: 2023-07-11 22:17:10.898453-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly, Boolean useAsynchronousLogging) [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_GlobalProjectCollection() [22:17:10] dbug: at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion) [22:17:10] dbug: 2023-07-11 22:17:10.900921-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.Project..ctor(String projectFile) [22:17:10] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.GetDefaultRuntimeGroupItems() [22:17:10] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests..cctor() [22:17:10] dbug: 2023-07-11 22:17:10.903435-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] ----- Inner Stack Trace ----- [22:17:10] dbug: at System.Diagnostics.ProcessManager.CreateProcessInfo(Int32 pid) [22:17:10] dbug: at System.Diagnostics.ProcessManager.GetProcessInfo(Int32 processId, String machineName) [22:17:10] dbug: at System.Diagnostics.Process.EnsureState(State state) [22:17:10] dbug: 2023-07-11 22:17:10.906767-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at System.Diagnostics.Process.get_ProcessName() [22:17:10] dbug: at Microsoft.Build.Shared.Debugging.DebugUtils..cctor() [22:17:10] dbug: Execution time: 0 [22:17:10] dbug: 2023-07-11 22:17:10.910080-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] 2) [FAIL] Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddParentVersionsToExistingGroups Test name: Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddParentVersionsToExistingGroups [22:17:10] dbug: 2023-07-11 22:17:10.913471-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Assembly: [Microsoft.NETCore.Platforms.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51] [22:17:10] dbug: 2023-07-11 22:17:10.916775-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Exception messages: System.TypeInitializationException : The type initializer for 'Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests' threw an exception. [22:17:10] dbug: ---- System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception. [22:17:10] dbug: 2023-07-11 22:17:10.920080-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] -------- System.PlatformNotSupportedException : Operation is not supported on this platform. Exception stack traces: at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr) [22:17:10] dbug: ----- Inner Stack Trace ----- [22:17:10] dbug: at Microsoft.Build.Internal.CommunicationsUtilities.GetEnvironmentVariables() [22:17:10] dbug: 2023-07-11 22:17:10.923375-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Internal.Utilities.GetEnvironmentProperties() [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_EnvironmentProperties() [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection(ToolsetConfigurationReader configReader) [22:17:10] dbug: 2023-07-11 22:17:10.926656-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly, Boolean useAsynchronousLogging) [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_GlobalProjectCollection() [22:17:10] dbug: at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion) [22:17:10] dbug: 2023-07-11 22:17:10.929924-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.Project..ctor(String projectFile) [22:17:10] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.GetDefaultRuntimeGroupItems() [22:17:10] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests..cctor() [22:17:10] dbug: 2023-07-11 22:17:10.933216-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] ----- Inner Stack Trace ----- [22:17:10] dbug: at System.Diagnostics.ProcessManager.CreateProcessInfo(Int32 pid) [22:17:10] dbug: at System.Diagnostics.ProcessManager.GetProcessInfo(Int32 processId, String machineName) [22:17:10] dbug: at System.Diagnostics.Process.EnsureState(State state) [22:17:10] dbug: 2023-07-11 22:17:10.936518-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at System.Diagnostics.Process.get_ProcessName() [22:17:10] dbug: at Microsoft.Build.Shared.Debugging.DebugUtils..cctor() [22:17:10] dbug: Execution time: 0 [22:17:10] dbug: 2023-07-11 22:17:10.939828-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] 3) [FAIL] Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddNewGroups Test name: Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddNewGroups [22:17:10] dbug: 2023-07-11 22:17:10.943114-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Assembly: [Microsoft.NETCore.Platforms.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51] [22:17:10] dbug: Exception messages: System.TypeInitializationException : The type initializer for 'Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests' threw an exception. [22:17:10] dbug: 2023-07-11 22:17:10.945614-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] ---- System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception. [22:17:10] dbug: 2023-07-11 22:17:10.948084-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] -------- System.PlatformNotSupportedException : Operation is not supported on this platform. Exception stack traces: at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr) [22:17:10] dbug: ----- Inner Stack Trace ----- [22:17:10] dbug: at Microsoft.Build.Internal.CommunicationsUtilities.GetEnvironmentVariables() [22:17:10] dbug: 2023-07-11 22:17:10.950577-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Internal.Utilities.GetEnvironmentProperties() [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_EnvironmentProperties() [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection(ToolsetConfigurationReader configReader) [22:17:10] dbug: 2023-07-11 22:17:10.953166-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly, Boolean useAsynchronousLogging) [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_GlobalProjectCollection() [22:17:10] dbug: at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion) [22:17:10] dbug: 2023-07-11 22:17:10.956520-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.Project..ctor(String projectFile) [22:17:10] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.GetDefaultRuntimeGroupItems() [22:17:10] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests..cctor() [22:17:10] dbug: ----- Inner Stack Trace ----- [22:17:10] dbug: 2023-07-11 22:17:10.959802-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at System.Diagnostics.ProcessManager.CreateProcessInfo(Int32 pid) [22:17:10] dbug: at System.Diagnostics.ProcessManager.GetProcessInfo(Int32 processId, String machineName) [22:17:10] dbug: at System.Diagnostics.Process.EnsureState(State state) [22:17:10] dbug: at System.Diagnostics.Process.get_ProcessName() [22:17:10] dbug: 2023-07-11 22:17:10.963092-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Shared.Debugging.DebugUtils..cctor() [22:17:10] dbug: Execution time: 0 [22:17:10] dbug: 2023-07-11 22:17:10.966404-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] 4) [FAIL] Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddVersionsToExistingGroups Test name: Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddVersionsToExistingGroups [22:17:10] dbug: 2023-07-11 22:17:10.969653-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Assembly: [Microsoft.NETCore.Platforms.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51] [22:17:10] dbug: 2023-07-11 22:17:10.972997-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Exception messages: System.TypeInitializationException : The type initializer for 'Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests' threw an exception. [22:17:10] dbug: ---- System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception. [22:17:10] dbug: 2023-07-11 22:17:10.976267-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] -------- System.PlatformNotSupportedException : Operation is not supported on this platform. Exception stack traces: at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr) [22:17:10] dbug: ----- Inner Stack Trace ----- [22:17:10] dbug: at Microsoft.Build.Internal.CommunicationsUtilities.GetEnvironmentVariables() [22:17:10] dbug: 2023-07-11 22:17:10.979660-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Internal.Utilities.GetEnvironmentProperties() [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_EnvironmentProperties() [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection(ToolsetConfigurationReader configReader) [22:17:10] dbug: 2023-07-11 22:17:10.982987-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly, Boolean useAsynchronousLogging) [22:17:10] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_GlobalProjectCollection() [22:17:10] dbug: at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion) [22:17:10] dbug: 2023-07-11 22:17:10.986277-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.Project..ctor(String projectFile) [22:17:10] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.GetDefaultRuntimeGroupItems() [22:17:10] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests..cctor() [22:17:10] dbug: 2023-07-11 22:17:10.989566-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] ----- Inner Stack Trace ----- [22:17:10] dbug: at System.Diagnostics.ProcessManager.CreateProcessInfo(Int32 pid) [22:17:10] dbug: at System.Diagnostics.ProcessManager.GetProcessInfo(Int32 processId, String machineName) [22:17:10] dbug: at System.Diagnostics.Process.EnsureState(State state) [22:17:10] dbug: 2023-07-11 22:17:10.992844-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at System.Diagnostics.Process.get_ProcessName() [22:17:10] dbug: at Microsoft.Build.Shared.Debugging.DebugUtils..cctor() [22:17:10] dbug: Execution time: 0 [22:17:10] dbug: 2023-07-11 22:17:10.996150-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] 5) [FAIL] Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanCreateRuntimeGraph Test name: Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanCreateRuntimeGraph [22:17:10] dbug: 2023-07-11 22:17:10.998635-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Assembly: [Microsoft.NETCore.Platforms.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51] [22:17:10] dbug: Exception messages: System.TypeInitializationException : The type initializer for 'Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests' threw an exception. [22:17:11] dbug: 2023-07-11 22:17:11.001146-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] ---- System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception. [22:17:11] dbug: 2023-07-11 22:17:11.003662-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] -------- System.PlatformNotSupportedException : Operation is not supported on this platform. Exception stack traces: at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr) [22:17:11] dbug: ----- Inner Stack Trace ----- [22:17:11] dbug: at Microsoft.Build.Internal.CommunicationsUtilities.GetEnvironmentVariables() [22:17:11] dbug: 2023-07-11 22:17:11.007024-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Internal.Utilities.GetEnvironmentProperties() [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_EnvironmentProperties() [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection(ToolsetConfigurationReader configReader) [22:17:11] dbug: 2023-07-11 22:17:11.010327-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly, Boolean useAsynchronousLogging) [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_GlobalProjectCollection() [22:17:11] dbug: at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion) [22:17:11] dbug: 2023-07-11 22:17:11.013572-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.Project..ctor(String projectFile) [22:17:11] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.GetDefaultRuntimeGroupItems() [22:17:11] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests..cctor() [22:17:11] dbug: ----- Inner Stack Trace ----- [22:17:11] dbug: 2023-07-11 22:17:11.016821-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at System.Diagnostics.ProcessManager.CreateProcessInfo(Int32 pid) [22:17:11] dbug: at System.Diagnostics.ProcessManager.GetProcessInfo(Int32 processId, String machineName) [22:17:11] dbug: at System.Diagnostics.Process.EnsureState(State state) [22:17:11] dbug: 2023-07-11 22:17:11.020282-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at System.Diagnostics.Process.get_ProcessName() [22:17:11] dbug: at Microsoft.Build.Shared.Debugging.DebugUtils..cctor() [22:17:11] dbug: Execution time: 0 [22:17:11] dbug: 2023-07-11 22:17:11.023672-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] 6) [FAIL] Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddMajorVersionsToExistingGroups Test name: Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddMajorVersionsToExistingGroups [22:17:11] dbug: 2023-07-11 22:17:11.027026-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Assembly: [Microsoft.NETCore.Platforms.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51] [22:17:11] dbug: 2023-07-11 22:17:11.030350-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Exception messages: System.TypeInitializationException : The type initializer for 'Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests' threw an exception. [22:17:11] dbug: ---- System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception. [22:17:11] dbug: 2023-07-11 22:17:11.033702-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] -------- System.PlatformNotSupportedException : Operation is not supported on this platform. Exception stack traces: at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr) [22:17:11] dbug: ----- Inner Stack Trace ----- [22:17:11] dbug: at Microsoft.Build.Internal.CommunicationsUtilities.GetEnvironmentVariables() [22:17:11] dbug: 2023-07-11 22:17:11.037067-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Internal.Utilities.GetEnvironmentProperties() [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_EnvironmentProperties() [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection(ToolsetConfigurationReader configReader) [22:17:11] dbug: 2023-07-11 22:17:11.040374-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly, Boolean useAsynchronousLogging) [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_GlobalProjectCollection() [22:17:11] dbug: at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion) [22:17:11] dbug: 2023-07-11 22:17:11.043620-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.Project..ctor(String projectFile) [22:17:11] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.GetDefaultRuntimeGroupItems() [22:17:11] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests..cctor() [22:17:11] dbug: 2023-07-11 22:17:11.046172-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] ----- Inner Stack Trace ----- [22:17:11] dbug: at System.Diagnostics.ProcessManager.CreateProcessInfo(Int32 pid) [22:17:11] dbug: at System.Diagnostics.ProcessManager.GetProcessInfo(Int32 processId, String machineName) [22:17:11] dbug: at System.Diagnostics.Process.EnsureState(State state) [22:17:11] dbug: 2023-07-11 22:17:11.048653-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at System.Diagnostics.Process.get_ProcessName() [22:17:11] dbug: at Microsoft.Build.Shared.Debugging.DebugUtils..cctor() [22:17:11] dbug: Execution time: 0 [22:17:11] dbug: 2023-07-11 22:17:11.051127-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] 7) [FAIL] Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddArchitectureAndVersionToExistingGroups Test name: Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddArchitectureAndVersionToExistingGroups [22:17:11] dbug: 2023-07-11 22:17:11.053618-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Assembly: [Microsoft.NETCore.Platforms.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51] [22:17:11] dbug: 2023-07-11 22:17:11.056912-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Exception messages: System.TypeInitializationException : The type initializer for 'Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests' threw an exception. [22:17:11] dbug: ---- System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception. [22:17:11] dbug: 2023-07-11 22:17:11.060173-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] -------- System.PlatformNotSupportedException : Operation is not supported on this platform. Exception stack traces: at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr) [22:17:11] dbug: ----- Inner Stack Trace ----- [22:17:11] dbug: 2023-07-11 22:17:11.063430-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Internal.CommunicationsUtilities.GetEnvironmentVariables() [22:17:11] dbug: at Microsoft.Build.Internal.Utilities.GetEnvironmentProperties() [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_EnvironmentProperties() [22:17:11] dbug: 2023-07-11 22:17:11.066712-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection(ToolsetConfigurationReader configReader) [22:17:11] dbug: 2023-07-11 22:17:11.069975-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly, Boolean useAsynchronousLogging) [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_GlobalProjectCollection() [22:17:11] dbug: 2023-07-11 22:17:11.073222-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion) [22:17:11] dbug: at Microsoft.Build.Evaluation.Project..ctor(String projectFile) [22:17:11] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.GetDefaultRuntimeGroupItems() [22:17:11] dbug: 2023-07-11 22:17:11.076538-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests..cctor() [22:17:11] dbug: ----- Inner Stack Trace ----- [22:17:11] dbug: at System.Diagnostics.ProcessManager.CreateProcessInfo(Int32 pid) [22:17:11] dbug: at System.Diagnostics.ProcessManager.GetProcessInfo(Int32 processId, String machineName) [22:17:11] dbug: 2023-07-11 22:17:11.079800-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at System.Diagnostics.Process.EnsureState(State state) [22:17:11] dbug: at System.Diagnostics.Process.get_ProcessName() [22:17:11] dbug: at Microsoft.Build.Shared.Debugging.DebugUtils..cctor() [22:17:11] dbug: Execution time: 0 [22:17:11] dbug: 2023-07-11 22:17:11.083156-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] 8) [FAIL] Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanIgnoreExistingInferRids Test name: Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanIgnoreExistingInferRids [22:17:11] dbug: 2023-07-11 22:17:11.086477-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Assembly: [Microsoft.NETCore.Platforms.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51] [22:17:11] dbug: 2023-07-11 22:17:11.089788-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] Exception messages: System.TypeInitializationException : The type initializer for 'Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests' threw an exception. [22:17:11] dbug: ---- System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception. [22:17:11] dbug: 2023-07-11 22:17:11.093091-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] -------- System.PlatformNotSupportedException : Operation is not supported on this platform. Exception stack traces: at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr) [22:17:11] dbug: ----- Inner Stack Trace ----- [22:17:11] dbug: at Microsoft.Build.Internal.CommunicationsUtilities.GetEnvironmentVariables() [22:17:11] dbug: 2023-07-11 22:17:11.095631-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Internal.Utilities.GetEnvironmentProperties() [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_EnvironmentProperties() [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection(ToolsetConfigurationReader configReader) [22:17:11] dbug: 2023-07-11 22:17:11.098149-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly, Boolean useAsynchronousLogging) [22:17:11] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_GlobalProjectCollection() [22:17:11] dbug: at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion) [22:17:11] dbug: 2023-07-11 22:17:11.100635-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at Microsoft.Build.Evaluation.Project..ctor(String projectFile) [22:17:11] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.GetDefaultRuntimeGroupItems() [22:17:11] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests..cctor() [22:17:11] dbug: 2023-07-11 22:17:11.103148-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] ----- Inner Stack Trace ----- [22:17:11] dbug: at System.Diagnostics.ProcessManager.CreateProcessInfo(Int32 pid) [22:17:11] dbug: at System.Diagnostics.ProcessManager.GetProcessInfo(Int32 processId, String machineName) [22:17:11] dbug: at System.Diagnostics.Process.EnsureState(State state) [22:17:11] dbug: 2023-07-11 22:17:11.106501-0700 Microsoft.NETCore.Platforms.Tests[23706:5090949] at System.Diagnostics.Process.get_ProcessName() [22:17:11] dbug: at Microsoft.Build.Shared.Debugging.DebugUtils..cctor() [22:17:11] dbug: Execution time: 0 ````

@carlossanlop carlossanlop added Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS area-VM-meta-mono runtime-mono specific to the Mono runtime and removed area-Diagnostics-mono labels Jul 12, 2023
@steveisok steveisok modified the milestones: 8.0.0, 9.0.0 Aug 8, 2023
@carlossanlop
Copy link
Member

Here's a more recent one in 7.0. I saw it in a runtime-extra-platforms run.

[12:51:45] dbug: 2023-09-19 12:51:45.732925-0700 Microsoft.NETCore.Platforms.Tests[7039:3320967] 4) 	[FAIL] Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddVersionsToExistingGroups   Test name: Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.CanAddVersionsToExistingGroups
[12:51:45] dbug: 2023-09-19 12:51:45.733065-0700 Microsoft.NETCore.Platforms.Tests[7039:3320967]    Assembly:  [Microsoft.NETCore.Platforms.Tests, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[12:51:45] dbug: 2023-09-19 12:51:45.733232-0700 Microsoft.NETCore.Platforms.Tests[7039:3320967]    Exception messages: System.TypeInitializationException : The type initializer for 'Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests' threw an exception.
[12:51:45] dbug: ---- System.TypeInitializationException : The type initializer for 'Microsoft.Build.Shared.Debugging.DebugUtils' threw an exception.
[12:51:45] dbug: 2023-09-19 12:51:45.733393-0700 Microsoft.NETCore.Platforms.Tests[7039:3320967] -------- System.PlatformNotSupportedException : Operation is not supported on this platform.   Exception stack traces:    at System.Reflection.ConstructorInvoker.InterpretedInvoke(Object obj, Span`1 args, BindingFlags invokeAttr)
[12:51:45] dbug: ----- Inner Stack Trace -----
[12:51:45] dbug: at Microsoft.Build.Internal.CommunicationsUtilities.GetEnvironmentVariables()
[12:51:45] dbug: 2023-09-19 12:51:45.733557-0700 Microsoft.NETCore.Platforms.Tests[7039:3320967]    at Microsoft.Build.Internal.Utilities.GetEnvironmentProperties()
[12:51:45] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_EnvironmentProperties()
[12:51:45] dbug: at Microsoft.Build.Evaluation.ProjectCollection.InitializeToolsetCollection(ToolsetConfigurationReader configReader)
[12:51:45] dbug: 2023-09-19 12:51:45.733726-0700 Microsoft.NETCore.Platforms.Tests[7039:3320967]    at Microsoft.Build.Evaluation.ProjectCollection..ctor(IDictionary`2 globalProperties, IEnumerable`1 loggers, IEnumerable`1 remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, Int32 maxNodeCount, Boolean onlyLogCriticalEvents, Boolean loadProjectsReadOnly, Boolean useAsynchronousLogging)
[12:51:45] dbug: at Microsoft.Build.Evaluation.ProjectCollection.get_GlobalProjectCollection()
[12:51:45] dbug: at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion)
[12:51:45] dbug: 2023-09-19 12:51:45.733876-0700 Microsoft.NETCore.Platforms.Tests[7039:3320967]    at Microsoft.Build.Evaluation.Project..ctor(String projectFile)
[12:51:45] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests.GetDefaultRuntimeGroupItems()
[12:51:45] dbug: at Microsoft.NETCore.Platforms.BuildTasks.Tests.GenerateRuntimeGraphTests..cctor()
[12:51:45] dbug: 2023-09-19 12:51:45.734046-0700 Microsoft.NETCore.Platforms.Tests[7039:3320967] ----- Inner Stack Trace -----
[12:51:45] dbug: at System.Diagnostics.ProcessManager.CreateProcessInfo(Int32 pid)
[12:51:45] dbug: at System.Diagnostics.ProcessManager.GetProcessInfo(Int32 processId, String machineName)
[12:51:45] dbug: at System.Diagnostics.Process.EnsureState(State state)
[12:51:45] dbug: 2023-09-19 12:51:45.734209-0700 Microsoft.NETCore.Platforms.Tests[7039:3320967]    at System.Diagnostics.Process.get_ProcessName()
[12:51:45] dbug: at Microsoft.Build.Shared.Debugging.DebugUtils..cctor()
[12:51:45] dbug: Execution time: 0

@ViktorHofer
Copy link
Member

It's not worth spending much time on these failures. We already removed this code base in main for .NET 9. I would either just disable the test or ignore the failures.

@build-analysis build-analysis bot removed this from the 9.0.0 milestone Nov 15, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 15, 2023
@akoeplinger akoeplinger added this to the 9.0.0 milestone Nov 24, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 24, 2023
@vitek-karas
Copy link
Member

+1 to what Viktor said - we should disable the test on 8 to keep the servicing runs clean.
Moving to 10 milestone as it is unrelated to the 9 shipping.

@matouskozak
Copy link
Member

The tests were disabled for .NET 8.0 in #77890. I think we can close this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS os-tvos Apple tvOS runtime-mono specific to the Mono runtime test-failure
Projects
None yet
Development

No branches or pull requests

10 participants