Closed Bug 1798779 Opened 3 years ago Closed 3 years ago

Intermittent sccache: error: couldn't connect to server

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox108 fixed)

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1798660 +++

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


[task 2022-11-02T10:36:14.354Z] 10:36:14     INFO -  Cache location                  GCS, bucket: Bucket(name=sccache-l3-us-central1), key_prefix: (none)
[task 2022-11-02T10:36:14.355Z] 10:36:14     INFO -  gmake: *** [client.mk:63: build] Error 2
[task 2022-11-02T10:36:14.355Z] 10:36:14     INFO -  # Terminate sccache server. This prints sccache stats.
[task 2022-11-02T10:36:14.355Z] 10:36:14     INFO -  /builds/worker/fetches/sccache/sccache --stop-server
[task 2022-11-02T10:36:14.355Z] 10:36:14     INFO -  Stopping sccache server...
[task 2022-11-02T10:36:14.355Z] 10:36:14    ERROR -  sccache: error: couldn't connect to server
[task 2022-11-02T10:36:14.355Z] 10:36:14     INFO -  sccache: caused by: Connection refused (os error 111)
[task 2022-11-02T10:36:14.355Z] 10:36:14     INFO -  gmake: [client.mk:71: build] Error 2 (ignored)
[task 2022-11-02T10:36:14.374Z] 10:36:14     INFO -  538 compiler warnings present.
[task 2022-11-02T10:36:14.737Z] 10:36:14    ERROR - Return code: 2
[task 2022-11-02T10:36:14.737Z] 10:36:14  WARNING - setting return code to 2
[task 2022-11-02T10:36:14.737Z] 10:36:14    FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2022-11-02T10:36:14.737Z] 10:36:14    FATAL - Running post_fatal callback...
[task 2022-11-02T10:36:14.737Z] 10:36:14    FATAL - Exiting -1
No longer depends on: 1798660

Since bug 1784179, we make make keep going after errors. When an error
happens, make stops rules at the command that fails, but if there are
multiple double-colon rules for the same target, it still runs the
remaining rules, which has undesirable side effects in client.mk: it
stops an already stopped sccache, which leaves an error in the log.

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/78d09f1a2da3 Stop using double-colon rules in client.mk. r=firefox-build-system-reviewers,nalexander
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Regressions: 1802075
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: