Skip to content

Test flakiness for Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAnAppWithLibrary.It_generates_satellite_assemblies #55408

Closed as not planned

Description

@Evangelink

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1521403
Build error leg or test failing: It_generates_satellite_assemblies
Pull request: #55376

Error Message

Exception Message

Test method Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAnAppWithLibrary.It_generates_satellite_assemblies threw exception:
FluentAssertions.Execution.AssertionFailedException: Expected string "This string came from the test library!
Welcome to .Net!
Willkommen in .Net!
Bienvenue à .Net!
Velkommen til .Net!" to contain "Bienvenue à .Net!" because The command output did not contain expected result: Bienvenue à .Net!
Working Directory:

File Name: C:\h\w\C2B50ABC\p\d\dotnet.exe

Arguments: C:\h\w\C2B50ABC\t\dotnetSdkTests\ep1uarx5.53k\It_generates_---49EC2C57\TestApp\bin\Debug\net11.0\TestApp.dll

Exit Code: 0

StdOut:

This string came from the test library!

Welcome to .Net!

Willkommen in .Net!

Bienvenue à .Net!

Velkommen til .Net!

StdErr:


.

CallStack

at FluentAssertions.Execution.FallbackTestFramework.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Primitives.StringAssertions`1.Contain(String expected, String because, Object[] becauseArgs)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.HaveStdOutContaining(String pattern) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 52
   at Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAnAppWithLibrary.It_generates_satellite_assemblies() in /_/test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildAnAppWithLibrary.cs:line 123
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

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

{
  "ErrorMessage": "",
  "ErrorPattern": "to contain \"Bienvenue à \\.Net!\" because The command output did not contain expected result: Bienvenue à \\.Net!",
  "BuildRetry": true,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1521403
Error message validated: [to contain "Bienvenue à \.Net!" because The command output did not contain expected result: Bienvenue à \.Net!]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/22/2026 2:12:53 PM UTC

Report

Build Repository Test Pull Request
1525548 dotnet/sdk It_generates_satellite_assemblies #55461
1524952 dotnet/sdk It_generates_satellite_assemblies #55452
1523422 dotnet/sdk It_generates_satellite_assemblies #55428
1521403 dotnet/sdk It_generates_satellite_assemblies #55376

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 3 4

Activity

  1. added
    untriaged
    on Jul 22, 2026
  2. removed
    untriaged
    on Jul 22, 2026
  3. baronfel commented on Jul 22, 2026

    @baronfel
    Member

    There's some kind of encoding/stream error in the stout - otherwise the expected content looks fine?

  4. locked and limited conversation to collaborators on Jul 22, 2026
  5. unlocked this conversation on Jul 22, 2026
  6. Evangelink commented on Jul 29, 2026

    @Evangelink
    MemberAuthor

    Reopening: this is still hitting on release/11.0.1xx-preview7, where the fix from #55428 has not flowed in yet.

    Build Information

    Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1529489
    Build error leg or test failing: It_generates_satellite_assemblies (FullFramework: windows (x64) run on windows.amd64.vs2026.pre.scout.open)
    Pull request: #55493

    Error Message

    Exception Message

    Test method Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAnAppWithLibrary.It_generates_satellite_assemblies threw exception:
    FluentAssertions.Execution.AssertionFailedException: Expected string "This string came from the test library!
    Welcome to .Net!
    Willkommen in .Net!
    Bienvenue à .Net!
    Velkommen til .Net!" to contain "Bienvenue à .Net!" because The command output did not contain expected result: Bienvenue à .Net!
    Working Directory:
    
    File Name: C:\h\w\A6360912\p\d\dotnet.exe
    
    Arguments: C:\h\w\A6360912\t\dotnetSdkTests\seouegzm.bbs\It_generates_---49EC2C57\TestApp\bin\Debug\net11.0\TestApp.dll
    
    Exit Code: 0
    
    StdOut:
    
    This string came from the test library!
    
    Welcome to .Net!
    
    Willkommen in .Net!
    
    Bienvenue à .Net!
    
    Velkommen til .Net!
    
    StdErr:
    
    
    .
    

    CallStack

    at FluentAssertions.Execution.FallbackTestFramework.Throw(String message)
       at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
       at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
       at FluentAssertions.Primitives.StringAssertions`1.Contain(String expected, String because, Object[] becauseArgs)
       at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.HaveStdOutContaining(String pattern) in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 52
       at Microsoft.NET.Build.Tests.GivenThatWeWantToBuildAnAppWithLibrary.It_generates_satellite_assemblies() in /_/test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildAnAppWithLibrary.cs:line 123
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    
  7. added
    untriaged
    on Jul 29, 2026
  8. MichaelSimons commented on Jul 29, 2026

    @MichaelSimons
    Member

    Reopening: this is still hitting on release/11.0.1xx-preview7, where the fix from #55428 has not flowed in yet.

    There is no flow setup to P7 and I am not sure a backport is warranted given the point in the release cycle. Based on that, I suggest re-closing this issue.

  9. removed
    untriaged
    on Jul 29, 2026
  10. added a commit that references this issue on Sep 22, 2026
    8e1c7bd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions