rust-lang / crater

Run experiments across parts of the Rust ecosystem!
https://crater.rust-lang.org
643 stars 90 forks source link

"Temporary failure in name resolution" is a popular source of spurious failures #580

Closed petrochenkov closed 2 years ago

petrochenkov commented 3 years ago

Build script attempts to download something from internet but cannot do it at this point in time. It would be good to mark this case as spurious in reports.

Example: https://crater-reports.s3.amazonaws.com/pr-86231/try%23e0f03aec47b100bc29555561bd62a99d1bc6aca5/reg/deno_timers-0.6.0/log.txt

Spoiler ``` [INFO] [stderr] error: failed to run custom build command for `rusty_v8 v0.22.3` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/rusty_v8-84223182b14ca685/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=src/binding.cc [INFO] [stderr] download lockfile: "/opt/rustwide/target/debug/build/lib_download.fslock" [INFO] [stderr] static lib URL: https://github.com/denoland/rusty_v8/releases/download/v0.22.3/librusty_v8_debug_x86_64-unknown-linux-gnu.a [INFO] [stderr] cargo:rustc-link-search=/opt/rustwide/target/debug/gn_out/obj [INFO] [stderr] Downloading https://github.com/denoland/rusty_v8/releases/download/v0.22.3/librusty_v8_debug_x86_64-unknown-linux-gnu.a [INFO] [stderr] Downloading https://github.com/denoland/rusty_v8/releases/download/v0.22.3/librusty_v8_debug_x86_64-unknown-linux-gnu.a... [INFO] [stderr] [INFO] [stderr] Retrying in 5 s ... [INFO] [stderr] Downloading https://github.com/denoland/rusty_v8/releases/download/v0.22.3/librusty_v8_debug_x86_64-unknown-linux-gnu.a... [INFO] [stderr] [INFO] [stderr] Retrying in 10 s ... [INFO] [stderr] Downloading https://github.com/denoland/rusty_v8/releases/download/v0.22.3/librusty_v8_debug_x86_64-unknown-linux-gnu.a... [INFO] [stderr] [INFO] [stderr] Retrying in 20 s ... [INFO] [stderr] Downloading https://github.com/denoland/rusty_v8/releases/download/v0.22.3/librusty_v8_debug_x86_64-unknown-linux-gnu.a... [INFO] [stderr] [INFO] [stderr] Python downloader failed, trying with curl. [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] Traceback (most recent call last): [INFO] [stderr] File "./tools/download_file.py", line 64, in [INFO] [stderr] sys.exit(main()) [INFO] [stderr] File "./tools/download_file.py", line 59, in main [INFO] [stderr] DownloadUrl(args.url, f) [INFO] [stderr] File "./tools/download_file.py", line 45, in DownloadUrl [INFO] [stderr] raise e [INFO] [stderr] urllib2.URLError: [INFO] [stderr] thread 'main' panicked at 'assertion failed: status.success()', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusty_v8-0.22.3/build.rs:285:3 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55784fc5a230 - std::backtrace_rs::backtrace::libunwind::trace::hfa838fc631229987 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stderr] 1: 0x55784fc5a230 - std::backtrace_rs::backtrace::trace_unsynchronized::h93a23e36ec026219 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55784fc5a230 - std::sys_common::backtrace::_print_fmt::hba56c7f796a4152f [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x55784fc5a230 - ::fmt::h214637f1e26310e1 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] 4: 0x55784fc78cbc - core::fmt::write::h7aa6cd0067dca82a [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/core/src/fmt/mod.rs:1110:17 [INFO] [stderr] 5: 0x55784fc57515 - std::io::Write::write_fmt::heb07fc0616bbd06d [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/io/mod.rs:1588:15 [INFO] [stderr] 6: 0x55784fc5c0ab - std::sys_common::backtrace::_print::h2c2441c37e894fb5 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] 7: 0x55784fc5c0ab - std::sys_common::backtrace::print::h4fb679ac439362ea [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 8: 0x55784fc5c0ab - std::panicking::default_hook::{{closure}}::h56bbadec2356e5d2 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/panicking.rs:208:50 [INFO] [stderr] 9: 0x55784fc5bb81 - std::panicking::default_hook::hb25822b45f6fdc4e [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/panicking.rs:225:9 [INFO] [stderr] 10: 0x55784fc5c774 - std::panicking::rust_panic_with_hook::h4da5578e7277d2d4 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/panicking.rs:622:17 [INFO] [stderr] 11: 0x55784fc5c227 - std::panicking::begin_panic_handler::{{closure}}::h003783ddb3cba4e8 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/panicking.rs:517:13 [INFO] [stderr] 12: 0x55784fc5a70c - std::sys_common::backtrace::__rust_end_short_backtrace::hd138d2032731ed21 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stderr] 13: 0x55784fc5c1b9 - rust_begin_unwind [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/panicking.rs:515:5 [INFO] [stderr] 14: 0x55784fc0d361 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/core/src/panicking.rs:92:14 [INFO] [stderr] 15: 0x55784fc0d2ad - core::panicking::panic::h3de4db67bd397eb3 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/core/src/panicking.rs:50:5 [INFO] [stderr] 16: 0x55784fc343c5 - build_script_build::download_file::hfa2b21808d64699f [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusty_v8-0.22.3/build.rs:285:3 [INFO] [stderr] 17: 0x55784fc34803 - build_script_build::download_static_lib_binaries::hf59368c8a5ed8d50 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusty_v8-0.22.3/build.rs:302:5 [INFO] [stderr] 18: 0x55784fc31238 - build_script_build::main::h5ec04c87aece65bb [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusty_v8-0.22.3/build.rs:50:7 [INFO] [stderr] 19: 0x55784fc2dfbb - core::ops::function::FnOnce::call_once::he6f97ee4b6c37aa3 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/core/src/ops/function.rs:227:5 [INFO] [stderr] 20: 0x55784fc38f3e - std::sys_common::backtrace::__rust_begin_short_backtrace::h1fa88ea1ec21a78d [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stderr] 21: 0x55784fc23881 - std::rt::lang_start::{{closure}}::hc727fba4c95c1a07 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/rt.rs:49:18 [INFO] [stderr] 22: 0x55784fc5cc79 - core::ops::function::impls:: for &F>::call_once::hd933294140eb11aa [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/core/src/ops/function.rs:259:13 [INFO] [stderr] 23: 0x55784fc5cc79 - std::panicking::try::do_call::h8342fe3d9218b807 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/panicking.rs:401:40 [INFO] [stderr] 24: 0x55784fc5cc79 - std::panicking::try::hcbd73d6d0d58a8f0 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/panicking.rs:365:19 [INFO] [stderr] 25: 0x55784fc5cc79 - std::panic::catch_unwind::hde9cf73f810acfcc [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/panic.rs:434:14 [INFO] [stderr] 26: 0x55784fc5cc79 - std::rt::lang_start_internal::heb39e7ea6e5d6f6f [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/rt.rs:34:21 [INFO] [stderr] 27: 0x55784fc23860 - std::rt::lang_start::hffa3ae523162f2f4 [INFO] [stderr] at /rustc/e0f03aec47b100bc29555561bd62a99d1bc6aca5/library/std/src/rt.rs:48:5 [INFO] [stderr] 28: 0x55784fc385bc - main [INFO] [stderr] 29: 0x7ff19a5bf0b3 - __libc_start_main [INFO] [stderr] 30: 0x55784fc0dabe - _start [INFO] [stderr] 31: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed ```