Closed
Labels
Description
failed in job: runtime-libraries outerloop 20200713.2
Error message
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
----- Inner 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
Activity
BruceForstall commentedon Jul 14, 2020
@danmosemsft What is the correct area for this?
danmoseley commentedon Jul 14, 2020
Per https://github.com/dotnet/runtime/blob/master/docs/area-owners.md System.Windows.Extensions is area-Microsoft.Win32
danmoseley commentedon Jul 14, 2020
Relevant code is very simple
cc @dotnet/ncl are we doing this right here?
wfurt commentedon Jul 14, 2020
I don't know if it is related but this looks like synchronous API and there was recent change to use new sync implementation instead of using sync over async inside HTTP. The socket error also looks suspicious.
cc: @ManickaP
ManickaP commentedon Jul 14, 2020
This is the same underlying issue as in #39279
Since it's obviously a different test, should we keep both issues open?
If not, I'd close this one as a dupe, the original one is closer to the stack where it's happening.
danmoseley commentedon Jul 14, 2020
Duplicate of #39279.