-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[browser] Increase timeout and clean up after failed attempts of launching browser when testing #107865
Closed
Closed
[browser] Increase timeout and clean up after failed attempts of launching browser when testing #107865
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a6d7f7a
Increase timeout + clean up before next attempt.
ilonatommy 180fe0e
Prepare for cleanup to fail.
ilonatommy 50b077a
Log more than just the message.
ilonatommy 87fe62b
Update src/mono/wasm/Wasm.Build.Tests/BrowserRunner.cs
lewing 197fe7d
Check if other chrome instances are running and forcefully close them.
ilonatommy 9093136
Missing namespace
ilonatommy e8d3636
Merge branch 'main' into fix-107771
ilonatommy e7798a5
Merge branch 'main' into fix-107771
ilonatommy 7c540c7
Merge branch 'main' into fix-107771
lewing 9608d0c
Merge branch 'main' into fix-107771
ilonatommy d837c9f
Don't terminate if tests run in parallel.
ilonatommy a817b0c
Merge branch 'main' into fix-107771
ilonatommy 91077dd
Elevate Playwright logs.
ilonatommy 1b2b569
Merge error.
ilonatommy 236b693
Merge branch 'main' into fix-107771
ilonatommy 4d1dd6f
Bump playwright, previous was > 2 years old.
ilonatommy a26687d
Switch off debugging to restore failure observability.
ilonatommy 6221f7e
Merge branch 'main' into fix-107771
ilonatommy 414e7cd
Too new version, changing to the nearest available.
ilonatommy 80cc9bf
Acoid "Permission denied" on node on CI.
ilonatommy 76170dd
Fix condition for detecting unix.
ilonatommy 312b537
Fix the syntax for OR.
ilonatommy fe3d5cb
Debug Agent.OS
ilonatommy 40e18ea
More debugging
ilonatommy ea9853e
Azure condition is evaluated correctly, move it to bash that works fine.
ilonatommy 415773b
Wrong path
ilonatommy 25e088d
Fix the reason for failure: 'linux' changed to 'linux-x64'
ilonatommy 54ccd98
Dump env variables.
ilonatommy 4cec530
Go back to default timeout + give up on our own chrome.
ilonatommy 5988c90
Nullable
ilonatommy 2289c01
Trying to fix default chromium on linux
ilonatommy 1fa0a83
Merge branch 'main' into fix-107771
ilonatommy ab4bcc6
Merge branch 'main' into fix-107771
ilonatommy 0de13d2
Merge branch 'main' into fix-107771
ilonatommy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also terminate after each test ?
do we believe that chrome process survived on the agent from another run ? this is docker/VM right ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe after is needed. The problem is with
LaunchAsync
, so the idea was to make sure no chrome is running directly before calling that method. And yes, the suspicion was that some leftovers from the previous test was left and that's why new browser launch is time outing.This failure is only on CI, I have never managed to reproduce it locally.