Skip to content

[8.0] [wasm] Expected the multithreading runtime pack to be available when running on CI. IsRunningOnCI is true but IsWorkloadWithMultiThreadingForDefaultFramework is false #90805

Closed
@carlossanlop

Description

@carlossanlop

Error Blob

{
  "ErrorMessage": "Expected the multithreading runtime pack to be available when running on CI. IsRunningOnCI is true but IsWorkloadWithMultiThreadingForDefaultFramework is false",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e /root/helix/work/workitem/e
Microsoft.DotNet.XUnitConsoleRunner v2.5.0 (64-bit .NET 8.0.0-rc.1.23414.4)
  Discovering: Wasm.Build.Tests (method display = ClassAndMethod, method display options = None)
Exception: System.Exception: Expected the multithreading runtime pack to be available when running on CI. IsRunningOnCI is true but IsWorkloadWithMultiThreadingForDefaultFramework is false.
   at Wasm.Build.Tests.BuildEnvironment..ctor() in /_/src/mono/wasm/Wasm.Build.Tests/Common/BuildEnvironment.cs:line 103
   at Wasm.Build.Tests.BuildTestBase..cctor() in /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs:line 73
  Discovered:  Wasm.Build.Tests (found 1 of 114 test case)
  Starting:    Wasm.Build.Tests (parallel test collections = on, max threads = 2)
   Wasm.Build.Tests: Using random seed for test cases: 388321563
   Wasm.Build.Tests: Using random seed for collections: 388321563
    Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange [STARTING]
    Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange [FAIL]
============== DELETING THE BUILDS =============
      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(110,0): at Wasm.Build.Tests.BuildTestBase.ConfigWithAOTData(Boolean aot, String config, String extraArgs)
        /_/src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/FlagsChangeRebuildTest.cs(24,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(103,0): at Wasm.Build.Tests.BuildEnvironment..ctor()
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(73,0): at Wasm.Build.Tests.BuildTestBase..cctor()
    Wasm.Build.NativeRebuild.Tests.FlagsChangeRebuildTests.ExtraEmccFlagsSetButNoRealChange [FINISHED] Time: 0s
  Finished:    Wasm.Build.Tests
=== TEST EXECUTION SUMMARY ===
   Wasm.Build.Tests  Total: 1, Errors: 0, Failed: 1, Skipped: 0, Time: 0.129s
/root/helix/work/workitem/e /root/helix/work/workitem/e
----- end Thu Aug 17 17:31:05 UTC 2023 ----- exit code 1 ----------------------------------------------------------

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=377484
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: 8/18/2023 3:59:22 PM UTC

Report

Build Definition Test Pull Request
377579 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #90757
377530 dotnet/runtime Wasm.Build.Tests.WasmBuildAppTest.Bug49588_RegressionTest_NativeRelinking #90689
377484 dotnet/runtime Wasm.Build.Tests.WasmBuildAppTest.PropertiesFromRuntimeConfigJson #90750
377512 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #90688
377460 dotnet/runtime Wasm.Build.Tests.WasmRunOutOfAppBundleTests.RunOutOfAppBundle

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 5 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions