Skip to content

Flaky timeout in platform_interaction_test_ios #77931

Closed

Description

@zanderso

On an unrelated commit, logs here:

https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20platform_interaction_test_ios/174/overview

[platform_interaction_test_ios] [STDOUT] stdout: [   +4 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:57237/.
[platform_interaction_test_ios] [STDOUT] stdout: [ +248 ms] DDS is listening at http://127.0.0.1:57239/qD03QC3_ADg=/.
[platform_interaction_test_ios] [STDOUT] stdout: [  +89 ms] executing: /opt/s/w/ir/k/recipe_cleanup/tmpRy0sjp/flutter sdk/bin/cache/dart-sdk/bin/dart /opt/s/w/ir/k/recipe_cleanup/tmpRy0sjp/flutter sdk/dev/integration_tests/platform_interaction/test_driver/main_test.dart -rexpanded
[platform_interaction_test_ios] [STDOUT] stdout: [+1780 ms] 00:00 �[32m+0�[0m: channel suite (setUpAll)�[0m
[platform_interaction_test_ios] [STDOUT] stderr: [  +30 ms] VMServiceFlutterDriver: Connecting to Flutter application at http://127.0.0.1:57239/qD03QC3_ADg=/
[platform_interaction_test_ios] [STDOUT] stderr: [ +145 ms] VMServiceFlutterDriver: Isolate found with number: 1201469325812275
[platform_interaction_test_ios] [STDOUT] stderr: [  +34 ms] VMServiceFlutterDriver: Isolate is paused at start.
[platform_interaction_test_ios] [STDOUT] stderr: [        ] VMServiceFlutterDriver: Attempting to resume isolate
[platform_interaction_test_ios] [STDOUT] stderr: [ +207 ms] VMServiceFlutterDriver: >>> {command: get_health}
[platform_interaction_test_ios] [STDOUT] stderr: [ +736 ms] VMServiceFlutterDriver: <<< {isError: false, response: {status: ok}, type: _extensionType, method: ext.flutter.driver}
[platform_interaction_test_ios] [STDOUT] stderr: [   +2 ms] VMServiceFlutterDriver: Connected to Flutter application.
[platform_interaction_test_ios] [STDOUT] stdout: [   +4 ms] 00:01 �[32m+0�[0m: channel suite step through�[0m
[platform_interaction_test_ios] [STDOUT] stderr: [   +5 ms] VMServiceFlutterDriver: >>> {command: get_text, finderType: ByValueKey, keyValueString: status, keyValueType: String}
[platform_interaction_test_ios] [STDOUT] stderr: [  +19 ms] VMServiceFlutterDriver: <<< {isError: false, response: {text: ok}, type: _extensionType, method: ext.flutter.driver}
[platform_interaction_test_ios] [STDOUT] stderr: [   +1 ms] VMServiceFlutterDriver: >>> {command: tap, finderType: ByValueKey, keyValueString: step, keyValueType: String}
[platform_interaction_test_ios] [STDOUT] stderr: [  +94 ms] VMServiceFlutterDriver: <<< {isError: false, response: {}, type: _extensionType, method: ext.flutter.driver}
[platform_interaction_test_ios] [STDOUT] stderr: [        ] VMServiceFlutterDriver: >>> {command: get_text, finderType: ByValueKey, keyValueString: status, keyValueType: String}
[platform_interaction_test_ios] [STDOUT] stderr: [+5112 ms] VMServiceFlutterDriver: get_text message is taking a long time to complete...
[platform_interaction_test_ios] [STDOUT] stdout: [+24874 ms] 00:31 �[32m+0�[0m�[31m -1�[0m: channel suite step through �[1m�[31m[E]�[0m�[0m
[platform_interaction_test_ios] [STDOUT] stdout: [   +1 ms]   TimeoutException after 0:00:30.000000: Test timed out after 30 seconds. See https://pub.dev/packages/test#timeouts

Activity

  1. mdebbar commented on Mar 15, 2021

    @mdebbar
    Contributor

    A very similar failure in another build task:

    https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20ios_platform_view_tests/197/overview

    [ios_platform_view_tests] [STDOUT] stderr: [  +29 ms] VMServiceFlutterDriver: Connecting to Flutter application at http://127.0.0.1:51687/leOrM3nWK6I=/
    [ios_platform_view_tests] [STDOUT] stderr: [ +145 ms] VMServiceFlutterDriver: Isolate found with number: 1117822265746055
    [ios_platform_view_tests] [STDOUT] stderr: [  +39 ms] VMServiceFlutterDriver: Isolate is paused at start.
    [ios_platform_view_tests] [STDOUT] stderr: [        ] VMServiceFlutterDriver: Attempting to resume isolate
    [ios_platform_view_tests] [STDOUT] stderr: [ +955 ms] VMServiceFlutterDriver: Connected to Flutter application.
    [ios_platform_view_tests] [STDOUT] stdout: [   +4 ms] 00:01 �[32m+0�[0m: FlutterDriver Merge thread to create and remove platform views should not crash�[0m
    [ios_platform_view_tests] [STDOUT] stderr: [+5249 ms] VMServiceFlutterDriver: waitFor message is taking a long time to complete...
    [ios_platform_view_tests] [STDOUT] stdout: [+24803 ms] 00:31 �[32m+0�[0m�[31m -1�[0m: FlutterDriver Merge thread to create and remove platform views should not crash �[1m�[31m[E]�[0m�[0m
    [ios_platform_view_tests] [STDOUT] stdout: [   +1 ms]   TimeoutException after 0:00:30.000000: Test timed out after 30 seconds. See https://pub.dev/packages/test#timeouts
    

    Edit: here are some other failures:

  2. Hixie commented on Mar 17, 2021

    @Hixie
    Contributor
  3. jmagman commented on Mar 23, 2021

    @jmagman
    Member

    Let's track these individually and just use this one to track platform_interaction_test_ios, there are a few reasons tests can time out (I caught one yesterday with a bad cable, for example in #66153 (comment)). It may be the same reasons, but I'd rather investigate separately.

    We should be able to track down more info now that we have screenshots on timeouts like this.

  4. Hixie commented on Apr 6, 2021

    @Hixie
    Contributor

    Any update on this issue?

  5. jmagman commented on Apr 8, 2021

    @jmagman
    Member

    Haven't seen this in awhile. Maybe was related to #78076? Later ones may have been related to the pending iOS update 14.4.* updates, which we've seen user reports of +30 second app launch times until the upgrade happens (don't ask me about what mechanism would be responsible for that). I don't think anyone was able to reproduce it locally.

  6. Hixie commented on Apr 13, 2021

    @Hixie
    Contributor

    Awesome, thanks @jmagman.

    @zanderso Can you confirm that you're not seeing it any more, and if so, close the issue? Thanks!

  7. zanderso commented on Apr 19, 2021

    @zanderso
    MemberAuthor

    I'm not seeing any recent failures like this.

  8. github-actions commented on Aug 2, 2021

    @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.

  9. locked as resolved and limited conversation to collaborators on Aug 2, 2021
  10. added
    P0Critical issues such as a build break or regression
    and removed on Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressionc: contributor-productivityTeam-specific productivity, code health, technical debt.c: flakeTests that sometimes, but not always, incorrectly passplatform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions