How to start a blog post to convey so many things that are happening to me?
As many of you know, I am doing an internship with Mozilla Corporation who they deliver to the world an internet browser called Mozilla Firefox. This company is owned by Mozilla Foundation which is a non-profit organization, therefore, the desires of the companies are after creating an open web by being themselves open and allowing the source code they use to generate the browser (I say "the" instead of "their" since the code is owned by no one).
Introduction made, I will center on what I have done in my first week (non technical events)
When I arrived I was received by Gary (originator of Rumbling Edge) the first interim they had this year who came to pick me up with the car and move with me to the Oakwood Aparments in Mountain View (part of San Jose) close to the Mozilla Headquartes (if you look at this map I sit on the second floor exactly around where the RED PIN is)
After that he decided to take me to Mountain Hamilton where the Lick Observatory is. Gary is a person who loves nature and likes to make the people feel welcome, a really interesting person to meet for his unique involvement with the Mozilla Community.
Next day before going to the office, he decided to go and buy a cup for his brother to the "The Company Store" which some of you might know that is in One Infinte Loop (I am sorry Huanlu, you have to take it how it comes) which is part of the Apple's Headquartes. The store looks like a cloth stoe as Zara but with iPhones and iPods instead.
And finally I will be really happy to receive Lukas Blakk (Source Server Symbol) and Cesar Oliveira (Active Directory) who are also Seneca students as me part of Dave Humphrey's open source children. We also have around here, Anthony Hughes (interim of SongBird) which we will be visiting n San Francisco.
I am working in a really cool and heavy into details project under the mentoring of John O'Duinn who is the manager of the release team. He also got a good MacBook Pro for all my hacking and honestly I really appreciate speciall since my laptop is giving too many problems and the humongous screen that they got me is good since my eyes are like my grandma's
Anyways, more to come by the end of the summer... :)
This blog mainly contains posts about Mozilla release engineering projects that I am working on and some personal insights.
Thursday, May 01, 2008
Saturday, April 19, 2008
armenzg: Hera Try Server Unit Tests status
The Mozilla@Seneca Hera Try Server has been able to run Unit Tests after uploading a patch during this week!
This is basically what it does:
This is basically what it does:
- Upload a patch through thos form sendchange_test.cgi (You need credentials)
- The processchanges_test.pl in the build master checks the folder on the try server where the patch are and see if there is any one new. Right not it checks every 1 or 2mins but we will change this to incron (Upon new file creation - This means immediate response)
- The perl script copies all new patches locally and sends the buildbot a message "builbot sendchange"
- This triggers the buildbot to make the "tests" branch to get started
- It applies the patch to the latest source code, it builds, it uploads the build back to the try server through SCP and SSH (this allows the developer to download it) and it runs all 6 unit test suites against that build
Left to be done:
- Add incron for the processchanges_test.pl to run
- Put the waterfall view behind some security measures (We don't want random people to just "force builds" and loose CPU while we want identified users to be able to)
- Add ssh key pairs for the mac and the windows machine
- Create the slave on the windows machine
- Once done, clone all linux machines and the windows machines
- Modify the sendchange_test.cgi file to identify the user who uploaded the patch (right now, every patch says to be uploaded by "armenzg")
- Unify the sendchange_test.cgi form to allow users to upload patches and just get builds without "tests"
- It will be nice to notify the user when the builds are done OR when the unit tests are run (I do not know how)
Another idea - Regionalized builds
I believe that it would be a good project to allow the Hera server to spit back a regionalised build, using Rueen auto-localization tool. This obviously requires more research, but I believe it is viable project to try.
This post could have been much more technical and longer but I decided to KISS since I won't have time to spend time documenting until Tuesday or Wednesday.
Friday, April 04, 2008
armenzg: Where do I display the unit tests?
Unfortunately for me, the major system that I am implementing this semester has drained too many hours (~150hours accumulated) and that for being a SINGLE course is way too much. You can tell of this because the quantity of work I have generate for each release of my Mozilla project (integrate unit tests to Seneca's try server) is a one day worth of research and work. I expect that after this coming Wednesday (final run) I could rest of that project and dedicate myself to my Mozilla project and my upcoming exams.
For this release I will mention what I have tried and found out. Two major things that I have been working on and have to get done/fixed:
For this release I will mention what I have tried and found out. Two major things that I have been working on and have to get done/fixed:
- The unit tests need a DISPLAY in which to show up. I tried to see what is going in the slaves and I have to do one of two things "get someone
with root access hat'll start upto either set it to boot to runlevel 5, or do init 5 after it boots and t the desktop and " OR "lookyou'll be able to log in via vmware console up an Xvnc tutorial " (thanks a lot to rhelmer and I wish you the best!)and figure it out (does not require root access :) ) - Through "Seneca Buildbot Try Server - Unit Tests enabled (soon)"(for security reasons it needs credentials - Look at the screenshot) you will be able to upload a patch and will run the unit tests but for now I will have to see if the perl script is properly set up. So far I know that I can submit patches to the folder "patches" in the try server. This will have to be retrieved by the buildslave to apply it to the latest source code.
Subscribe to:
Posts (Atom)