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

Functional Test Failure: eshop azure: System.IO.IOException: Unable to read data from the transport connection #893

Closed
lakshmimsft opened this issue Dec 6, 2023 · 1 comment
Labels
important This item is a high priority Issue we intend to address as soon as possible test-failure A scheduled test run has failed and needs to be investigated triaged This item has been triaged by project maintainers and is in the backlog

Comments

@lakshmimsft
Copy link
Contributor

lakshmimsft commented Dec 6, 2023

Functional test error when running samples https://github.com/radius-project/samples/actions/runs/7104964592:
image

logs_6966.zip

Going through the logs, earlier error indicates:

{
2023-12-05T18:28:02.6968102Z                           "code": "ResourceDeploymentFailure",
2023-12-05T18:28:02.6989589Z                           "message": "An exception was encountered. Current deployment operation has failed. Error message: 'An error occurred while sending the request.'. Exception: 'System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.\n ---\u003e System.Net.Sockets.SocketException (104): Connection reset by peer\n   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)\n   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ReceiveAsync(Socket socket, CancellationToken cancellationToken)\n   at System.Net.Sockets.NetworkStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)\n   at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)\n   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine\u0026 stateMachine)\n   at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)\n   at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\n   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)\n   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(Action`1 continuation, Object state, Boolean forceAsync, Boolean requiresExecutionContextFlow)\n   at System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute()\n   at System.Threading.ThreadPoolWorkQueue.Dispatch()\n   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()\n   at System.Threading.Thread.StartCallback()\n--- End of stack trace from previous location ---\n\n   --- End of inner exception stack trace ---\n   at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)\n   at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)\n   at System.Net.Http.HttpConnection.\u003cCheckUsabilityOnScavenge\u003eg__ReadAheadWithZeroByteReadAsync|45_0()\n   at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)'",
2023-12-05T18:28:02.7002850Z                           "target": "/subscriptions/***/resourceGroups/rg-samplestest-7104964592-1-eshop-azure/providers/Microsoft.Sql/locations/westus3/serverOperationResults/599b5af1-380a-4dbe-a168-799d4824fabc"
2023-12-05T18:28:02.7003923Z                         }

This was reported during functional test run : #891

Note: The artifact for eshop azure was not created during this run/errored out before artifact was created : https://github.com/radius-project/samples/actions/runs/7104964592 . Determine if this is expected or no.

AB#10669

@kachawla kachawla added the test-failure A scheduled test run has failed and needs to be investigated label Dec 6, 2023
@shalabhms shalabhms added triaged This item has been triaged by project maintainers and is in the backlog important This item is a high priority Issue we intend to address as soon as possible labels Dec 11, 2023
@lakshmimsft lakshmimsft changed the title Functional Test Failure: eshop azure: Deletion of resource group failed Functional Test Failure: eshop azure: System.IO.IOException: Unable to read data from the transport connection Dec 13, 2023
@ytimocin
Copy link
Contributor

I haven't run into this issue within the last few weeks I have been working on the tests. This is also caused by the other end as you can see from the message Connection reset by peer. Closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
important This item is a high priority Issue we intend to address as soon as possible test-failure A scheduled test run has failed and needs to be investigated triaged This item has been triaged by project maintainers and is in the backlog
Projects
None yet
Development

No branches or pull requests

4 participants