Skip to content

iOS 17 tests sometimes fail to find Dart VM in CI  #142448

Open

Description

@vashworth

Activity

  1. added
    platform-iosiOS applications specifically
    P2Important issues not at the top of the work list
    team-iosOwned by iOS platform team
    triaged-iosTriaged by iOS platform team
    on Jan 29, 2024
  2. jmagman commented on Jan 29, 2024

    @jmagman
    Member

    https://ci.chromium.org/ui/p/flutter/builders/staging/Mac_ios%20microbenchmarks_ios_xcode_debug/2180/overview shows in the uploaded device logs (step 28 log links) that the app is installed:

    Jan 26 23:16:07 installd(MobileSystemServices)[133] <Notice>: 0x16ceef000 -[MIInstaller performInstallationWithError:]: Install Successful for (Developer:com.yourcompany.microbenchmarks); Staging: 0.01s; Waiting: 0.00s; Preflight/Patch: 0.52s, Verifying: 0.07s; Overall: 0.76s
    

    However I don't see the Runner(Flutter) log lines I would expect if it were running:

    On the Mac side for timestamp comparison:

     [2024-01-26 23:15:58.145012] [STDOUT] [STDOUT] [   +2 ms] Application launched on the device. Waiting for Dart VM Service url.
     [2024-01-26 23:15:58.148230] [STDOUT] [STDOUT] [   +3 ms] Checking for advertised Dart VM Services...
     [2024-01-26 23:16:58.148476] [STDOUT] [STDOUT] [        ] No path provided for Symbols directory.
     [2024-01-26 23:25:58.149431] [STDOUT] [STDOUT] [+540020 ms] mDNS query failed. Checking for an interface with a ipv4 link local address.
    

    https://storage.googleapis.com/flutter_logs/flutter/db828a8351dc0057d0a9b0682ccf6094e9ead6c8/microbenchmarks_ios_xcode_debug/34738fab-6412-49d4-ad89-b2a87db7196d/00008030-00062432346B402E.log

  3. vashworth commented on Jan 30, 2024

    @vashworth
    ContributorAuthor

    Yeah, it seems like debugserver starts up:

    Jan 26 23:16:08 debugserver[480] <Notice>: debugserver will use ASL for internal logging.
    Jan 26 23:16:08 debugserver[480] <Notice>: debugserver-@(#)PROGRAM:LLDB  PROJECT:lldb-1500.2.8.13
     for arm64.
    Jan 26 23:16:08 debugserver[480] <Notice>: Got a connection, waiting for process information for launching or attaching.
    

    But I didn't see it attach, I would have expected something like this:

    Jan 26 23:11:26 debugserver[470] <Notice>: [LaunchAttach] START 470 vAttach to pid 469
    ...
    Jan 26 23:11:26 debugserver[470] <Notice>: Successfully attached to pid 469
    Jan 26 23:11:26 debugserver[470] <Notice>: Attach succeeded, ready to debug.
    

    I think I'll try uploading DerivedData to the logs to see if we can get the Launch logs from Xcode

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

    P2Important issues not at the top of the work listplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions