Closed
Description
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
}
- PR: [release/9.0] Stable branding for GA #108899
- Queues: wasi and wasm
- Job result: https://dev.azure.com/dnceng-public/public/_build/results?buildId=844459&view=logs&j=0b2e5ab0-105d-5e21-8497-262338385634&t=5d54f742-8faa-5589-ce3d-1371921d4699
- Log file: https://helixre107v0xd1eu3ibi6ka.blob.core.windows.net/dotnet-runtime-refs-pull-108899-merge-42a63776da94429499/Workloads-ST-Wasm.Build.Tests.Blazor.CleanTests/1/console.5f2e5a70.log?helixlogtype=result
- Output:
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
Summary
24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
---|---|---|
0 | 15 | 86 |