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

[9.0][wasm] Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange fails: xpected the multithreading runtime pack to be available when running on CI #109626

Closed
carlossanlop opened this issue Nov 7, 2024 · 2 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Build-mono Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm os-linux Linux OS (any supported distro)

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Nov 7, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=861525
Build error leg or test failing: Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange

Error Message

{
  "ErrorMessage" : "Expected the multithreading runtime pack to be available when running on CI. IsRunningOnCI is true but IsWorkloadWithMultiThreadingForDefaultFramework is false",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
    Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange [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:
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(117,0): at Wasm.Build.Tests.BuildTestBase.ConfigWithAOTData(Boolean aot, String config, String extraArgs)
        /_/src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/FlagsChangeRebuildTest.cs(23,0): at Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.FlagsChangesForNativeRelinkingData(Boolean aot)
           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()
    Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange [FINISHED] Time: 0s

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=861525
Error message validated: [Expected the multithreading runtime pack to be available when running on CI. IsRunningOnCI is true but IsWorkloadWithMultiThreadingForDefaultFramework is false]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/7/2024 11:08:44 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")
861525 dotnet/runtime Wasm.Build.Tests.WasmRunOutOfAppBundleTests.RunOutOfAppBundle #109563

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 15 22
@carlossanlop carlossanlop added arch-wasm WebAssembly architecture Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm os-linux Linux OS (any supported distro) labels Nov 7, 2024
Copy link
Contributor

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

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Nov 7, 2024
@maraf maraf self-assigned this Nov 13, 2024
@maraf
Copy link
Member

maraf commented Nov 13, 2024

The root cause seems to be 9.0.0 (actual version) vs 9.0.0-ci (env var passed to WBT RUNTIME_PACK_VER9=9.0.0-ci). Package version in binlog is correctly 9.0.0 During Wasm.Build.Tests project (and any other project) evaluation, the package version is 9.0.0-ci, probably later it's overriden to 9.0.0 (in next phase after nuget restore?)

The Wasm.Build.Tests.csproj looks identical in 8.0 branch, so the change is probably coming from a different place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Build-mono Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm os-linux Linux OS (any supported distro)
Projects
None yet
Development

No branches or pull requests

2 participants