You are currently browsing the archives for the Mozilla category.

Setting descriptions to avoid buildbot exceptions from doStepIf

Posted 1 month, 2 weeks ago at 10:38. 0 comments

NutA small caveat (and workaround) if you’re using doStepIf with buildbot:

The Mozilla RelEng team recently upgraded to buildbot 0.8.0. This has allowed me to start using conditional buildbot steps by specifying the doStepIf parameter and a small helper function to check whether given properties have been set. I love it, and it opens up a whole new ways of working with our builds.

Unfortunately, the doStepIf implementation is new-ish and still broken in some ways. If steps are skipped, the finished() code is called without start() ever having been run, leaving you with potentially uninitialized variables. In my case, this manifests if I don’t specify a description for my conditional build step. Buildbot attempts to build a description for me by walking the properties, some of which may not be set if doStepIf is false.

The workaround is, of course, to always provide a description for any conditional build steps (easy), or wrap everything in a try block.

Current Tunes: Above and Beyond - Trance Around The World 329 - Boom Jinx - 2010-07-16 | Filed under Build/Release, Mozilla, Software

Reclaiming space on stage.mozilla.org – space reclaimed!

Posted 1 month, 2 weeks ago at 12:26. 0 comments

Firefox on the moonI posted this followup to the newsgroups a few weeks back, but things got kinda hectic with the end of quarter and the Summit so I never circled back here.

The cleanup crontabs for all products are in place on stage.mozilla.org now. We did see a little bit of bustage with the initial set of MAR expiry commands being improperly limited, but luckily KaiRo didn’t lose anything irreplaceable.

We didn’t reclaim as much space as originally estimated because we preserved the contrib dirs largely intact. We did still manage to recover almost 350G of space across all products, bringing our %used number on stage down to 79%. It was at 95% the day before we put these crontabs in place.

I’ve documented the new policy in the wiki: ReleaseEngineering:StageCleanupPolicy

We’ll still have to grow the disk eventually, or shuffle stuff around, but at least we have *something* in place policy-wise now.

Thanks to everyone who weighed-in on this longstanding issue.

Current Tunes: Jaytech Music Podcast 031 | Filed under Build/Release, Mozilla

How to make your own updates

Posted 3 months, 2 weeks ago at 15:15. 0 comments

mixing bowlAnother positive outcome from the recent work to generate nightly updates on the buildslaves is that we now have update generation tools that work on Linux, Mac, and Windows. There been some interest in the past from other software projects about using our update tools, but I know that getting all of the mozilla source setup to build just these tools is non-trivial, especially if your software isn’t Mozilla-based to begin with.

I’ve packaged up the update tools for each platform from a recent mozilla-central nightly and put them under the xulrunner directory on ftp:

I’ve also updated our wiki documentation about how we make our nightly updates for Firefox to give people a fighting chance of figuring out how to use these tools for their own purposes.

Enjoy!

Current Tunes: Radiohead - Everything In It's Wrong Place (remix) | Filed under Build/Release, Firefox, Mozilla

Reclaiming space on stage.mozilla.org

Posted 3 months, 3 weeks ago at 22:30. 4 comments

Firefox on the moonFor those who want to skip to my specific proposals — there are 6 — for reclaiming space on stage.mozilla.org, please skip ahead to “Redux”, but if you’re going to comment, please read the whole thing.

Everyday we produce up to 17G worth of new nightly builds for Firefox across all branches. This includes all opt+debug builds in 75+ locales, each on 4 operating systems (OSes), each on 9 different project branches. We do reclaim much of this 17G as we retire l10n builds older than 1 week, but we are still creating 1.3G of new nightly en-US builds that we need to store (essentially) indefinitely. nthomas did some cleanup recently as part of bug 562261 and that has bought us some more time, but this inexorable increase will eventually overrun our disk capacity on the staging server. If we add to this disk usage by nightlies from other products which may have worse nightly hygiene habits and the expected increase in space requirements every night as we add 4 new OSes (adding Linux 64bit, Windows 64bit, OSX10.6 64bit and Android), the problem is magnified.
Continue Reading…

Current Tunes: Violent Femmes - American Music | Filed under Build/Release, Firefox, Mozilla

Timely nightly updates for mozilla-central l10n

Posted 5 months ago at 02:46. 4 comments

stock tickerI landed a patch last week that represents the culmination of several months worth of effort by me, but that also brings to fruition the full promise of l10n nightly updates, work that was begun by Armen almost a year ago.
Continue Reading…

Current Tunes: The Gareth Emery Podcast - Episode 100 (Part 2) | Filed under Build/Release, Mozilla, l10n

On 1-on-1s

Posted 5 months, 3 weeks ago at 17:19. 1 comment

Jordan vs. Bird: One on OneA few weeks ago, dria blogged about the format she had adopted for conducting 1-on-1 meetings with her manager. As a nascent manager myself, I had been struggling to come up with a better framework for my own meetings. I ran dria’s chosen format by Armen and he was supportive, so for the past two weeks we’ve been giving it a try.

The new meeting format is working pretty well for us so far. Here are some of the key things I like about it:

  • The framework makes it easy to decide when in the meeting to discuss which issues. The project-based agenda I used previously tended to encourage digression, but that’s kept to a minimum now. Certain meeting sections are pure reporting (e.g. accomplishments) and others are meant for discussion (e.g. blockers).
  • It puts an onus on both parties to be prepared. Armen sends his notes to me the night before so I always have a chance to prepare help/advice beforehand.
  • The video chat is great as a remotie. Armen has an office he can go in to in Toronto, but I have no such luxury. Having these meetings “face-to-face” (i.e. Skype) is a big win, at least for me. Non-verbal communication can help us move faster through the agenda at times. Conversely, it can also allow me to pick up on signs that something may be amiss. Both functions are invaluable.

Our success with the format has encouraged me to push the format back up the chain: John and I are going to try the format next week for our 1-on-1.

Current Tunes: The Gareth Emery Podcast - Episode 99 | Filed under Management, Mozilla

GrowReviewComment

Posted 6 months, 1 week ago at 18:29. 2 comments

This has been a pet peeve of mine for a while. Assuming you’re not editing the attachment as a comment, Bugzilla gives you a very small window in which to leave a comment when reviewing a patch: the textarea is 5 rows high and only 25 columns wide by default. I’ve found it hard to add coherent commentary in a box that small, and my efforts almost always come out poorly formatted because I just can’t tell how the text is wrapping.

I whipped up a dead-simple greasemonkey script today that increases the size of the comment box when you click on it, and then shrinks it back down again when you click elsewhere.

Current Tunes: The Gareth Emery Podcast - Episode 98 | Filed under Mozilla

Kiss the Future goodbye

Posted 6 months, 3 weeks ago at 19:49. 1 comment

Flaming tire tracksLet it never be said that we don’t listen.

In response to the comments on my previous entry about Tackling the Release Engineering:Future queue and a number of conversations I’ve had out-of-band over the past few months, the release engineering team has decided to do away with the Future component. We will be merging all of the bugs therein back into the regular Release Engineering component.

Aside from the simplicity inherent in having fewer components to worry about, there were three main reasons we chose to do this: Continue Reading…

Current Tunes: New Order - Blue Monday | Filed under Build/Release, Mozilla

Tackling the Release Engineering:Future queue

Posted 6 months, 3 weeks ago at 17:22. 4 comments

Bart falls down a well.The Release Engineering:Future bugzilla component alternately inspires feelings of sadness, loathing, and contempt…and that’s just within the RelEng team!

I’m certain most developers first response to having their bug moved to the Future queue is, “Oh, look, my bug has fallen down a well.” Historically speaking, that may not be far from the truth.
Continue Reading…

Current Tunes: Above and Beyond - Trance Around The World 306 - Andy Moor - 2010-02-05 | Filed under Build/Release, Mozilla

All about the RelEng sheriff, revisited

Posted 7 months ago at 15:37. 0 comments

Sheriff badgeThis is a follow-up to Ben’s blog post about the RelEng Sheriff back in October. His post described clearly what the RelEng Sheriff (and more generally, the RelEng team) can do to help developers.

Since we implemented the RelEng sheriff (or “buildduty” as it is more informally called) last spring, developers have been getting better about using the buildduty person as the first point of contact for RelEng issues. I’d like to implore people to continue doing so. There are a few exceptions, of course:
Continue Reading…

Current Tunes: The Gareth Emery Podcast - Episode 96 | Filed under Build/Release, Mozilla