hgweb private mirrors not receiving any traffic
Categories
(Firefox Build System :: Task Configuration, defect)
Tracking
(firefox72 fixed)
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: sheehan, Assigned: sheehan)
References
Details
Attachments
(1 file)
I just noticed the private hgweb mirrors haven't been receiving any traffic for a few days. Scanning some logs, it looks like the change to TASKCLUSTER_WORKER_LOCATION
environment variable was made and run-task
was not updated accordingly.
I'll need to make some changes to run-task
to take the new environment variable into account.
Assignee | ||
Comment 1•6 years ago
|
||
Previously we inspected the TASKCLUSTER_WORKER_GROUP
environment variable,
which now only returns the cloud provider of the worker. This commit teaches
run-task
to instead use the TASKCLUSTER_WORKER_LOCATION
to gather
information about the location of the worker. We also use the extra data
about the cloud provider for the worker to construct a key for use in the
config, in the form cloudprovider/region
, so GCP hgweb mirrors can be
amended to the hgmointernal
config when they are ready.
While we're here we make the error handling for a missing environment
variable slightly nicer.
![]() |
||
Comment 3•6 years ago
|
||
bugherder |
Comment 4•6 years ago
|
||
Based on the RFC, the only key that is guaranteed to be present is cloud
, and that the rest are dependent on that value. I'm not sure how the various non gcp/aws workers are configured to report, currently.
![]() |
||
Comment 5•6 years ago
|
||
Backed out changeset efb782988830 (Bug 1596479) for wrench bustage (KeyError: 'region').
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=277254917&repo=autoland&lineNumber=32
Assignee | ||
Comment 8•6 years ago
|
||
Thanks for the backout - it seems I misunderstood the JSON structure as Tom predicted in comment 4. I'll fix this up today.
Comment 9•6 years ago
|
||
(In reply to Connor Sheehan [:sheehan] from comment #8)
Thanks for the backout - it seems I misunderstood the JSON structure as Tom predicted in comment 4. I'll fix this up today.
Not so much as predicted, but diagnosed after seeing the failure and suggesting a backout.
![]() |
||
Comment 10•6 years ago
|
||
Backout merged https://hg.mozilla.org/mozilla-central/rev/a1338baeaa0a
Comment 11•6 years ago
|
||
![]() |
||
Comment 12•6 years ago
|
||
bugherder |
Description
•