Skip to content

expression_evaluation_web_test failed, "Exception: Received app.stop event while waiting for app.started event", causing Linux web_tool_tests 2.29% flaky #84012

Closed

Description

@jmagman
07:45 +14 ~2 -1: test/web.shard/expression_evaluation_web_test.dart: Flutter run for web can evaluate trivial expressions in library without pause [E]                                                 
  Exception: Received app.stop event while waiting for app.started event
  
  [  +51 ms] FINE: Pub 2.14.0-182.0.dev
  [  +26 ms] SLVR: fact: test is 0.0.0
  [   +9 ms] SLVR: derived: test
  [  +23 ms] SLVR: fact: test depends on flutter any from sdk
  [   +1 ms] SLVR:   selecting test
  [        ] SLVR:   derived: flutter any from sdk
  [  +15 ms] SLVR:   fact: flutter 0.0.0 from sdk depends on characters 1.1.0
  [        ] SLVR:   fact: flutter 0.0.0 from sdk depends on collection 1.15.0
  [        ] SLVR:   fact: flutter 0.0.0 from sdk depends on meta 1.4.0
  [        ] SLVR:   fact: flutter 0.0.0 from sdk depends on typed_data 1.3.0
  [        ] SLVR:   fact: flutter 0.0.0 from sdk depends on vector_math 2.1.0
  [        ] SLVR:   fact: flutter 0.0.0 from sdk depends on sky_engine any from sdk
  [        ] SLVR:     selecting flutter 0.0.0 from sdk
  [        ] SLVR:     derived: sky_engine any from sdk
  [        ] SLVR:     derived: vector_math 2.1.0
  [        ] SLVR:     derived: typed_data 1.3.0
  [        ] SLVR:     derived: meta 1.4.0
  [        ] SLVR:     derived: collection 1.15.0
  [        ] SLVR:     derived: characters 1.1.0
  [   +6 ms] SLVR:       selecting sky_engine 0.0.99 from sdk
  [   +6 ms] SLVR:         selecting vector_math 2.1.0
  [   +5 ms] SLVR:         fact: typed_data 1.3.0 depends on collection ^1.15.0
  [        ] SLVR:           selecting typed_data 1.3.0
  [   +2 ms] SLVR:             selecting meta 1.4.0
  [   +2 ms] SLVR:               selecting collection 1.15.0
  [   +1 ms] SLVR:                 selecting characters 1.1.0
  [  +84 ms] SLVR: Version solving took 0:00:00.168091 seconds.
  [        ]     | Tried 1 solutions.
  [        ] FINE: Resolving dependencies finished (0.193s).
  [  +51 ms] IO  : Writing 1107 characters to text file ./pubspec.lock.
  [        ] FINE: Contents:
  [        ]     | # Generated by pub
  [        ]     | # See https://dart.dev/tools/pub/glossary#lockfile
  [        ]     | packages:
  [        ]     |   characters:
  [        ]     |     dependency: transitive
  [        ]     |     description:
  [        ]     |       name: characters
  [        ]     |       url: "https://pub.dartlang.org"
  [        ]     |     source: hosted
  [        ]     |     version: "1.1.0"
  [        ]     |   collection:
  [        ]     |     dependency: transitive
  [        ]     |     description:
  [        ]     |       name: collection
  [        ]     |       url: "https://pub.dartlang.org"
  [        ]     |     source: hosted
  [        ]     |     version: "1.15.0"
  [        ]     |   flutter:
  [        ]     |     dependency: "direct main"
  [        ]     |     description: flutter
  [        ]     |     source: sdk
  [        ]     |     version: "0.0.0"
  [        ]     |   meta:
  [        ]     |     dependency: transitive
  [        ]     |     description:
  [        ]     |       name: meta
  [        ]     |       url: "https://pub.dartlang.org"
  [        ]     |     source: hosted
  [        ]     |     version: "1.4.0"
  [        ]     |   sky_engine:
  [        ]     |     dependency: transitive
  [        ]     |     description: flutter
  [        ]     |     source: sdk
  [        ]     |     version: "0.0.99"
  [        ]     |   typed_data:
  [        ]     |     dependency: transitive
  [        ]     |     description:
  [        ]     |       name: typed_data
  [        ]     |       url: "https://pub.dartlang.org"
  [        ]     |     source: hosted
  [        ]     |     version: "1.3.0"
  [        ]     |   vector_math:
  [        ]     |     dependency: transitive
  [        ]     |     description:
  [        ]     |       name: vector_math
  [        ]     |       url: "https://pub.dartlang.org"
  [        ]     |     source: hosted
  [        ]     |     version: "2.1.0"
  [        ]     | sdks:
  [        ]     |   dart: ">=2.12.0-0 <3.0.0"
  [   +7 ms] IO  : Writing 791 characters to text file ./.packages.
  [        ] FINE: Contents:
  [        ]     | # This file is deprecated. Tools should instead consume 
  [        ]     | # `.dart_tools/package_config.json`.
  [        ]     | # 
  [        ]     | # For more info see: https://dart.dev/go/dot-packages-deprecation
  [        ]     | # 
  [        ]     | # Generated by pub on 2021-06-04 18:41:34.143973.
  [        ]     | characters:file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
  [        ]     | collection:file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
  [        ]     | flutter:file:///b/s/w/ir/x/w/flutter/packages/flutter/lib/
  [        ]     | meta:file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dartlang.org/meta-1.4.0/lib/
  [        ]     | sky_engine:file:///b/s/w/ir/x/w/flutter/bin/cache/pkg/sky_engine/lib/
  [        ]     | typed_data:file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
  [        ]     | vector_math:file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/lib/
  [        ]     | test:lib/
  [  +10 ms] IO  : Writing 1574 characters to text file ./.dart_tool/package_config.json.
  [        ] FINE: Contents:
  [        ]     | {
  [        ]     |   "configVersion": 2,
  [        ]     |   "packages": [
  [        ]     |     {
  [        ]     |       "name": "characters",
  [        ]     |       "rootUri": "file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0",
  [        ]     |       "packageUri": "lib/",
  [        ]     |       "languageVersion": "2.12"
  [        ]     |     },
  [        ]     |     {
  [        ]     |       "name": "collection",
  [        ]     |       "rootUri": "file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0",
  [        ]     |       "packageUri": "lib/",
  [        ]     |       "languageVersion": "2.12"
  [        ]     |     },
  [        ]     |     {
  [        ]     |       "name": "flutter",
  [        ]     |       "rootUri": "file:///b/s/w/ir/x/w/flutter/packages/flutter",
  [        ]     |       "packageUri": "lib/",
  [        ]     |       "languageVersion": "2.12"
  [        ]     |     },
  [        ]     |     {
  [        ]     |       "name": "meta",
  [        ]     |       "rootUri": "file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dartlang.org/meta-1.4.0",
  [        ]     |       "packageUri": "lib/",
  [        ]     |       "languageVersion": "2.12"
  [        ]     |     },
  [        ]     |     {
  [        ]     |       "name": "sky_engine",
  [        ]     |       "rootUri": "file:///b/s/w/ir/x/w/flutter/bin/cache/pkg/sky_engine",
  [        ]     |       "packageUri": "lib/",
  [        ]     |       "languageVersion": "2.12"
  [        ]     |     },
  [        ]     |     {
  [        ]     |       "name": "typed_data",
  [        ]     |       "rootUri": "file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0",
  [        ]     |       "packageUri": "lib/",
  [        ]     |       "languageVersion": "2.12"
  [        ]     |     },
  [        ]     |     {
  [        ]     |       "name": "vector_math",
  [        ]     |       "rootUri": "file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0",
  [        ]     |       "packageUri": "lib/",
  [        ]     |       "languageVersion": "2.12"
  [        ]     |     },
  [        ]     |     {
  [        ]     |       "name": "test",
  [        ]     |       "rootUri": "../",
  [        ]     |       "packageUri": "lib/",
  [        ]     |       "languageVersion": "2.12"
  [        ]     |     }
  [        ]     |   ],
  [        ]     |   "generated": "2021-06-04T18:41:34.156005Z",
  [        ]     |   "generator": "pub",
  [        ]     |   "generatorVersion": "2.14.0-182.0.dev"
  [        ]     | }
  Failed to establish connection with the application instance in Chrome.
  This can happen if the websocket connection used by the web tooling is unable to correctly establish a connection, for example due to a firewall.

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8845331682358480368/+/u/run_test.dart_for_web_tool_tests_shard_and_subshard_web/stdout

