Difference between revisions of "Add to Try Server Automated Testing Support"

From CDOT Wiki
Jump to: navigation, search
m (Added latest news)
(Added release notes and updated tasks table)
Line 9: Line 9:
 
* People from Mozilla helping me: Rob Campbell, Robert Helmer, Ben Hearsum, Robert Sayre, Mike Shaver, Adam Delyea and Dave Humphrey
 
* People from Mozilla helping me: Rob Campbell, Robert Helmer, Ben Hearsum, Robert Sayre, Mike Shaver, Adam Delyea and Dave Humphrey
  
 +
== News ==
  
== News ==
 
 
* 29-Jan-2008
 
* 29-Jan-2008
 
** SERVER NEWS: The main OS (CentOS 5.1 and Windows 2003 Server) are installed. Once they are configured we will duplicate them to the rest of the nodes.
 
** SERVER NEWS: The main OS (CentOS 5.1 and Windows 2003 Server) are installed. Once they are configured we will duplicate them to the rest of the nodes.
Line 16: Line 16:
 
** I have added a repository [http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/automated-testing/ svn:Seneca Hera Try Server - automated-testing integration] an I am modifying the master.cfg file to meet the purposes; It is based on [http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/testing/unittest/ buildbot-configs/testing/unittest/]
 
** I have added a repository [http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/automated-testing/ svn:Seneca Hera Try Server - automated-testing integration] an I am modifying the master.cfg file to meet the purposes; It is based on [http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/testing/unittest/ buildbot-configs/testing/unittest/]
 
** I might set up this Saturday my own try server at home
 
** I might set up this Saturday my own try server at home
 +
[[Image:Browsing mozbuild(py).jpeg|thumb|mozbuild.py and the test suites classes defined]]
 
* 18-Jan-2008
 
* 18-Jan-2008
 
** We are waiting for the Buildbot Farm to be set up at Seneca
 
** We are waiting for the Buildbot Farm to be set up at Seneca
Line 21: Line 22:
 
** Read Buildbot manual, discovered that I have to write some Build Steps but there's some configuration done by the community (check links section)
 
** Read Buildbot manual, discovered that I have to write some Build Steps but there's some configuration done by the community (check links section)
  
== Links ==
 
{|
 
|-
 
|class="header"|heading 1
 
|class="header"|heading 2
 
|-
 
| Buildbot configuration (1) for Unit Testing (check master.cfg file)
 
| http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/testing/unittest/
 
|-
 
| Buildbot configuration (2) for a Tryserver (check master.cfg file)
 
| http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/tryserver/
 
|-
 
|
 
|
 
|-
 
|
 
|
 
  
|-
+
== 0.5 release ==
| Building Mozilla with Buildbot
+
* You can see which tasks get done at the bottom of this page
| http://zenit.senecac.on.ca/wiki/index.php/Building_Mozilla_with_Buildbot
+
* I will add the instructions on how to set up a Buildbot try server when I do it at my house
|-
+
* The image on the side shows the classes that are defined in the [http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/automated-testing/mozbuild.py mozbuild.py] which are later on used as Buildsteps on the [http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/automated-testing/master.cfg master.cfg] file
|}
 
  
  
Line 49: Line 32:
 
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 
     <th style="width: 15%;">Task</th>
 
     <th style="width: 15%;">Task</th>
     <th style="width: 35%>Details</th>
+
     <th style="width: 42%>Details</th>
 
     <th style="width: 5%;">Priority</th>
 
     <th style="width: 5%;">Priority</th>
     <th style="width: 5%;">Contributors</th>
+
     <th style="width: 5%;">Status</th>
    <th style="width: 10%;">Status</th>
+
     <th style="width: 8%;">Target</th>
     <th style="width: 5%;">Target</th>
+
     <th style="width: 25%;">Link(s)</th>
     <th style="width: 5%;">Completed</th>
 
    <th style="width: 20%;">Link(s)</th>
 
  
 
     <tr>
 
     <tr>
Line 61: Line 42:
 
         <td>Learn how to run Tunits (make check or xpcshell-base tests) and explained them</td>
 
         <td>Learn how to run Tunits (make check or xpcshell-base tests) and explained them</td>
 
         <td style="background-color: Orange; text-align: center; font-weight: bold; font-size: bigger">Med</td>
 
         <td style="background-color: Orange; text-align: center; font-weight: bold; font-size: bigger">Med</td>
         <td style="background-color: White; text-align: center;">armenzg</td>
+
         <td style="background-color: Green; text-align: center; font-weight: bold;">DONE</td>
        <td style="background-color: Green; text-align: center;">Done</td>
+
         <td style="background-color: YellowGreen; text-align: center; font-weight: bold;">0.4 rel.</td>
         <td style="background-color: YellowGreen; text-align: center; font-weight: bold;">0.4 rel. week</td>
 
        <td>01/13/08</td>
 
 
         <td>[http://armenzg.blogspot.com/2008/01/sess5-xpcshell-based-unit-tests-tunits.html (armenzg's post) Xpcshell based uni tests]</td>
 
         <td>[http://armenzg.blogspot.com/2008/01/sess5-xpcshell-based-unit-tests-tunits.html (armenzg's post) Xpcshell based uni tests]</td>
 
     </tr>
 
     </tr>
Line 71: Line 50:
 
         <td>Learn how to run mochitests and explain them</td>
 
         <td>Learn how to run mochitests and explain them</td>
 
         <td style="background-color: Orange; text-align: center; font-weight: bold; font-size: bigger">Med</td>
 
         <td style="background-color: Orange; text-align: center; font-weight: bold; font-size: bigger">Med</td>
         <td style="background-color: White; text-align: center;">armenzg</td>
+
         <td style="background-color: Green; text-align: center; font-weight: bold;">DONE</td>
         <td style="background-color: Green; text-align: center;">Done</td>
+
         <td style="background-color: YellowGreen; text-align: center; font-weight: bold;">0.4 rel.</td>
        <td>0.4 release week</td>
 
        <td>&nbsp;</td>
 
 
         <td>No post yet but have run them</td>
 
         <td>No post yet but have run them</td>
 
     </tr>
 
     </tr>
Line 80: Line 57:
 
         <td>Buildbot Manual</td>
 
         <td>Buildbot Manual</td>
 
         <td>Learn basics of Buildbot that apply to this project</td>
 
         <td>Learn basics of Buildbot that apply to this project</td>
         <td style="background-color: White; text-align: center;">Med</td>
+
         <td style="background-color: Orange; text-align: center; font-weight: bold; font-size: bigger">Med</td>
        <td style="background-color: White; text-align: center;">armenzg</td>
+
         <td style="background-color: Green; text-align: center; font-weight: bold;">DONE</td>
         <td style="background-color: Green; text-align: center;">Done</td>
+
         <td style="background-color: YellowGreen; text-align: center; font-weight: bold;">0.4 rel.</td>
         <td style="background-color: YellowGreen; text-align: center; font-weight: bold;">01/18/08</td>
 
        <td>&nbsp;</td>
 
 
         <td>No post - [http://buildbot.sourceforge.net/manual-0.7.5.html Buildbot Manual]</td>
 
         <td>No post - [http://buildbot.sourceforge.net/manual-0.7.5.html Buildbot Manual]</td>
 
     </tr>
 
     </tr>
Line 90: Line 65:
 
         <td>Analize Master.cfg file</td>
 
         <td>Analize Master.cfg file</td>
 
         <td>Try to see what is already written about Buildsteps relating Unit Testing</td>
 
         <td>Try to see what is already written about Buildsteps relating Unit Testing</td>
         <td style="background-color: White; text-align: center;">Med</td>
+
         <td style="background-color: Orange; text-align: center; font-weight: bold; font-size: bigger">Med</td>
         <td style="background-color: White; text-align: center;">armenzg</td>
+
         <td style="background-color: Green; text-align: center; font-weight: bold;">Ongoing</td>
         <td>&nbsp;</td>
+
         <td style="background-color: YellowGreen; text-align: center; font-weight: bold;">N/A</td>
        <td>&nbsp;</td>
 
        <td>Ongoing</td>
 
 
         <td>No post - [http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/testing/unittest/ buildbot-configs/testing/unittest/]</td>
 
         <td>No post - [http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/testing/unittest/ buildbot-configs/testing/unittest/]</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Try server set up at home</td><!-- TASK -->
 +
        <td>&nbsp;</td><!-- DETAILS -->
 +
        <td style="background-color: Orange; text-align: center; font-weight: bold; font-size: bigger">&nbsp;</td><!-- Priority-->
 +
        <td style="background-color: White; text-align: center; font-weight: bold;">TBA</td><!-- Status-->
 +
        <td style="background-color: YellowGreen; text-align: center; font-weight: bold;">0.5 rel. + 1 day</td><!-- For which release-->
 +
        <td>&nbsp;</td><!-- Link to blog post-->
 +
    </tr>
 +
    <tr>
 +
        <td>Modify Master.cfg</td><!-- Link -->
 +
        <td>Set up the master.cfg file to fit our needs</td><!-- Link -->
 +
        <td style="background-color: Orange; text-align: center; font-weight: bold; font-size: bigger">&nbsp;</td><!-- Priority-->
 +
        <td style="background-color: White; text-align: center; font-weight: bold;">TBA</td><!-- Status-->
 +
        <td style="background-color: YellowGreen; text-align: center; font-weight: bold;">0.5 rel.</td><!-- For which release-->
 +
        <td>&nbsp;</td><!-- Link to blog post-->
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
         <td>&nbsp;</td><!-- Link -->
 
         <td>&nbsp;</td><!-- Link -->
 
         <td>&nbsp;</td><!-- Link -->
 
         <td>&nbsp;</td><!-- Link -->
         <td style="background-color: White; text-align: center;">&nbsp;</td><!-- Link -->
+
         <td style="background-color: Orange; text-align: center; font-weight: bold; font-size: bigger">&nbsp;</td><!-- Priority-->
         <td style="background-color: White; text-align: center;">armenzg</td><!-- Link -->
+
         <td style="background-color: White; text-align: center; font-weight: bold;">TBA</td><!-- Status-->
         <td style="background-color: White; text-align: center;">&nbsp;</td><!-- Link -->
+
         <td style="background-color: YellowGreen; text-align: center; font-weight: bold;">0.x rel.</td><!-- For which release-->
        <td>&nbsp;</td><!-- Link -->
+
         <td>&nbsp;</td><!-- Link to blog post-->
        <td>&nbsp;</td><!-- Link -->
 
         <td>&nbsp;</td><!-- Link -->
 
 
     </tr>
 
     </tr>
 
<table>
 
<table>
 +
 +
== Links ==
 +
{|
 +
|-
 +
|class="header"|heading 1
 +
|class="header"|heading 2
 +
|-
 +
| Buildbot configuration (1) for Unit Testing (check master.cfg file)
 +
| http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/testing/unittest/
 +
|-
 +
| Buildbot configuration (2) for a Tryserver (check master.cfg file)
 +
| http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/tryserver/
 +
|-
 +
|
 +
|
 +
|-
 +
|
 +
|
 +
 +
|-
 +
| Building Mozilla with Buildbot
 +
| http://zenit.senecac.on.ca/wiki/index.php/Building_Mozilla_with_Buildbot
 +
|-
 +
|}

Revision as of 13:31, 29 January 2008

Introduction

We are trying to add to a Try Server, that will be set up at Seneca, automated testing support (TUnit (make check), mochitest, reftests, crashtest)

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

  • 29-Jan-2008
    • SERVER NEWS: The main OS (CentOS 5.1 and Windows 2003 Server) are installed. Once they are configured we will duplicate them to the rest of the nodes.
    • Soon the server will be completely running and we will have access to it
    • I have added a repository svn:Seneca Hera Try Server - automated-testing integration an I am modifying the master.cfg file to meet the purposes; It is based on buildbot-configs/testing/unittest/
    • I might set up this Saturday my own try server at home
mozbuild.py and the test suites classes defined
  • 18-Jan-2008
    • We are waiting for the Buildbot Farm to be set up at Seneca
    • At this point I have been able to run "make check" tests and mochitests. Explained in blog how to do this
    • Read Buildbot manual, discovered that I have to write some Build Steps but there's some configuration done by the community (check links section)


0.5 release

  • You can see which tasks get done at the bottom of this page
  • I will add the instructions on how to set up a Buildbot try server when I do it at my house
  • The image on the side shows the classes that are defined in the mozbuild.py which are later on used as Buildsteps on the master.cfg file


Tasks

Task Details Priority Status Target Link(s)
make check tests Learn how to run Tunits (make check or xpcshell-base tests) and explained them Med DONE 0.4 rel. (armenzg's post) Xpcshell based uni tests
mochitest tests Learn how to run mochitests and explain them Med DONE 0.4 rel. No post yet but have run them
Buildbot Manual Learn basics of Buildbot that apply to this project Med DONE 0.4 rel. No post - Buildbot Manual
Analize Master.cfg file Try to see what is already written about Buildsteps relating Unit Testing Med Ongoing N/A No post - buildbot-configs/testing/unittest/
Try server set up at home     TBA 0.5 rel. + 1 day  
Modify Master.cfg Set up the master.cfg file to fit our needs   TBA 0.5 rel.  
      TBA 0.x rel.  

Links

heading 1 heading 2
Buildbot configuration (1) for Unit Testing (check master.cfg file) http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/testing/unittest/
Buildbot configuration (2) for a Tryserver (check master.cfg file) http://lxr.mozilla.org/mozilla/source/tools/buildbot-configs/tryserver/
Building Mozilla with Buildbot http://zenit.senecac.on.ca/wiki/index.php/Building_Mozilla_with_Buildbot