Skip to content

System.Diagnostics.Debug.Tests fail on iOS #36882

Closed

Description

@mdh1418

Several tests from System.Diagnostics fail on iOS:

System.Diagnostics.Debug.Tests

System.Diagnostics.Tests.DebugTestsUsingListeners.Debug_WriteLineNull_IndentsEmptyStringProperly
System.Diagnostics.Tests.DebugTestsUsingListeners.IndentLevel_Set_GetReturnsExpected
System.Diagnostics.Tests.DebugTestsUsingListeners.Trace_ClearTraceListeners_StopsWritingToDebugger
System.Diagnostics.Tests.DebugTestsUsingListeners.TraceWriteLineIf

System.Diagnostics.Debug.Tests.dll   Failed: 6

System.Diagnostics.Debug
System.Diagnostics.Tests.DebugTestsUsingListeners.Debug_WriteLineNull_IndentsEmptyStringProperly
    Assert.Equal() Failure\n             ↓ (pos 3)\nExpected:    \\n\nActual:       \\n\n             ↑ (pos 3)
System.Diagnostics.Tests.DebugTestsUsingListeners.IndentLevel_Set_GetReturnsExpected(indentLevel: 0, expectedIndentLevel: 0)
    Assert.Equal() Failure\n             ↓ (pos 3)\nExpected:    pizza\\n\nActual:       pizza\\n\n             ↑ (pos 3)
System.Diagnostics.Tests.DebugTestsUsingListeners.IndentLevel_Set_GetReturnsExpected(indentLevel: 1, expectedIndentLevel: 1)
    Assert.Equal() Failure\n             ↓ (pos 3)\nExpected:    pizza\\n\nActual:       pizza\\n\n             ↑ (pos 3)
System.Diagnostics.Tests.DebugTestsUsingListeners.IndentLevel_Set_GetReturnsExpected(indentLevel: -1, expectedIndentLevel: 0)
    Assert.Equal() Failure\n             ↓ (pos 3)\nExpected:    pizza\\n\nActual:       pizza\\n\n             ↑ (pos 3)
System.Diagnostics.Tests.DebugTestsUsingListeners.Trace_ClearTraceListeners_StopsWritingToDebugger
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: pizza\nActual:      pizza\n          ↑ (pos 0)
System.Diagnostics.Tests.DebugTestsUsingListeners.TraceWriteLineIf
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: category: 5\\n\nActual:      category: 5\\n\n          ↑ (pos 0)

Activity

  1. removed
    untriagedNew issue has not been triaged by the area owner
    on May 24, 2020
  2. tommcdon commented on May 24, 2020

    @tommcdon
    Member

    @steveisok would you mind adding a milestone to this issue?

  3. added this to the 5.0 milestone on Jun 8, 2020
  4. modified the milestones: 5.0.0, 6.0.0 on Jun 16, 2020
  5. noahfalk commented on Jan 25, 2021

    @noahfalk
    Member

    @marek-safar - I notice this issue has been unaddressed for ~7 months. Is it tracking work you plan to do or can it be closed?

    I ask because Tom's team has triage queries that include anything tagged System.Diagnostics but I don't think we have any actionable work here. We can update our queries with exclusions if needed. Thanks!

  6. steveisok commented on Jan 26, 2021

    @steveisok
    Member

    Yes, we are planning iOS diagnostics work for .net 6.

  7. changed the title [-]System.Diagnostics tests fail on iOS[/-] [+]System.Diagnostics.Debug.Tests fail on iOS[/+] on Apr 14, 2021
  8. modified the milestones: 6.0.0, 7.0.0 on Jul 21, 2021
  9. lateralusX commented on Jul 26, 2022

    @lateralusX
    Member

    @mdh1418 I have run this test suite on iOSSimulator, Full AOT LLVM, and it passed, did you only repro this on physical iOS device?

  10. lateralusX commented on Jul 28, 2022

    @lateralusX
    Member

    @mdh1418 Looks like failures on MacCatalyst and tvOS are not related to re-enabled tests, https://dev.azure.com/dnceng/public/_build/results?buildId=1906721&view=ms.vss-test-web.build-test-results-tab, so looks like this issue has been resolved and we could re-enable the tests and close this issue.

  11. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Jul 28, 2022
  12. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Jul 28, 2022
  13. ghost locked as resolved and limited conversation to collaborators on Aug 27, 2022
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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions