You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldly.ShouldAssertException : zipArchive.Entries
should contain an element satisfying the condition
zE.Name.EndsWith("testtaskoutputfile.txt")
but does not
Additional Info:
Embedded files:
Fix guidance
The test writes a file via WriteLinesToFile and expects it to be embedded in the .ProjectImports.zip binary log. The intermittent empty Embedded files: suggests a race: the file may not be flushed/closed before EmbedInBinlog is processed. A minimal fix may ensure the file is written before embedding. If no concrete root cause can be identified, quarantine with:
Flaky test detected by automated CI scan (14-day window, 3+ independent evidence sources).
Evidence
mainbuilds)Microsoft.Build.Engine.UnitTestsSample error
Fix guidance
The test writes a file via
WriteLinesToFileand expects it to be embedded in the.ProjectImports.zipbinary log. The intermittent emptyEmbedded files:suggests a race: the file may not be flushed/closed beforeEmbedInBinlogis processed. A minimal fix may ensure the file is written before embedding. If no concrete root cause can be identified, quarantine with:(
ActiveIssueis fromMicrosoft.DotNet.XUnitV3Extensions, namespaceXunit— not[Fact(Skip=...)])Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
dnceng.pkgs.visualstudio.comSee Network Configuration for more information.