Similar to #69711

Activity

  1. jmagman commented on Jun 4, 2021

    @jmagman
    MemberAuthor
  2. added
    P1High-priority issues at the top of the work list
    and removed on Jun 4, 2021
  3. jmagman commented on Jun 4, 2021

    @jmagman
    MemberAuthor

    Passed on re-run, lowering priority.

  4. changed the title [-]expression_evaluation_web_test failed, "Exception: Received app.stop event while waiting for app.started event"[/-] [+]expression_evaluation_web_test failed, "Exception: Received app.stop event while waiting for app.started event", causing `Linux web_tool_tests` 2.29% flaky[/+] on Jun 7, 2021
  5. keyonghan commented on Jun 7, 2021

    @keyonghan
    Contributor

    Assigning to @zanderso based on ownership of Linux web_tool_tests, and labeled P1 as the flakiness ratio exceeds 2%.

  6. added and removed
    P1High-priority issues at the top of the work list
    on Jun 7, 2021
  7. zanderso commented on Jun 7, 2021

    @zanderso
    Member

    Some question as on #84134 for @jonahwilliams @grouma and @annagrin. Would this be helped by #83899?

  8. grouma commented on Jun 7, 2021

    @grouma
    Contributor

    Would this be helped by #83899?

    Possibly. Not clear from the message if Chrome died mid test or if it just never spawned correctly.

  9. 30 remaining items

  10. annagrin commented on Aug 5, 2021

    @annagrin
    Contributor

    Similar error on flutter HHH bot, now with better error reporting:
    https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/flutter-engine-linux-web_tests/3108

    Looks like a port is taken when dwds tries to bind to it - opened an issue: dart-lang/webdev#1378

    Fix pending: dart-lang/webdev#1379

  11. zanderso commented on Aug 9, 2021

    @zanderso
    Member

    @annagrin Does Flutter need to update the dwds version to pick up dart-lang/webdev#1379 ?

  12. annagrin commented on Aug 9, 2021

    @annagrin
    Contributor

    @annagrin Does Flutter need to update the dwds version to pick up dart-lang/webdev#1379 ?

    Yes, I'll publish a new version today and will submit a flutter PR

  13. a-siva commented on Aug 16, 2021

    @a-siva
    Contributor

    Any updates on this P1 issue ?

  14. annagrin commented on Aug 18, 2021

    @annagrin
    Contributor

    @a-siva I have a fix in dwds, working on publishing a new version of dwds: dart-lang/webdev#1385

  15. added a commit that references this issue on Aug 18, 2021
  16. added a commit that references this issue on Aug 18, 2021
  17. github-actions commented on Sep 1, 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.

  18. locked as resolved and limited conversation to collaborators on Sep 1, 2021
  19. 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

Labels

P0Critical issues such as a build break or regressionc: contributor-productivityTeam-specific productivity, code health, technical debt.c: disabled testTracks the restoration of a disabled testc: flakeTests that sometimes, but not always, incorrectly passdependency: dartDart team may need to help usplatform-webWeb applications specifically

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions