runtime icon indicating copy to clipboard operation
runtime copied to clipboard

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

Open carlossanlop opened this issue 1 year ago • 2 comments

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
}
  • PR: https://github.com/dotnet/runtime/pull/109563
  • Queue: browser-wasm linux Release WasmBuildTests
  • Job result: https://dev.azure.com/dnceng-public/public/_build/results?buildId=861525&view=logs&j=1fa93050-f528-55d3-a351-f8bf9ce5adbf&t=a9f1a437-3b59-5900-1137-ec6cae9a530c&l=136
  • Log file: https://helixre107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-pull-109563-merge-907b3685bcb2414b9e/Workloads-NoWebcil-ST-Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests/1/console.e303272d.log?helixlogtype=result
  • Output:
    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: :mag_right: 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: :white_check_mark: Known issue matched with the provided build. Validation performed at: 11/7/2024 11:08:44 PM UTC

Report

Build Definition Test Pull Request
869426 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink dotnet/runtime#109523
869423 dotnet/runtime Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange dotnet/runtime#109298
867737 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssemblyFromReference dotnet/runtime#109723
867708 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") dotnet/runtime#109297
867695 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssemblyFromReference dotnet/runtime#109308
867435 dotnet/runtime Wasm.Build.Tests.Blazor.MiscTests3.BugRegression_60479_WithRazorClassLib dotnet/runtime#109723
864120 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") dotnet/runtime#109316
866998 dotnet/runtime Wasm.Build.Tests.HybridGlobalizationTests.AOT_HybridGlobalizationTests dotnet/runtime#109709
866991 dotnet/runtime Wasm.Build.Tests.HybridGlobalizationTests.AOT_HybridGlobalizationTests dotnet/runtime#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") dotnet/runtime#109306
866030 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink dotnet/runtime#109299
860156 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink dotnet/runtime#109510
865644 dotnet/runtime Wasm.Build.Tests.WasmSIMDTests.Build_NoAOT_ShouldNotRelink dotnet/runtime#109305
864887 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.FailOnMissingLazyAssembly dotnet/runtime#109646
864878 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssemblyFromReference dotnet/runtime#109298
864879 dotnet/runtime Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildAndRunForSpecificTFM(config: "Debug", extraNewArgs: "-f net9.0", expectedTFM: "net9.0") dotnet/runtime#109523
864731 dotnet/runtime Wasm.Build.Tests.WasmBuildAppTest.Bug49588_RegressionTest_AOT dotnet/runtime#109299
864719 dotnet/runtime Wasm.Build.Tests.Blazor.BuildPublishTests.BlazorWasm_CannotAOT_InDebug(config: "Debug") dotnet/runtime#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 dotnet/runtime#109563

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 20 21

carlossanlop avatar Nov 07 '24 23:11 carlossanlop

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

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

maraf avatar Nov 13 '24 11:11 maraf