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

[wasm] DebuggerTests.ExceptionTests timing out on CI/linux #81170

Closed
radical opened this issue Jan 25, 2023 · 4 comments · Fixed by #90095
Closed

[wasm] DebuggerTests.ExceptionTests timing out on CI/linux #81170

radical opened this issue Jan 25, 2023 · 4 comments · Fixed by #90095
Assignees
Labels
arch-wasm WebAssembly architecture area-Debugger-mono disabled-test The test is disabled in source code against the issue
Milestone

Comments

@radical
Copy link
Member

radical commented Jan 25, 2023

Log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-1929e528323c4cc6ab/chrome-DebuggerTests.ExceptionTests/1/console.57e82c03.log?helixlogtype=result

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Killed
['chrome-DebuggerTests.ExceptionTests' END OF WORK ITEM LOG: Command timed out, and was killed]

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@radical radical added arch-wasm WebAssembly architecture blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-Debugger-mono labels Jan 25, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jan 25, 2023
@ghost
Copy link

ghost commented Jan 25, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-1929e528323c4cc6ab/chrome-DebuggerTests.ExceptionTests/1/console.57e82c03.log?helixlogtype=result

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Killed
['chrome-DebuggerTests.ExceptionTests' END OF WORK ITEM LOG: Command timed out, and was killed]
Author: radical
Assignees: -
Labels:

arch-wasm, blocking-clean-ci, area-Debugger-mono

Milestone: -

radical added a commit to radical/runtime that referenced this issue Jan 25, 2023
@radical radical added this to the 8.0.0 milestone Jan 25, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jan 25, 2023
@radical radical added disabled-test The test is disabled in source code against the issue and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' labels Jan 25, 2023
@radical
Copy link
Member Author

radical commented Jan 25, 2023

Log:

[18:17:46] dbug: DevToolsProxy-0[0] DevToolsProxy: Starting for browser at ws://127.0.0.1:44541/devtools/page/C034D7D3123FB2706F7026F07BF800EF
[18:17:46] dbug: DevToolsProxy-0[0] DevToolsProxy: Proxy waiting for connection to the browser at ws://127.0.0.1:44541/devtools/page/C034D7D3123FB2706F7026F07BF800EF
[18:17:46] info: Inspector-0[0] waiting for the runtime to be ready
[18:17:46] dbug: DevToolsProxy-0[0] Default context created, clearing state and sending events
[18:18:07] dbug: Inspector-0[0] console.debug: #debugger-app-ready#
[18:18:07] info: Inspector-0[0] runtime ready, TEST TIME
[18:18:07] info: Inspector-0[0] console: <message missing>
[18:18:07] info: Inspector-0[0] console.log: uncaught test
[18:18:07] dbug: Inspector-0[0] Failing all waiters because: Runtime.exceptionThrown: {   "timestamp": 1674670687902.601,   "exceptionDetails": {     "exceptionId": 1,     "text": "Uncaught",     "lineNumber": 46,     "columnNumber": 7,     "scriptId": "5",     "url": "http://localhost:9400/other.js",     "stackTrace": {       "callFrames": [         {           "functionName": "exception_uncaught_test",           "scriptId": "5",           "url": "http://localhost:9400/other.js",           "lineNumber": 46,           "columnNumber": 7         },         {           "functionName": "exceptions_test",           "scriptId": "5",           "url": "http://localhost:9400/other.js",           "lineNumber": 51,           "columnNumber": 1         },         {           "functionName": "",           "scriptId": "86",           "url": "",           "lineNumber": 0,           "columnNumber": 32         }       ]     },     "exception": {       "type": "object",       "subtype": "error",       "className": "RangeError",       "description": "RangeError: exception uncaught\n    at exception_uncaught_test (http://localhost:9400/other.js:47:8)\n    at exceptions_test (http://localhost:9400/other.js:52:2)\n    at <anonymous>:1:33",       "objectId": "-3584951409223131675.1.12",       "preview": {         "type": "object",         "subtype": "error",         "description": "RangeError: exception uncaught\n    at exception_uncaught_test (http://localhost:9400/other.js:47:8)\n    at exceptions_test (http://localhost:9400/other.js:52:2)\n    at <anonymous>:1:33",         "overflow": false,         "properties": [           {             "name": "stack",             "type": "string",             "value": "RangeError: exception uncaught\n    at exception_un…lhost:9400/other.js:52:2)\n    at <anonymous>:1:33"           },           {             "name": "message",             "type": "string",             "value": "exception uncaught"           }         ]       }     },     "executionContextId": 1   } }
[18:18:44] dbug: Inspector-0[0] RunLoop stopped, reason: RunLoopExitState { reason = Cancelled, exception =  }
[18:18:44] dbug: Inspector-0[0] Failing 0 pending cmds
[18:18:44] dbug: DevToolsProxy-0[0] RunLoop stopped, reason: RunLoopExitState { reason = ConnectionClosed, exception = System.Exception: Connection id: ide  ---> System.AggregateException: One or more errors occurred. (The remote party closed the WebSocket connection without completing the close handshake.)  ---> System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.    at System.Net.WebSockets.ManagedWebSocket.ThrowEOFUnexpected()    at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken)    at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)    at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)    at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)    at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) --- End of stack trace from previous location ---    at Microsoft.WebAssembly.Diagnostics.DevToolsDebuggerConnection.ReadOneAsync(CancellationToken token) in /_/src/mono/wasm/debugger/BrowserDebugProxy/Common/DevToolsDebuggerConnection.cs:line 43    --- End of inner exception stack trace ---    --- End of inner exception stack trace --- }
[18:18:44] dbug: DebuggerTests.TestHarnessProxy[0] [testId: 0] TestHarnessStartup done
[18:18:44] dbug: DebuggerTests.TestHarnessProxy[0] TestHarnessStartup: closing for 0
['chrome-DebuggerTests.ExceptionTests' END OF WORK ITEM LOG: Command timed out, and was killed]

@lewing
Copy link
Member

lewing commented Jul 24, 2023

@radical have we seen this recently?

@radical
Copy link
Member Author

radical commented Jul 24, 2023

@radical have we seen this recently?

It's disabled currently. We should re-enable and see if it is still failing.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 7, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 7, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Debugger-mono disabled-test The test is disabled in source code against the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants