1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
Commit Graph

216 Commits

Author SHA1 Message Date
Stefan Metzmacher
ab96359bfe script/autobuild: delay start of small projects by 60 to 600 seconds
This should reduce the startup load.

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jun 20 14:56:51 CEST 2012 on sn-devel-104
2012-06-20 14:56:51 +02:00
Stefan Metzmacher
c30e6b5973 script/autobuild: don't use 'make -j 4' for bin/smbtorture4
The '4' has no effect there, which results in NUM_JOBS == NUM_CORES.

metze
2012-06-20 12:58:58 +02:00
Stefan Metzmacher
fba51c82f3 script/autobuild: don't use make -j for small projects
The top level and source3 builds take much longer than the standalone
projects, so there's no need to use 'make -j'.

metze
2012-06-20 12:58:58 +02:00
Rusty Russell
16cc345d4f TDB2: Goodbye TDB2, Hello NTDB.
This renames everything from tdb2 to ntdb: importantly, we no longer
use the tdb_ namespace, so you can link against both ntdb and tdb if
you want to.

This also enables building of standalone ntdb by the autobuild script.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-19 05:38:06 +02:00
Rusty Russell
6244f668a3 TDB2: make SAMBA use tdb1 again for the moment.
Otherwise the following surgery will break the SAMBA build and testsuite.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-19 05:38:05 +02:00
Andrew Bartlett
ae338bf3f5 autobuild: Run ABI check on samba4-libs as well.
Because this build is without the developer options (so as to check that we build without those)
we do not do an ABI check by default.

Andrew Bartlett
2012-05-18 15:44:43 +10:00
Andrew Bartlett
ce5ac20d19 remove --enable-developer from samba4-libs autobuild
This will ensure everything works for end users without --enable-developer.

Andrew Bartlett
2012-04-11 02:30:40 +02:00
Andrew Bartlett
7da56a1e37 autobuild: Also test a distribution-style build with external libs
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Apr  9 10:06:38 CEST 2012 on sn-devel-104
2012-04-09 10:06:37 +02:00
Amitay Isaacs
cff40ed7f8 autobuild: Enable standalone tdb2 tests
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Thu Mar  8 09:32:24 CET 2012 on sn-devel-104
2012-03-08 09:32:24 +01:00
Amitay Isaacs
be292021f4 autobuild.py: Catch only true exceptions in except statement
sys.exit(0) raises systemExit which is caught in empty except:
statement. This can change the exit status if except: condition is
supposed to exit with different status value.
2012-01-24 11:55:49 +11:00
Stefan Metzmacher
c55db47f1c script/autobuild.py: cleanup on rebase failure
We can improve this to generate logs.tar.gz later...

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Jan 21 11:29:58 CET 2012 on sn-devel-104
2012-01-21 11:29:58 +01:00
Stefan Metzmacher
3c4eb2cab6 script/autobuild.py: split 'samba3' 'make -j 4 everything' into multiple steps
Calling 'waf configure' while compiling .c files makes it very hard to
find compile errors. We do 'make -j 4 bin/smbtorture4' before 'make -j 4 everything'.

metze
2011-10-11 15:52:25 +02:00
Andrew Bartlett
1da89da251 autobuild: Remove s3-waf from autobuild 2011-10-07 17:45:20 +11:00
Andrew Bartlett
8420a36dc7 ldb: make ldb a top level library for Samba 4.0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-05 17:24:47 +10:00
Stefan Metzmacher
5e82d1d0a7 script/autobuild.py: don't force usage of ccache and gcc
If someone wants to use it, CC="ccache gcc" script/autobuild.py will work.

It also makes it possible to use other compilers than gcc.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Apr 30 13:47:47 CEST 2011 on sn-devel-104
2011-04-30 13:47:47 +02:00
Stefan Metzmacher
a23d88e3df script/autobuild.py: make sure --with-selftest-prefix keeps working
metze
2011-04-30 12:47:18 +02:00
Andrew Tridgell
dbf6b481e9 autobuild: enabled samba3-waf build
this is just a build check for now. See the mailing list discussion.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar  1 06:22:07 CET 2011 on sn-devel-104
2011-03-01 06:22:07 +01:00
Andrew Tridgell
949427c208 python: use os.environ[] instead of os.putenv()
using os.putenv() causes too much confusion, as it doesn't update
os.getenv()

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +01:00
Stefan Metzmacher
4a558ca9d8 script/autobuild.py: git diff has a '--stat' option, no need to use 'diffstat'
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Feb  7 14:55:10 CET 2011 on sn-devel-104
2011-02-07 14:55:10 +01:00
Andrew Tridgell
a8a507222c autobuild: lib/replace doesn't need autogen.sh
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 15:03:40 +11:00
Andrew Tridgell
d0f54702c5 autobuild: fixed clone source for build trees
this fixes a bug where autobuild would test the tree that the user
pushed, not the tree that has been rebased on master. That could cause
broken trees to get into master. Andrew Bartlett noticed this with a
tree from Jan 19th. 

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:02 +11:00
Andrew Tridgell
03027ad8f1 autobuild: add a bit more debug info in autobuild
this may help to track down rebase problems in future

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:02 +11:00
Andrew Tridgell
df069e4028 autobuild: decouple build directories from target names
this allows us to use 'samba4' as the tag, but build in '.'

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:02 +11:00
Andrew Tridgell
af91d31860 autobuild: added "make distcheck" for our libs
this ensures that release creation always works
2011-01-11 01:23:05 +01:00
Stefan Metzmacher
0185f660c0 script/autobuild.py: add pidl tests
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan  5 14:29:54 CET 2011 on sn-devel-104
2011-01-05 14:29:54 +01:00
Stefan Metzmacher
38c3e58945 script/autobuild.py: fix path to clean-source-tree.sh from within lib/tevent/
metze
2011-01-05 12:45:31 +01:00
Stefan Metzmacher
ade566d6b8 script/autobuild.py: check that the source tree has no uncommitted changes after make
This makes sure the ABI files will be committed when the ABI changed.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 31 04:03:28 CET 2010 on sn-devel-104
2010-12-31 04:03:28 +01:00
Jelmer Vernooij
9e8a049843 tdb: Remove autotools support. 2010-12-24 01:15:05 +01:00
Stefan Metzmacher
e54d58d113 autobuild: add some comments
metze
2010-10-25 08:16:28 +00:00
Stefan Metzmacher
47e2371598 autobuild: run ldb tests with TDB_NO_FSYNC=1
Only the tdb tests should not have this.

metze
2010-10-25 07:02:26 +00:00
Andrew Tridgell
6120ef9f9e autobuild: don't cleanup the pid file within the retry loop
if we rebase and retry we need to keep the pid file
2010-10-21 20:56:38 +11:00
Andrew Tridgell
39932f21da autobuild: create an autobuild.pid file
this will allow us to avoid an error email when you resubmit and there
is an existing autobuild.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct 19 23:36:05 UTC 2010 on sn-devel-104
2010-10-19 23:36:05 +00:00
Andrew Tridgell
d0293428fe autobuild: do make install after make test
this ensures that commits that break uninstalled testing get caught by
autobuild in future

Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-10-13 11:00:04 +00:00
Andrew Tridgell
4e1966db95 autobuild: send email failure if rebase fails
users need to know if the rebase on master fails

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Oct 12 02:53:15 UTC 2010 on sn-devel-104
2010-10-12 02:53:15 +00:00
Andrew Tridgell
1e2c1c8942 autobuild: only add autobuild.log if it exists
this makes running autobuild on other than sn-devel easier
2010-10-06 11:13:05 +00:00
Andrew Tridgell
4b16cc9eef autobuild: override the editor when marking the commit
this avoids the problem of a user having an editor set in their global
.gitconfig, and that having higher precedence than the EDITOR
environment variable

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sun Oct  3 15:22:01 UTC 2010 on sn-devel-104
2010-10-03 15:22:01 +00:00
Andrew Tridgell
06b27e5e3d autobuild: show top commit in emails 2010-10-01 22:31:58 -07:00
Andrew Tridgell
f9bc389f60 autobuild: include autobuild.log in logs.tar.gz 2010-10-01 22:31:58 -07:00
Andrew Tridgell
faa993d95c autobuild: fixed tuple count for retry 2010-10-01 18:03:31 -07:00
Andrew Tridgell
0111e80ea9 autobuild: revert a bit more of the subunit changes
still not quite right - we can enable this again once its fully tested
2010-10-01 13:08:22 -07:00
Andrew Tridgell
b75c1f57c2 autobuild: disable the subuit changes for now - they break error checking 2010-10-01 13:08:22 -07:00
Andrew Tridgell
afe78c23ad autobuild: fixed the tuples in the retry_task
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Oct  1 18:22:22 UTC 2010 on sn-devel-104
2010-10-01 18:22:22 +00:00
Andrew Tridgell
2d66bb51ca autobuild: cwd is needed on all command types 2010-10-01 11:12:24 -07:00
Jelmer Vernooij
9cdebd0ebc autobuild: Avoid unnecessary chdir() calls. 2010-10-01 18:49:42 +02:00
Jelmer Vernooij
c4ab2b38af autobuild: Output test results in subunit. 2010-10-01 18:49:40 +02:00
Jelmer Vernooij
3dfbf3ce03 autobuild: Provide more information about build sequence, stage name and output mime type (all plain text for now). 2010-10-01 18:49:40 +02:00
Jelmer Vernooij
7210c95e60 autobuild: Add --always-email option. 2010-10-01 18:49:39 +02:00
Jelmer Vernooij
ebf01a4f89 autobuild: Add --daemon option. 2010-10-01 11:05:04 +02:00
Jelmer Vernooij
072e310104 autobuild: Remove autogen step for projects that have checked in configure. 2010-10-01 11:03:18 +02:00
Jelmer Vernooij
28a3d2ea30 autobuild: Simplify find_git_root. 2010-10-01 11:03:18 +02:00
Andrew Tridgell
23b4126f10 autobuild: fixed the --tail option for new log locations 2010-09-30 20:11:15 -07:00
Andrew Tridgell
6a029cd9ca autobuild: push of ref/notes/commits isn't allowed in master
metze may enable this later

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Sep 30 22:25:02 UTC 2010 on sn-devel-104
2010-09-30 22:25:02 +00:00
Andrew Tridgell
e90b9640bd autobuild: added much better email reporting
logs are now accessible via http://git.samba.org
2010-09-30 10:42:43 -07:00
Andrew Tridgell
21739bdbc9 autobuild: fixed exit status
this should fix the case where we don't send logs on failure
2010-09-30 16:45:13 +00:00
Andrew Tridgell
e257e7a40b autobuild: use git notes for autobuild messages
This avoids changing the commit ID when we add a note that the
autobuild has passed

thanks to Jelmer for this suggestion!
2010-09-28 11:36:40 -07:00
Andrew Tridgell
00611cbcf6 selftest: enable FAIL_IMMEDIATELY in autobuild make test
this should reduce the time we wait for previous failing builds.

Right now this will only work for s4, as we need a makefile change for
s3 support
2010-09-28 11:36:40 -07:00
Andrew Tridgell
5ffacff5c4 autobuild: use killbysubdir if available
this will reduce the spurious test output while processes are being
killed
2010-09-26 19:51:02 +00:00
Andrew Tridgell
cc79f092ba autobuild: exit immediately if no changes from master
we don't need to test master in autobuild
2010-09-26 19:51:02 +00:00
Andrew Tridgell
65fc066ef4 autobuild: fixed detection of master changes 2010-09-26 06:29:06 +00:00
Andrew Tridgell
e9560722ca autobuild: added --retry option
this allows the build to auto retry if master changes
2010-09-26 01:21:50 +00:00
Andrew Tridgell
00791652f4 autobuild: enable ccache 2010-09-26 01:21:49 +00:00
Andrew Tridgell
d9a0546666 autobuild: added --fix-whitespace option 2010-09-26 01:21:49 +00:00
Andrew Tridgell
5d5ae099d1 autobuild: added --rebase-master and --push-master
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-26 01:21:49 +00:00
Andrew Tridgell
91b62a2744 autobuild: added a EDITOR script to mark successful autobuilds
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-26 01:21:49 +00:00
Andrew Tridgell
f7fb272e95 autobuild: added --rebase option
this allows you to rebase on a URL before starting
2010-09-26 01:21:49 +00:00
Andrew Tridgell
a09b241ebb script: added autobuild.py automatic build test script
this can be used to run all tests in parallel, in free git clones
2010-09-26 01:21:49 +00:00