Hi Martin,

I finally got the authorization to run some buildbot slaves on our AIX servers.

I made some tests with a buildbot script as close as possible to what you already use. Here is a patch that show the kind of modifications I had to do in order to get the buildbot slave to correctly run on AIX.

It is also necessary to apply the patch provided in issue 9862 so that the tests won't hang forever.

It also would help if the corrections provided in the following issues could be commited: 4499, 678250, 730467.

Could you please take a look at those modifications in master.cfg, provide me some password for the bot slaves and apply the corrections in those issues?

Once this is done, I can run 2 buildbot slaves for AIX 6.1 and AIX 5.3 with build plans for gcc and xlc.

I can't guarantee that those bots will run forever, and I may have to ask to schedule them only at night if the activity it generates on the server appears to be too high. But I think it could greatly help to improve the state of Python on AIX (which is far from perfect at the moment).

regards

--
Sébastien Sablé



Le 20/09/2010 21:21, "Martin v. Löwis" a écrit :
Also could you provide me the master.cfg file (with obfuscated
passwords) that is used by the Python buildbot master or tell me if it
is in subversion somewhere?

Attached!

Regards,
Martin

--- master.cfg.orig	2010-10-15 15:38:47.000000000 +0200
+++ master.cfg.new	2010-10-15 16:58:54.000000000 +0200
@@ -27,7 +27,8 @@
 # tuple of bot-name and bot-password. These correspond to values given to the
 # buildslave's mktap invocation.
 c['slaves'] = [
-XXX
+    BuildSlave("sable-aix61", "bot1passwd", max_builds=1),
+    BuildSlave("sable-aix53", "bot2passwd", max_builds=1),
 ]
 
 
@@ -80,6 +81,7 @@
 
 class UnixBuild(factory.GNUAutoconf):
     configureFlags = ["--with-pydebug", "--with-computed-gotos"]
+    configureEnv = {}
     def __init__(self, source, parallel):
         compile = ['make', 'all']
         test = ["make", "buildbottest"]
@@ -88,6 +90,7 @@
             test = ["make", "buildbottest", "TESTOPTS="+parallel]
         factory.GNUAutoconf.__init__(self, source,
                                      configureFlags = self.configureFlags,
+                                     configureEnv = self.configureEnv,
                                      compile=compile,
                                      test = None)
         # XXX(nnorwitz): reduced timeout, no test should take longer than 10m
@@ -99,6 +102,21 @@
 class WideUnixBuild(UnixBuild):
     configureFlags = ["--with-pydebug", "--with-computed-gotos", "--with-wide-unicode"]
 
+class Aix5GccUnixBuild(UnixBuild):
+    configureFlags = ["--with-pydebug", "--with-computed-gotos", "--disable-ipv6", "--with-gcc"]
+
+class Aix5XlcUnixBuild(UnixBuild):
+    configureFlags = ["--with-pydebug", "--without-computed-gotos", "--disable-ipv6"]
+    configureEnv = {'CC': 'xlc', 'OPT': "-O2 -qmaxmem=18000"}
+
+class Aix6GccUnixBuild(UnixBuild):
+    configureFlags = ["--with-pydebug", "--with-computed-gotos", "--with-gcc"]
+    configureEnv = {'CC': 'gcc'}
+
+class Aix6XlcUnixBuild(UnixBuild):
+    configureFlags = ["--with-pydebug", "--without-computed-gotos"]
+    configureEnv = {'CC': 'xlc', 'OPT': "-O2 -qmaxmem=18000"}
+
 class CygwinBuild(UnixBuild):
     def __init__(self, source, parallel):
         UnixBuild.__init__(self, source)
@@ -175,35 +193,39 @@
 STABLE=".stable"
 UNSTABLE=".unstable"
 
-builders = [("sparc solaris10 gcc", "loewis-sun", UnixBuild,STABLE),
-            ("amd64 gentoo", "norwitz-amd64", UnixBuild,STABLE),
-            ("x86 gentoo", "norwitz-x86", UnixBuild,UNSTABLE),
-            #("g4 osx.4", "psf-g4", UnixBuild,STABLE),
-            #("alpha Tru64 5.1", "norwitz-tru64", UnixBuild,UNSTABLE),
-            ("i386 Ubuntu", "klose-ubuntu-i386", UnixBuild,UNSTABLE),
-            ("ia64 Ubuntu", "klose-debian-ia64", UnixBuild,STABLE),
-            ("sparc Debian", "klose-debian-sparc", UnixBuild,STABLE),
-            ("alpha Debian", "klose-debian-alpha", UnixBuild,UNSTABLE),
-            #("MIPS Debian", "klose-debian-mips", UnixBuild,UNSTABLE),
-            #("PPC64 Debian", "klose-debian-ppc64", UnixBuild,UNSTABLE),
-            #("S-390 Debian", "klose-debian-s390", UnixBuild,UNSTABLE),
-            #("x86 mvlgcc", "loewis-linux", UnixBuild,UNSTABLE),
-            ("x86 XP-4", "bolen-windows", WindowsBuild,STABLE),
-            ("x86 FreeBSD", "bolen-freebsd", UnixBuild,UNSTABLE),
-            ("x86 Windows7", "bolen-windows7", WindowsBuild,UNSTABLE),
-            ("x86 FreeBSD 7.2", "bolen-freebsd7", UnixBuild,UNSTABLE),
-            ("x86 Ubuntu", "bolen-ubuntu", UnixBuild,UNSTABLE),
-	    ("ARMv7Thumb Ubuntu", "klose-linux-arm", UnixBuild,UNSTABLE),
-	    ("ARMv4 Debian", "klose-linux-armeabi", UnixBuild,UNSTABLE),
-	    #("x86 FreeBSD 2", "werven-freebsd", UnixBuild,UNSTABLE),
-            #("x86 Gentoo", "murray-gentoo", UnixBuild, UNSTABLE),
-            #("x86 Gentoo wide", "murray-gentoo-wide", WideUnixBuild, UNSTABLE),
-            ("x86 XP-5", "moore-windows", WindowsBuild, UNSTABLE),
-            ("x86 Tiger", "bolen-tiger", UnixBuild, UNSTABLE),
-            ("PPC Tiger", "parc-tiger-1", UnixBuild, UNSTABLE),
-            ("PPC Leopard", "parc-leopard-1", UnixBuild, UNSTABLE),
-            ("x86 debian parallel", "loewis-parallel", UnixBuild,UNSTABLE),
-            ("AMD64 debian parallel", "loewis-parallel2", UnixBuild,UNSTABLE),
+builders = [("sparc solaris10 gcc", "loewis-sun", UnixBuild,STABLE, None),
+            ("amd64 gentoo", "norwitz-amd64", UnixBuild,STABLE, None),
+            ("x86 gentoo", "norwitz-x86", UnixBuild,UNSTABLE, None),
+            #("g4 osx.4", "psf-g4", UnixBuild,STABLE, None),
+            #("alpha Tru64 5.1", "norwitz-tru64", UnixBuild,UNSTABLE, None),
+            ("i386 Ubuntu", "klose-ubuntu-i386", UnixBuild,UNSTABLE, None),
+            ("ia64 Ubuntu", "klose-debian-ia64", UnixBuild,STABLE, None),
+            ("sparc Debian", "klose-debian-sparc", UnixBuild,STABLE, None),
+            ("alpha Debian", "klose-debian-alpha", UnixBuild,UNSTABLE, None),
+            #("MIPS Debian", "klose-debian-mips", UnixBuild,UNSTABLE, None),
+            #("PPC64 Debian", "klose-debian-ppc64", UnixBuild,UNSTABLE, None),
+            #("S-390 Debian", "klose-debian-s390", UnixBuild,UNSTABLE, None),
+            #("x86 mvlgcc", "loewis-linux", UnixBuild,UNSTABLE, None),
+            ("x86 XP-4", "bolen-windows", WindowsBuild,STABLE, None),
+            ("x86 FreeBSD", "bolen-freebsd", UnixBuild,UNSTABLE, None),
+            ("x86 Windows7", "bolen-windows7", WindowsBuild,UNSTABLE, None),
+            ("x86 FreeBSD 7.2", "bolen-freebsd7", UnixBuild,UNSTABLE, None),
+            ("x86 Ubuntu", "bolen-ubuntu", UnixBuild,UNSTABLE, None),
+	    ("ARMv7Thumb Ubuntu", "klose-linux-arm", UnixBuild,UNSTABLE, None),
+	    ("ARMv4 Debian", "klose-linux-armeabi", UnixBuild,UNSTABLE, None),
+	    #("x86 FreeBSD 2", "werven-freebsd", UnixBuild,UNSTABLE, None),
+            #("x86 Gentoo", "murray-gentoo", UnixBuild, UNSTABLE, None),
+            #("x86 Gentoo wide", "murray-gentoo-wide", WideUnixBuild, UNSTABLE, None),
+            ("x86 XP-5", "moore-windows", WindowsBuild, UNSTABLE, None),
+            ("x86 Tiger", "bolen-tiger", UnixBuild, UNSTABLE, None),
+            ("PPC Tiger", "parc-tiger-1", UnixBuild, UNSTABLE, None),
+            ("PPC Leopard", "parc-leopard-1", UnixBuild, UNSTABLE, None),
+            ("x86 debian parallel", "loewis-parallel", UnixBuild,UNSTABLE, None),
+            ("AMD64 debian parallel", "loewis-parallel2", UnixBuild,UNSTABLE, None),
+            ("AIX 6.1", "sable-aix61", Aix6GccUnixBuild, UNSTABLE, "gcc"),
+            ("AIX 6.1", "sable-aix61", Aix6XlcUnixBuild, UNSTABLE, "xlc"),
+            ("AIX 5.3", "sable-aix53", Aix5GccUnixBuild, UNSTABLE, "gcc"),
+            ("AIX 5.3", "sable-aix53", Aix5XlcUnixBuild, UNSTABLE, "xlc"),
            ]
 
 dailybuilders = ["alpha Debian", "ARMv7Thumb Ubuntu"]
@@ -235,8 +257,12 @@
 for branch, branchname in branches:
     buildernames = []
     dailybuildernames = []
-    for name, slave, buildfactory, stability in builders:
+    for name, slave, buildfactory, stability, compiler in builders:
         buildername = name + " " + branchname
+        builddir = '%s.%s' % (branchname,slave)
+        if compiler:
+            buildername += " " + compiler
+            builddir += '.' + compiler
         source = s(SVN, baseURL=baseURL, mode="update")
         p = parallel.get(slave)
         if branchname in ('3.1',):
@@ -249,7 +275,7 @@
         c['builders'].append({
                 'name' : buildername,
                 'slavename' : slave,
-                'builddir' : '%s.%s' % (branchname,slave),
+                'builddir' : builddir,
                 'factory' : f,
                 'category' : branchname+stability,
                 'locks' : [cpulock],
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to