Skip to content

System.Net.Tests.HttpWebRequestTest_Async.Timeout_SetTenMillisecondsOnLoopback_ThrowsWebException fails in CI #39279

Closed

Description

@ericstj

https://dev.azure.com/dnceng/public/_build/results?buildId=728239&view=ms.vss-test-web.build-test-results-tab&runId=22544614&resultId=159662&paneView=debug

net5.0-OSX-Debug-x64-CoreCLR_checked-OSX.1013.Amd64.Open
System.Net.Tests.HttpWebRequestTest_Async.Timeout_SetTenMillisecondsOnLoopback_ThrowsWebException

    System.Net.Tests.HttpWebRequestTest_Async.Timeout_SetTenMillisecondsOnLoopback_ThrowsWebException [FAIL]
      Assert.Throws() Failure
      Expected: typeof(System.Net.WebException)
      Actual:   typeof(System.IO.IOException): The operation is not allowed on non-connected sockets.
      ---- System.IO.IOException : The operation is not allowed on non-connected sockets.
      Stack Trace:
        /_/src/libraries/System.Net.Requests/src/System/Net/HttpWebRequest.cs(1025,0): at System.Net.HttpWebRequest.GetResponse()
        /_/src/libraries/System.Net.Requests/tests/HttpWebRequestTest.cs(522,0): at System.Net.Tests.HttpWebRequestTest.<>c__DisplayClass38_0.<Timeout_SetTenMillisecondsOnLoopback_ThrowsWebException>b__1()
        ----- Inner Stack Trace -----
        /_/src/libraries/System.Net.Requests/src/System/Net/HttpWebRequest.cs(1025,0): at System.Net.HttpWebRequest.GetResponse()
        /_/src/libraries/System.Net.Requests/tests/HttpWebRequestTest.cs(522,0): at System.Net.Tests.HttpWebRequestTest.<>c__DisplayClass38_0.<Timeout_SetTenMillisecondsOnLoopback_ThrowsWebException>b__1()

Activity

  1. stephentoub commented on Jul 14, 2020

    @stephentoub
    Member
  2. added
    untriaged
    on Jul 14, 2020
  3. wfurt commented on Jul 14, 2020

    @wfurt
    Member

    This seems same failure as #39259

    Assert.Throws() Failure
    Expected: typeof(System.Net.WebException)
    Actual:   typeof(System.IO.IOException): The operation is not allowed on non-connected sockets.
    ---- System.IO.IOException : The operation is not allowed on non-connected sockets.
    
    
    Stack trace
       at System.Net.HttpWebRequest.GetResponse() in /_/src/libraries/System.Net.Requests/src/System/Net/HttpWebRequest.cs:line 1025
       at System.Media.SoundPlayer.LoadSync() in /_/src/libraries/System.Windows.Extensions/src/System/Media/SoundPlayer.cs:line 265
       at System.Media.SoundPlayer.LoadAndPlay(Int32 flags) in /_/src/libraries/System.Windows.Extensions/src/System/Media/SoundPlayer.cs:line 228
       at System.Media.SoundPlayer.Play() in /_/src/libraries/System.Windows.Extensions/src/System/Media/SoundPlayer.cs:line 326
       at System.Media.Test.SoundPlayerTests.<>c__DisplayClass9_0.<Play_InvalidFile_ShortTimeout_ThrowsWebException>b__0() in /_/src/libraries/System.Windows.Extensions/tests/System/Media/SoundPlayerTests.cs:line 157
    
    
  4. ManickaP commented on Jul 14, 2020

    @ManickaP
    Member

    Yep, the same problem, different tests. I'll look into it.

  5. removed
    untriaged
    on Jul 14, 2020
  6. added this to the 5.0.0 milestone on Jul 14, 2020
  7. self-assigned this
    on Jul 14, 2020
  8. am11 commented on Jul 15, 2020

    @am11
    Member

    Noticed the same error with SDK Version: 5.0.100-preview.8.20362.3 in a helloworld app on FreeBSD, using linux x64 binary (in Linux® emulation mode): https://api.cirrus-ci.com/v1/task/6736777027256320/logs/emulate%20dotnet.log | ci job

  9. ghost locked as resolved and limited conversation to collaborators on Dec 8, 2020
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