Closed Bug 1223872 Opened 9 years ago Closed 8 years ago

Single locale release updates should not race each other

Categories

(Release Engineering Graveyard :: Applications: Balrog (backend), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: vjoshi)

References

Details

Attachments

(1 file, 1 obsolete file)

We see a lot of races in funsize similar to this: l) locale A requests data_version 2) locale B requests data_version 3) locale B updates the release blob 4) locale A fails to update the release blob They probably don't update the same data in the blob, so we can probably find a work around for this.
Attached patch balrog_metrics-tools-4.diff (obsolete) (deleted) — Splinter Review
Let's start with some basic request metrics for now. We can walk the TC tasks using the index, fetch their logs, process with something like https://github.com/etsy/logster (would require some custom parser) and submit to graphite.
Attachment #8687173 - Flags: review?(catlee)
Assignee: nobody → rail
BTW, this is an issue for l10n repacks as well know. It's all suddenly started on Tue Nov 3, see https://treeherder.mozilla.org/#/jobs?repo=mozilla-aurora&revision=bc9c6e996006&filter-searchStr=l10n&exclusion_profile=false I wonder if it is somehow related to all recent DB/webhead migrations...
According to the webapp/db PHX1-SCL3 dashboard, aus migrated on Monday, Oct 26
Attached patch balrog_metrics-tools-5.diff (deleted) — Splinter Review
req.elapsed is not that good from what I see. It's usually less than a second while the surrounding log lines are 10-15 secs away. Not sure why, let's go with old school way.
Attachment #8687173 - Attachment is obsolete: true
Attachment #8687173 - Flags: review?(catlee)
Attachment #8687210 - Flags: review?(catlee)
Attachment #8687173 - Attachment is obsolete: false
Attachment #8687210 - Flags: review?(catlee) → review+
Depends on: 1224674
Looks like this is related to the aus migration, which according to the dashboard happened on Oct 26. It starts with the push from 25th (nightly builds on 26th): https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=d53a52b39a95&filter-searchStr=update-%20balrog The whole picture can bee seen at this link: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&filter-searchStr=update-&fromchange=f8283eaf5aad We are interested in jobs ending with "u" (en-USu, 1.1u, 5u, etc) with "HTTP 400" errors in the summary. On Oct 29 we stopped funsize (see https://bugzilla.mozilla.org/show_bug.cgi?id=1219879#c3 and https://bugzilla.mozilla.org/show_bug.cgi?id=1220252#c3) It was turned back on Nov 2, Mon (https://bugzilla.mozilla.org/show_bug.cgi?id=1220857). Nov 2 and 3 were very terrible - tons of balrog submission errors. Sounds like we degraded after the migration, but not sure where: networking, db, TC-to-VPN delays...
Attachment #8687173 - Attachment is obsolete: true
Back to the pool - I don't think that I can look at this until after Mozlando.
Assignee: rail → nobody
Varun is actively working on this!
Assignee: nobody → varunj.1011
Commit pushed to master at https://github.com/mozilla/balrog https://github.com/mozilla/balrog/commit/18047698e064bff5af1459323fe943daf6c5175a bug 1223872: merge blob updates on server when safe to do so (#93). r=bhearsum
(In reply to Nick Thomas [:nthomas] from comment #14) > This is in production I think, but we still hit some issues around > old_data_version. eg over the weekend > > eg > https://treeherder.mozilla.org/#/jobs?repo=mozilla- > central&revision=bbb29a9b88dd680dbb59577cbe4dc6e58d117100&filter- > searchStr=l10n&exclusion_profile=false&selectedJob=4293214 > https://treeherder.mozilla.org/logviewer.html#?job_id=4293214&repo=mozilla- > central#L24037 > > Could you investigate Varun ? Yes, I'm on it!
(In reply to Nick Thomas [:nthomas] from comment #14) > This is in production I think, but we still hit some issues around > old_data_version. eg over the weekend > > eg > https://treeherder.mozilla.org/#/jobs?repo=mozilla- > central&revision=bbb29a9b88dd680dbb59577cbe4dc6e58d117100&filter- > searchStr=l10n&exclusion_profile=false&selectedJob=4293214 > https://treeherder.mozilla.org/logviewer.html#?job_id=4293214&repo=mozilla- > central#L24037 > > Could you investigate Varun ? It's a bit confusing right now actually. CloudOps is running code with this, but we haven't moved admin traffic over to them yet. The WebOps admin box is still running older code, so this is effectively not in production yet. We should be cutting over admin later this week, so hopefully we'll have this in production sometime next week.
That makes more sense. Perhaps we should update the webops admin soon, so that we're not changing hosting and code when we swap over to CloudOps.
This landed in production awhile ago. Thanks Varun!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: