Skip to content

Conversation

@thaystg
Copy link
Member

@thaystg thaystg commented Mar 29, 2023

Adding --disable-software-rasterizer as suggested by @lewing

@ghost ghost assigned thaystg Mar 29, 2023
@ghost ghost added the area-Debugger-mono label Mar 29, 2023
@ghost
Copy link

ghost commented Mar 29, 2023

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

Issue Details

Adding --disable-software-rasterizer as suggested by @lewing

Author: thaystg
Assignees: thaystg
Labels:

area-Debugger-mono

Milestone: -

@thaystg
Copy link
Member Author

thaystg commented Mar 29, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg thaystg changed the title [wasm][debugger] Adding --disable-software-rasterizer option [wasm][debugger] Passing --disable-software-rasterizer argument to Chrome Startup Mar 29, 2023
@thaystg thaystg changed the title [wasm][debugger] Passing --disable-software-rasterizer argument to Chrome Startup [wasm][debugger] Passing --no-sandbox argument to Chrome Startup on CI Mar 29, 2023
@thaystg
Copy link
Member Author

thaystg commented Mar 29, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg thaystg changed the title [wasm][debugger] Passing --no-sandbox argument to Chrome Startup on CI [wasm][debugger] Debugging debugger tests on CI Mar 30, 2023
@thaystg thaystg changed the title [wasm][debugger] Debugging debugger tests on CI [wasm][debugger] Investigating timeout on debugger tests on CI Mar 30, 2023
@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@thaystg
Copy link
Member Author

thaystg commented Mar 30, 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 Mar 30, 2023

/azp run runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Mar 30, 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 Apr 3, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Apr 3, 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 Apr 3, 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 Apr 3, 2023

/azp run runtime-wasm-dbgtests

@thaystg
Copy link
Member Author

thaystg commented Apr 3, 2023

/azp run runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Apr 3, 2023

/azp run runtime

@thaystg
Copy link
Member Author

thaystg commented Apr 3, 2023

/azp run runtime-wasm-dbgtests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg
Copy link
Member Author

thaystg commented Apr 4, 2023

/azp run runtime-wasm-dbgtests

@thaystg
Copy link
Member Author

thaystg commented Apr 4, 2023

/azp run runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thaystg thaystg marked this pull request as ready for review April 4, 2023 18:48
@thaystg thaystg requested a review from radical as a code owner April 4, 2023 18:48
@thaystg thaystg changed the title [wasm][debugger] Investigating timeout on debugger tests on CI [wasm][debugger] Retry after timeout on debugger tests on CI Apr 4, 2023
@thaystg thaystg requested a review from lewing April 4, 2023 19:21
if (!res.IsOk)
throw new ArgumentException($"Command {cmd_name} failed with: {res.Error}. Remaining commands: {RemainingCommandsToString(cmd_name, init_cmds)}");

if (DebuggerTestBase.RunningOnChrome && cmd_name == "Debugger.enable")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feels a little odd to pass an empty string just to ignore it unless it is chrome and is there ever a case where we'd try to navigate to "" on chrome?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if I understood the question.
Before this change we startup the chrome passing the url that it should navigate. And on my tests I saw that sometimes it was timing out the debugger.enable command. So I decided to first startup the chrome navigating to about:blank then send the Debugger.enabled and then when we receive the answer we send the Page.navigate to the wasm page.
On firefox we don't need to navigate to the page because we are still starting the browser passing the wasm page as parameter.

@thaystg
Copy link
Member Author

thaystg commented Apr 5, 2023

I will merge, the failure is not related to timeout.

@thaystg thaystg merged commit 5130ba9 into dotnet:main Apr 5, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants