[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r18449 - gnunet-planetlab
From: |
gnunet |
Subject: |
[GNUnet-SVN] r18449 - gnunet-planetlab |
Date: |
Tue, 6 Dec 2011 14:10:55 +0100 |
Author: pritpal
Date: 2011-12-06 14:10:55 +0100 (Tue, 06 Dec 2011)
New Revision: 18449
Added:
gnunet-planetlab/master.cfg
Log:
master configuration for planetlab nodes
Added: gnunet-planetlab/master.cfg
===================================================================
--- gnunet-planetlab/master.cfg (rev 0)
+++ gnunet-planetlab/master.cfg 2011-12-06 13:10:55 UTC (rev 18449)
@@ -0,0 +1,1370 @@
+# -*- python -*-
+# ex: set syntax=python:
+
+# This is a sample buildmaster config file. It must be installed as
+# 'master.cfg' in your buildmaster's base directory (although the filename
+# can be changed with the --basedir option to 'mktap buildbot master').
+
+# It has one job: define a dictionary named BuildmasterConfig. This
+# dictionary has a variety of keys to control different aspects of the
+# buildmaster. They are documented in docs/config.xhtml .
+
+# This is the dictionary that the buildmaster pays attention to. We also use
+# a shorter alias to save typing.
+c = BuildmasterConfig = {}
+
+
+####### BUILDSLAVES
+
+# the 'slaves' list defines the set of allowable buildslaves. Each element is
+# a tuple of bot-name and bot-password. These correspond to values given to
+# the buildslave's mktap invocation.
+from buildbot.buildslave import BuildSlave
+c['slaves'] = [BuildSlave("example-slave", "pass")]
+# BuildSlave("grothoff-jaunty-arm", "callmetheplug"),
+# BuildSlave("grothoff-lenny-powerpc",
"1f5d5c50a430f933c425988a18a107af"),
+# BuildSlave("wachs-lenny-sparc64", "netintumwachs"),
+# BuildSlave("wachs-freebsd7-amd64", "netintumwachs"),
+# BuildSlave("wachs-lenny-i386", "netintumwachs"),
+# BuildSlave("ubuntu-armv71-evans", "evansarmv71"),
+# BuildSlave("evans-freebsd7-x86", "evans7bsd"),
+# BuildSlave("evans-freebsd8-x86", "evans8bsd"),
+# BuildSlave("wachs-lenny-powerpc",
"cca63c12c457f45aab6a40a6972f216a"),
+# BuildSlave("ndurner-gtwy", "0e3465253fe833dcf809d5b81b88e614"),
+# BuildSlave("ndurner-xp", "43384b4710805db05979406dd8ce39b9"),
+# BuildSlave("amatus-freebsd32",
"d41d8cd98f00b204e9800998ecf8427e"),
+# BuildSlave("amatus-freebsd64",
"d41d8cd98f00b204e9800998ecf8427e"),
+# BuildSlave("daniel-sid-amd64", "SBJh3ag0ushAfXGjNo7"),
+# BuildSlave("daniel-sid-i386", "SBJh3ag0ushAfXGjNo7"),
+# BuildSlave("daniel-sid-powerpc", "SBJh3ag0ushAfXGjNo7"),
+# BuildSlave("daniel-lenny-amd64", "SBJh3ag0ushAfXGjNo7"),
+# BuildSlave("daniel-lenny-i386", "SBJh3ag0ushAfXGjNo7"),
+# BuildSlave("daniel-lenny-powerpc", "SBJh3ag0ushAfXGjNo7"),
+# BuildSlave("grothoff-intrepid-x86", "flaialya"),
+# BuildSlave("moep-osx", "40da61ff0f331b9a39c7432d57bed24f"),
+# BuildSlave("mortuusvir-freebsd-sparc64",
"8d9ca8815fa4ea0fd9d9b381b40b8eff"),
+# BuildSlave("safey-tiger-x86",
"a6892cfd0499ef1aec99aed606296bfa"),
+# BuildSlave("mortuusvir-tiger-powerpc",
"N2pyL4pS83L8vZx43uGPUSRJzgtiuWSGwbmfkgz9yiaZ"),
+# BuildSlave("wachs-openindiana-amd64",
"7eb43220b5a3947f594da7e6a510096f"),
+# BuildSlave("wachs-winxp64-amd64",
"6iyBbWNN3n5Y3lzuyW6Dm/zkPezlLaHjnayS3r30pGjI"),
+# BuildSlave("lenny-arm-nat","cca6g3c13345a23ab6a40a6972f216a"),
+# ]
+
+# to limit to two concurrent builds on a slave, use
+# c['slaves'] = [BuildSlave("bot1name", "bot1passwd", max_builds=2)]
+
+
+# 'slavePortnum' defines the TCP port to listen on. This must match the value
+# configured into the buildslaves (with their --master option)
+
+c['slavePortnum'] = 9989
+
+####### CHANGESOURCES
+
+# the 'change_source' setting tells the buildmaster how it should find out
+# about source code changes. Any class which implements IChangeSource can be
+# put here: there are several in buildbot/changes/*.py to choose from.
+
+from buildbot.changes.pb import PBChangeSource
+c['change_source'] = PBChangeSource()
+
+# For example, if you had CVSToys installed on your repository, and your
+# CVSROOT/freshcfg file had an entry like this:
+#pb = ConfigurationSet([
+# (None, None, None, PBService(userpass=('foo', 'bar'), port=4519)),
+# ])
+
+# then you could use the following buildmaster Change Source to subscribe to
+# the FreshCVS daemon and be notified on every commit:
+#
+#from buildbot.changes.freshcvs import FreshCVSSource
+#fc_source = FreshCVSSource("cvs.example.com", 4519, "foo", "bar")
+#c['change_source'] = fc_source
+
+# or, use a PBChangeSource, and then have your repository's commit script run
+# 'buildbot sendchange', or use contrib/svn_buildbot.py, or
+# contrib/arch_buildbot.py :
+#
+#from buildbot.changes.pb import PBChangeSource
+#c['change_source'] = PBChangeSource()
+
+
+####### SCHEDULERS
+
+## configure the Schedulers
+
+from buildbot.scheduler import Scheduler
+c['schedulers'] = []
+c['schedulers'].append(Scheduler(name="gnunet", branch=None,
+ treeStableTimer=30*60,
+ categories=["GNUnet"],
+ builderNames=[
+ "example-slave"
+# "jaunty-arm-grothoff",
+# "lenny-powerpc-grothoff",
+# "fedora15-x86-grothoff",
+# "lenny-sparc64-wachs",
+# "wachs-lenny-powerpc",
+# "wachs-lenny-i386",
+# "freebsd7-amd64-wachs",
+# "ubuntu-armv71-evans",
+# "moep-osx"]))
+# "openindiana-amd64-wachs",
+# "freebsd7-x86-evans",
+# "freebsd8-x86-evans",
+# "squeeze-pentium3-ndurner",
+# "windowsxp-x86-ndurner",
+# "freebsd8-sparc64-mortuusvir",
+# "tiger-powerpc-mortuusvir",
+# "tiger-x86-safey",
+# "freebsd7-x86-amatus",
+# "freebsd7-amd64-amatus",
+# "sid-x86-daniel",
+# "sid-amd64-daniel",
+# "sid-powerpc-daniel",
+# "lenny-x86-daniel",
+# "lenny-amd64-daniel",
+# "lenny-powerpc-daniel",
+# "lenny-arm-nat",
+# "gnunet-wachs-winxp64-amd64"]))
+
+#c['schedulers'].append(Scheduler(name="extractor", branch=None,
+# treeStableTimer=30*60,
+# categories=["Extractor"],
+# builderNames=[
+# "extractor-wachs-winxp64-amd64"
+]))
+
+
+####### BUILDERS
+
+# the 'builders' list defines the Builders. Each one is configured with a
+# dictionary, using the following keys:
+# name (required): the name used to describe this bilder
+# slavename (required): which slave to use, must appear in c['bots']
+# builddir (required): which subdirectory to run the builder in
+# factory (required): a BuildFactory to define how the build is run
+# periodicBuildTime (optional): if set, force a build every N seconds
+
+# buildbot/process/factory.py provides several BuildFactory classes you can
+# start with, which implement build processes for common targets (GNU
+# autoconf projects, CPAN perl modules, etc). The factory.BuildFactory is the
+# base class, and is configured with a series of BuildSteps. When the build
+# is run, the appropriate buildslave is told to execute each Step in turn.
+
+# the first BuildStep is typically responsible for obtaining a copy of the
+# sources. There are source-obtaining Steps in buildbot/steps/source.py for
+# CVS, SVN, and others.
+
+svnurl = "https://gnunet.org/svn/gnunet"
+
+from buildbot.changes.svnpoller import SVNPoller
+from buildbot.process import factory
+from buildbot.steps import source, shell
+from buildbot.steps.shell import Compile
+import os
+#rm-nat
+tmp = "/tmp/gnbuild"
+le_tmp = "/tmp/lebuild"
+#c['change_source'] = [
+# SVNPoller(svnurl = "https://gnunet.org/svn/gnunet/",
category="GNUnet"),
+# SVNPoller(svnurl = "https://gnunet.org/svn/Extractor/",
category="Extractor"),
+# ]
+
+f1 = factory.BuildFactory()
+
+f1.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet-planetlab/"))
+
+f1.addStep(shell.ShellCommand, command=["sh", "-c",
"./00_planetlab-certificate-install.sh"],
+ description="Installing svn certificate",
+ name="Install-Certificate gnunet.org",
+ haltOnFailure=True,
+ timeout=30)
+
+
+f1.addStep(shell.ShellCommand, command=["sh", "-c",
"./00_planetlab-remove.sh"],
+ description="Removing Previous Libcrypt version",
+ name="remove prev-ligcrypt",
+ haltOnFailure=True,
+ timeout=30)
+
+
+f1.addStep(shell.ShellCommand, command=["sh", "-c",
"./01_planetlab-dependencies.sh"],
+ description="Installing gnunet dependencies",
+ name="install dependencies",
+ haltOnFailure=True,
+ timeout=30)
+
+
+f1.addStep(shell.ShellCommand, command=["sh", "-c",
"./02_planetlab-deps-from-source.sh"],
+ description="Installing more dependencies",
+ name="install more dependencies",
+ haltOnFailure=True,
+ timeout=30)
+
+
+f1.addStep(shell.ShellCommand, command=["sh", "-c",
"./03_planetlab-extractor.sh"],
+ description="Installing Extractor",
+ name="install Extractor",
+ haltOnFailure=True,
+ timeout=30)
+
+f1.addStep(shell.ShellCommand, command=["sh", "-c",
"./04_planetlab-libmicrohttpd.sh"],
+ description="Installing Libmicrohttpd",
+ name="install Libmicrohttpd",
+ haltOnFailure=True,
+ timeout=30)
+
+
+f1.addStep(shell.ShellCommand, command=["sh", "-c",
"./05_planetlab-gnunet.sh"],
+ description="Installing Gnunet",
+ name="install Gnunet",
+ haltOnFailure=True,
+ timeout=30)
+
+
+f1.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
+f1.addStep(shell.ShellCommand, command=["sh", "-c", "killall
gnunet-service-arm || true; svn -R revert *; rm -rf /tmp/gnunet*; rm -rf
/tmp/test*;"],
+ description="clean up from previous runs",
+ name="killall",
+ haltOnFailure=False,
+ timeout=30)
+f1.addStep(shell.ShellCommand, command=["sh", "-c", "./bootstrap"],
+ description="bootstrap",
+ name="bootstrap",
+ haltOnFailure=True)
+f1.addStep(shell.Configure, command=["sh", "-c", "./configure
--enable-benchmarks --enable-expensive-tests --prefix=" + tmp],
+ description="configure",
+ name="configure",
+ haltOnFailure=True)
+f1.addStep(shell.Compile,command=["sh", "-c", "make install"])
+f1.addStep(shell.ShellCommand,description=["tests util"],
+ name="tests util",
+ usePTY=True,
+ command=["sh", "-c", "cd src/util; ../../contrib/timeout_watchdog
900 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand,description=["tests block"],
+ name="tests block",
+ usePTY=True,
+ command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests statistics"],
+ name="tests statistics",
+ usePTY=True,
+ command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests arm"],
+ name="tests arm",
+ usePTY=True,
+ command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests hello"],
+ name="tests hello",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests peerinfo"],
+ name="tests peerinfo",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests datacache"],
+ name="tests datacache",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests datastore"],
+ name="tests datastore",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests template"],
+ name="tests template",
+ usePTY=True,
+ command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 3600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests fragmentation"],
+ name="tests fragmentation",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests transport"],
+ name="tests transport",
+ usePTY=True,
+ command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']},
+ timeout=7200)
+f1.addStep(shell.ShellCommand, description=["tests peerinfo-tool"],
+ name="tests peerinfo-tool",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests core"],
+ name="tests core",
+ usePTY=True,
+ command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests testing"],
+ name="tests testing",
+ usePTY=True,
+ command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand,description=["tests nse"],
+ name="tests nse",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests dht"],
+ name="tests dht",
+ usePTY=True,
+ command=["sh", "-c", "cd src/dht; make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests hostlist"],
+ name="tests hostlist",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests topology"],
+ name="tests topology",
+ usePTY=True,
+ command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests nat"],
+ name="tests nat",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests fs"],
+ name="tests fs",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests mesh"],
+ name="tests mesh",
+ usePTY=True,
+ command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1.addStep(shell.ShellCommand, description=["tests vpn"],
+ name="tests vpn",
+ usePTY=True,
+ command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+#f1.addStep(shell.ShellCommand, description=["tests monkey"],
+# name="tests monkey",
+# usePTY=True,
+# command=["sh", "-c", "cd src/monkey; ../../contrib/timeout_watchdog
600 make check; "],
+# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+
+f1_slow_machines = factory.BuildFactory()
+f1_slow_machines .addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
+f1_slow_machines .addStep(shell.ShellCommand, command=["sh", "-c", "killall
gnunet-service-arm || true; svn -R revert *; rm -rf /tmp/gnunet*; rm -rf
/tmp/test*;"],
+ description="clean up from previous runs",
+ name="killall",
+ haltOnFailure=False,
+ timeout=30)
+f1_slow_machines .addStep(shell.ShellCommand, command=["sh", "-c",
"./bootstrap"],
+ description="bootstrap",
+ name="bootstrap",
+ haltOnFailure=True)
+f1_slow_machines .addStep(shell.Configure, command=["sh", "-c", "./configure
--prefix=" + tmp],
+ description="configure",
+ name="configure",
+ haltOnFailure=True)
+f1_slow_machines .addStep(shell.Compile,command=["sh", "-c", "make install"])
+f1_slow_machines .addStep(shell.ShellCommand,description=["tests util"],
+ name="tests util",
+ usePTY=True,
+ command=["sh", "-c", "cd src/util; ../../contrib/timeout_watchdog
900 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand,description=["tests block"],
+ name="tests block",
+ usePTY=True,
+ command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests statistics"],
+ name="tests statistics",
+ usePTY=True,
+ command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests arm"],
+ name="tests arm",
+ usePTY=True,
+ command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests hello"],
+ name="tests hello",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests peerinfo"],
+ name="tests peerinfo",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests datacache"],
+ name="tests datacache",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests datastore"],
+ name="tests datastore",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests template"],
+ name="tests template",
+ usePTY=True,
+ command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 3600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests
fragmentation"],
+ name="tests fragmentation",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests transport"],
+ name="tests transport",
+ usePTY=True,
+ command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']},
+ timeout=7200)
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests
peerinfo-tool"],
+ name="tests peerinfo-tool",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests core"],
+ name="tests core",
+ usePTY=True,
+ command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests testing"],
+ name="tests testing",
+ usePTY=True,
+ command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines.addStep(shell.ShellCommand,description=["tests nse"],
+ name="tests nse",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests dht"],
+ name="tests dht",
+ usePTY=True,
+ command=["sh", "-c", "cd src/dht; make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests hostlist"],
+ name="tests hostlist",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests topology"],
+ name="tests topology",
+ usePTY=True,
+ command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests nat"],
+ name="tests nat",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests fs"],
+ name="tests fs",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests mesh"],
+ name="tests mesh",
+ usePTY=True,
+ command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f1_slow_machines .addStep(shell.ShellCommand, description=["tests vpn"],
+ name="tests vpn",
+ usePTY=True,
+ command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+#f1_slow_machines .addStep(shell.ShellCommand, description=["tests monkey"],
+# name="tests monkey",
+# usePTY=True,
+# command=["sh", "-c", "cd src/monkey; ../../contrib/timeout_watchdog
600 make check; "],
+# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+
+f2 = factory.BuildFactory()
+f2.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
+f2.addStep(shell.ShellCommand, command=["sh", "-c", "killall
gnunet-service-arm || true; svn -R revert *; rm -rf /tmp/gnunet*; rm -rf
/tmp/test*;"],
+ description="clean up from previous runs",
+ name="killall",
+ haltOnFailure=False,
+ timeout=180)
+f2.addStep(shell.ShellCommand, command=["sh", "-c", "./bootstrap"],
+ description="bootstrap",
+ name="bootstrap",
+ haltOnFailure=True)
+f2.addStep(shell.Configure, command=["sh", "-c", "./configure
--enable-benchmarks --enable-expensive-tests --prefix=" + tmp + "
--with-extractor=/usr/local --with-mysql=/usr/local
--with-microhttpd=/usr/local --with-mysql=/usr/local --with-postgres=/usr/local
--with-libintl-prefix=/usr/local --with-iconv-prefix=/usr/local
--with-ltdl-include=/usr/local/include --with-ltdl-lib=/usr/local/lib"],
+ description="configure",
+ name="configure",
+ haltOnFailure=True)
+f2.addStep(shell.Compile, command=["sh", "-c", "gmake install"])
+f2.addStep(shell.ShellCommand,description=["tests util"],
+ name="tests util",
+ usePTY=True,
+ command=["sh", "-c", "cd src/util; ../../contrib/timeout_watchdog
900 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand, description=["tests block"],
+ name="tests block",
+ usePTY=True,
+ command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand, description=["tests statistics"],
+ name="tests statistics",
+ usePTY=True,
+ command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests arm"],
+ name="tests arm",
+ usePTY=True,
+ command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests hello"],
+ name="tests hello",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests peerinfo"],
+ name="tests peerinfo",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests datacache"],
+ name="tests datacache",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests datastore"],
+ name="tests datastore",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests template"],
+ name="tests template",
+ usePTY=True,
+ command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 3600 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand, description=["tests fragmentation"],
+ name="tests fragmentation",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests transport"],
+ name="tests transport",
+ usePTY=True,
+ command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']},
+ timeout=7200)
+f2.addStep(shell.ShellCommand,description=["tests peerinfo-tool"],
+ name="tests peerinfo-tool",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests core"],
+ name="tests core",
+ usePTY=True,
+ command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests testing"],
+ name="tests testing",
+ usePTY=True,
+ command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests nse"],
+ name="tests nse",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests dht"],
+ name="tests dht",
+ usePTY=True,
+ command=["sh", "-c", "cd src/dht; ../../contrib/timeout_watchdog
1800 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests hostlist"],
+ name="tests hostlist",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests topology"],
+ name="tests topology",
+ usePTY=True,
+ command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests nat"],
+ name="tests nat",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand,description=["tests fs"],
+ name="tests fs",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand, description=["tests mesh"],
+ name="tests mesh",
+ usePTY=True,
+ command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f2.addStep(shell.ShellCommand, description=["tests vpn"],
+ name="tests vpn",
+ usePTY=True,
+ command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
gmake check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+#f2.addStep(shell.ShellCommand, description=["tests monkey"],
+# name="tests monkey",
+# usePTY=True,
+# command=["sh", "-c", "cd src/monkey; ../../contrib/timeout_watchdog
600 make check; "],
+# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+
+# %PATH% and %GNUNET_PREFIX% have to be set before buildbot startup
+f3 = factory.BuildFactory()
+f3.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
+f3.addStep(shell.ShellCommand,command=["sh", "-c", "killall_gnunet || true;
svn -R revert *"],
+ description="cleanup old processes",
+ name="cleanup",
+ haltOnFailure=False)
+f3.addStep(shell.ShellCommand,command=["sh", "-c", "./bootstrap"],
+ description="bootstrap",
+ name="bootstrap",
+ haltOnFailure=True)
+f3.addStep(shell.Configure,command=["sh", "-c", "./configure
--enable-benchmarks --enable-expensive-tests --prefix=$GNUNET_PREFIX
--with-microhttpd=/usr/local --with-extractor= --with-qt=/c/Qt/4.4.0"],
+ description="configure",
+ name="configure",
+ haltOnFailure=True)
+f3.addStep(shell.Compile,command=["sh", "-c", "make install"])
+f3.addStep(shell.ShellCommand, description=["tests util"],
+ name="tests util",
+ usePTY=True,
+ command=["sh", "-c", "cd src/util; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests block"],
+ name="tests block",
+ usePTY=True,
+ command=["sh", "-c", "cd src/block; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests statistics"],
+ name="tests statistics",
+ usePTY=True,
+ command=["sh", "-c", "cd src/statistics; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests arm"],
+ name="tests arm",
+ usePTY=True,
+ command=["sh", "-c", "cd src/arm; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests hello"],
+ name="tests hello",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hello; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests peerinfo"],
+ name="tests peerinfo",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests datacache"],
+ name="tests datacache",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datacache; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests datastore"],
+ name="tests datastore",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datastore; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests template"],
+ name="tests template",
+ usePTY=True,
+ command=["sh", "-c", "cd src/template; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests fragmentation"],
+ name="tests fragmentation",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fragmentation; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests transport"],
+ name="tests transport",
+ usePTY=True,
+ command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
make check; "],
+ timeout=7200)
+f3.addStep(shell.ShellCommand, description=["tests peerinfo-tool"],
+ name="tests peerinfo-tool",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo-tool; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests core"],
+ name="tests core",
+ usePTY=True,
+ command=["sh", "-c", "cd src/core; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests testing"],
+ name="tests testing",
+ usePTY=True,
+ command=["sh", "-c", "cd src/testing; make check; "])
+f3.addStep(shell.ShellCommand,description=["tests nse"],
+ name="tests nse",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nse; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests dht"],
+ name="tests dht",
+ usePTY=True,
+ command=["sh", "-c", "cd src/dht; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests hostlist"],
+ name="tests hostlist",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hostlist; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests topology"],
+ name="tests topology",
+ usePTY=True,
+ command=["sh", "-c", "cd src/topology; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests nat"],
+ name="tests nat",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nat; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests fs"],
+ name="tests fs",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fs; make check; "])
+f3.addStep(shell.ShellCommand, description=["tests mesh"],
+ name="tests mesh",
+ usePTY=True,
+ command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f3.addStep(shell.ShellCommand, description=["tests vpn"],
+ name="tests vpn",
+ usePTY=True,
+ command=["sh", "-c", "cd src/vpn; make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+#f3.addStep(shell.ShellCommand, description=["tests monkey"],
+# name="tests monkey",
+# usePTY=True,
+# command=["sh", "-c", "cd src/monkey; make check; "],
+# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+
+
+f4 = factory.BuildFactory()
+f4.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
+f4.addStep(shell.ShellCommand,command=["sh", "-c", "killall gnunet-service-arm
|| true; svn -R revert *; rm -rf /tmp/gnunet*; rm -rf /tmp/test*;"],
+ description="clean up from previous runs",
+ name="killall",
+ haltOnFailure=False,
+ timeout=30)
+f4.addStep(shell.ShellCommand,command=["sh", "-c", "./bootstrap"],
+ description="bootstrap",
+ name="bootstrap",
+ haltOnFailure=True)
+f4.addStep(shell.Configure,command=["sh", "-c", "./configure
--enable-benchmarks --enable-expensive-tests --prefix=" + tmp + "
--with-extractor=/opt/local --with-mysql=/opt/local
--with-microhttpd=/opt/local --with-mysql=/opt/local --with-postgres=/opt/local
--with-libintl-prefix=/opt/local --with-iconv-prefix=/opt/local
--with-ltdl-include=/opt/local/include --with-ltdl-lib=/opt/local/lib"],
+ description="configure",
+ name="configure",
+ haltOnFailure=True)
+f4.addStep(shell.Compile,command=["sh", "-c", "make install"])
+f4.addStep(shell.ShellCommand, description=["tests util"],
+ name="tests util",
+ usePTY=True,
+ command=["sh", "-c", "cd src/util; ../../contrib/timeout_watchdog
900 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests block"],
+ name="tests block",
+ usePTY=True,
+ command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests statistics"],
+ name="tests statistics",
+ usePTY=True,
+ command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests arm"],
+ name="tests arm",
+ usePTY=True,
+ command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests hello"],
+ name="tests hello",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests peerinfo"],
+ name="tests peerinfo",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests datacache"],
+ name="tests datacache",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests datastore"],
+ name="tests datastore",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests template"],
+ name="tests template",
+ usePTY=True,
+ command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests fragmentation"],
+ name="tests fragmentation",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests transport"],
+ name="tests transport",
+ usePTY=True,
+ command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']},
+ timeout=7200)
+f4.addStep(shell.ShellCommand, description=["tests peerinfo-tool"],
+ name="tests peerinfo-tool",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests core"],
+ name="tests core",
+ usePTY=True,
+ command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests testing"],
+ name="tests testing",
+ usePTY=True,
+ command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand,description=["tests nse"],
+ name="tests nse",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests dht"],
+ name="tests dht",
+ usePTY=True,
+ command=["sh", "-c", "cd src/dht; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests hostlist"],
+ name="tests hostlist",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests topology"],
+ name="tests topology",
+ usePTY=True,
+ command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests nat"],
+ name="tests nat",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests fs"],
+ name="tests fs",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests mesh"],
+ name="tests mesh",
+ usePTY=True,
+ command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f4.addStep(shell.ShellCommand, description=["tests vpn"],
+ name="tests vpn",
+ usePTY=True,
+ command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+#f4.addStep(shell.ShellCommand, description=["tests monkey"],
+# name="tests monkey",
+# usePTY=True,
+# command=["sh", "-c", "cd src/monkey; ../../contrib/timeout_watchdog
600 make check; "],
+# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+
+f_moep = factory.BuildFactory()
+f_moep.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
+f_moep.addStep(shell.ShellCommand,command=["sh", "-c", "killall_gnunet ||
true; svn -R revert *"],
+ description="cleanup old processes",
+ name="cleanup",
+ haltOnFailure=False)
+f_moep.addStep(shell.ShellCommand,command=["sh", "-c", "./bootstrap"],
+ description="bootstrap",
+ name="bootstrap",
+ haltOnFailure=True)
+f_moep.addStep(shell.Configure,command=["sh", "-c",
"CPPFLAGS=\"-I/opt/local/include\" LDFLAGS=\"-L/opt/local/lib\" ./configure
--enable-benchmarks --enable-expensive-tests --prefix=/tmp/gnunet_build
--with-extractor=/opt/local/lib --with-qt=/c/Qt/4.4.0"],
+ description="configure",
+ name="configure",
+ haltOnFailure=True)
+f_moep.addStep(shell.Compile,command=["sh", "-c", "make install"])
+f_moep.addStep(shell.ShellCommand, description=["tests util"],
+ name="tests util",
+ usePTY=True,
+ command=["sh", "-c", "cd src/util; make check; "],
+ env={'LDFLAGS' : '-L/opt/local' , 'GNUNET_PREFIX': '/tmp/gnunet_build'
, 'PATH': "/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests block"],
+ name="tests block",
+ usePTY=True,
+ command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests statistics"],
+ name="tests statistics",
+ usePTY=True,
+ command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests arm"],
+ name="tests arm",
+ usePTY=True,
+ command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests hello"],
+ name="tests hello",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests peerinfo"],
+ name="tests peerinfo",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests datacache"],
+ name="tests datacache",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests datastore"],
+ name="tests datastore",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests template"],
+ name="tests template",
+ usePTY=True,
+ command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests fragmentation"],
+ name="tests fragmentation",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests transport"],
+ name="tests transport",
+ usePTY=True,
+ command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests peerinfo-tool"],
+ name="tests peerinfo-tool",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests core"],
+ name="tests core",
+ usePTY=True,
+ command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests testing"],
+ name="tests testing",
+ usePTY=True,
+ command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand,description=["tests nse"],
+ name="tests nse",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests dht"],
+ name="tests dht",
+ usePTY=True,
+ command=["sh", "-c", "cd src/dht; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests hostlist"],
+ name="tests hostlist",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests topology"],
+ name="tests topology",
+ usePTY=True,
+ command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests nat"],
+ name="tests nat",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests fs"],
+ name="tests fs",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests mesh"],
+ name="tests mesh",
+ usePTY=True,
+ command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+f_moep.addStep(shell.ShellCommand, description=["tests vpn"],
+ name="tests vpn",
+ usePTY=True,
+ command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': '/tmp/gnunet_build' , 'PATH':
"/tmp/gnunet_build" + "/bin:/bin:" + os.environ['PATH']})
+
+f_test = factory.BuildFactory()
+f_test.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/gnunet/"))
+f_test.addStep(shell.ShellCommand, command=["sh", "-c", "killall
gnunet-service-arm || true; svn -R revert *; rm -rf /tmp/gnunet*; rm -rf
/tmp/test*;"],
+ description="clean up from previous runs",
+ name="killall",
+ haltOnFailure=False,
+ timeout=180)
+f_test.addStep(shell.ShellCommand, command=["sh", "-c", "./bootstrap"],
+ description="bootstrap",
+ name="bootstrap",
+ haltOnFailure=True)
+f_test.addStep(shell.Configure, command=["sh", "-c", "./configure
--enable-benchmarks --enable-expensive-tests --prefix=" + tmp + "
--with-extractor=/usr/local --with-mysql=/usr/local
--with-microhttpd=/usr/local --with-mysql=/usr/local --with-postgres=/usr/local
--with-libintl-prefix=/usr/local --with-iconv-prefix=/usr/local
--with-ltdl-include=/usr/local/include --with-ltdl-lib=/usr/local/lib"],
+ description="configure",
+ name="configure",
+ haltOnFailure=True)
+f_test.addStep(shell.Compile, command=["sh", "-c", "make install"])
+f_test.addStep(shell.ShellCommand,description=["tests util"],
+ name="tests util",
+ usePTY=True,
+ command=["sh", "-c", "cd src/util;
../../../contrib/../../contrib/timeout_watchdog 900 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand, description=["tests block"],
+ name="tests block",
+ usePTY=True,
+ command=["sh", "-c", "cd src/block; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand, description=["tests statistics"],
+ name="tests statistics",
+ usePTY=True,
+ command=["sh", "-c", "cd src/statistics;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests arm"],
+ name="tests arm",
+ usePTY=True,
+ command=["sh", "-c", "cd src/arm; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests hello"],
+ name="tests hello",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hello; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests peerinfo"],
+ name="tests peerinfo",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests datacache"],
+ name="tests datacache",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datacache;
../../contrib/timeout_watchdog 900 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests datastore"],
+ name="tests datastore",
+ usePTY=True,
+ command=["sh", "-c", "cd src/datastore;
../../contrib/timeout_watchdog 1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests template"],
+ name="tests template",
+ usePTY=True,
+ command=["sh", "-c", "cd src/template;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand, description=["tests fragmentation"],
+ name="tests fragmentation",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fragmentation;
../../contrib/timeout_watchdog 3600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests transport"],
+ name="tests transport",
+ usePTY=True,
+ command=["sh", "-c", "rm -rf /tmp/test-transport; cd src/transport;
../../contrib/timeout_watchdog 7200 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']},
+ timeout=7200)
+f_test.addStep(shell.ShellCommand,description=["tests peerinfo-tool"],
+ name="tests peerinfo-tool",
+ usePTY=True,
+ command=["sh", "-c", "cd src/peerinfo-tool;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests core"],
+ name="tests core",
+ usePTY=True,
+ command=["sh", "-c", "cd src/core; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests testing"],
+ name="tests testing",
+ usePTY=True,
+ command=["sh", "-c", "cd src/testing; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests nse"],
+ name="tests nse",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nse; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests dht"],
+ name="tests dht",
+ usePTY=True,
+ command=["sh", "-c", "cd src/dht; ../../contrib/timeout_watchdog
1800 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests hostlist"],
+ name="tests hostlist",
+ usePTY=True,
+ command=["sh", "-c", "cd src/hostlist;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests topology"],
+ name="tests topology",
+ usePTY=True,
+ command=["sh", "-c", "cd src/topology;
../../contrib/timeout_watchdog 600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests nat"],
+ name="tests nat",
+ usePTY=True,
+ command=["sh", "-c", "cd src/nat; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand,description=["tests fs"],
+ name="tests fs",
+ usePTY=True,
+ command=["sh", "-c", "cd src/fs; ../../contrib/timeout_watchdog 3800
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand, description=["tests mesh"],
+ name="tests mesh",
+ usePTY=True,
+ command=["sh", "-c", "cd src/mesh; ../../contrib/timeout_watchdog
600 make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+f_test.addStep(shell.ShellCommand, description=["tests vpn"],
+ name="tests vpn",
+ usePTY=True,
+ command=["sh", "-c", "cd src/vpn; ../../contrib/timeout_watchdog 600
make check; "],
+ env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+#f_test.addStep(shell.ShellCommand, description=["tests monkey"],
+# name="tests monkey",
+# usePTY=True,
+# command=["sh", "-c", "cd src/monkey; ../../contrib/timeout_watchdog
600 make check; "],
+# env={'GNUNET_PREFIX': tmp, 'PATH': tmp + "/bin:/bin:" +
os.environ['PATH']})
+
+# %PATH% and %LE_PREFIX% have to be set before buildbot startup
+fLEXP = factory.BuildFactory()
+fLEXP.addStep(source.SVN(mode='update', svnurl =
"https://gnunet.org/svn/Extractor/"))
+fLEXP.addStep(shell.ShellCommand,command=["sh", "-c", "killall_gnunet"],
+ description="cleanup old processes",
+ name="cleanup",
+ haltOnFailure=False)
+fLEXP.addStep(shell.ShellCommand,command=["sh", "-c", "./bootstrap"],
+ description="bootstrap",
+ name="bootstrap",
+ haltOnFailure=True)
+fLEXP.addStep(shell.Configure,command=["sh", "-c", "./configure --disable-nls
--prefix=$LE_PREFIX --with-qt=/c/Qt/4.4.0"],
+ description="configure",
+ name="configure",
+ haltOnFailure=True)
+fLEXP.addStep(shell.Compile,command=["sh", "-c", "make install"])
+fLEXP.addStep(shell.ShellCommand, description=["tests"],
+ name="tests",
+ usePTY=True,
+ command=["sh", "-c", "make check; "])
+
+
+b0 = {'name': "example-slave",
+ 'slavename': "example-slave",
+ 'builddir': "full",
+ 'factory': f1,
+ 'category': "GNUnet",
+ }
+#b1 = {'name': "jaunty-arm-grothoff",
+# 'slavename': "grothoff-jaunty-arm",
+# 'builddir': "grothoff-jaunty-arm",
+# 'factory': f1_slow_machines ,
+# 'category': "GNUnet",
+# }
+#b2 = {'name': "squeeze-pentium3-ndurner",
+# 'slavename': "ndurner-gtwy",
+# 'builddir': "ndurner-gtwy",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#b3 = {'name': "windowsxp-x86-ndurner",
+# 'slavename': "ndurner-xp",
+# 'builddir': "ndurner-xp",
+# 'factory': f3,
+# 'category': "GNUnet",
+# }
+#b6 = {'name': "sid-x86-daniel",
+# 'slavename': "daniel-sid-i386",
+# 'builddir': "daniel-sid-i386",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#b7 = {'name': "sid-amd64-daniel",
+# 'slavename': "daniel-sid-amd64",
+# 'builddir': "daniel-sid-amd64",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#b8 = {'name': "sid-powerpc-daniel",
+# 'slavename': "daniel-sid-powerpc",
+# 'builddir': "daniel-sid-powerpc",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#b9 = {'name': "lenny-x86-daniel",
+# 'slavename': "daniel-lenny-i386",
+# 'builddir': "daniel-lenny-i386",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#b10 = {'name': "lenny-amd64-daniel",
+# 'slavename': "daniel-lenny-amd64",
+# 'builddir': "daniel-lenny-amd64",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#b11 = {'name': "lenny-powerpc-daniel",
+# 'slavename': "daniel-lenny-powerpc",
+# 'builddir': "daniel-lenny-powerpc",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#b12 = {'name': "fedora15-x86-grothoff",
+# 'slavename': "grothoff-intrepid-x86",
+# 'builddir': "grothoff-intrepid-x86",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#b13 = {'name': "freebsd8-sparc64-mortuusvir",
+# 'slavename': "mortuusvir-freebsd-sparc64",
+# 'builddir': "mortuusvir-freebsd-sparc64",
+# 'factory': f2,
+# 'category': "GNUnet",
+# }
+#b14 = {'name': "tiger-x86-safey",
+# 'slavename': "safey-tiger-x86",
+# 'builddir': "tiger-x86-safey",
+# 'factory': f4,
+# 'category': "GNUnet",
+# }
+#b15 = {'name': "tiger-powerpc-mortuusvir",
+# 'slavename': "mortuusvir-tiger-powerpc",
+# 'builddir': "tiger-powerpc-mortuusvir",
+# 'factory': f4,
+# 'category': "GNUnet",
+# }
+#b17 = {'name': "freebsd7-x86-evans",
+# 'slavename': "evans-freebsd7-x86",
+# 'builddir': "freebsd7-x86-evans",
+# 'factory': f2,
+# 'category': "GNUnet",
+# }
+#b18 = {'name': "freebsd8-x86-evans",
+# 'slavename' : "evans-freebsd8-x86",
+# 'builddir': "freebsd8-x86-evans",
+# 'factory': f2,
+# 'category': "GNUnet",
+# }
+#b19 = {'name': "lenny-sparc64-wachs",
+# 'slavename' : "wachs-lenny-sparc64",
+# 'builddir': "lenny-sparc64-wachs",
+# 'factory': f1_slow_machines ,
+# 'category': "GNUnet",
+# }
+#b20 = {'name': "freebsd7-amd64-wachs",
+# 'slavename' : "wachs-freebsd7-amd64",
+# 'builddir': "freebsd7-amd64-wachs",
+# 'factory': f2,
+# 'category': "GNUnet",
+# }
+#b21 = {'name': "ubuntu-armv71-evans",
+# 'slavename': "ubuntu-armv71-evans",
+# 'builddir': "ubuntu-armv71-evans",
+# 'factory': f1_slow_machines ,
+# 'category': "GNUnet",
+# }
+#b22 = {'name': "wachs-lenny-powerpc",
+# 'slavename': "wachs-lenny-powerpc",
+# 'builddir': "wachs-lenny-powerpc",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#b23 = {'name': "wachs-lenny-i386",
+# 'slavename': "wachs-lenny-i386",
+# 'builddir': "bot",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#b24 = {'name': "moep-osx",
+# 'slavename': "moep-osx",
+# 'builddir': "moep-osx",
+# 'factory': f_moep,
+# 'category': "GNUnet",
+# }
+#b_nat = {'name': "lenny-arm-nat",
+# 'slavename': "lenny-arm-nat",
+# 'builddir': "lenny-arm-nat",
+# 'factory': f1,
+# 'category': "GNUnet",
+# }
+#bGN_XP = {'name': "gnunet-wachs-winxp64-amd64",
+# 'builddir': "gnunet-wachs-winxp64-amd64",
+# 'slavename' : "wachs-winxp64-amd64",
+# 'factory': f3,
+# 'category': "GNUnet",
+#}
+#bLE_XP = {'name': "extractor-wachs-winxp64-amd64",
+# 'slavename' : "wachs-winxp64-amd64",
+# 'builddir': "wachs-winxp64-amd64",
+# 'factory': fLEXP,
+# 'category': "Extractor",
+#}
+
+
+
+#c['builders'] = [b0, b1, b12, b19, b20, b21, b22, b23, b14, b_nat, bGN_XP,
bLE_XP ]
+#c['builders'] = [b0, b12, b19, b20, b21, b22, b23, b24]
+c['builders'] = [b0]
+
+####### STATUS TARGETS
+
+# 'status' is a list of Status Targets. The results of each build will be
+# pushed to these targets. buildbot/status/*.py has a variety to choose from,
+# including web pages, email senders, and IRC bots.
+
+c['status'] = []
+
+from buildbot.status import html
+#c['status'].append(html.WebStatus(http_port=8010))
+c['status'].append(html.WebStatus(http_port=8010, allowForce=True))
+
+# from buildbot.status import mail
+# c['status'].append(mail.MailNotifier(fromaddr="address@hidden",
+# extraRecipients=["address@hidden"],
+# sendToInterestedUsers=False))
+#
+from buildbot.status import words
+c['status'].append(words.IRC(host="irc.freenode.net", nick="gnunet-bb",
+ channels=["#gnunet"]))
+#
+# from buildbot.status import client
+# c['status'].append(client.PBListener(9988))
+
+
+####### DEBUGGING OPTIONS
+
+# if you set 'debugPassword', then you can connect to the buildmaster with
+# the diagnostic tool in contrib/debugclient.py . From this tool, you can
+# manually force builds and inject changes, which may be useful for testing
+# your buildmaster without actually commiting changes to your repository (or
+# before you have a functioning 'sources' set up). The debug tool uses the
+# same port number as the slaves do: 'slavePortnum'.
+
+#c['debugPassword'] = "f1955c29e336834e88476f74c1825cdb"
+
+# if you set 'manhole', you can ssh into the buildmaster and get an
+# interactive python shell, which may be useful for debugging buildbot
+# internals. It is probably only useful for buildbot developers. You can also
+# use an authorized_keys file, or plain telnet.
+#from buildbot import manhole
+#c['manhole'] = manhole.PasswordManhole("tcp:9999:interface=127.0.0.1",
+# "admin", "password")
+
+
+####### PROJECT IDENTITY
+
+# the 'projectName' string will be used to describe the project that this
+# buildbot is working on. For example, it is used as the title of the
+# waterfall HTML page. The 'projectURL' string will be used to provide a link
+# from buildbot HTML pages to your project's home page.
+
+c['projectName'] = "GNUnet"
+c['projectURL'] = "https://gnunet.org/"
+
+# the 'buildbotURL' string should point to the location where the buildbot's
+# internal web server (usually the html.Waterfall page) is visible. This
+# typically uses the port number set in the Waterfall 'status' entry, but
+# with an externally-visible host name which the buildbot cannot figure out
+# without some help.
+
+c['buildbotURL'] = "http://localhost:8010/"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r18449 - gnunet-planetlab,
gnunet <=