Closed Bug 1726957 Opened 4 years ago Closed 4 years ago

Daily sync errors for android-l10n project

Categories

(Webtools Graveyard :: Pontoon, defect, P2)

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: flod, Unassigned)

Details

Starting August 18, we constantly get Sync errors from android-l10n

! [rejected]            HEAD -> master (fetch first)
error: failed to push some refs to 'git@github.com:mozilla-l10n/android-l10n.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.

My guess is that Pontoon doesn't know how to deal gracefully with two projects working on the same repository, given only Pontoon writes to it these days.

Correct, we have the same problem in l10n-central repos, which is why we exclude those errors from email alerts. We should do the same for the Android errors, but I'm not sure Papertrail search syntax supports that.

The HG error message is verbose enough in the first line to filter out, which is not the case for the GitHub message, and I'm not sure we can filter out messages based on surrounding lines.

--

HG:
Aug 21 09:28:26 mozilla-pontoon app/worker.1 Failed to sync locale el for project seamonkey due to commit error: abort: push creates new remote head ce5b5f67d119!

GitHub:
Aug 21 15:18:12 mozilla-pontoon app/worker.1 Failed to sync locale hu for project focus-for-android due to commit error: To github.com:mozilla-l10n/android-l10n.git

--

We'll likely need to intercept the error message before we log it and modify it accordingly to be able to catch it.

Priority: -- → P2
*This bug has been moved to GitHub.* *Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → MOVED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.