Closed Bug 1685244 Opened 3 years ago Closed 3 years ago

bootstrap-provided sccache version fails with `POST to scheduler assign_job failed` (January 2021 edition)

Categories

(Firefox Build System :: Toolchains, defect)

defect

Tracking

(firefox-esr78 unaffected, firefox84 unaffected, firefox85 unaffected, firefox86 fixed)

RESOLVED FIXED
86 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox84 --- unaffected
firefox85 --- unaffected
firefox86 --- fixed

People

(Reporter: dholbert, Assigned: glandium)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

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

The current bootstrap-provided sccache version (0.2.14, just released in bootstrap today) fails with an issue described at https://github.com/mozilla/sccache/issues/846 , with this repeated error message on the server:

2021-01-06T06:19:41Z WARN  sccache::dist::http::server] Res 3 error: assign job failed, job un-assigned from the server, caused by: POST to scheduler assign_job failed, caused by: https://10.0.0.180:10500/api/v1/distserver/assign_job/0: timed out

This happened before in bug 1665540 / https://github.com/mozilla/sccache/issues/846 and was fixed by a tiny-http update at that point.

I suspect there may have been some problems around that same library-revision pinning, with the 0.2.14 release of sccache.

Flags: needinfo?(mh+mozilla)
Summary: Update in-tree sccache version to pick up fix for `POST to scheduler assign_job failed` (January 2021 edition) → bootstrap-provided sccache version fails with `POST to scheduler assign_job failed` (January 2021 edition)
Flags: needinfo?(mh+mozilla)
Regressed by: 1683824
Has Regression Range: --- → yes

I'm hitting this issue with mozilla-central revision 1e323e0a130c (current tip) and the 0.2.14 version of sccache which it gives me via ./mach bootstrap (via bug 1683824's recent update).

My scheduler, build server, and clients are running up-do-date Ubuntu 20.04.

Bug 1683824 updated to the 0.2.14 tag, but that's patched in order to
publish to crates.io such that tiny-http is not patched anymore.
Unfortunately, that breaks sccache-dist, which is a known issue and will
eventually fixed when addressing
https://github.com/mozilla/sccache/issues/912.
So here we update to a corresponding version on master (the first that
bumps the version to the next number).

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED

Bugbug thinks this bug is a defect, but please change it back in case of error.

Type: task → defect

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

Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a26ac12daeb0
Update sccache to a version with patched tiny-http. r=firefox-build-system-reviewers,mhentges
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: