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

[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 opened this issue Aug 18, 2023 · 2 comments
Labels
arch-wasm WebAssembly architecture area-Build-mono Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro) os-windows
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Aug 18, 2023

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
@carlossanlop carlossanlop added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Aug 18, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 18, 2023
@carlossanlop carlossanlop added arch-wasm WebAssembly architecture os-linux Linux OS (any supported distro) os-windows labels Aug 18, 2023
@carlossanlop carlossanlop added this to the 8.0.0 milestone Aug 18, 2023
@ghost
Copy link

ghost commented Aug 18, 2023

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

Issue Details

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 ----------------------------------------------------------
Author: carlossanlop
Assignees: -
Labels:

arch-wasm, os-linux, os-windows, blocking-clean-ci, untriaged, area-Build-mono, Known Build Error

Milestone: -

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Aug 18, 2023
@radical
Copy link
Member

radical commented Aug 18, 2023

Duplicate of #90742 , and fixed yesterday. The build linked here is older.

@radical radical closed this as completed Aug 18, 2023
@radical radical removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Aug 18, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Build-mono Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro) os-windows
Projects
None yet
Development

No branches or pull requests

2 participants