Closed Bug 1864543 Opened 1 year ago Closed 1 year ago

Perma Linux gmake[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:527: force-cargo-test-run] Error 101

Categories

(Core :: Gecko Profiler, defect, P5)

defect

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox119 --- unaffected
firefox120 --- unaffected
firefox121 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2023-11-13T22:09:58.883Z] 22:09:58     INFO -  test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[task 2023-11-13T22:09:58.883Z] 22:09:58     INFO -  note: skipping doctests for firefox-on-glean v0.1.0 (/builds/worker/checkouts/gecko/toolkit/components/glean/api) (lib), cross-compilation doctests are not yet supported
[task 2023-11-13T22:09:58.883Z] 22:09:58     INFO -  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#doctest-xcompile for more information.
[task 2023-11-13T22:09:58.883Z] 22:09:58     INFO -  note: skipping doctests for l10nregistry v0.3.0 (/builds/worker/checkouts/gecko/intl/l10n/rust/l10nregistry-rs) (lib), cross-compilation doctests are not yet supported
[task 2023-11-13T22:09:58.884Z] 22:09:58     INFO -  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#doctest-xcompile for more information.
[task 2023-11-13T22:09:58.884Z] 22:09:58     INFO -  note: skipping doctests for qcms v0.2.0 (/builds/worker/checkouts/gecko/gfx/qcms) (lib), cross-compilation doctests are not yet supported
[task 2023-11-13T22:09:58.884Z] 22:09:58     INFO -  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#doctest-xcompile for more information.
[task 2023-11-13T22:09:58.884Z] 22:09:58     INFO -  note: skipping doctests for selectors v0.22.0 (/builds/worker/checkouts/gecko/servo/components/selectors) (lib), cross-compilation doctests are not yet supported
[task 2023-11-13T22:09:58.884Z] 22:09:58     INFO -  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#doctest-xcompile for more information.
[task 2023-11-13T22:09:58.884Z] 22:09:58     INFO -  note: skipping doctests for servo_arc v0.1.1 (/builds/worker/checkouts/gecko/servo/components/servo_arc) (lib), cross-compilation doctests are not yet supported
[task 2023-11-13T22:09:58.885Z] 22:09:58     INFO -  See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#doctest-xcompile for more information.
[task 2023-11-13T22:09:58.885Z] 22:09:58     INFO -  error: 1 target failed:
[task 2023-11-13T22:09:58.885Z] 22:09:58     INFO -      `-p style --lib`
[task 2023-11-13T22:09:58.885Z] 22:09:58    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/makefiles/rust.mk:527: force-cargo-test-run] Error 101
[task 2023-11-13T22:09:58.885Z] 22:09:58     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/toolkit/library/rust'
[task 2023-11-13T22:09:58.885Z] 22:09:58     INFO -  gmake[4]: Target 'rusttests' not remade because of errors.
[task 2023-11-13T22:09:58.885Z] 22:09:58    ERROR -  gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:94: toolkit/library/rust/rusttests] Error 2
[task 2023-11-13T22:09:58.885Z] 22:09:58     INFO -  gmake[3]: Target 'recurse_rusttests' not remade because of errors.
[task 2023-11-13T22:09:58.886Z] 22:09:58    ERROR -  gmake[2]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:34: rusttests] Error 2
[task 2023-11-13T22:09:58.886Z] 22:09:58    ERROR -  gmake[1]: *** [/builds/worker/checkouts/gecko/config/rules.mk:361: default] Error 2
[task 2023-11-13T22:09:58.886Z] 22:09:58     INFO -  gmake[1]: Entering directory '/builds/worker/workspace/obj-build'
[task 2023-11-13T22:09:58.886Z] 22:09:58     INFO -  /builds/worker/fetches/sccache/sccache --show-stats --stats-format=json > '/builds/worker/artifacts/sccache-stats.json'
[task 2023-11-13T22:09:58.886Z] 22:09:58     INFO -  gmake[1]: Leaving directory '/builds/worker/workspace/obj-build'
[task 2023-11-13T22:09:58.886Z] 22:09:58     INFO -  gmake[1]: Entering directory '/builds/worker/workspace/obj-build'
[task 2023-11-13T22:09:58.886Z] 22:09:58     INFO -  ===SCCACHE STATS===
[task 2023-11-13T22:09:58.886Z] 22:09:58     INFO -  gmake[1]: Leaving directory '/builds/worker/workspace/obj-build'
[task 2023-11-13T22:09:58.887Z] 22:09:58     INFO -  gmake[1]: Entering directory '/builds/worker/workspace/obj-build'
[task 2023-11-13T22:09:58.887Z] 22:09:58     INFO -  /builds/worker/fetches/sccache/sccache --show-stats
[task 2023-11-13T22:09:58.887Z] 22:09:58     INFO -  Compile requests                     497
[task 2023-11-13T22:09:58.887Z] 22:09:58     INFO -  Compile requests executed            297
[task 2023-11-13T22:09:58.887Z] 22:09:58     INFO -  Cache hits                           286
[task 2023-11-13T22:09:58.887Z] 22:09:58     INFO -  Cache hits (C/C++)                     2
[task 2023-11-13T22:09:58.887Z] 22:09:58     INFO -  Cache hits (Rust)                    284
[task 2023-11-13T22:09:58.887Z] 22:09:58     INFO -  Cache misses                           7
[task 2023-11-13T22:09:58.887Z] 22:09:58     INFO -  Cache misses (C/C++)                   2
[task 2023-11-13T22:09:58.887Z] 22:09:58     INFO -  Cache misses (Rust)                    5
[task 2023-11-13T22:09:58.888Z] 22:09:58     INFO -  Cache timeouts                         0
[task 2023-11-13T22:09:58.888Z] 22:09:58     INFO -  Cache read errors                      0
[task 2023-11-13T22:09:58.888Z] 22:09:58     INFO -  Forced recaches                        0
[task 2023-11-13T22:09:58.888Z] 22:09:58     INFO -  Cache write errors                     0
[task 2023-11-13T22:09:58.888Z] 22:09:58     INFO -  Compilation failures                   0
[task 2023-11-13T22:09:58.888Z] 22:09:58     INFO -  Cache errors                           4
[task 2023-11-13T22:09:58.888Z] 22:09:58     INFO -  Cache errors (Rust)                    4
[task 2023-11-13T22:09:58.888Z] 22:09:58     INFO -  Non-cacheable compilations             0
[task 2023-11-13T22:09:58.888Z] 22:09:58     INFO -  Non-cacheable calls                  101
[task 2023-11-13T22:09:58.889Z] 22:09:58     INFO -  Non-compilation calls                 99
[task 2023-11-13T22:09:58.889Z] 22:09:58     INFO -  Unsupported compiler calls             0
[task 2023-11-13T22:09:58.889Z] 22:09:58     INFO -  Average cache write                0.156 s
[task 2023-11-13T22:09:58.889Z] 22:09:58     INFO -  Average compiler                  33.455 s
[task 2023-11-13T22:09:58.889Z] 22:09:58     INFO -  Average cache read hit             0.104 s
[task 2023-11-13T22:09:58.889Z] 22:09:58     INFO -  Failed distributed compilations        0
[task 2023-11-13T22:09:58.889Z] 22:09:58     INFO -  Non-cacheable reasons:
[task 2023-11-13T22:09:58.889Z] 22:09:58     INFO -  crate-type                            95
[task 2023-11-13T22:09:58.889Z] 22:09:58     INFO -  -                                      5
[task 2023-11-13T22:09:58.889Z] 22:09:58     INFO -  -E                                     1
[task 2023-11-13T22:09:58.890Z] 22:09:58     INFO -  Cache location                  gcs, name: sccache-l3-us-central1, prefix: /
Flags: needinfo?(jrediger)

Set release status flags based on info from the regressing bug 1860506

The error seems to be this one:

[task 2023-11-13T22:09:58.864Z] 22:09:58     INFO -  test gecko_bindings::structs::root::mozilla::bindgen_test_layout_ProfileChunkedBuffer ... FAILED
[task 2023-11-13T22:09:58.864Z] 22:09:58     INFO -  failures:
[task 2023-11-13T22:09:58.864Z] 22:09:58     INFO -  ---- gecko_bindings::structs::root::mozilla::bindgen_test_layout_ProfileChunkedBuffer stdout ----
[task 2023-11-13T22:09:58.865Z] 22:09:58     INFO -  thread 'gecko_bindings::structs::root::mozilla::bindgen_test_layout_ProfileChunkedBuffer' panicked at /builds/worker/workspace/obj-build/i686-unknown-linux-gnu/release/build/style-ff7ba77694b43d32/out/gecko/structs.rs:27761:13:
[task 2023-11-13T22:09:58.865Z] 22:09:58     INFO -  assertion `left == right` failed: Alignment of ProfileChunkedBuffer
[task 2023-11-13T22:09:58.865Z] 22:09:58     INFO -    left: 4
[task 2023-11-13T22:09:58.865Z] 22:09:58     INFO -   right: 8

That is an entirely different part of the codebase and wasn't touched in my patch. Are you sure nothing else caused this?

Flags: needinfo?(jrediger) → needinfo?(ryanvm)

Indeed, backfills confirm that bug 1862937 was the cause.

Flags: needinfo?(ryanvm) → needinfo?(canaltinova)
Regressed by: 1862937
No longer regressed by: 1860506
Component: General → Gecko Profiler
Product: Firefox Build System → Core

Bindgen tests are failing on linux32 because of the alignment of
ProfileChunkedBuffer. Adding it to the list of opaque types to ignore the
internals of this type.

Assignee: nobody → canaltinova
Status: NEW → ASSIGNED

This looks like a regression from Bug 1862937 indeed. The patch above should fix the bindgen tests.

Flags: needinfo?(canaltinova)
Pushed by canaltinova@gmail.com: https://hg.mozilla.org/integration/autoland/rev/6a41a391cb37 Fix rust bindgen tests on linux32 r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: