Skip to content

[video_player] Recurring test flake on Mac_arm64 macos_platform_tests #193300

Open

Description

@elliette

Breaking out from #193291 to track the video_player flake specifically.

video_player tests are flakey on Mac_arm64 macos_platform_tests: 9 presubmit and 6 postsubmit timeouts with the identical hangs, going back to 2026-07-01 (https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_arm64%20macos_platform_tests%20master%20-%20packages/4203/overview). Example PRs with the failure: flutter/packages#12981 and flutter/packages#12993

Logs
============================================================
|| Running for packages/video_player/video_player [@7:02]
============================================================

Running command: "flutter test -d macos --debug-logs-dir=/Volumes/Work/s/w/ir/x/w/rc/flutter_logs_dir integration_test/controller_swap_test.dart" in /Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example
Resolving dependencies...
Downloading packages...
  material_color_utilities 0.13.0 (0.13.1 available)
Got dependencies!
1 package has newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
00:00 +0: loading /Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/integration_test/controller_swap_test.dart
Building macOS application...                                   
Detected macOS app running in CI, turning off sandboxing.
 1 | #import "/Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/macos/Flutter/ephemeral/Packages/.packages/video_player_avfoundation-2.12.0/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/AVAssetTrackUtils.h"
 2 | #import "/Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/macos/Flutter/ephemeral/Packages/.packages/video_player_avfoundation-2.12.0/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPAVFactory.h"
 3 | #import "/Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/macos/Flutter/ephemeral/Packages/.packages/video_player_avfoundation-2.12.0/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPAssetProvider.h"
 4 | #import "/Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/macos/Flutter/ephemeral/Packages/.packages/video_player_avfoundation-2.12.0/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPDisplayLink.h"

1 warning generated.
/Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/macos/Flutter/ephemeral/Packages/.packages/video_player_avfoundation-2.12.0/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPAVFactory.h:38:4: warning: 'AVKeyValueStatus' is deprecated: first deprecated in macOS 13.0 - Use AVAsyncProperty.Status instead
 36 | 
 37 | /// Wraps the underlying asset's statusOfValueForKey:error: method.
 38 | - (AVKeyValueStatus)statusOfValueForKey:(NSString *)key
    |    `- warning: 'AVKeyValueStatus' is deprecated: first deprecated in macOS 13.0 - Use AVAsyncProperty.Status instead
 39 |                                   error:(NSError *_Nullable *_Nullable)outError;
 40 | 

14 | NS_ASSUME_NONNULL_BEGIN
15 | 
16 | typedef NS_ENUM(NSInteger, AVKeyValueStatus) {
17 | 	AVKeyValueStatusUnknown = 0,
18 | 	AVKeyValueStatusLoading = 1,
 1 | #import "/Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/macos/Flutter/ephemeral/Packages/.packages/video_player_avfoundation-2.12.0/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/AVAssetTrackUtils.h"
 2 | #import "/Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/macos/Flutter/ephemeral/Packages/.packages/video_player_avfoundation-2.12.0/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPAVFactory.h"
 3 | #import "/Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/macos/Flutter/ephemeral/Packages/.packages/video_player_avfoundation-2.12.0/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPAssetProvider.h"
 4 | #import "/Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/macos/Flutter/ephemeral/Packages/.packages/video_player_avfoundation-2.12.0/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPDisplayLink.h"

1 warning generated.
/Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/macos/Flutter/ephemeral/Packages/.packages/video_player_avfoundation-2.12.0/Sources/video_player_avfoundation_objc/include/video_player_avfoundation_objc/FVPAVFactory.h:38:4: warning: 'AVKeyValueStatus' is deprecated: first deprecated in macOS 13.0 - Use AVAsyncProperty.Status instead
 36 | 
 37 | /// Wraps the underlying asset's statusOfValueForKey:error: method.
 38 | - (AVKeyValueStatus)statusOfValueForKey:(NSString *)key
    |    `- warning: 'AVKeyValueStatus' is deprecated: first deprecated in macOS 13.0 - Use AVAsyncProperty.Status instead
 39 |                                   error:(NSError *_Nullable *_Nullable)outError;
 40 | 

14 | NS_ASSUME_NONNULL_BEGIN
15 | 
16 | typedef NS_ENUM(NSInteger, AVKeyValueStatus) {
17 | 	AVKeyValueStatusUnknown = 0,
18 | 	AVKeyValueStatusLoading = 1,
warning: video_player_avfoundation_video_player_avfoundation isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'video_player_avfoundation_video_player_avfoundation' from project 'video_player_avfoundation')
✓ Built build/macos/Build/Products/Debug/video_player_avfoundation_example.app
Failed to foreground app; open returned 1
00:00 +0: can substitute one controller by another without crashing
00:00 +0 ~1: no-op
00:00 +1 ~1: (tearDownAll)
00:00 +1 ~1: All tests passed!
Running command: "flutter test -d macos --debug-logs-dir=/Volumes/Work/s/w/ir/x/w/rc/flutter_logs_dir integration_test/video_player_test.dart" in /Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example
00:00 +0: loading /Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example/integration_test/video_player_test.dart
Building macOS application...                                   
Detected macOS app running in CI, turning off sandboxing.
warning: video_player_avfoundation_video_player_avfoundation isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'video_player_avfoundation_video_player_avfoundation' from project 'video_player_avfoundation')


















✓ Built build/macos/Build/Products/Debug/video_player_avfoundation_example.app
Failed to foreground app; open returned 1
00:00 +0: asset videos can be initialized
00:00 +1: asset videos live stream duration != 0
00:00 +2: asset videos can be played
00:01 +3: asset videos can seek
00:01 +4: asset videos can be paused
00:03 +5: asset videos stay paused when seeking after video completed
00:05 +6: asset videos do not exceed duration on play after video completed
00:07 +7: asset videos test video player view with local asset
00:08 +8: file-based videos test video player using static file() method as constructor
00:08 +9: network videos reports buffering status
Test is taking a long time, taking screenshot test-timeout-screenshot_integration_test_video_player_test.dart.png...
Running command: "flutter screenshot -d macos --out=/Volumes/Work/s/w/ir/x/w/rc/flutter_logs_dir/test-timeout-screenshot_integration_test_video_player_test.dart.png" in /Volumes/Work/s/w/ir/x/w/packages/packages/video_player/video_player/example
Screenshot not supported for macOS.

Activity

  1. added
    P1High-priority issues at the top of the work list
    and removed
    P1High-priority issues at the top of the work list
    on Sep 24, 2026
  2. added
    fyi-ecosystemFor the attention of Ecosystem team
    team-macosOwned by the macOS platform team
    and removed
    P1High-priority issues at the top of the work list
    on Sep 29, 2026
  3. Piinks commented on Sep 29, 2026

    @Piinks
    Contributor

    This has been disabled until the flakes are addressed

  4. 5 remaining items

  5. added
    platform-macosBuilding on or for macOS specifically
    triaged-macosTriaged by the macOS platform team
    P1High-priority issues at the top of the work list
    c: flakeTests that sometimes, but not always, incorrectly pass
    team-macosOwned by the macOS platform team
    and removed
    fyi-ecosystemFor the attention of Ecosystem team
    platform-macosBuilding on or for macOS specifically
    team-macosOwned by the macOS platform team
    triaged-macosTriaged by the macOS platform team
    P1High-priority issues at the top of the work list
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listc: flakeTests that sometimes, but not always, incorrectly passp: video_playerThe Video Player pluginplatform-macosBuilding on or for macOS specificallyteam-macosOwned by the macOS platform teamtriaged-macosTriaged by the macOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions