Skip to content

Mac45 is causing infra flakes on staging iOS tests #98426

Description

@zanderso

It looks like these started on an unrelated commit.

Not sure whether this is also the cause of #98419, but I am suspicious of it.

Screen Shot 2022-02-14 at 8 18 58 AM

/cc @jmagman

Activity

  1. keyonghan commented on Feb 14, 2022

    @keyonghan
    Contributor

    All these happened on Mac45, which hit

    Testing failed:
    	infra-dialogUITests:
    		infra-dialogUITests-Runner encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/swarming/Library/Developer/Xcode/DerivedData/infra-dialog-ayzxmkyimrprakexnyiavfekoqad/Logs/Test/Test-infra-dialog-2022.02.14_03-19-08--0800.xcresult. (Underlying Error: Unable to launch dev.flutter.infra-dialogUITests.xctrunner. (Underlying Error: Request to launch dev.flutter.infra-dialogUITests.xctrunner failed. The operation couldn’t be completed. Unable to launch dev.flutter.infra-dialogUITests.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier 'dev.flutter.infra-dialogUITests.xctrunner'. (Underlying Error: The operation couldn’t be completed. Unable to launch dev.flutter.infra-dialogUITests.xctrunner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.))))
    

    Sounds similar to #95272 (comment).

    Quarantined for now, and it would be helpful to take a screenshot.

  2. changed the title [-]Large number of infra flakes on iOS tests[/-] [+]Mac45 is causing infra flakes on staging iOS tests[/+] on Feb 14, 2022
  3. godofredoc commented on Feb 14, 2022

    @godofredoc
    Contributor

    @keyonghan can you please take a look why the device recovery is not deleting the application on after-task.

    Context for this issue is that salt states were broken and they didn't update the apple provisioning profile certificates. When the salt states got fixed they updated it and now the dismiss dialog application is trying to update the application in the phone which was created and signed with a different certificate.

  4. keyonghan commented on Mar 9, 2022

    @keyonghan
    Contributor

    From swarming log and several recent failed builds: the apps were indeed not un-installed. Checking if any error when calling device recovery.

  5. keyonghan commented on Mar 10, 2022

    @keyonghan
    Contributor

    Run locally from the bot, and it complains

    -bash: ideviceinstaller: command not found
    

    Though we have appended /opt/homebrew/bin:/opt/homebrew/sbin: to the PATH in salt, the current PATH in the bot is

    echo $PATH
    /opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/salt/bin:/usr/local/sbin:/Library/Apple/usr/bin
    
  6. keyonghan commented on Mar 19, 2022

    @keyonghan
    Contributor

    New version lands in staging, and validated the recovery works.

  7. github-actions commented on Apr 2, 2022

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

  8. locked as resolved and limited conversation to collaborators on Apr 2, 2022
  9. moved this from Verified to To be archived in [DEPRECATED] Infra Ticket Queueon Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

team-infraOwned by Infrastructure team

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions