[9.0][wasm] Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange fails: xpected the multithreading runtime pack to be available when running on CI
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
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 2 | 20 | 21 |
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