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

[Android] Introduces API 34 emulators for subset of tests #5105

Merged
merged 48 commits into from
Oct 24, 2023

Conversation

camsim99
Copy link
Contributor

@camsim99 camsim99 commented Oct 10, 2023

Introduces API 34 emulators for subset of tests not causing test failures in #4804. Also changes linux_android version to 34v1. Undid this change because it was causing flutter/flutter#135756

Continuation of #4820.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

camsim99 added 30 commits May 1, 2023 16:46
@camsim99
Copy link
Contributor Author

@stuartmorgan I'm seeing failures on https://ci.chromium.org/ui/p/flutter/builders/try/Linux_android%20android_platform_tests_api_33_shard_1%20master/9/overview because espresso does not have unit tests. Am I missing an exclusion do you know?

@stuartmorgan
Copy link
Contributor

Yes, it looks like android_platform_tests_api_33_avd.yaml lost all the --exclude flags from the original version of the script. Excluding things that wouldn't be run anyway is harmless, so you should be able to just copy all of the excludes (other than the still_requires_api_33 file) from the 34 script to the 33 script.

@camsim99
Copy link
Contributor Author

Yes, it looks like android_platform_tests_api_33_avd.yaml lost all the --exclude flags from the original version of the script. Excluding things that wouldn't be run anyway is harmless, so you should be able to just copy all of the excludes (other than the still_requires_api_33 file) from the 34 script to the 33 script.

Ah good catch, thank you!

@stuartmorgan
Copy link
Contributor

It would have been a better catch if I'd noticed when I reviewed PR adding that script :)

@@ -2,3 +2,4 @@
- file_selector
- quick_actions
- webview_flutter
- path_provider
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Excluding this as well because there are persistent flakes, as I attempted to fix in #5098

@camsim99 camsim99 marked this pull request as ready for review October 23, 2023 20:56
@camsim99 camsim99 requested a review from stuartmorgan October 23, 2023 20:56
Copy link
Contributor

@stuartmorgan stuartmorgan left a comment

Choose a reason for hiding this comment

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

LGTM!

@camsim99 camsim99 added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 24, 2023
@auto-submit auto-submit bot merged commit 3cc6e26 into flutter:main Oct 24, 2023
75 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 25, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 25, 2023
flutter/packages@2faf992...f751ffb

2023-10-25 stuartmorgan@google.com [ci] Enable legacy Android emulator tests (flutter/packages#5190)
2023-10-25 49699333+dependabot[bot]@users.noreply.github.com Bump ossf/scorecard-action from 2.3.0 to 2.3.1 (flutter/packages#5209)
2023-10-25 godofredoc@google.com Replace gems dependency with ruby. (flutter/packages#5219)
2023-10-25 godofredoc@google.com Update the ftl hardware version. (flutter/packages#5224)
2023-10-25 737941+loic-sharma@users.noreply.github.com [ci] Disable Windows Arm64 stable CI (flutter/packages#5217)
2023-10-24 10687576+bparrishMines@users.noreply.github.com [webview_flutter_wkwebview] Only set `limitsNavigationsToAppBoundDomains` when it is set to true (flutter/packages#5137)
2023-10-24 stuartmorgan@google.com [url_launcher] Add an `inAppBrowserView` mode (flutter/packages#5155)
2023-10-24 43054281+camsim99@users.noreply.github.com [Android] Introduces API 34 emulators for subset of tests (flutter/packages#5105)
2023-10-24 stuartmorgan@google.com [url_launcher] Add an `inAppBrowserView` mode in implementations (flutter/packages#5211)
2023-10-24 stuartmorgan@google.com [ci] Fix legacy Android task names (flutter/packages#5191)
2023-10-24 reidbaker@google.com Update annotations deps to 1.7 (flutter/packages#4935)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie or stuartmorgan on the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

HugoOlthof pushed a commit to moneybird/packages that referenced this pull request Dec 13, 2023
Introduces API 34 emulators for subset of tests not causing test failures in flutter#4804. Also changes linux_android version to 34v1.

Continuation of flutter#4820.
@reidbaker reidbaker mentioned this pull request Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants