Closed Bug 1715222 Opened 6 months ago Closed 5 months ago

Permanent smoosh subprocess.CalledProcessError: Command '['/builds/worker/checkouts/gecko/mach', 'build']' returned non-zero exit status 2.

Categories

(Core :: JavaScript Engine, defect, P5)

defect

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: arai)

References

Details

(Keywords: intermittent-failure)

Attachments

(2 files)

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=342074799&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/FXhgnGQWRWuAXVpdIo1HtQ/runs/0/artifacts/public/logs/live_backing.log


[task 2021-06-08T04:28:08.678Z]  2:37.51    Compiling smoosh v0.1.0 (/builds/worker/checkouts/gecko/js/src/frontend/smoosh)
[task 2021-06-08T04:28:08.678Z]  2:37.51 error: failed to run custom build command for `smoosh v0.1.0 (/builds/worker/checkouts/gecko/js/src/frontend/smoosh)`
[task 2021-06-08T04:28:08.678Z]  2:37.51 Caused by:
[task 2021-06-08T04:28:08.678Z]  2:37.51   process didn't exit successfully: `/builds/worker/workspace/obj-spider/release/build/smoosh-ca0de1ee9041e9a4/build-script-build` (exit code: 101)
[task 2021-06-08T04:28:08.678Z]  2:37.51   --- stderr
[task 2021-06-08T04:28:08.678Z]  2:37.51   thread 'main' panicked at 'Opcodes.h is out of sync. It's possible that the bytecode generated by jsparagus is based on older opcodes. Please run update_stencil.py in jsparagus. You can disable this check by setting JS_SMOOSH_DISABLE_OPCODE_CHECK environment variable.', js/src/frontend/smoosh/build.rs:5:9
[task 2021-06-08T04:28:08.678Z]  2:37.51   stack backtrace:
[task 2021-06-08T04:28:08.678Z]  2:37.52      0:     0x55dc989e7bf0 - std::backtrace_rs::backtrace::libunwind::trace::h74532f8b485906a1
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
[task 2021-06-08T04:28:08.678Z]  2:37.52      1:     0x55dc989e7bf0 - std::backtrace_rs::backtrace::trace_unsynchronized::h2c8425dd0be5999b
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[task 2021-06-08T04:28:08.678Z]  2:37.52      2:     0x55dc989e7bf0 - std::sys_common::backtrace::_print_fmt::hd8ce6577f46119ce
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:67:5
[task 2021-06-08T04:28:08.678Z]  2:37.52      3:     0x55dc989e7bf0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6289eeebc1f97d57
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:46:22
[task 2021-06-08T04:28:08.678Z]  2:37.52      4:     0x55dc989fde0f - core::fmt::write::h3d3f8a8bb9d4c367
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/core/src/fmt/mod.rs:1092:17
[task 2021-06-08T04:28:08.678Z]  2:37.52      5:     0x55dc989e6872 - std::io::Write::write_fmt::ha117cbfa72664a7b
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/io/mod.rs:1572:15
[task 2021-06-08T04:28:08.678Z]  2:37.52      6:     0x55dc989e9895 - std::sys_common::backtrace::_print::h112e8a4ac2720a21
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:49:5
[task 2021-06-08T04:28:08.678Z]  2:37.52      7:     0x55dc989e9895 - std::sys_common::backtrace::print::h2a4ab5824600ebce
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:36:9
[task 2021-06-08T04:28:08.678Z]  2:37.52      8:     0x55dc989e9895 - std::panicking::default_hook::{{closure}}::h399ab06c3b83a1f2
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:208:50
[task 2021-06-08T04:28:08.678Z]  2:37.52      9:     0x55dc989e9343 - std::panicking::default_hook::h7481e93ca9c2d739
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:225:9
[task 2021-06-08T04:28:08.678Z]  2:37.52     10:     0x55dc989e9e9d - std::panicking::rust_panic_with_hook::h01f9d4e9485ccb8b
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:591:17
[task 2021-06-08T04:28:08.678Z]  2:37.52     11:     0x55dc989e9a37 - std::panicking::begin_panic_handler::{{closure}}::h25bff4eb752cc444
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:497:13
[task 2021-06-08T04:28:08.678Z]  2:37.52     12:     0x55dc989e80ac - std::sys_common::backtrace::__rust_end_short_backtrace::h5dfd3f7920e58cc5
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/sys_common/backtrace.rs:141:18
[task 2021-06-08T04:28:08.678Z]  2:37.52     13:     0x55dc989e9999 - rust_begin_unwind
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:493:5
[task 2021-06-08T04:28:08.678Z]  2:37.52     14:     0x55dc989d2e3b - std::panicking::begin_panic_fmt::h5ea05d30b78d4fb2
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:435:5
[task 2021-06-08T04:28:08.678Z]  2:37.52     15:     0x55dc989d3b8d - build_script_build::compare::h74ecf93e85f20c84
[task 2021-06-08T04:28:08.678Z]  2:37.52     16:     0x55dc989d3bd1 - build_script_build::main::h00ae3df3f4a90329
[task 2021-06-08T04:28:08.678Z]  2:37.52     17:     0x55dc989d3953 - core::ops::function::FnOnce::call_once::h3ffb0e62235e85e5
[task 2021-06-08T04:28:08.678Z]  2:37.52     18:     0x55dc989d3946 - std::sys_common::backtrace::__rust_begin_short_backtrace::h1cea2c305cc2f699
[task 2021-06-08T04:28:08.678Z]  2:37.52     19:     0x55dc989d38c9 - std::rt::lang_start::{{closure}}::h8b3468898de099c8
[task 2021-06-08T04:28:08.678Z]  2:37.52     20:     0x55dc989ea29a - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::ha7db63b609be77e3
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/core/src/ops/function.rs:259:13
[task 2021-06-08T04:28:08.678Z]  2:37.52     21:     0x55dc989ea29a - std::panicking::try::do_call::h715c8c8ca0806d14
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:379:40
[task 2021-06-08T04:28:08.678Z]  2:37.52     22:     0x55dc989ea29a - std::panicking::try::h2530c507ef432acf
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panicking.rs:343:19
[task 2021-06-08T04:28:08.678Z]  2:37.52     23:     0x55dc989ea29a - std::panic::catch_unwind::h0c4984a63ffdd417
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/panic.rs:431:14
[task 2021-06-08T04:28:08.678Z]  2:37.52     24:     0x55dc989ea29a - std::rt::lang_start_internal::h12392519f60c6396
[task 2021-06-08T04:28:08.678Z]  2:37.52                                  at /rustc/88f19c6dab716c6281af7602e30f413e809c5974/library/std/src/rt.rs:51:25
[task 2021-06-08T04:28:08.678Z]  2:37.52     25:     0x55dc989d38bb - std::rt::lang_start::h74fff1eba910d3c4
[task 2021-06-08T04:28:08.678Z]  2:37.52     26:     0x55dc989d3bf3 - main
[task 2021-06-08T04:28:08.678Z]  2:37.52     27:     0x7f57971b909b - __libc_start_main
[task 2021-06-08T04:28:08.678Z]  2:37.52     28:     0x55dc989d37b7 - <unknown>
[task 2021-06-08T04:28:08.678Z]  2:37.52     29:                0x0 - <unknown>
[task 2021-06-08T04:28:08.678Z]  2:37.52 warning: build failed, waiting for other jobs to finish...
[task 2021-06-08T04:28:08.678Z]  2:37.52 error: build failed
[task 2021-06-08T04:28:08.678Z]  2:37.52 make[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:394: force-cargo-library-build] Error 101
[task 2021-06-08T04:28:08.678Z]  2:37.52 make[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: js/src/rust/target] Error 2
[task 2021-06-08T04:28:08.678Z]  2:37.52 make[3]: *** Waiting for unfinished jobs....
[task 2021-06-08T04:28:34.827Z]  3:03.67 make[2]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:34: compile] Error 2
[task 2021-06-08T04:28:34.827Z]  3:03.67 make[1]: *** [/builds/worker/checkouts/gecko/config/rules.mk:355: default] Error 2
[task 2021-06-08T04:28:34.827Z]  3:03.67 make: *** [client.mk:65: build] Error 2
[task 2021-06-08T04:28:34.847Z]  3:03.69 31 compiler warnings present.
[task 2021-06-08T04:28:34.865Z]  Config object not found by mach.
[task 2021-06-08T04:28:34.865Z] Configure complete!
[task 2021-06-08T04:28:34.865Z] Be sure to run |mach build| to pick up any changes
[task 2021-06-08T04:28:34.897Z] Traceback (most recent call last):
[task 2021-06-08T04:28:34.897Z]   File "/builds/worker/checkouts/gecko/js/src/devtools/automation/autospider.py", line 473, in <module>
[task 2021-06-08T04:28:34.897Z]     run_command([mach, "build"], check=True)
[task 2021-06-08T04:28:34.897Z]   File "/builds/worker/checkouts/gecko/js/src/devtools/automation/autospider.py", line 395, in run_command
[task 2021-06-08T04:28:34.897Z]     raise subprocess.CalledProcessError(status, command, output=stderr)
[task 2021-06-08T04:28:34.897Z] subprocess.CalledProcessError: Command '['/builds/worker/checkouts/gecko/mach', 'build']' returned non-zero exit status 2.

The smoosh (tier-3) tasks are failing permanently. Should they not be scheduled anymore by default?

Flags: needinfo?(arai.unmht)

I'll look into either disabling it, or making the job conditional on modified files.

Build bustage is fixed by bug 1715731.
test failure should be fixed by jsparagus, and I'll add them to exclude list for now.

Depends on: 1715731
Flags: needinfo?(arai.unmht)
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/5dc18f9ffb98
Part 1: Exclude known failures from SM(smoosh) jobs. r=nbp
https://hg.mozilla.org/integration/autoland/rev/459ab6c0d7cb
Part 2: Run SM(smoosh) jobs only when related files are modified. r=nbp
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.