Changes

Jump to: navigation, search

Add to Try Server Automated Testing Support

2,731 bytes added, 19:14, 16 April 2008
Added news and release notes
== People ==
* Armen Zambrano G. (armenzg) #seneca channel
* People from Mozilla helping me: Rob Campbell, Robert Helmer, Ben Hearsum, Robert Sayre, Mike Shaver, Adam Delyea and Dave Humphrey
== News ==
* 16-Apr-2008
** Updated wiki page
** Reftests was not running properly (it timed out - [http://hera.senecac.on.ca:8010/builders/lin-test/builds/42/steps/reftest/logs/stdio stdio] - exit code -1 after 1200secs)
** Changed DISPLAY to :2 and [http://hera.senecac.on.ca:8010/builders/lin-test/builds/45 build 45] shows that we got '''GREEN''' with reftest
** I have to add cronjob to run '''perl processchange.pl''' every 2 mins
** There are 2 linux slaves on vmlinux1.hera
** To upload a patch you must use an LDAP account (I have to investigate this)
* 15-Apr-2008
** '''The try server with unit tests runs properly'''
** Forked on tryserver account, sendchange.cgi and sendchange-ui.pm
** Forked on buildmaster account, processchanges.pl and download.log
** All of the previous files have been copied with suffix '''_test'''
** Created on tryserver and buildmaster the folder '''"patches_test"'''
* 12-Apr-2008
** We can now run the Unit Tests on '''vmlinux1.hera''' which is a virtual machine using the [http://wiki.mozilla.org/ReferencePlatforms/BuildBot#Steps_already_completed_on_the_CentOS_5_Image CentOS 5 image]
** We needed a DISPLAY to display in the unit tests, I set on the steps the value DISPLAY=:0** We needed to start an X server; I found the way to do it was '''startx'''(maybe xstart, not sure), which started the desktop environment. Used '''ps -ef | grep X''' to find out.** There is '''X :0''' (started by root), '''Xvnc :1''' and '''Xvnc :2'''
* 21-Mar-2008
** Access to the [http://hera.senecac.on.ca:8010 waterfall view of Hera's buildbot] and force a build by selecting [http://hera.senecac.on.ca:8010/builders/lin-test lin-test] link that shows you the builder's status
'''NOTE: I did not work on this project for a month but instead I worked on the Cairo project'''
<blockquote>
=== Release Apr. 9th ===
* You can upload a patch through [http://hera.senecac.on.ca/tryserver/cgi-bin/sendchange_test.cgi sendchange_test.cgi]. You can also upload another .mozconfig, which overwrites default .mozconfig. Please specify the proper patch level (we suggest to create diffs from mozilla/ and select 0 as the patch level)
* Wait for a couple of minutes and refresh [http://hera.senecac.on.ca:8010/] until you see your build running
* I would like to show the steps to make everything happen in your machines but I have not setup this server. Assuming we were in the same environment/setup:
<blockquote>
==== Steps ====
How to setup a tryserver ([http://wiki.mozilla.org/Build:TryServer:Installing])<br />
'''Setting up the buildmaster'''
# cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d tryserver mozilla/tools/buildbot-configs/tryserver
# cd tryserver
(This brings '''env.py''', '''tryserver/steps.py''' and '''unittest/steps.py''' with others)
# cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d buildbotcustom mozilla/tools/buildbotcustom
# cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d processor mozilla/webtools/buildbot-try/processchanges.pl
# mv processor/processchanges.pl .
# rm -rf processor
# TBA - IN HERE TO BE ADDED STEP TO CHECK OUT MASTER.CFG
 
</blockquote>
=== Release Apr. 5th ===
* Nothing to release, I have only been able to run build with tests (with warnings) in my designated
BRANCH of slaves
* The form to upload a test to the tests branch has been created
=== Release Mar.21st ===
* Blog post about setting the automated tests on Hera - [http://armenzg.blogspot.com/2008/03/armenzg-sess16-automated-testing-on.html armenzg: Sess16 - Automated testing on Hera]
* The files that have been modified in Hera are: master.cfg (to add the steps to do the tests), mozbuild.py(contains classes that group few steps into one and does more intelligent steps), mozconfig-linux-tests(which contains the .mozconfig for the lin-test builder) and env.py (which contains MozEnvironments['centos'] environment variables)
* Read about some errors encountered in the NEWS section in this page
 
=== 0.5 release ===
This release was meant to just allow buildbot to run tests steps after a build. In Hera should do the same and also allow the "try-server" way.
1
edit

Navigation menu