Opened 4 months ago

Closed 4 months ago

#29878 closed defect (fixed)

macOS Travis builds are 3x slower

Reported by: teor Owned by:
Priority: High Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-ci, travis, slow-ci
Cc: Actual Points:
Parent ID: Points: 0.5
Reviewer: Sponsor:

Description

I sent this email to support at travis CI.
It's in their standard format:

Hi,

We are seeing 502 Bad Gateway errors from homebrew.bintray.com.

These download errors lead to increased macOS build times, because the homebrew packages install extra dependencies, and build from source.

When these errors happen, macOS build times can increase from 7-12 minutes to 23 minutes, depending on the packages that fail to download.

When I attempt to download the same URL locally, I do not see an error.

  • GitHub accounts

torproject

  • Repository names

torproject/tor

  • Explanation of the issue

homebrew.bintray.com fails downloads.
brew builds from source.
macOS builds are 3x slower.

  • Copy of the error message (if any)

==> Installing asciidoc
==> Downloading https://homebrew.bintray.com/bottles/asciidoc-8.6.10_1.high_sier
curl: (22) The requested URL returned error: 502 Bad Gateway
Error: Failed to download resource "asciidoc"
Download failed: https://homebrew.bintray.com/bottles/asciidoc-8.6.10_1.high_sierra.bottle.tar.gz
Warning: Bottle installation failed: building from source.

  • Link to a specific build showing the issue

https://travis-ci.org/torproject/tor/jobs/510766219
https://travis-ci.org/torproject/tor/jobs/510766220
https://travis-ci.org/torproject/tor/jobs/510777052
https://travis-ci.org/torproject/tor/jobs/510777053

Child Tickets

Change History (3)

comment:1 Changed 4 months ago by teor

If Travis don't respond, or the slowdown gets worse, we can:

  • remove asciidoc and shellcheck from macOS
  • disable the macOS rust build

comment:2 Changed 4 months ago by teor

This seems to have resolved itself. But our Rust builds are still a bit slow.

Maybe we should check to see if caching actually speeds up Rust?

comment:3 Changed 4 months ago by teor

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.