Closed
Bug 1296091
Opened 10 years ago
Closed 10 years ago
fx-team missing a push (876756efc390)
Categories
(Tree Management :: Treeherder: Data Ingestion, defect)
Tree Management
Treeherder: Data Ingestion
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aryx, Assigned: camd)
References
Details
https://treeherder.mozilla.org/#/jobs?repo=fx-team is missing http://hg.mozilla.org/integration/fx-team/rev/876756efc390
Closed all tree except Try until we know what's affected.
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
Updated•10 years ago
|
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
| Comment hidden (obsolete) |
Comment 5•10 years ago
|
||
The servers are each advertising the pushlog through the JSON endpoint:
$ ansible -i ansible/hosts hgweb-prod -a 'curl -s http://localhost/integration/fx-team/json-pushes?changeset=876756efc390&version=2'
hgweb12.dmz.scl3.mozilla.com | success | rc=0 >>
{
"lastpushid": 20332,
"pushes": {"20332": {"changesets": ["876756efc390115f1fde3b23e8369edd95eda403"], "date": 1471465400, "user": "rjesup@wgate.com"}}
}
hgweb13.dmz.scl3.mozilla.com | success | rc=0 >>
{
"lastpushid": 20332,
"pushes": {"20332": {"changesets": ["876756efc390115f1fde3b23e8369edd95eda403"], "date": 1471465400, "user": "rjesup@wgate.com"}}
}
hgweb14.dmz.scl3.mozilla.com | success | rc=0 >>
{
"lastpushid": 20332,
"pushes": {"20332": {"changesets": ["876756efc390115f1fde3b23e8369edd95eda403"], "date": 1471465400, "user": "rjesup@wgate.com"}}
}
hgweb11.dmz.scl3.mozilla.com | success | rc=0 >>
{
"lastpushid": 20332,
"pushes": {"20332": {"changesets": ["876756efc390115f1fde3b23e8369edd95eda403"], "date": 1471465400, "user": "rjesup@wgate.com"}}
}
If you see something different, there's likely a HTTP cache interfering. We shouldn't have caching enabled on the server-side of hg.mozilla.org.
Comment 6•10 years ago
|
||
Ok, we'll look more on the Treeherder side.
Cameron, I don't suppose you could take a look, since I'm heading to bed soon? There are no errors in New Relic, no errors or useful info in the logs on th-prod-etl[12]. I'm guessing either:
(a) the push was semi-ingested but stuck as hidden like happened that previous time
(b) it hasn't been ingested at all, but for some reason memcached was updated with last push ID (so a memcached clear would help, since it would fall back to ingestion the last 10 pushes for that repo)
Sebastian, this seems localised to fx-team, so please can you can reopen the other trees in the meantime?
Thanks :-)
Component: Mercurial: hg.mozilla.org → Treeherder: Data Ingestion
Flags: needinfo?(cdawson)
Flags: needinfo?(aryx.bugmail)
Product: Developer Services → Tree Management
QA Contact: hwine
Summary: JSON pushlog for fx-team missing a push (876756efc390) → fx-team missing a push (876756efc390)
Version: unspecified → ---
| Assignee | ||
Comment 7•10 years ago
|
||
Hmm, so the push DID make it into Treeherder, but was never updated correctly with its push_timestamp and author. So it's out of order:
https://treeherder.mozilla.org/#/jobs?repo=fx-team&revision=876756efc390
I'm looking into what may have caused this...
Flags: needinfo?(cdawson)
| Assignee | ||
Comment 8•10 years ago
|
||
So a query across all repos shows this happened once on fx-team, once on gaia, and 5 times on try since the beginning of june. People may not have noticed it on try, since they get a direct link to their push, rather than looking at them sorted by push_timestamp.
P.S. - There was a slew of these last May due to a Treeherder bug that was fixed:
https://github.com/mozilla/treeherder/commit/3642e03307428ef92ce665d267cbc144fdb61d09
I'm investigating how this could have happened now.
Comment 9•10 years ago
|
||
If the underlying cause is a race condition in hg.mozilla.org, the 5 occurrences on Try wouldn't surprise me: the replication/consistency window of that repo generally isn't as small as other repos.
FWIW, I recommend consumers wanting to know when pushes happen should be looking at pulse. That is faster and lighter weight than polling and doesn't suffer from data consistency issues on hg.mozilla.org.
| Assignee | ||
Comment 10•10 years ago
|
||
GPS - Yeah, I think this is a race condition. Treeherder.allizom.org shows the push as it should be. FWIW: we should be moving treeherder to using your hg pulse exchange by end of quarter.
We DO explicitly attempt to handle this type of race condition, though. But apparently not well enough.
| Assignee | ||
Comment 11•10 years ago
|
||
I have fixed the bad occurrance in the DB for that push in fx-team. I think you can reopen the fx-team tree now. I will continue to investigate the underlying issue, but this has been extremely rare thus far.
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → cdawson
I've reopened fx-team.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(aryx.bugmail)
You need to log in
before you can comment on or make changes to this bug.
Description
•