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

System.Diagnostics.Tracing.Tests Fails on iOS and tvOS #51382

Closed
mdh1418 opened this issue Apr 16, 2021 · 5 comments · Fixed by #72545
Closed

System.Diagnostics.Tracing.Tests Fails on iOS and tvOS #51382

mdh1418 opened this issue Apr 16, 2021 · 5 comments · Fixed by #72545

Comments

@mdh1418
Copy link
Member

mdh1418 commented Apr 16, 2021

System.Diagnostics.Tracing.Tests
BasicEventSourceTests.TestsManifestNegative.Test_GenerateManifest_InvalidEventSources
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Dynamic
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Contract
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_BeforeListener
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsBasicTypes
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_InvalidCalls
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_AfterListener
BasicEventSourceTests.TestsWriteEventToListener.Test_EventListenerThrows_ExceptionIsNotRethrownToCaller
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsCornerCases
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ZeroKwds
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ToChannel_Coverage
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener_UseEvents
BasicEventSourceTests.TestsUserErrors.Test_BadEventSource_MismatchedIds

System.Diagnostics.Tracing.Tests.dll   Failed: 13

Test collection for System.Diagnostics.Tracing.Tests.dll
BasicEventSourceTests.TestsManifestNegative.Test_GenerateManifest_InvalidEventSources
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Dynamic
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Contract
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_BeforeListener
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsBasicTypes
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_InvalidCalls
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_AfterListener
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsCornerCases
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ZeroKwds
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ToChannel_Coverage
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener_UseEvents
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsUserErrors.Test_BadEventSource_MismatchedIds
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
@mdh1418 mdh1418 added os-ios Apple iOS os-tvos Apple tvOS labels Apr 16, 2021
@mdh1418 mdh1418 added this to the 6.0.0 milestone Apr 16, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.Diagnostics.Tracing untriaged New issue has not been triaged by the area owner labels Apr 16, 2021
@ghost
Copy link

ghost commented Apr 16, 2021

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

Issue Details

System.Diagnostics.Tracing.Tests
BasicEventSourceTests.TestsManifestNegative.Test_GenerateManifest_InvalidEventSources
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Dynamic
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Contract
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_BeforeListener
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsBasicTypes
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_InvalidCalls
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_AfterListener
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsCornerCases
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ZeroKwds
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ToChannel_Coverage
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener_UseEvents
BasicEventSourceTests.TestsUserErrors.Test_BadEventSource_MismatchedIds

System.Diagnostics.Tracing.Tests.dll   Failed: 13

Test collection for System.Diagnostics.Tracing.Tests.dll
BasicEventSourceTests.TestsManifestNegative.Test_GenerateManifest_InvalidEventSources
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Dynamic
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Contract
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_BeforeListener
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsBasicTypes
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_InvalidCalls
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_AfterListener
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsCornerCases
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ZeroKwds
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ToChannel_Coverage
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener_UseEvents
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsUserErrors.Test_BadEventSource_MismatchedIds
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)


<table>
  <tr>
    <th align="left">Author:</th>
    <td>mdh1418</td>
  </tr>
  <tr>
    <th align="left">Assignees:</th>
    <td>-</td>
  </tr>
  <tr>
    <th align="left">Labels:</th>
    <td>

`area-System.Diagnostics.Tracing`, `os-ios`, `os-tvos`, `untriaged`

</td>
  </tr>
  <tr>
    <th align="left">Milestone:</th>
    <td>6.0.0</td>
  </tr>
</table>
</details>

@tommcdon tommcdon removed the untriaged New issue has not been triaged by the area owner label Apr 22, 2021
@mdh1418 mdh1418 changed the title System.Diagnostics.Tracing.Tests Fails on iOS crashes on tvOS System.Diagnostics.Tracing.Tests Fails on iOS and tvOS Apr 29, 2021
@steveisok
Copy link
Member

We aren't linking in the diagnostics component yet, so none of these tests should be enabled until then.

@ghost
Copy link

ghost commented Jul 21, 2021

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

Issue Details

System.Diagnostics.Tracing.Tests
BasicEventSourceTests.TestsManifestNegative.Test_GenerateManifest_InvalidEventSources
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Dynamic
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Contract
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_BeforeListener
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsBasicTypes
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_InvalidCalls
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_AfterListener
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsCornerCases
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ZeroKwds
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ToChannel_Coverage
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener_UseEvents
BasicEventSourceTests.TestsUserErrors.Test_BadEventSource_MismatchedIds

System.Diagnostics.Tracing.Tests.dll   Failed: 13

Test collection for System.Diagnostics.Tracing.Tests.dll
BasicEventSourceTests.TestsManifestNegative.Test_GenerateManifest_InvalidEventSources
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Dynamic
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsTraits.Test_EventSource_Traits_Contract
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_BeforeListener
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsBasicTypes
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_InvalidCalls
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_EventSourceCreatedEvents_AfterListener
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ArgsCornerCases
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ZeroKwds
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWriteEventToListener.Test_WriteEvent_ToChannel_Coverage
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsWrite.Test_Write_T_EventListener_UseEvents
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)
BasicEventSourceTests.TestsUserErrors.Test_BadEventSource_MismatchedIds
    Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: \nActual:   Private.InternalDiagnostics.System.Net.So···\n          ↑ (pos 0)


<table>
  <tr>
    <th align="left">Author:</th>
    <td>mdh1418</td>
  </tr>
  <tr>
    <th align="left">Assignees:</th>
    <td>-</td>
  </tr>
  <tr>
    <th align="left">Labels:</th>
    <td>

`area-Infrastructure-mono`, `area-System.Diagnostics.Tracing`, `os-ios`, `os-tvos`

</td>
  </tr>
  <tr>
    <th align="left">Milestone:</th>
    <td>7.0.0</td>
  </tr>
</table>
</details>

@steveisok
Copy link
Member

@mdh1418 are these tests still failing?

@mdh1418
Copy link
Member Author

mdh1418 commented Jul 18, 2022

As of commit 349d811, the tests pass on iOSSimulator x64 Debug. I'll have to check device at another point when I have a iOS device available.

Also passes on OSX x64 Debug (which should be the same as iOSSimulator x64 Debug)

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 20, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 25, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants