Closed clux closed 4 years ago
Not quite sure what's happening here. I can't reproduce the failure locally;
from master branch:
export RUST_DATE=$(date +"%Y-%m-%d") export RUST_CHANNEL="nightly-${RUST_DATE}" docker build --build-arg CHANNEL="${RUST_CHANNEL}" -t clux/muslrust
same as .travis's file... outputs:
Step 4/15 : ARG CHANNEL="nightly" ---> Running in d69e34552624 Removing intermediate container d69e34552624 ---> 5f42a29ca322 Step 5/15 : ENV RUSTUP_VER="1.22.1" RUST_ARCH="x86_64-unknown-linux-gnu" ---> Running in 1bcf3c6e8a33 Removing intermediate container 1bcf3c6e8a33 ---> 07d46ca15e83 Step 6/15 : RUN curl "https://static.rust-lang.org/rustup/archive/${RUSTUP_VER}/${RUST_ARCH}/rustup-init" -o rustup-init && chmod +x rustup-init && ./rustup-init -y --default-toolchain ${CHANNEL} --profile minimal && rm rustup-init && ~/.cargo/bin/rustup target add x86_64-unknown-linux-musl && echo "[build]\ntarget = \"x86_64-unknown-linux-musl\"" > ~/.cargo/config ---> Running in d67c0b574abf % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 11.8M 100 11.8M 0 0 1334k 0 0:00:09 0:00:09 --:--:-- 1276k info: profile set to 'minimal' info: default host triple is x86_64-unknown-linux-gnu info: syncing channel updates for 'nightly-2020-08-28-x86_64-unknown-linux-gnu' info: latest update on 2020-08-28, rust version 1.48.0-nightly (397b390cc 2020-08-27) info: downloading component 'cargo' info: downloading component 'rust-std' info: downloading component 'rustc' info: installing component 'cargo' info: Defaulting to 500.0 MiB unpack ram info: installing component 'rust-std' info: installing component 'rustc' info: default toolchain set to 'nightly-2020-08-28' nightly-2020-08-28 installed - rustc 1.48.0-nightly (397b390cc 2020-08-27) Rust is installed now. Great! To get started you need Cargo's bin directory ($HOME/.cargo/bin) in your PATH environment variable. Next time you log in this will be done automatically. To configure your current shell run source $HOME/.cargo/env info: downloading component 'rust-std' for 'x86_64-unknown-linux-musl' info: installing component 'rust-std' for 'x86_64-unknown-linux-musl' info: Defaulting to 500.0 MiB unpack ram Removing intermediate container d67c0b574abf ---> 4dfb92ee545a
i.e. successful.
Unfortunately, the same nightly with the same build params fail on CI:
---> e0dac83b655a Step 4/15 : ARG CHANNEL="nightly" ---> Running in 0b4292fce16d Removing intermediate container 0b4292fce16d ---> 7520b17d970e Step 5/15 : ENV RUSTUP_VER="1.22.1" RUST_ARCH="x86_64-unknown-linux-gnu" ---> Running in aad5b1abd645 Removing intermediate container aad5b1abd645 ---> f7813371fcfe Step 6/15 : RUN curl "https://static.rust-lang.org/rustup/archive/${RUSTUP_VER}/${RUST_ARCH}/rustup-init" -o rustup-init && chmod +x rustup-init && ./rustup-init -y --default-toolchain ${CHANNEL} --profile minimal && rm rustup-init && ~/.cargo/bin/rustup target add x86_64-unknown-linux-musl && echo "[build]\ntarget = \"x86_64-unknown-linux-musl\"" > ~/.cargo/config ---> Running in 48fa9c78388a % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 11.8M 100 11.8M 0 0 9.9M 0 0:00:01 0:00:01 --:--:-- 9.9M info: profile set to 'minimal' info: default host triple is x86_64-unknown-linux-gnu info: syncing channel updates for 'nightly-2020-08-28-x86_64-unknown-linux-gnu' info: latest update on 2020-08-28, rust version 1.48.0-nightly (397b390cc 2020-08-27) info: downloading component 'cargo' info: downloading component 'rust-std' error: component download failed for rust-std-x86_64-unknown-linux-gnu error: caused by: could not download file The command '/bin/sh -c curl "https://static.rust-lang.org/rustup/archive/${RUSTUP_VER}/${RUST_AR
i.e. failing to download the rust-std component. Not sure what's causing that. It did take a while to download, but this is nightly only :thinking:
rust-std
error from a few days ago was similar:
info: syncing channel updates for 'nightly-2020-08-25-x86_64-unknown-linux-gnu' error: no release found for 'nightly-2020-08-25'
and
info: syncing channel updates for 'nightly-2020-08-23-x86_64-unknown-linux-gnu' error: no release found for 'nightly-2020-08-23'
maybe we are too quick? maybe we just run the cron job at the wrong time.
rebuild gets further: https://travis-ci.org/github/clux/muslrust/builds/721868712
this might just be a bad timing issue
nightlies are back
Not quite sure what's happening here. I can't reproduce the failure locally;
from master branch:
same as .travis's file... outputs:
i.e. successful.
Unfortunately, the same nightly with the same build params fail on CI:
i.e. failing to download the
rust-std
component. Not sure what's causing that. It did take a while to download, but this is nightly only :thinking:error from a few days ago was similar:
and
maybe we are too quick? maybe we just run the cron job at the wrong time.