Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily sync errors for android-l10n project #1316

Open
mathjazz opened this issue Aug 21, 2021 · 1 comment
Open

Daily sync errors for android-l10n project #1316

mathjazz opened this issue Aug 21, 2021 · 1 comment
Labels

Comments

@mathjazz
Copy link
Owner

This issue was created automatically by a script.

Bug 1726957

Bug Reporter: @flodolo
CC: @mathjazz

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

! [rejected]            HEAD -> master (fetch first)
error: failed to push some refs to '[email protected]: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.

@mathjazz
Copy link
Owner Author

Comment Author: @mathjazz

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant