Skip to content

[camera] Flake in camera_avfoundation native unit tests #189108

Closed
flutter/packages
#12400

Description

@stuartmorgan-g

While dealing with the recent roll issues, I've had to re-run ios_platform_tests_* in a few PRs for camera_avfoundation flake. It's not always the same test; these are the single failures from three different instances in roll attempts from the last week:

Test case 'CameraPluginDelegatingMethodTests.testSetExposurePoint_callsCameraSetExposurePoint()' failed on 'Clone 1 of Flutter-iPhone - Runner (13563)' (0.481 seconds)
Test case 'CameraPluginDelegatingMethodTests.testStopVideoRecording_callsCameraStopVideoRecording()' failed on 'Clone 1 of Flutter-iPhone - Runner (93251)' (0.502 seconds)
Test case 'CameraPluginDelegatingMethodTests.testStartVideoRecording_withStreamingTrue_callsCameraStartVideoRecordingWithMessenger()' failed on 'Clone 1 of Flutter-iPhone - Runner (22543)' (0.496 seconds)

I'm not sure why the log output doesn't have failure information; are we collecting and uploading the full logs? Here is one of the failing runs if so.

Activity

  1. added
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    platform-iosiOS applications specifically
    packageflutter/packages repository. See also p: labels.
    c: flakeTests that sometimes, but not always, incorrectly pass
    team-iosOwned by iOS platform team
    on Jul 8, 2026
  2. stuartmorgan-g commented on Jul 8, 2026

    @stuartmorgan-g
    ContributorAuthor

    Just hit testSetExposurePoint_callsCameraSetExposurePoint() again in a roll.

  3. self-assigned this
    on Jul 9, 2026
  4. okorohelijah commented on Jul 16, 2026

    @okorohelijah
    Contributor

    from triage: cc @hellohuanlin

  5. github-actions commented on Aug 24, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: contributor-productivityTeam-specific productivity, code health, technical debt.c: flakeTests that sometimes, but not always, incorrectly passp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions