Difference between revisions of "Buildbot"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Added comment regarding removal of GPC switch from OOo 3.2 on)
(How to start a build)
Line 10: Line 10:
 
== How to start a build ==
 
== How to start a build ==
  
* Visit http://buildbot.go-oo.org/buildbot/
+
* Visit http://termite.services.openoffice.org/buildbot/
 
* Choose a machine you want to build on, and click on it
 
* Choose a machine you want to build on, and click on it
 
* Fill in the ''Your name'', ''Reason for build'', ''Branch to build'' (just the CWS name)
 
* Fill in the ''Your name'', ''Reason for build'', ''Branch to build'' (just the CWS name)
 
* If you want to have the resulting installation sets, check ''Install Set''
 
* If you want to have the resulting installation sets, check ''Install Set''
 
* Press ''Force Build''
 
* Press ''Force Build''
* Wait until the installation sets appear in http://buildbot.go-oo.org/install_sets/ (if you wanted them)
+
* Wait until the installation sets appear in http://termite.services.openoffice.org/install_sets/ (if you wanted them)
  
 
If your build breaks it ''may'' be the Buildbot's fault as they are not perfect. If you are unsure feel free to contact the Buildslave's maintainer (contact address on the Builder's overview page). Generally speaking if the corresponding MWS builds fine a CWS break is the CWS' fault.
 
If your build breaks it ''may'' be the Buildbot's fault as they are not perfect. If you are unsure feel free to contact the Buildslave's maintainer (contact address on the Builder's overview page). Generally speaking if the corresponding MWS builds fine a CWS break is the CWS' fault.

Revision as of 09:22, 19 March 2010

A buildbot is now deployed for OpenOffice.org. http://buildbot.go-oo.org/

The Buildbot adaption for OOo is done in a separate project: http://code.google.com/p/ootermite/

From the Buildbot README: http://buildbot.sourceforge.net/

The BuildBot is a system to automate the compile/test cycle required by most software projects to validate code changes. By automatically rebuilding and testing the tree each time something has changed, build problems are pinpointed quickly, before other developers are inconvenienced by the failure. The guilty developer can be identified and harassed without human intervention. By running the builds on a variety of platforms, developers who do not have the facilities to test their changes everywhere before checkin will at least know shortly afterwards whether they have broken the build or not. Warning counts, lint checks, image size, compile time, and other build parameters can be tracked over time, are more visible, and are therefore easier to improve.

How to start a build

If your build breaks it may be the Buildbot's fault as they are not perfect. If you are unsure feel free to contact the Buildslave's maintainer (contact address on the Builder's overview page). Generally speaking if the corresponding MWS builds fine a CWS break is the CWS' fault.

Slave system configurations

The Buildbot slaves do not build agains a specific baseline as they have varying operating systems and compilers. This was done by intention because we want as different systems as possible to get the OOo code robust and portable. You can of course use the builds for QAing, but do not espect reproducable results.

Nevertheless, a developer must know the exact configure parameters and environment information when inspecting a build break. These information should be available through this page. The used configure call can be always obtained through a recent build log, but is summarized here for convenience.

Slavename/Builderconfigure switchesSystem information

Fedora-10-i386

--disable-build-mozilla

MacIntel

--with-use-shell=bash --disable-gtk --disable-build-mozilla
RedFlag --with-java=yes --with-jdk-home=/usr/java/jdk1.5.0_16 --with-ant-home=/usr/lib/jvm/apache-ant-1.7.1 LDFLAGS=-L/usr/local/lib --with-x=yes --without-nas --without-fonts --with-system-stdlibs --with-package-format=rpm
Solaris-Intel --enable-werror --enable-report-builder=no --disable-cups --disable-build-mozilla --disable-randr --with-gnu-patch=/usr/bin/gpatch --with-gnu-cp=/usr/sfw/bin/cp --with-ant-home=/usr/sfw --with-jdk-home=/usr/jdk/jdk1.5.0_16 --disable-pasf --with-ant-home=/space/termite/prereqs/apache-ant-1.7.0 --disable-mediawiki
Solaris-Sparc --enable-report-builder=no --with-use-shell=bash --disable-cups --disable-build-mozilla --disable-randr --with-gnu-patch=/usr/bin/gpatch --with-gnu-cp=/opt/sfw/bin/cp --with-ant-home=/space/termite/apache-ant-1.7.0 --with-jdk-home=/usr/jdk/jdk1.5.0_12 --disable-pasf --with-epm=internal --with-ant-home=/space/termite/prereqs/apache-ant-1.7.0 --disable-mediawiki

Ubuntu-8.04-amd64

--enable-werror --disable-build-mozilla

Ubuntu-8.10-i386

--disable-binfilter --disable-cups --disable-fontconfig --disable-gconf --disable-gnome-vfs --disable-gtk --disable-ldap --disable-mozilla --disable-odk --disable-pam --disable-randr --disable-Xaw --enable-werror --with-system-hsqldb --with-system-hunspell --with-system-libxml --with-system-lbxslt --with-system-python --with-system-zlib --with-use-shell=bash --without-java --without-stlport Smoketest currently broken

Ubuntu-9.04-i386

--with-jdk-home=/usr/lib/jvm/java-6-sun --disable-build-mozilla --with-system-python Built-in Python is incompatible with newer gcc, so we have to build with system python
Win-XP2 --enable-report-builder=no --with-use-shell=bash '--with-midl-path=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1/Bin' '--with-psdk-home=/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1' '--with-directx-home=/cygdrive/c/Program Files (x86)/Microsoft DirectX SDK (February 2007)' --with-ant-home=/cygdrive/f/termite/prereqs/apache-ant-1.7.1 --disable-build-mozilla --disable-mediawiki --with-gpc --with-csc-path=/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727 '--with-jdk-home=/cygdrive/c/Program Files (x86)/Java/jdk1.5.0_11' --disable-activex '--with-frame-home=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 8/SDK/v2.0' '--with-cl-home=/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC' --with-nsis-path=/cygdrive/c/termite/prereq/NSIS '--with-package-format=installed msi ddd' WindowsXP Server with SP2. Starting with the OOo 3.2 codeline, the gpc switch is not supported anymore, since there's no more build dependency against the GPC library and GPC itself is not needed anymore at all.
Personal tools