Skip to content

[ci] Manually roll master, set -Xmx4G #8586

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

Merged
merged 5 commits into from
Feb 11, 2025

Conversation

ditman
Copy link
Member

@ditman ditman commented Feb 7, 2025

Roll Flutter from 8e2a6fc to 892f9c1 (84 revisions)

flutter/flutter@8e2a6fc...892f9c1

Additional changes

  • Sets -Xmx4G across the repo.

Issues

Completes: #8585

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g 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 nit

@stuartmorgan-g stuartmorgan-g added override: no versioning needed Override the check requiring version bumps for most changes override: no changelog needed Override the check requiring CHANGELOG updates for most changes labels Feb 7, 2025
@stuartmorgan-g
Copy link
Contributor

Version/CHANGELOG override: false positive; change to non-example build.gradle files are in unit-test-specific sections.

Copy link
Member Author

@ditman ditman Feb 7, 2025

Choose a reason for hiding this comment

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

This file is odd, it's not in an "example", and doesn't seem to be test related (?) Is this something that should be set in the build.gradle, instead of the gradle.properties?

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this was added in #3267 and it doesn't say why. I wonder if we even need it?

@LouiseHsu
Copy link
Contributor

im this weeks gardener, hinging my bets on this pr to resolve the roll failures! Looks like Linux dart_unit_test_shard_1 master is failing consistently on a camera unit test and blocking this from merging:

00:19 +180 -1: /b/s/w/ir/x/w/packages/packages/camera/camera_android_camerax/test/recorder_test.dart: Recorder detached create does not call create on the Java side [E]                               
  PlatformException(channel-error, Unable to establish connection on channel., null, null)
  package:camera_android_camerax/src/camerax_library.g.dart 348:7                         JavaObjectHostApi.dispose
  ===== asynchronous gap ===========================
  dart:async                                                                              _CustomZone.registerUnaryCallback
  package:camera_android_camerax/src/camerax_library.g.dart 346:9                         JavaObjectHostApi.dispose
  package:camera_android_camerax/src/java_object.dart 38:33                               JavaObject._initInstanceManager.<fn>
  package:camera_android_camerax/src/instance_manager.dart 25:29                          new InstanceManager.<fn>
  ===== asynchronous gap ===========================
  dart:core                                                                               new _FinalizerImpl
  package:camera_android_camerax/src/instance_manager.dart 27:18                          new InstanceManager
  package:camera_android_camerax/src/java_object.dart 36:12                               JavaObject._initInstanceManager
  package:camera_android_camerax/src/java_object.dart 30:56                               JavaObject.globalInstanceManager
  package:camera_android_camerax/src/java_object.dart                                     JavaObject.globalInstanceManager
  package:camera_android_camerax/src/java_object.dart 75:57                               new JavaObjectFlutterApiImpl
  package:camera_android_camerax/src/android_camera_camerax_flutter_api_impls.dart 59:37  new AndroidCameraXCameraFlutterApis
  package:camera_android_camerax/src/android_camera_camerax_flutter_api_impls.dart 114:7  AndroidCameraXCameraFlutterApis.instance
  package:camera_android_camerax/src/android_camera_camerax_flutter_api_impls.dart        AndroidCameraXCameraFlutterApis.instance
  package:camera_android_camerax/src/recorder.dart 49:37                                  new Recorder.detached
  test/recorder_test.dart 41:16                                                           main.<fn>.<fn>
  
  This test failed after it had already completed.
  Make sure to use a matching library which informs the test runner
  of pending async work.

cc @camsim99 @bparrishMines for insights!

@camsim99
Copy link
Contributor

cc @camsim99 @bparrishMines for insights!

@bparrishMines nothing related to this on the camera side appears to have been changed recently. Do you possibly know what could have triggered a change in results?

@ditman
Copy link
Member Author

ditman commented Feb 10, 2025

I cannot reliably reproduce the camerax failure in my local linux machine. It eventually fails if I run it multiple times, but in CI it seems that it fails always, firs try. I wonder if this has to do with running every other test suite alongside the camerax one (?)

I'm doing this from within the camerax dir:

$ clear && refresh-tools && flutter pub upgrade # Update flutter tool from git
$ for run in {1..10}; do flutter clean && flutter test; done # Run tests 10x

I tried to bisect this, but the test is flaky so my "good/bad" choices are probably wrong. Here's my log:

$ git bisect log
git bisect start
# status: waiting for both good and bad commits
# bad: [494c47cb4f98da6d6d903ce79dbb7c0325cdb777] Lower minimum java file count to 1. (#162915)
git bisect bad 494c47cb4f98da6d6d903ce79dbb7c0325cdb777
# status: waiting for good commit(s), bad commit known
# good: [6ea438f2965e94a3c515becd006f68967f132bb9] [Windows] Allow apps to prefer low power GPUs (#162490)
git bisect good 6ea438f2965e94a3c515becd006f68967f132bb9
# good: [5944d992ac403612c599d44b9a5eea62ce7ebc8a] Fix: Ensure CupertinoAlertDialog divider spans full width and resolve (#161490)
git bisect good 5944d992ac403612c599d44b9a5eea62ce7ebc8a
git bisect bad 0385ddc7eb3b0616a37777d5caf02f2c18af81e7
# bad: [db7e82bdfbac68ad82372edaad6505210885b4ca] chore(canvaskit): remove SurfaceFrame from Surface (#162825)
git bisect bad db7e82bdfbac68ad82372edaad6505210885b4ca
# good: [1b095a030d7037d9b3a31cad7b2149e368260991] [canvaskit] Resize to exactly the requested dimensions (#162708)
git bisect good 1b095a030d7037d9b3a31cad7b2149e368260991
# good: [1e035cc693f067ed5033f180e0b6169d2c8a3e58] Adjustments to FocusHighlightMode handling (#162417)
git bisect good 1e035cc693f067ed5033f180e0b6169d2c8a3e58
# good: [a6344bf2b36b36c6b0f5ded8d68ae5ae008e74cd] Changed docs for hintOverrides field of SemanticsProperties (#162632)
git bisect good a6344bf2b36b36c6b0f5ded8d68ae5ae008e74cd
# first bad commit: [db7e82bdfbac68ad82372edaad6505210885b4ca] chore(canvaskit): remove SurfaceFrame from Surface (#162825)
# good: [db7e82bdfbac68ad82372edaad6505210885b4ca] chore(canvaskit): remove SurfaceFrame from Surface (#162825)
git bisect good db7e82bdfbac68ad82372edaad6505210885b4ca

It seems that from # bad: [0385ddc7eb3b0616a37777d5caf02f2c18af81e7] Roll Packages from e6ce02c2a859 to 625023aa0376 (4 revisions) (#162878) it might be getting "worse" but it's hard to say.


The flake seems to be: Recorder detached create does not call create on the Java side [E], but I'm not sure if it's flagging a breakage, or the test is being naughty.

@LouiseHsu LouiseHsu added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 11, 2025
@auto-submit auto-submit bot merged commit 815a80b into flutter:main Feb 11, 2025
82 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 17, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Feb 17, 2025
flutter/packages@625023a...8542af3

2025-02-15 [email protected] [various] Enable `permissive-` for
Windows plugin examples (flutter/packages#8636)
2025-02-15 [email protected] [pigeon] Update task queue handling
(flutter/packages#8627)
2025-02-14 [email protected] Update CODEOWNERS
(flutter/packages#8628)
2025-02-14 [email protected]
[flutter_adaptive_scaffold] Fix some memory leaks
(flutter/packages#8546)
2025-02-14 [email protected] [camera] Fix crash when
setting activeFormat on FLTCaptureDevice (flutter/packages#8630)
2025-02-13 [email protected] [camera] Remove remaining
OCMock usage in tests (flutter/packages#8624)
2025-02-13 [email protected]
[webview_flutter_wkwebview] Change callback methods with a non-null
return type to non-null (flutter/packages#8564)
2025-02-12 [email protected]
[google_sign_in_ios] Adds Swift Package Manager support
(flutter/packages#7356)
2025-02-12 [email protected] [camera_avfoundation] Migrate
tests to Swift - part 1 (flutter/packages#8603)
2025-02-12 [email protected] [video_player]
Re-enables `asset videos live stream duration != 0` test for Android
(flutter/packages#8610)
2025-02-12 [email protected]
[go_router_builder] Add support for `TypedStatefulShellBranch`'s
`preload` (flutter/packages#8587)
2025-02-12 [email protected] [local_auth_darwin] Fix test name for
clarity (flutter/packages#8499)
2025-02-11 [email protected] [ci] Manually roll master, set -Xmx4G
(flutter/packages#8586)
2025-02-11 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump the gradle-plugin group across 4 directories with 1
update (flutter/packages#8551)
2025-02-10 [email protected] [pigeon] Add
errors for ProxyAPI callback methods and null instances when reading in
a ProxyApiBaseCodec (flutter/packages#8567)
2025-02-10 [email protected]
[shared_preferences]Fix : SetState returning future
(flutter/packages#8398)
2025-02-10 [email protected] [various] Add deprecation notices to
READMEs (flutter/packages#8598)
2025-02-10 [email protected] [camera] Remove OCMock from
CameraSettingsTests, CameraMethodChannelTests and
CameraSessionPresetsTests (flutter/packages#8592)
2025-02-10 [email protected] [camera] Remove OCMock from
FLTCamPhotoCaptureTests, FLTSavePhotoDelegateTests and StreamingTests
(flutter/packages#8590)
2025-02-07 [email protected] [go_router]
Add `preload` parameter to `StatefulShellBranchData.$branch`
(flutter/packages#8545)
2025-02-07 [email protected] [video_player_avfoundation] iOS
platform view support (flutter/packages#8237)

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 [email protected] 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants