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 · 8 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Build-mono 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

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 3
@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 ?

@maraf maraf removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Oct 22, 2024
@maraf
Copy link
Member

maraf commented Oct 22, 2024

Mitigated by reading the binlog

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 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