Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Nightly builds are timing out / Reenable MIPS ABI #7733

Closed

Description

@tobrun

Last week we were unable to publish nightly builds due to #7640. Last Saturday, Bitrise has resolved this with upgrading their Android docker images. Now with re enabling these integrations, I'm noticing that some of these release builds are timing out (going over the 45 min limit). Before this issue, we were already hitting 40 <-> 43 minutes per build. We need to look into optimizing these build times for the scheduled workflow.

cc @mapbox/android

Activity

  1. added
    Android
    on Jan 16, 2017
  2. added this to the android-v5.0.0 milestone on Jan 16, 2017
  3. tobrun commented on Jan 18, 2017

    @tobrun
    MemberAuthor

    Measuring

    In this branch I'm measuring execution time of the different steps in our workflow:

    Git clone:

    37 secs

    Configure GL build env:

    24 sec

    Configure AWS CLI:

    27 sec

    Download Maven credentials

    1.27 sec

    Building core:

    39.9 minutes

    • arm-v5: 483s
    • arm-v7: 371s
    • arm-v8: 374s
    • x86: 376s
    • x86-64: 384s
    • mips: 407s

    Publish to maven:

    Did not fully run, was aborted

    Optimizing

    At this moment, I'm seeing 3 small optimizations:

    • do not build any android modules as part of make apackage
    • use bitrise build in support for storing secrets instead of AWS CLI (~ 2 minutes gain)
    • look into optimizing the uploadArchives gradle command (it currently also builds Phone + Wear module)

    Not sure if above will make the difference, if not we will have to look into requesting more job execution from Bitrise or start splitting up the scheduled build into smaller builds.

  4. zugaldia commented on Jan 18, 2017

    @zugaldia
    Member

    Thanks much @tobrun for looking into this. I suggest that we temporarily drop mips from the build as it's an architecture with minimal impact on regular users.

    At the same time we might consider to revisit the approach that you suggested in #6734.

  5. tobrun commented on Jan 18, 2017

    @tobrun
    MemberAuthor

    To unblock us from publishing new SNAPSHOTS I applied the approach in #7733 (comment).
    This is making the build pass in 39 minutes! 🎉

  6. changed the title [-]Nightly builds are timing out[/-] [+]Nightly builds are timing out / Reenable MIPS ABI[/+] on Jan 20, 2017
  7. zugaldia commented on Feb 26, 2017

    @zugaldia
    Member

    Another thing that could help in the future: Bitrise caching.

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

    Androidbuild

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions