You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
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
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.
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.
Thanks much @tobrun for looking into this. I suggest that we temporarily drop mips from the build as it's an architecture with minimalimpact on regular users.
At the same time we might consider to revisit the approach that you suggested in #6734.
Activity
tobrun commentedon Jan 18, 2017
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
Publish to maven:
Did not fully run, was aborted
Optimizing
At this moment, I'm seeing 3 small optimizations:
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.
zugaldia commentedon Jan 18, 2017
Thanks much @tobrun for looking into this. I suggest that we temporarily drop
mipsfrom 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.
tobrun commentedon Jan 18, 2017
To unblock us from publishing new SNAPSHOTS I applied the approach in #7733 (comment).
This is making the build pass in 39 minutes! 🎉
[-]Nightly builds are timing out[/-][+]Nightly builds are timing out / Reenable MIPS ABI[/+]zugaldia commentedon Feb 26, 2017
Another thing that could help in the future: Bitrise caching.