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

[Wasm][Test Failure] LoadLazyAssemblyBeforeItIsNeeded(lazyLoadingTestExtension: "wasm", allLazyLoadingTestExtensions: ["wasm", "dll", "NoExtension"]) #106160

Open
CarnaViire opened this issue Aug 8, 2024 · 7 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Build-mono 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
Milestone

Comments

@CarnaViire
Copy link
Member

CarnaViire commented Aug 8, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=769868
Build error leg or test failing: Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded
Pull request: #105841

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Could not find the pattern in the build output: '\\*\\* MicrosoftNetCoreAppRuntimePackDir : '([^ ']*)''.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=769868
Error message validated: [Could not find the pattern in the build output: '\*\* MicrosoftNetCoreAppRuntimePackDir : '([^ ']*)''.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/8/2024 7:59:41 PM UTC

Report

Build Definition Test Pull Request
843683 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly
841740 dotnet/runtime Workloads-NoWebcil-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #108842
840348 dotnet/runtime Workloads-NoWebcil-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #108766
838007 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108751
835716 dotnet/runtime Workloads-NoWebcil-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #108533
835773 dotnet/runtime Workloads-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #108120
831820 dotnet/runtime Workloads-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #108481
829842 dotnet/runtime Workloads-NoWebcil-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #108597
828332 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #108323
827823 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly
827718 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108543
827245 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #108323
827220 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108370
826908 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly
826685 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #108487
826569 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108533
826027 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #108516
826001 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #108513
825800 dotnet/runtime Workloads-NoWebcil-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution
825766 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #106963
823508 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108441
822595 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108370
822341 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #108370
820672 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108319
821663 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly
821572 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108324
821569 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108188
821473 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly
821131 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded
820594 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #108337
820520 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly
820291 dotnet/runtime Workloads-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #108188
820261 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108323
820240 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #107865
819536 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #105427
819346 dotnet/runtime Workloads-NoWebcil-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #106977
819018 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #107865
818994 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108277
818843 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108271
818781 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly
817724 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly
817447 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #107639
817126 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108198
816876 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.SatelliteLoadingTests.LoadSatelliteAssembly #108190
816842 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108186
816784 dotnet/runtime Workloads-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #108179
816686 dotnet/runtime Workloads-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution
816602 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #107772
815754 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #105427
815436 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded
815271 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #108116
815073 dotnet/runtime Workloads-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution
814806 dotnet/runtime Workloads-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #106875
814697 dotnet/runtime Workloads-NoWebcil-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #107772
814439 dotnet/runtime Workloads-NoFingerprint-ST-Wasm.Build.Tests.WorkItemExecution #107961
813753 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #107772
813028 dotnet/runtime Wasm.Build.Tests.TestAppScenarios.LazyLoadingTests.LoadLazyAssemblyBeforeItIsNeeded #107984

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 2 57
@CarnaViire CarnaViire 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 8, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Aug 8, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

@CarnaViire CarnaViire added the arch-wasm WebAssembly architecture label Aug 8, 2024
@mkhamoyan mkhamoyan added this to the 9.0.0 milestone Aug 9, 2024
@mkhamoyan mkhamoyan self-assigned this Aug 9, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Aug 9, 2024
@mkhamoyan mkhamoyan modified the milestones: 9.0.0, 10.0.0 Aug 12, 2024
@lewing
Copy link
Member

lewing commented Aug 14, 2024

cc @maraf

@maraf
Copy link
Member

maraf commented Sep 3, 2024

Looking at offended builds, binlog always correctly contains PrintRuntimePackPath target and the message. Only the text output in log is missing it, including the standard dotnet build summary

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:08.02

It checked for success exit code before. So, buffers in process wrapper?

@pavelsavara
Copy link
Member

do we need to flush MSBuild stdout somehow ? Kill the process ?

@maraf
Copy link
Member

maraf commented Sep 27, 2024

There is a library for reading binlog https://www.nuget.org/packages/MSBuild.StructuredLogger.
Maybe if we don't get "Build finished" message from the build process output, we can try to read all messages from binlog

@jkotas
Copy link
Member

jkotas commented Oct 4, 2024

It checked for success exit code before. So, buffers in process wrapper?

We keep seeing reports of the redirected output being truncated mysteriously. For example, #108395 filled a few days ago or #100114 (comment) from a few months ago. Given the variety of the reports, it points to a bug (race condition?) in System.Diagnostics.Process implementation.

@pavelsavara
Copy link
Member

Is it possible that we are dealing with "msbuild server" process ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Build-mono 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
Projects
None yet
Development

No branches or pull requests

7 participants