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

[6.0] [mono] [linux] Conole test failure SetOut.SetOutReadToEnd #89084

Open
carlossanlop opened this issue Jul 18, 2023 · 3 comments
Open

[6.0] [mono] [linux] Conole test failure SetOut.SetOutReadToEnd #89084

carlossanlop opened this issue Jul 18, 2023 · 3 comments
Labels
area-Codegen-Interpreter-mono Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro)
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Jul 18, 2023

Error Blob

{
  "ErrorMessage": "SetOut.SetOutReadToEnd [FAIL]",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

=====================================================
pushd .
/root/helix/work/correlation/dotnet exec --runtimeconfig System.Console.Tests.runtimeconfig.json --depsfile System.Console.Tests.deps.json xunit.console.dll System.Console.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
  Discovering: System.Console.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Console.Tests (found 102 of 138 test cases)
  Starting:    System.Console.Tests (parallel test collections = on, max threads = 2)
    Color.RedirectedOutput_EnvVarSet_EmitsAnsiCodes [SKIP]
    SetOut.SetOutReadToEnd [FAIL]
      Assert.Equal() Failure
                ↓ (pos 0)
      Expected: Test
      Actual:         Condition(s) not met: "TermIsSet"\nT···
                ↑ (pos 0)
      Stack Trace:
        /_/src/libraries/System.Console/tests/Helpers.cs(30,0): at Helpers.SetAndReadHelper(Action`1 setHelper, Func`1 getHelper, Func`2 readHelper)
        /_/src/libraries/System.Console/tests/SetOut.cs(34,0): at SetOut.SetOutReadToEnd()
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(370,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
0
0
  Finished:    System.Console.Tests
=== TEST EXECUTION SUMMARY ===
   System.Console.Tests  Total: 143, Errors: 0, Failed: 1, Skipped: 1, Time: 2.289s
/root/helix/work/workitem/e
----- end Tue 18 Jul 2023 01:11:30 AM UTC ----- exit code 1 ----------------------------------------------------------

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=342882
Error message validated: SetOut.SetOutReadToEnd [FAIL]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 7/18/2023 2:55:45 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@carlossanlop carlossanlop added area-System.Console blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 18, 2023
@ghost
Copy link

ghost commented Jul 18, 2023

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

Issue Details

Error Blob

{
  "ErrorMessage": "SetOut.SetOutReadToEnd [FAIL]",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

=====================================================
pushd .
/root/helix/work/correlation/dotnet exec --runtimeconfig System.Console.Tests.runtimeconfig.json --depsfile System.Console.Tests.deps.json xunit.console.dll System.Console.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
  Discovering: System.Console.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Console.Tests (found 102 of 138 test cases)
  Starting:    System.Console.Tests (parallel test collections = on, max threads = 2)
    Color.RedirectedOutput_EnvVarSet_EmitsAnsiCodes [SKIP]
    SetOut.SetOutReadToEnd [FAIL]
      Assert.Equal() Failure
                ↓ (pos 0)
      Expected: Test
      Actual:         Condition(s) not met: "TermIsSet"\nT···
                ↑ (pos 0)
      Stack Trace:
        /_/src/libraries/System.Console/tests/Helpers.cs(30,0): at Helpers.SetAndReadHelper(Action`1 setHelper, Func`1 getHelper, Func`2 readHelper)
        /_/src/libraries/System.Console/tests/SetOut.cs(34,0): at SetOut.SetOutReadToEnd()
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(370,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
0
0
  Finished:    System.Console.Tests
=== TEST EXECUTION SUMMARY ===
   System.Console.Tests  Total: 143, Errors: 0, Failed: 1, Skipped: 1, Time: 2.289s
/root/helix/work/workitem/e
----- end Tue 18 Jul 2023 01:11:30 AM UTC ----- exit code 1 ----------------------------------------------------------
Author: carlossanlop
Assignees: -
Labels:

area-System.Console, blocking-clean-ci, untriaged, Known Build Error

Milestone: -

@marek-safar marek-safar removed the untriaged New issue has not been triaged by the area owner label Jul 26, 2023
@marek-safar marek-safar added this to the 6.0.x milestone Jul 26, 2023
@ghost
Copy link

ghost commented Nov 14, 2023

Tagging subscribers to this area: @BrzVlad, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

Issue Details

Error Blob

{
  "ErrorMessage": "SetOut.SetOutReadToEnd [FAIL]",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

=====================================================
pushd .
/root/helix/work/correlation/dotnet exec --runtimeconfig System.Console.Tests.runtimeconfig.json --depsfile System.Console.Tests.deps.json xunit.console.dll System.Console.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
  Discovering: System.Console.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Console.Tests (found 102 of 138 test cases)
  Starting:    System.Console.Tests (parallel test collections = on, max threads = 2)
    Color.RedirectedOutput_EnvVarSet_EmitsAnsiCodes [SKIP]
    SetOut.SetOutReadToEnd [FAIL]
      Assert.Equal() Failure
                ↓ (pos 0)
      Expected: Test
      Actual:         Condition(s) not met: "TermIsSet"\nT···
                ↑ (pos 0)
      Stack Trace:
        /_/src/libraries/System.Console/tests/Helpers.cs(30,0): at Helpers.SetAndReadHelper(Action`1 setHelper, Func`1 getHelper, Func`2 readHelper)
        /_/src/libraries/System.Console/tests/SetOut.cs(34,0): at SetOut.SetOutReadToEnd()
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs(370,0): at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
0
0
  Finished:    System.Console.Tests
=== TEST EXECUTION SUMMARY ===
   System.Console.Tests  Total: 143, Errors: 0, Failed: 1, Skipped: 1, Time: 2.289s
/root/helix/work/workitem/e
----- end Tue 18 Jul 2023 01:11:30 AM UTC ----- exit code 1 ----------------------------------------------------------

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=342882
Error message validated: SetOut.SetOutReadToEnd [FAIL]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 7/18/2023 2:55:45 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
Author: carlossanlop
Assignees: -
Labels:

area-System.Console, blocking-clean-ci, area-Codegen-Interpreter-mono, Known Build Error

Milestone: 6.0.x

@adamsitnik adamsitnik added os-linux Linux OS (any supported distro) and removed area-System.Console labels Nov 14, 2023
@build-analysis build-analysis bot removed this from the 6.0.x milestone Nov 15, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 15, 2023
@akoeplinger akoeplinger added this to the 6.0.x milestone Nov 24, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 24, 2023
@jeffschwMSFT jeffschwMSFT removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Feb 16, 2024
@jeffschwMSFT
Copy link
Member

removing blocking-clean-ci as it has not failed in 30 days

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Codegen-Interpreter-mono Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro)
Projects
None yet
Development

No branches or pull requests

5 participants