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

[release/9.0][wasi/wasm] Expected the multithreading runtime pack to be available when running on CI (after branch stabilization) #108937

Closed
carlossanlop opened this issue Oct 16, 2024 · 2 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm os-wasi Related to WASI variant of arch-wasm
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Oct 16, 2024

Several tests in wasi/wasm started failing in the Stabilizing 9.0 PR because they're configured to throw an exception if they detect we're running in CI. The problem is that this is expected to happen in PRs.

This needs to be fixed in 9.0 and backported to main.

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=844459
Build error leg or test failing: Several

Error Message

{
  "ErrorMessage" : "Expected the multithreading runtime pack to be available when running on CI",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
  Starting:    Wasm.Build.Tests (parallel test collections = on [2 threads], stop on fail = off)
    Wasm.Build.Tests.Blazor.CleanTests.Blazor_BuildNoNative_ThenBuildNative_ThenClean(config: "Debug") [STARTING]
    Wasm.Build.Tests.Blazor.CleanTests.Blazor_BuildNoNative_ThenBuildNative_ThenClean(config: "Debug") [FAIL]
      System.TypeInitializationException : The type initializer for 'Wasm.Build.Tests.BuildTestBase' threw an exception.
      ---- System.Exception : Expected the multithreading runtime pack to be available when running on CI. IsRunningOnCI is true but IsWorkloadWithMultiThreadingForDefaultFramework is false.
      Stack Trace:
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
           at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
        ----- Inner Stack Trace -----
        /_/src/mono/wasm/Wasm.Build.Tests/Common/BuildEnvironment.cs(109,0): at Wasm.Build.Tests.BuildEnvironment..ctor()
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(80,0): at Wasm.Build.Tests.BuildTestBase..cctor()

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=844459
Error message validated: [Expected the multithreading runtime pack to be available when running on CI]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/16/2024 6:40:29 PM UTC

Report

Build Definition Test Pull Request
869949 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssemblyFromReference #109825
869426 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #109523
869423 dotnet/runtime Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange #109298
867737 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssemblyFromReference #109723
867708 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109297
867695 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssemblyFromReference #109308
867435 dotnet/runtime Wasm.Build.Tests.Blazor.MiscTests3.BugRegression_60479_WithRazorClassLib #109723
864120 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109316
866998 dotnet/runtime Wasm.Build.Tests.HybridGlobalizationTests.AOT_HybridGlobalizationTests #109709
866991 dotnet/runtime Wasm.Build.Tests.HybridGlobalizationTests.AOT_HybridGlobalizationTests #109708
866682 dotnet/runtime Wasm.Build.Tests.ConfigSrcTests.ConfigSrcAbsolutePath
866579 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109306
866030 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #109299
860156 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #109510
865644 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #109305
864887 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.FailOnMissingLazyAssembly #109646
864878 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssemblyFromReference #109298
864879 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109523
864731 dotnet/runtime Wasm.Build.Tests.WasmBuildAppTest.Bug49588_RegressionTest_AOT #109299
864719 dotnet/runtime Wasm.Build.Tests.Blazor.BuildPublishTests.BlazorWasm_CannotAOT_InDebug(config: "Debug") #109305
864134 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0")
863600 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.ModuleConfigTests.OutErrOverrideWorks #109299
863052 dotnet/runtime Wasm.Build.Tests.SatelliteAssembliesTests.ResourcesFromMainAssembly
862101 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #109298
862098 dotnet/runtime Wasm.Build.Tests.ConfigSrcTests.ConfigSrcAbsolutePath #109523
861694 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109316
861636 dotnet/runtime Wasm.Build.Tests.WasmRunOutOfAppBundleTests.RunOutOfAppBundle #109298
861633 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssemblyFromReference #109523
861525 dotnet/runtime Wasm.Build.Tests.WasmRunOutOfAppBundleTests.RunOutOfAppBundle #109563
861443 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #109556
861257 dotnet/runtime Wasm.Build.Tests.NativeLibraryTests.ProjectWithNativeReference #109297
861247 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #109305
861241 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109308
860961 dotnet/runtime Wasm.Build.Tests.InvariantTimezoneTests.AOT_InvariantTimezone #108877
860550 dotnet/runtime Wasm.Build.Tests.IcuShardingTests.AutomaticShardSelectionDependingOnEnvLocale #109523
860529 dotnet/runtime Wasm.Build.Tests.Blazor.NativeTests.BlazorWasm_CannotAOT_WithNoTrimming(config: "Release")
860548 dotnet/runtime Wasm.Build.Tests.InvariantTimezoneTests.AOT_InvariantTimezone #109298
860421 dotnet/runtime Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.OptimizationFlagChange #109316
858481 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109305
857790 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.AbortStartupOnError #109291
857595 dotnet/runtime Wasm.Build.Tests.WasmRunOutOfAppBundleTests.RunOutOfAppBundle #109308
857598 dotnet/runtime Wasm.Build.Tests.WasmRunOutOfAppBundleTests.RunOutOfAppBundle #109299
856798 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.AbortStartupOnError #109374
856174 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109364
855899 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109316
855452 dotnet/runtime Wasm.Build.Tests.IcuTests.NonExistingCustomFileAssertError #109336
855040 dotnet/runtime Wasm.Build.Tests.IcuShardingTests2.DefaultAvailableIcuShardsFromRuntimePack
854867 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.FailOnMissingLazyAssembly #109308
854853 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109306
854835 dotnet/runtime Wasm.Build.Tests.IcuShardingTests.AutomaticShardSelectionDependingOnEnvLocale #109301
854838 dotnet/runtime Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange #109303
854844 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #109305
854829 dotnet/runtime Wasm.Build.Tests.WasmBuildAppTest.PropertiesFromCsproj #109300
854825 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.ModuleConfigTests.OutErrOverrideWorks #109298
854822 dotnet/runtime Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange #109297
854717 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.FailOnMissingLazyAssembly
854255 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109147
852670 dotnet/runtime Wasm.Build.Tests.InvariantGlobalizationTests.RelinkingWithoutAOT #109151
852301 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssemblyFromReference #109147
851417 dotnet/runtime Wasm.Build.Tests.RebuildTests.NoOpRebuild #109151
851263 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109147
850710 dotnet/runtime Wasm.Build.Tests.Blazor.AppsettingsTests.FileInVfs
850501 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LibraryInitializerTests.AbortStartupOnError
850232 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109051
850222 dotnet/runtime Wasm.Build.Tests.Blazor.BuildPublishTests.BlazorWasm_CannotAOT_InDebug(config: "Debug")
849961 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109109
848938 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #109073
848780 dotnet/runtime Wasm.Build.Tests.WasmRunOutOfAppBundleTests.RunOutOfAppBundle #109049
848229 dotnet/runtime Wasm.Build.Tests.SatelliteAssembliesTests.ResourcesFromMainAssembly #109051
848154 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #109048
848159 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #109049
847977 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink
847880 dotnet/runtime Wasm.Build.Tests.Blazor.AppsettingsTests.FileInVfs
847627 dotnet/runtime Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange
847485 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.FailOnMissingLazyAssembly
847042 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0")
846981 dotnet/runtime Wasm.Build.Tests.RebuildTests.NoOpRebuild
846875 dotnet/runtime Wasm.Build.Tests.WasmRunOutOfAppBundleTests.RunOutOfAppBundle
846663 dotnet/runtime Wasm.Build.Tests.Blazor.MiscTests.DefaultTemplate_AOT_InProjectFile(config: "Release") #108843
846660 dotnet/runtime Wasm.Build.Tests.MainWithArgsTests.TopLevelWithArgs #108751
846615 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #108516
846630 dotnet/runtime Wasm.Build.Tests.WasmBuildAppTest.PropertiesFromCsproj
846401 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.ModuleConfigTests.OutErrOverrideWorks #108482
846304 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") #108910
846263 dotnet/runtime Wasm.Build.NativeRebuild.Tests.ReferenceNewAssemblyRebuildTest.ReferenceNewAssembly #108975
846047 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink #108877

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 15 86
@carlossanlop carlossanlop added arch-wasm WebAssembly architecture blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm os-wasi Related to WASI variant of arch-wasm labels Oct 16, 2024
@carlossanlop carlossanlop added this to the 9.0.0 milestone Oct 16, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 16, 2024
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

@vcsjones vcsjones removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 24, 2024
@maraf
Copy link
Member

maraf commented Nov 13, 2024

Duplicate of #109626

@maraf maraf marked this as a duplicate of #109626 Nov 13, 2024
@maraf maraf removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Nov 14, 2024
@maraf maraf self-assigned this Nov 14, 2024
@maraf maraf closed this as completed Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm os-wasi Related to WASI variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

6 participants