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.Net.NameResolution.Functional.Tests Fails on Android #50928

Closed
mdh1418 opened this issue Apr 8, 2021 · 3 comments · Fixed by #56635
Closed

System.Net.NameResolution.Functional.Tests Fails on Android #50928

mdh1418 opened this issue Apr 8, 2021 · 3 comments · Fixed by #56635

Comments

@mdh1418
Copy link
Member

mdh1418 commented Apr 8, 2021

System.Net.NameResolution.Functional.Tests
System.Net.NameResolution.Tests.TelemetryTest.EventSource_ExistsWithCorrectId
System.Net.NameResolution.Tests.LoggingTest.GetHostEntryAsync_InvalidHost_LogsError
System.Net.NameResolution.Tests.LoggingTest.GetHostEntry_InvalidHost_LogsError
System.Net.NameResolution.Tests.LoggingTest.GetHostEntry_ValidName_NoErrors
System.Net.NameResolution.Tests.LoggingTest.EventSource_ExistsWithCorrectId

System.Net.NameResolution.Functional.Tests.dll   Failed: 5

Test collection for System.Net.NameResolution.Tests.TelemetryTest
System.Net.NameResolution.Tests.TelemetryTest.EventSource_ExistsWithCorrectId
    System.ArgumentNullException : ArgumentNull_Generic Arg_ParamName_Name, collection

NoParallelTests
System.Net.NameResolution.Tests.LoggingTest.GetHostEntryAsync_InvalidHost_LogsError
    System.TimeoutException : Timeout waiting for error event
System.Net.NameResolution.Tests.LoggingTest.GetHostEntry_InvalidHost_LogsError
    events.Count should be > 0\nExpected: True\nActual:   False
System.Net.NameResolution.Tests.LoggingTest.GetHostEntry_ValidName_NoErrors
    Assert.True() Failure\nExpected: True\nActual:   False
System.Net.NameResolution.Tests.LoggingTest.EventSource_ExistsWithCorrectId
    System.ArgumentNullException : ArgumentNull_Generic Arg_ParamName_Name, collection
@mdh1418 mdh1418 added this to the 6.0.0 milestone Apr 8, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Apr 8, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@mdh1418 mdh1418 changed the title System.Linq.Expressions.Tests Fails on Android System.Net.NameResolution.Functional.Tests Fails on Android Apr 8, 2021
@ghost
Copy link

ghost commented Apr 9, 2021

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

Issue Details

System.Net.NameResolution.Functional.Tests
System.Net.NameResolution.Tests.TelemetryTest.EventSource_ExistsWithCorrectId
System.Net.NameResolution.Tests.LoggingTest.GetHostEntryAsync_InvalidHost_LogsError
System.Net.NameResolution.Tests.LoggingTest.GetHostEntry_InvalidHost_LogsError
System.Net.NameResolution.Tests.LoggingTest.GetHostEntry_ValidName_NoErrors
System.Net.NameResolution.Tests.LoggingTest.EventSource_ExistsWithCorrectId

System.Net.NameResolution.Functional.Tests.dll   Failed: 5

Test collection for System.Net.NameResolution.Tests.TelemetryTest
System.Net.NameResolution.Tests.TelemetryTest.EventSource_ExistsWithCorrectId
    System.ArgumentNullException : ArgumentNull_Generic Arg_ParamName_Name, collection

NoParallelTests
System.Net.NameResolution.Tests.LoggingTest.GetHostEntryAsync_InvalidHost_LogsError
    System.TimeoutException : Timeout waiting for error event
System.Net.NameResolution.Tests.LoggingTest.GetHostEntry_InvalidHost_LogsError
    events.Count should be > 0\nExpected: True\nActual:   False
System.Net.NameResolution.Tests.LoggingTest.GetHostEntry_ValidName_NoErrors
    Assert.True() Failure\nExpected: True\nActual:   False
System.Net.NameResolution.Tests.LoggingTest.EventSource_ExistsWithCorrectId
    System.ArgumentNullException : ArgumentNull_Generic Arg_ParamName_Name, collection

<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.Net`, `os-android`, `untriaged`

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

@karelz karelz removed the untriaged New issue has not been triaged by the area owner label Apr 20, 2021
@steveisok
Copy link
Member

@mdh1418 These tests all appear to pass and can be re-enabled.

@steveisok steveisok modified the milestones: 6.0.0, 7.0.0 Jul 30, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 30, 2021
steveisok pushed a commit that referenced this issue Jul 30, 2021
…ng improperly set (#56635)

Fixes #50576
Fixes #50881
Fixes #50916
Fixes #50917
Fixes #50918
Fixes #50919
Fixes #50927
Fixes #50928
Fixes #50944
Fixes #50945
Fixes #50946
Fixes #50947
Fixes #50948
Fixes #50999

When setting up functional tests for mobile, the feature switches being used for the tests were misplaced in a broader project, affecting the library tests and causing failures. After moving the feature switches to the scope of functional tests as done in #53253, these test suites no longer fail and can be re-enabled.
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 30, 2021
@karelz karelz modified the milestones: 7.0.0, 6.0.0 Aug 17, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants