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][debugger] Fix failed to fetch debugger MT tests #89737

Merged
merged 12 commits into from
Aug 3, 2023

Conversation

thaystg
Copy link
Member

@thaystg thaystg commented Jul 31, 2023

.. by limiting parallel downloads of resources to 10.

@ghost
Copy link

ghost commented Jul 31, 2023

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

null

Author: thaystg
Assignees: thaystg
Labels:

area-Debugger-mono

Milestone: -

@thaystg
Copy link
Member Author

thaystg commented Jul 31, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Jul 31, 2023

@pavelsavara

Any idea why we are getting this failure, while running MT debugger-tests:

System.ArgumentException : {
"timestamp": 1690833873333.062,
"exceptionDetails": {
"exceptionId": 2,
"text": "Uncaught (in promise)",
"lineNumber": 1637,
"columnNumber": 30,
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"stackTrace": {
"callFrames": [
{
"functionName": "fetch_like",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 1637,
"columnNumber": 30
},
{
"functionName": "fetchResource",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 946,
"columnNumber": 25
},
{
"functionName": "download_resource_with_cache",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 911,
"columnNumber": 25
}
],
"parent": {
"description": "Promise.then",
"callFrames": [
{
"functionName": "download_resource",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 884,
"columnNumber": 26
},
{
"functionName": "start_asset_download_sources",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 810,
"columnNumber": 36
},
{
"functionName": "start_asset_download_with_throttle",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 749,
"columnNumber": 31
}
],
"parent": {
"description": "await",
"callFrames": [
{
"functionName": "start_asset_download",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 699,
"columnNumber": 21
},
{
"functionName": "countAndStartDownload",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 494,
"columnNumber": 40
},
{
"functionName": "mono_download_assets",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 508,
"columnNumber": 16
}
],
"parent": {
"description": "await",
"callFrames": [
{
"functionName": "mono_wasm_pre_init_full",
"scriptId": "8",
"url": "http://localhost:9400/_framework/dotnet.runtime.js",
"lineNumber": 17701,
"columnNumber": 24
},
{
"functionName": "",
"scriptId": "8",
"url": "http://localhost:9400/_framework/dotnet.runtime.js",
"lineNumber": 17508,
"columnNumber": 18
}
],
"parent": {
"description": "await",
"callFrames": [
{
"functionName": "preInit",
"scriptId": "8",
"url": "http://localhost:9400/_framework/dotnet.runtime.js",
"lineNumber": 17518,
"columnNumber": 6
},
{
"functionName": "module.preInit",
"scriptId": "8",
"url": "http://localhost:9400/_framework/dotnet.runtime.js",
"lineNumber": 17427,
"columnNumber": 28
},
{
"functionName": "",
"scriptId": "9",
"url": "http://localhost:9400/_framework/dotnet.native.js",
"lineNumber": 7802,
"columnNumber": 25
},
{
"functionName": "initializeModules",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 2161,
"columnNumber": 4
},
{
"functionName": "createEmscriptenMain",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 2187,
"columnNumber": 10
}
],
"parent": {
"description": "await",
"callFrames": [
{
"functionName": "createEmscripten",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 2144,
"columnNumber": 10
}
],
"parent": {
"description": "await",
"callFrames": [
{
"functionName": "create",
"scriptId": "7",
"url": "http://localhost:9400/_framework/dotnet.js",
"lineNumber": 2079,
"columnNumber": 22
},
{
"functionName": "",
"scriptId": "5",
"url": "http://localhost:9400/debugger-main.js",
"lineNumber": 14,
"columnNumber": 9
}
]
}
}
}
}
}
}
},
"exception": {
"type": "object",
"subtype": "error",
"className": "TypeError",
"description": "TypeError: Failed to fetch\n    at Object.fetch_like (http://localhost:9400/_framework/dotnet.js:1638:31)\n    at fetchResource (http://localhost:9400/_framework/dotnet.js:947:26)\n    at download_resource_with_cache (http://localhost:9400/_framework/dotnet.js:912:26)",
"objectId": "-1987880161643711710.1.3",
"preview": {
"type": "object",
"subtype": "error",
"description": "TypeError: Failed to fetch\n    at Object.fetch_like (http://localhost:9400/_framework/dotnet.js:1638:31)\n    at fetchResource (http://localhost:9400/_framework/dotnet.js:947:26)\n    at download_resource_with_cache (http://localhost:9400/_framework/dotnet.js:912:26)",
"overflow": false,
"properties": [
{
"name": "stack",
"type": "string",
"value": "TypeError: Failed to fetch\n    at Object.fetch_lik…ttp://localhost:9400/_framework/dotnet.js:912:26)"
},
{
"name": "message",
"type": "string",
"value": "Failed to fetch"
}
]
}
},
"executionContextId": 1,
"exceptionMetaData": {
"requestId": "311.37"
}
},
"__forMethod": "Runtime.exceptionThrown"
}


@thaystg
Copy link
Member Author

thaystg commented Jul 31, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavelsavara
Copy link
Member

Is this un-handled exception?
When the browser has low memory, sometimes we see TypeError: Failed to fetch and we re-try the download.

@thaystg
Copy link
Member Author

thaystg commented Aug 1, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 89737 in repo dotnet/runtime

@thaystg
Copy link
Member Author

thaystg commented Aug 1, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical radical added the arch-wasm WebAssembly architecture label Aug 1, 2023
@ghost
Copy link

ghost commented Aug 1, 2023

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

Issue Details

null

Author: thaystg
Assignees: thaystg
Labels:

arch-wasm, area-Debugger-mono

Milestone: -

@thaystg
Copy link
Member Author

thaystg commented Aug 1, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Aug 1, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Aug 1, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 89737 in repo dotnet/runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Aug 2, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 89737 in repo dotnet/runtime

@thaystg
Copy link
Member Author

thaystg commented Aug 2, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Aug 2, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Aug 2, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Aug 2, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Aug 2, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg thaystg changed the title [wasm] Run the tests in debug mode to get more information. [wasm][debugger] Fix failed to fetch debugger MT tests Aug 2, 2023
@thaystg
Copy link
Member Author

thaystg commented Aug 2, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg thaystg marked this pull request as ready for review August 2, 2023 19:27
@thaystg thaystg requested a review from radical as a code owner August 2, 2023 19:27
@thaystg thaystg requested review from pavelsavara and removed request for radical August 2, 2023 19:27
@lewing lewing merged commit 3c4c4df into dotnet:main Aug 3, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 2, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants