Open Bug 1404357 Opened 8 years ago Updated 3 years ago

Local builds sometimes fail due to random network errors (in sccache?)

Categories

(Firefox Build System :: General, defect)

Other Branch
defect

Tracking

(Not tracked)

People

(Reporter: kats, Unassigned)

Details

I sometimes get random local build failures because of network errors. That really shouldn't happen. I'm fairly sure this is from sccache because it only started happening after I enabled sccache. But the output isn't really helpful so it might be something else. Sample run: kats@kgupta-air mozilla-w2$ mach build binaries 0:01.08 /usr/bin/make -C /Users/kats/zspace/mozilla-w2/obj-host-opt -j4 -s backend 0:03.60 /usr/bin/make -j4 -s binaries 0:10.81 Elapsed: 6.65s; From dist/include: Kept 5428 existing; Added/updated 0; Removed 0 files and 0 directories. 0:11.97 force-cargo-library-build 0:24.88 error: Connection to server timed out 0:24.88 make[2]: *** [Unified_cpp_gfx_layers11.o] Error 2 0:24.88 make[1]: *** [gfx/layers/target] Error 2 0:24.88 make[1]: *** Waiting for unfinished jobs....
Also this is intermittent in that if I run the same build command again immediately after it will usually work fine.
Servo is seeing the same symptoms since enabling sccache on our CI build machines.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.