Skip to content

Conversation

@radical
Copy link
Member

@radical radical commented Nov 15, 2022

.. they failed while waiting for the browser to launch.

Related: https://github.com/dotnet/arcade/tree/main/src/Microsoft.DotNet.Helix/Sdk#test-retry

Fixes #76528

@ghost
Copy link

ghost commented Nov 15, 2022

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

Issue Details

.. they failed while waiting for the browser to launch.

Related: https://github.com/dotnet/arcade/tree/main/src/Microsoft.DotNet.Helix/Sdk#test-retry

Fixes #76528

Author: radical
Assignees: -
Labels:

arch-wasm, area-Infrastructure-mono, area-Debugger-mono

Milestone: -

"retryOnRules": [
{ "testAssembly": { "wildcard": "System.Net.*" } }
{ "testAssembly": { "wildcard": "System.Net.*" } },
{ "failureMessage": { "wildcard": "Timed out after * waiting for the browser to be ready" } }
Copy link
Member

Choose a reason for hiding this comment

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

do you know if this does a substring match? e.g. the message will normally have messagePrefix and psi.FileName before/after, do we need to add * at the beginning/end too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, and reading the docs again:

Raw string (e.g. "rule string")

True if the property value exactly matches the string

{"wildcard": "value with * wildcard"}

The same as a raw string, but "*" can match any number of characters, and "?" can match one character

same as raw string, and raw string says that it will match the property value exactly.
And the property value I'm using here:

failureMessage
The failure message logged by the test

So, you were likely correct. I will try regex instead.

@radical
Copy link
Member Author

radical commented Nov 16, 2022

Build Libraries Test Run release coreclr windows x64 Debug tests timeout is unrelated to this PR.

@radical radical merged commit 7077690 into dotnet:main Nov 16, 2022
@radical radical deleted the retry-dbg-tests branch November 16, 2022 16:37
@ghost ghost locked as resolved and limited conversation to collaborators Dec 17, 2022
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.

[wasm] add support for retrying debugger tests when chrome launch times out

2 participants