{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/32118","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/32118/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/32118/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/32118/events","html_url":"https://github.com/dotnet/corefx/issues/32118","id":357121568,"node_id":"MDU6SXNzdWUzNTcxMjE1Njg=","number":32118,"title":"Test failure: System.Net.Tests.HttpWebRequestTest/ContentLength_Get_ExpectSameAsGetResponseStream(remoteServer: https://corefx-net-http2.azurewebsites.net/Echo.ashx)","user":{"login":"dotnet-mc-bot","id":19915927,"node_id":"MDQ6VXNlcjE5OTE1OTI3","avatar_url":"https://avatars3.githubusercontent.com/u/19915927?v=4","gravatar_id":"","url":"https://api.github.com/users/dotnet-mc-bot","html_url":"https://github.com/dotnet-mc-bot","followers_url":"https://api.github.com/users/dotnet-mc-bot/followers","following_url":"https://api.github.com/users/dotnet-mc-bot/following{/other_user}","gists_url":"https://api.github.com/users/dotnet-mc-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet-mc-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet-mc-bot/subscriptions","organizations_url":"https://api.github.com/users/dotnet-mc-bot/orgs","repos_url":"https://api.github.com/users/dotnet-mc-bot/repos","events_url":"https://api.github.com/users/dotnet-mc-bot/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet-mc-bot/received_events","type":"User","site_admin":false},"labels":[{"id":178058848,"node_id":"MDU6TGFiZWwxNzgwNTg4NDg=","url":"https://api.github.com/repos/dotnet/corefx/labels/area-System.Net","name":"area-System.Net","color":"d4c5f9","default":false},{"id":205613977,"node_id":"MDU6TGFiZWwyMDU2MTM5Nzc=","url":"https://api.github.com/repos/dotnet/corefx/labels/os-linux","name":"os-linux","color":"fef2c0","default":false},{"id":154923046,"node_id":"MDU6TGFiZWwxNTQ5MjMwNDY=","url":"https://api.github.com/repos/dotnet/corefx/labels/test%20bug","name":"test bug","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/corefx/milestones/21","html_url":"https://github.com/dotnet/corefx/milestone/21","labels_url":"https://api.github.com/repos/dotnet/corefx/milestones/21/labels","id":3242632,"node_id":"MDk6TWlsZXN0b25lMzI0MjYzMg==","number":21,"title":"3.0","description":".NET Core 3.0, next major release after 2.1. See [official release dates](https://github.com/dotnet/core/blob/master/roadmap.md) for details.\r\n\r\nWe will move important issues from Future to 3.0 as the priorities and dates for next release become more clear.","creator":{"login":"karelz","id":5776068,"node_id":"MDQ6VXNlcjU3NzYwNjg=","avatar_url":"https://avatars2.githubusercontent.com/u/5776068?v=4","gravatar_id":"","url":"https://api.github.com/users/karelz","html_url":"https://github.com/karelz","followers_url":"https://api.github.com/users/karelz/followers","following_url":"https://api.github.com/users/karelz/following{/other_user}","gists_url":"https://api.github.com/users/karelz/gists{/gist_id}","starred_url":"https://api.github.com/users/karelz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelz/subscriptions","organizations_url":"https://api.github.com/users/karelz/orgs","repos_url":"https://api.github.com/users/karelz/repos","events_url":"https://api.github.com/users/karelz/events{/privacy}","received_events_url":"https://api.github.com/users/karelz/received_events","type":"User","site_admin":false},"open_issues":207,"closed_issues":1958,"state":"open","created_at":"2018-04-04T16:40:10Z","updated_at":"2018-09-05T17:18:25Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2018-09-05T08:34:10Z","updated_at":"2018-09-05T17:45:57Z","closed_at":null,"author_association":"NONE","body":"Opened on behalf of @Sunny-pu\n\nThe test `System.Net.Tests.HttpWebRequestTest/ContentLength_Get_ExpectSameAsGetResponseStream(remoteServer: https://corefx-net-http2.azurewebsites.net/Echo.ashx)` has failed.\n\nSystem.Net.WebException : The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure.\n    ---- System.Net.Http.HttpRequestException : The SSL connection could not be established, see inner exception.\n    -------- System.Security.Authentication.AuthenticationException : The remote certificate is invalid according to the validation procedure.\n\n        Stack Trace:\n\n           at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) in /root/corefx-2003417/src/System.Net.Requests/src/System/Net/HttpWebRequest.cs:line 1269\n       at System.Net.WebRequest.<>c.<GetResponseAsync>b__68_2(IAsyncResult iar) in /root/corefx-2003417/src/System.Net.Requests/src/System/Net/WebRequest.cs:line 550\n       at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) in /root/coreclr/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:line 529\n    --- End of stack trace from previous location where exception was thrown ---\n       at System.Net.Tests.HttpWebRequestTest.ContentLength_Get_ExpectSameAsGetResponseStream(Uri remoteServer) in /root/corefx-2003417/src/System.Net.Requests/tests/HttpWebRequestTest.cs:line 228\n    --- End of stack trace from previous location where exception was thrown ---\n    ----- Inner Stack Trace -----\n       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) in /root/corefx-2003417/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ConnectHelper.cs:line 176\n       at System.Threading.Tasks.ValueTask`1.get_Result() in /root/coreclr/src/System.Private.CoreLib/shared/System/Threading/Tasks/ValueTask.cs:line 849\n       at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken) in /root/corefx-2003417/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs:line 583\n       at System.Threading.Tasks.ValueTask`1.get_Result() in /root/coreclr/src/System.Private.CoreLib/shared/System/Threading/Tasks/ValueTask.cs:line 850\n       at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /root/corefx-2003417/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs:line 598\n       at System.Threading.Tasks.ValueTask`1.get_Result() in /root/coreclr/src/System.Private.CoreLib/shared/System/Threading/Tasks/ValueTask.cs:line 850\n       at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask) in /root/corefx-2003417/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs:line 719\n       at System.Threading.Tasks.ValueTask`1.get_Result() in /root/coreclr/src/System.Private.CoreLib/shared/System/Threading/Tasks/ValueTask.cs:line 850\n       at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken) in /root/corefx-2003417/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs:line 457\n       at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /root/corefx-2003417/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/RedirectHandler.cs:line 33\n       at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) in /root/corefx-2003417/src/System.Net.Http/src/System/Net/Http/HttpClient.cs:line 507\n       at System.Net.HttpWebRequest.SendRequest() in /root/corefx-2003417/src/System.Net.Requests/src/System/Net/HttpWebRequest.cs:line 1215\n       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) in /root/corefx-2003417/src/System.Net.Requests/src/System/Net/HttpWebRequest.cs:line 1265\n    ----- Inner Stack Trace -----\n       at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 976\n       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 820\n       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 791\n       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 960\n       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 915\n       at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 863\n       at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 820\n       at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 791\n       at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 960\n       at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 915\n       at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 1094\n    --- End of stack trace from previous location where exception was thrown ---\n       at System.Net.Security.SslState.ThrowIfExceptional() in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 98\n       at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 737\n       at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslState.cs:line 708\n       at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslStream.cs:line 222\n       at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__47_1(IAsyncResult iar) in /root/corefx-2003417/src/System.Net.Security/src/System/Net/Security/SslStream.cs:line 395\n       at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) in /root/coreclr/src/System.Private.CoreLib/src/System/Threading/Tasks/FutureFactory.cs:line 533\n    --- End of stack trace from previous location where exception was thrown ---\n       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) in /root/corefx-2003417/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ConnectHelper.cs:line 165\nBuild : 3.0 - 20180905.01 (Core Tests)\nFailing configurations:\n- SLES.15.Amd64-x64\n  - Release\n\nDetails：\nhttps://mc.dot.net/#/product/netcore/30/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fcli~2F/build/20180905.01/workItem/System.Net.Requests.Tests/analysis/xunit/System.Net.Tests.HttpWebRequestTest~2FContentLength_Get_ExpectSameAsGetResponseStream(remoteServer:%20https:~2F~2Fcorefx-net-http2.azurewebsites.net~2FEcho.ashx)"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/418819470","html_url":"https://github.com/dotnet/corefx/issues/32118#issuecomment-418819470","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/32118","id":418819470,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODgxOTQ3MA==","user":{"login":"bartonjs","id":10642668,"node_id":"MDQ6VXNlcjEwNjQyNjY4","avatar_url":"https://avatars3.githubusercontent.com/u/10642668?v=4","gravatar_id":"","url":"https://api.github.com/users/bartonjs","html_url":"https://github.com/bartonjs","followers_url":"https://api.github.com/users/bartonjs/followers","following_url":"https://api.github.com/users/bartonjs/following{/other_user}","gists_url":"https://api.github.com/users/bartonjs/gists{/gist_id}","starred_url":"https://api.github.com/users/bartonjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartonjs/subscriptions","organizations_url":"https://api.github.com/users/bartonjs/orgs","repos_url":"https://api.github.com/users/bartonjs/repos","events_url":"https://api.github.com/users/bartonjs/events{/privacy}","received_events_url":"https://api.github.com/users/bartonjs/received_events","type":"User","site_admin":false},"created_at":"2018-09-05T17:45:57Z","updated_at":"2018-09-05T17:45:57Z","author_association":"MEMBER","body":"Yesterday we added support for OpenSSL 1.1, which SLES 15 is probably using.  Presumably it's pointing at a different root trust list than the OpenSSL 1.0.2 on the same machine had.\r\n\r\nThe best way to find out is to use the cert validation callback and see what it's complaining about (my guess is the chain object will say UntrustedRoot)"}}
{"actor":{"display_login":"bartonjs"}}