Sheriffing@Mozilla – Sheriffing and Backouts
April 3rd, 2017 by cbookHi,
Keeping the code trees [1] green (meaning free of build or test failures,
regressions, and minimizing intermittent test failures) is the daily
goal of sheriffing.
In order to reach this goal, this means we sometimes have to back out (revert)
changes made by developers. While this is a part of our job, we don’t do
it easily or without reason.
Backouts happen mostly for:
-> Bustage (i.e. Firefox no longer
successfully builds)
-> Test failures caused by a specific change
-> Issues reported by the community, like startup crashes or severe
regressions (these backouts often lead to new nightly builds being
created as well)
-> Performance regressions or memory leaks
-> Issues that block merges like merge-conflicts (like for a mozilla-inbound to mozilla-central merge)
For our primary integration repositories (where our developers land most
their changes), our workflow depends on which repository the problem is
on.
Mozilla-Inbound
-> Close Mozilla-Inbound if needed (preventing
developers from landing any further changes until the problem is
resolved)
-> Try to notify the responsible developer so that they
are aware of the problem caused by their patch
-> If possible, we
accept follow-up patches to fix the problem. This allows us to fail
forward and avoid running extra jobs that require more CPU time and
therefore increase costs.
-> If we don’t get response from the developer within a short
timeframe like 5 minutes, we back out the change and comment in the
bug with a reason for the backout (for example, including a link to the
failure log) and a needinfo to the assigne, to make sure the bug don’t get lost.
Autoland
-> Changesets that cause problems are backed out immediately –
no follow-ups as described above are possible (only the sheriffs can push manually to
autoland)
In any case, backouts are never meant to be personal and it’s part of
our job to try our best to keep our trees open for developers. We also
try to provide as much information as possible in the bug for why we
backed out a change.
Of course, we also make mistakes and it could be that we backed out
changesets that were innocent (like in a case where its not 100% clear
what caused the problem), but we try our best.
If you feedback or ideas how we can make things better, let me know.
Cheers,
– Tomcat
[1] Trees: The tree contains the source code as well as the code required to build each project on supported platforms (Linux, Windows, macOS, etc) and tests for various areas. Sheriffs take care of Firefox Code Trees like mozilla-central, mozilla-inbound, autoland, mozilla-aurora, mozilla-beta and mozilla-esr45/52 – our primary tool is treeherder and can be found here
March 10th, 2024 at 8:56 am
Best regards.
Vatican Food Waste
March 21st, 2024 at 9:50 am
Moneygurusite is your go-to resource for expert financial advice, smart money management tips, and savvy investment strategies to help you achieve your financial goals. Visit…https://moneygurusite.net/
April 25th, 2024 at 5:37 am
Vaughn Millerr
I found a great…
May 5th, 2024 at 5:39 am
Hmm is anyone else experiencing problems with the images on this blog loading? I’m trying to determine if its a problem on my end or if it’s the blog. Any suggestions would be greatly appreciated.
https://controlc.com/e10cc7cc
May 15th, 2024 at 10:40 pm
Nice info.
May 28th, 2024 at 2:00 am
Chacune conversation avec les sex a angers françaises en ligne est une seule chance d’se cultiver et de évoluer. Leur cervelle et leur perspicacité stimulent l’intellect et soutiennent l’esprit.
July 17th, 2024 at 10:22 pm
Hi, I am Nisha Bhat Model Girl From Chandigarh at Nisha Bhat Agency.
August 6th, 2024 at 11:12 pm
wow, great post. it gave me a lot of useful information. I look forward to your next posts.
September 9th, 2024 at 6:02 am
Best Blog
September 14th, 2024 at 6:07 pm
Private Proxies
I found a great…
September 30th, 2024 at 11:51 pm
Telegram中文版下载 provides a great platform for communities like Mozilla’s sheriffing team to coordinate and stay updated in real-time. Ensuring code stability through rollback processes, as mentioned in this article, could be seamlessly communicated via Telegram’s channels or groups, helping developers react faster to issues. It’s essential to maintain clear communication channels when dealing with build failures or regressions, and Telegram’s notification system could be a game-changer for such critical tasks.
September 30th, 2024 at 11:53 pm
Telegram中文 helps maintain rapid communication during critical situations like those Mozilla’s sheriffing team faces when encountering build failures or performance regressions. With its group chat capabilities, team members can instantly collaborate, ensuring that problems like memory leaks or merge conflicts are addressed swiftly. In a fast-paced development environment, tools like Telegram enhance teamwork and quick decision-making processes essential for keeping the code tree green.
October 7th, 2024 at 3:59 am
Hi, I am Nisha Bhat Model Girl From Mohali at Nisha Bhat Agency.
October 15th, 2024 at 11:43 pm
Great, Thanks for discussing