Homebrew / homebrew-test-bot

🎰 Tests the full lifecycle of a Homebrew change.
BSD 2-Clause "Simplified" License
77 stars 69 forks source link

Failure to test some PRs with dependencies #231

Closed fxcoudert closed 5 years ago

fxcoudert commented 5 years ago

Take this PR: https://github.com/Homebrew/homebrew-core/pull/36334 On all three CI nodes, the testbot is failing because it is doing the following:

``` 04:38:37 ==> brew doctor 04:38:39 04:38:39 ==> brew --env 04:38:40 04:38:40 ==> brew config 04:38:43 04:38:43 ==> brew readall --aliases homebrew/core 04:39:03 04:39:03 ==> brew uses --recursive libraw 04:39:27 04:39:27 ==> brew fetch --retry cmake gdbm jasper jpeg libomp libtiff little-cms2 openssl pkg-config python readline sphinx-doc sqlite xz 04:40:08 04:40:08 ==> brew fetch --retry libraw --build-bottle --force 04:40:13 04:40:13 ==> brew install --only-dependencies --verbose --build-bottle libraw 04:40:26 04:40:26 ==> brew install --verbose --build-bottle libraw 04:41:09 04:41:09 ==> brew audit libraw --online 04:41:35 04:41:35 ==> brew style libraw 04:41:40 04:41:40 ==> brew bottle --verbose --json libraw 04:41:50 04:41:50 ==> brew bottle --merge --write --no-commit ./libraw--0.19.2.mojave.bottle.json 04:41:51 04:41:51 ==> brew uninstall --force libraw 04:41:52 04:41:52 ==> brew uninstall --force cmake gdbm openssl pkg-config python readline sphinx-doc sqlite xz 04:41:53 04:41:53 ==> brew install --only-dependencies ./libraw--0.19.2.mojave.bottle.tar.gz 04:41:55 04:41:55 ==> brew install ./libraw--0.19.2.mojave.bottle.tar.gz 04:41:58 04:41:58 ==> brew install --only-dependencies --include-test libraw 04:41:59 04:41:59 ==> brew test libraw --verbose 04:42:03 04:42:03 ==> brew uninstall --force libraw 04:42:04 04:42:04 ==> brew uninstall --force jasper jpeg libomp libtiff little-cms2 04:42:05 04:42:05 ==> brew uses --recursive efl 04:42:30 04:42:30 ==> brew fetch --retry autoconf automake bison boost bullet cairo cmake dbus docbook docbook-xsl doxygen flac fontconfig freetype fribidi gd gdbm gdk-pixbuf gettext ghostscript giflib glib glib-networking gmp gnu-getopt gnutls gobject-introspection graphite2 graphviz gsettings-desktop-schemas gst-plugins-base gst-plugins-good gstreamer gtk-doc gts harfbuzz icu4c intltool itstool jasper jpeg json-c libcroco libffi libidn2 libogg libomp libpng libpsl libraw librsvg libshout libsndfile libsoup libsoxr libspectre libssh2 libtasn1 libtiff libtool libunistring libvorbis libvpx libxml2 little-cms2 luajit meson meson-internal netpbm nettle ninja nspr nss openjpeg openssl opus orc p11-kit pango pcre pixman pkg-config poppler pulseaudio python qt readline rust shared-mime-info source-highlight speex speexdsp sphinx-doc sqlite taglib theora vala webp xmlto xz yasm 04:43:42 ==> FAILED ``` because ``` 04:43:42 ==> Downloading https://homebrew.bintray.com/bottles/libraw-0.19.2.mojave.bottle.tar.gz 04:43:42 curl: (22) The requested URL returned error: 401 Unauthorized 04:43:42 ==> Retrying download 04:43:42 ==> Downloading https://homebrew.bintray.com/bottles/libraw-0.19.2.mojave.bottle.tar.gz 04:43:42 curl: (22) The requested URL returned error: 401 Unauthorized 04:43:42 Error: Failed to download resource "libraw" 04:43:42 Download failed: https://homebrew.bintray.com/bottles/libraw-0.19.2.mojave.bottle.tar.gz 04:44:03 ```

I have no idea what causes this. The only change I'm seeing in recent testbot history is ENV["CI"] = "1" if jenkins.

MikeMcQuaid commented 5 years ago

Confirmed fixed by https://github.com/Homebrew/homebrew-test-bot/issues/231.