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

Retry getting tabs in chrome launcher on ConnectionException #104218

Merged
merged 8 commits into from
May 26, 2022

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented May 20, 2022

Add more information and potentially resolve web_tool_tests flakes caused by failure to get a tab list from Chrome on launch.

  • run flutter update-packages --force-upgrade to bring new package:webkit_inspection_protocol.dart and more.
  • update ChromeLauncher to pass a retryFor duration so we try getting tabs for a couple of seconds.
  • make ChromeLauncher.connect API available for testing.
  • add tests for ChromeLauncher.connect.

Closes: #94886

Pre-launch Checklist

  • [v] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • [v] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • [v] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • [v] I signed the [CLA].
  • [v] I listed at least one issue that this PR fixes in the description above.
  • [v] I updated/added relevant documentation (doc comments with ///).
  • [v] I added new tests to check the change I am making, or this PR is [test-exempt].
  • [v] All existing and new tests are passing.

@annagrin annagrin requested a review from Piinks as a code owner May 20, 2022 00:12
@flutter-dashboard flutter-dashboard bot added team Infra upgrades, team productivity, code health, technical debt. See also team: labels. tool Affects the "flutter" command-line tool. See also t: labels. labels May 20, 2022
@annagrin annagrin requested review from christopherfujino and removed request for Piinks May 20, 2022 00:12
@annagrin annagrin requested a review from devoncarew May 20, 2022 17:42
Copy link
Member

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

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

LGTM with 1 nit

Co-authored-by: Christopher Fujino <fujino@google.com>
@christopherfujino
Copy link
Member

@annagrin marked "Google testing" green because the CL says pre-submits passed, I'm guessing this is a FRoB bug. This is good to go!

@annagrin
Copy link
Contributor Author

@christopherfujino

marked "Google testing" green because the CL says pre-submits passed, I'm guessing this is a FRoB bug. This is good to go!

Thanks, they were failing of a reason at first - package:webkit_inspection_protocol needed to be updated - so I fixed it and rerun the tests (that's why they were showing as passing) but the CI did not detect it for some reason.

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 2, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 2, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 2, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 2, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 2, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 3, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 3, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 3, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 4, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 4, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 4, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 5, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 5, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 5, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 6, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 6, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 6, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 6, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 6, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 7, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 7, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 7, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 7, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 7, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 7, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 7, 2022
camsim99 pushed a commit to camsim99/flutter that referenced this pull request Aug 10, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team Infra upgrades, team productivity, code health, technical debt. See also team: labels. tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Intermittent failure to connect to chrome tabs on test bots
4 participants