Enviroment preparation time jumped from ~90sec to ~120sec in mid October (osx-xcode-10.0.x)

ios

#1

Bitrise Build Issue Report template

Description of the issue

The time to prepare a build was stable at around 90 seconds. Between the 13th and 15th of October 2018 this time jumped to around 120 seconds. It stays at 120 seconds since then. The stack (osx-xcode-10.0.x) and stack_config_type (elite1) didn’t changed in that time frame.

Preparation time calculation: Difference between “started_on_worker_at” and “environment_prepare_finished_at”.

Environment:

stack_identifier: osx-xcode-10.0.x, osx-xcode-10.1.x
stack_config_type: elite1
app: https://app.bitrise.io/app/f7f178ad7bc9b717

Which build Step causes the issue and which version of the step?

No step. The issue occours while preparing the environment.

Reproducibility

  • every build on osx-xcode-10.0.x and osx-xcode-10.1.x stacks since mid of October 2018.

Steps to reproduce

  1. trigger a build on osx-xcode-10.0.x or osx-xcode-10.1.x
  2. wait until the build finishes
  3. get started_on_worker_at and environment_prepare_finished_at from the API (https://api.bitrise.io/v0.1/apps//builds)
  4. calculate the time interval between started_on_worker_at and environment_prepare_finished_at

#2

Hi @steffenm!

Sorry for the awfully long delay here. To be honest, we can not see any event occurring which would be a reason for this spike, but we also found that the events started_on_worker_at and environment_prepare_finished_at are not actually providing accurate results each time.

Since you posted this we’ve also added elite workers so hopefully, this situation has already been eased, but the reason we are not taking a further look at this is because we are in the midst of migrating all stacks to a new build system (Android stacks have been using it for a while now, and it’s being introduced for the Xcode Edge stack as I’m typing this)

Which should completely eliminate these inconveniences.

I hope this helps, please do not hesitate to let us know if you’d have any questions!