build-farm.git
13 years agowork on history support using dulwich
Jelmer Vernooij [Fri, 12 Nov 2010 01:50:29 +0000 (02:50 +0100)]
work on history support using dulwich

13 years agoprint the return code value as it can help debug
Matthieu Patou [Fri, 12 Nov 2010 00:17:47 +0000 (03:17 +0300)]
print the return code value as it can help debug

13 years agoTest upload_build.
Jelmer Vernooij [Thu, 11 Nov 2010 23:21:28 +0000 (00:21 +0100)]
Test upload_build.

13 years agoAdd tests for BuildFarm.get_build().
Jelmer Vernooij [Thu, 11 Nov 2010 22:24:28 +0000 (23:24 +0100)]
Add tests for BuildFarm.get_build().

13 years agoTest both cache and non-cache versions.
Jelmer Vernooij [Thu, 11 Nov 2010 22:19:30 +0000 (23:19 +0100)]
Test both cache and non-cache versions.

13 years agoTest both BuildFarm and CachingBuildFarm.
Jelmer Vernooij [Thu, 11 Nov 2010 21:59:47 +0000 (22:59 +0100)]
Test both BuildFarm and CachingBuildFarm.

13 years agoAdd some more base buildfarm tests.
Jelmer Vernooij [Thu, 11 Nov 2010 21:56:15 +0000 (22:56 +0100)]
Add some more base buildfarm tests.

13 years agoFix caching buildfarm.
Jelmer Vernooij [Thu, 11 Nov 2010 21:41:46 +0000 (22:41 +0100)]
Fix caching buildfarm.

13 years agomake import-and-analyse executable.
Jelmer Vernooij [Thu, 11 Nov 2010 21:38:35 +0000 (22:38 +0100)]
make import-and-analyse executable.

13 years agoReintroduce readonly parameter, remove unnecessary code.
Jelmer Vernooij [Thu, 11 Nov 2010 21:17:21 +0000 (22:17 +0100)]
Reintroduce readonly parameter, remove unnecessary code.

13 years agoUse the correct form for cmp
Matthieu Patou [Thu, 11 Nov 2010 19:50:53 +0000 (22:50 +0300)]
Use the correct form for cmp

13 years agoattribute readonly didn't exists (anymore ?)
Matthieu Patou [Thu, 11 Nov 2010 19:48:40 +0000 (22:48 +0300)]
attribute readonly didn't exists (anymore ?)

13 years agoremove useless declaration
Matthieu Patou [Thu, 11 Nov 2010 19:44:07 +0000 (22:44 +0300)]
remove useless declaration

13 years agoget_lcov_cached_status has been removed build the cachefile name for lcov in the...
Matthieu Patou [Thu, 11 Nov 2010 19:42:47 +0000 (22:42 +0300)]
get_lcov_cached_status has been removed build the cachefile name for lcov in the cachedbuildfarm class directly

13 years agochange the name of the cache folder
Matthieu Patou [Thu, 11 Nov 2010 19:33:49 +0000 (22:33 +0300)]
change the name of the cache folder

13 years agouse the cached version of the build farm for the web interface
Matthieu Patou [Thu, 11 Nov 2010 19:17:52 +0000 (22:17 +0300)]
use the cached version of the build farm for the web interface

13 years agoIntroduce a cached variant of the build farm, correct cached build to handle correctl...
Matthieu Patou [Thu, 11 Nov 2010 19:16:06 +0000 (22:16 +0300)]
Introduce a cached variant of the build farm, correct cached build to handle correctly CachedUploadBuild class

13 years agoDo not use cache for lcov in the non cached variant of the buildfarm class
Matthieu Patou [Thu, 11 Nov 2010 19:15:09 +0000 (22:15 +0300)]
Do not use cache for lcov in the non cached variant of the buildfarm class

13 years agoMove lcov cache onto BuildFarm, simplify get_build.
Jelmer Vernooij [Thu, 11 Nov 2010 00:50:54 +0000 (01:50 +0100)]
Move lcov cache onto BuildFarm, simplify get_build.

13 years agodesactivate history for the moment (it's broken)
Matthieu Patou [Wed, 10 Nov 2010 23:42:46 +0000 (02:42 +0300)]
desactivate history for the moment (it's broken)

13 years agouse buildfarm get_build function instead of the one of the buildstore
Matthieu Patou [Wed, 10 Nov 2010 23:42:24 +0000 (02:42 +0300)]
use buildfarm get_build function instead of the one of the buildstore

13 years agoimplement get_build on the buildfarm object so that it can dispatch to the adhoc...
Matthieu Patou [Wed, 10 Nov 2010 23:39:16 +0000 (02:39 +0300)]
implement get_build on the buildfarm object so that it can dispatch to the adhoc object

13 years agouse buildstore function to get the cached status
Matthieu Patou [Wed, 10 Nov 2010 23:37:48 +0000 (02:37 +0300)]
use buildstore function to get the cached status

13 years agoadd function to get the lcov cache status on a build store
Matthieu Patou [Wed, 10 Nov 2010 23:41:16 +0000 (02:41 +0300)]
add function to get the lcov cache status on a build store

13 years agoServe in standalone mode only files that are local the current folder
Matthieu Patou [Wed, 10 Nov 2010 22:00:40 +0000 (01:00 +0300)]
Serve in standalone mode only files that are local the current folder

This should avoid security problem

13 years agoWe no longer have CVS-based projects, and should not introduce any newer; remove...
Jelmer Vernooij [Wed, 10 Nov 2010 10:26:30 +0000 (11:26 +0100)]
We no longer have CVS-based projects, and should not introduce any newer; remove cvslog.pl.

13 years agoMore improvements to import-and-analyse.
Jelmer Vernooij [Wed, 10 Nov 2010 10:23:57 +0000 (11:23 +0100)]
More improvements to import-and-analyse.

13 years agoSimplify some code.
Jelmer Vernooij [Wed, 10 Nov 2010 09:05:34 +0000 (10:05 +0100)]
Simplify some code.

13 years agoSimplify new build iteration.
Jelmer Vernooij [Wed, 10 Nov 2010 08:44:57 +0000 (09:44 +0100)]
Simplify new build iteration.

13 years agoMore work on import and analyse.
Jelmer Vernooij [Wed, 10 Nov 2010 08:38:26 +0000 (09:38 +0100)]
More work on import and analyse.

13 years agoSplit up further.
Jelmer Vernooij [Wed, 10 Nov 2010 08:31:49 +0000 (09:31 +0100)]
Split up further.

13 years agoSplit up BuildResultStore further.
Jelmer Vernooij [Wed, 10 Nov 2010 08:26:07 +0000 (09:26 +0100)]
Split up BuildResultStore further.

13 years agoMove more functionality to buildfarm.BuildFarm.
Jelmer Vernooij [Wed, 10 Nov 2010 07:32:38 +0000 (08:32 +0100)]
Move more functionality to buildfarm.BuildFarm.

13 years agoRemove trees from BuildResultStore.
Jelmer Vernooij [Wed, 10 Nov 2010 07:23:49 +0000 (08:23 +0100)]
Remove trees from BuildResultStore.

13 years agoAdd BuildFarm object, remove compilers and host_age from BuildResultStore.
Jelmer Vernooij [Wed, 10 Nov 2010 07:19:01 +0000 (08:19 +0100)]
Add BuildFarm object, remove compilers and host_age from BuildResultStore.

13 years agoFix smtplib.Connection -> smtplib.SMTP.
Jelmer Vernooij [Wed, 10 Nov 2010 07:09:05 +0000 (08:09 +0100)]
Fix smtplib.Connection -> smtplib.SMTP.

13 years agoAdd python version of import-and-analyse.pl.
Jelmer Vernooij [Wed, 10 Nov 2010 07:08:48 +0000 (08:08 +0100)]
Add python version of import-and-analyse.pl.

13 years agoRemove unused variable.
Jelmer Vernooij [Wed, 10 Nov 2010 05:58:47 +0000 (06:58 +0100)]
Remove unused variable.

13 years agoCope with intermediate errors.
Jelmer Vernooij [Wed, 10 Nov 2010 05:57:53 +0000 (06:57 +0100)]
Cope with intermediate errors.

13 years agoCope with other_failures being the same.
Jelmer Vernooij [Wed, 10 Nov 2010 05:41:33 +0000 (06:41 +0100)]
Cope with other_failures being the same.

13 years agoUse standard infrastructure for cmp.
Jelmer Vernooij [Wed, 10 Nov 2010 05:23:18 +0000 (06:23 +0100)]
Use standard infrastructure for cmp.

13 years agoReturn to the current directory after dealing with git revision calculation
Matthieu Patou [Tue, 9 Nov 2010 22:58:37 +0000 (01:58 +0300)]
Return to the current directory after dealing with git revision calculation

13 years agoadd unit tests
Matthieu Patou [Tue, 9 Nov 2010 21:09:13 +0000 (00:09 +0300)]
add unit tests

13 years agoMove compare function to BuildStatus class
Matthieu Patou [Tue, 9 Nov 2010 21:09:03 +0000 (00:09 +0300)]
Move compare function to BuildStatus class

13 years agorewrite the sort status function
Matthieu Patou [Tue, 9 Nov 2010 19:15:40 +0000 (22:15 +0300)]
rewrite the sort status function

13 years agoImprove status for special cases
Matthieu Patou [Tue, 9 Nov 2010 17:46:48 +0000 (20:46 +0300)]
Improve status for special cases

13 years agoHandle test stage a bit differently due to samba_* particularity
Matthieu Patou [Tue, 9 Nov 2010 17:46:10 +0000 (20:46 +0300)]
Handle test stage a bit differently due to samba_* particularity

13 years agoUse the correct css class for checker
Matthieu Patou [Tue, 9 Nov 2010 16:56:36 +0000 (19:56 +0300)]
Use the correct css class for checker

13 years agoinclude stage name in stages list.
Jelmer Vernooij [Tue, 9 Nov 2010 15:35:20 +0000 (16:35 +0100)]
include stage name in stages list.

13 years agoCast unicode strings to utf-8 strings
Matthieu Patou [Tue, 9 Nov 2010 13:43:32 +0000 (16:43 +0300)]
Cast unicode strings to utf-8 strings

Properties of a HostBuild object are unicode strings not plain "strings"
but the web frameworks expect data to be just plain strings so we have
to do a cast

13 years agoParse log line-by-line.
Jelmer Vernooij [Tue, 9 Nov 2010 08:13:42 +0000 (09:13 +0100)]
Parse log line-by-line.

13 years agoSimplify log parsing a bit.
Jelmer Vernooij [Tue, 9 Nov 2010 07:37:48 +0000 (08:37 +0100)]
Simplify log parsing a bit.

13 years agoRemove svn/cvs support.
Jelmer Vernooij [Tue, 9 Nov 2010 07:32:23 +0000 (08:32 +0100)]
Remove svn/cvs support.

13 years agoForce to have a ldb backend for make test
Matthieu Patou [Mon, 8 Nov 2010 23:22:49 +0000 (02:22 +0300)]
Force to have a ldb backend for make test

13 years agoFix syntax error.
Jelmer Vernooij [Mon, 8 Nov 2010 22:44:20 +0000 (23:44 +0100)]
Fix syntax error.

13 years agoDo explicit cast to string of Host attributes
Matthieu Patou [Mon, 8 Nov 2010 22:37:10 +0000 (01:37 +0300)]
Do explicit cast to string of Host attributes

13 years agoMake build_status_from_logs take files rather than huge strings.
Jelmer Vernooij [Mon, 8 Nov 2010 22:33:11 +0000 (23:33 +0100)]
Make build_status_from_logs take files rather than huge strings.

13 years agoRemove updating of samba-docs and lorikeet. Move samba-web and build-farm to git.
Jelmer Vernooij [Mon, 8 Nov 2010 22:08:55 +0000 (23:08 +0100)]
Remove updating of samba-docs and lorikeet. Move samba-web and build-farm to git.

13 years agoRemove obsolete trees samba-docs and lorikeet. Move build_farm and samba-web to git.
Jelmer Vernooij [Mon, 8 Nov 2010 22:08:02 +0000 (23:08 +0100)]
Remove obsolete trees samba-docs and lorikeet. Move build_farm and samba-web to git.

13 years agoSimplify build_status() code. Return all found revisions in revision_details().
Jelmer Vernooij [Mon, 8 Nov 2010 21:57:02 +0000 (22:57 +0100)]
Simplify build_status() code. Return all found revisions in revision_details().

13 years agoForce the string conversion to avoid write() argument must be string error
Matthieu Patou [Mon, 8 Nov 2010 21:21:21 +0000 (00:21 +0300)]
Force the string conversion to avoid write() argument must be string error

13 years agoDisplay more clearly when make test returns an error with no failed tests
Matthieu Patou [Mon, 8 Nov 2010 06:57:57 +0000 (09:57 +0300)]
Display more clearly when make test returns an error with no failed tests

13 years agoUnbreak the testsuite, rename cache2 back to cache.
Jelmer Vernooij [Mon, 8 Nov 2010 21:08:16 +0000 (22:08 +0100)]
Unbreak the testsuite, rename cache2 back to cache.

13 years agoCope with missing err files.
Jelmer Vernooij [Mon, 8 Nov 2010 21:08:02 +0000 (22:08 +0100)]
Cope with missing err files.

13 years agoMore debug
Matthieu Patou [Mon, 8 Nov 2010 20:07:21 +0000 (23:07 +0300)]
More debug

13 years agomove from cache to cache2 in order to be able to run tests on build.samba.org
Matthieu Patou [Mon, 8 Nov 2010 20:06:53 +0000 (23:06 +0300)]
move from cache to cache2 in order to be able to run tests on build.samba.org

13 years agoMake standalone listen only on localhost and use local version of common.css
Matthieu Patou [Mon, 8 Nov 2010 20:06:25 +0000 (23:06 +0300)]
Make standalone listen only on localhost and use local version of common.css

13 years agoMore debug
Matthieu Patou [Mon, 8 Nov 2010 09:53:16 +0000 (12:53 +0300)]
More debug

13 years agoAdd convenience function for opening host database.
Jelmer Vernooij [Mon, 8 Nov 2010 07:52:54 +0000 (08:52 +0100)]
Add convenience function for opening host database.

13 years agoAdd debug
Matthieu Patou [Mon, 8 Nov 2010 06:28:16 +0000 (09:28 +0300)]
Add debug

13 years agoUse TDB_NO_FSYNC in s4 builds in hope that it will speed up tests on sunX
Matthieu Patou [Sun, 7 Nov 2010 22:12:20 +0000 (01:12 +0300)]
Use TDB_NO_FSYNC in s4 builds in hope that it will speed up tests on sunX

13 years agoUse TDB_NO_FSYNC in s4 builds in hope that it will speed up tests
Matthieu Patou [Sun, 7 Nov 2010 22:07:15 +0000 (01:07 +0300)]
Use TDB_NO_FSYNC in s4 builds in hope that it will speed up tests

13 years agoIgnore the make test and for the waf test for samba4 build on buildsamba02
Matthieu Patou [Sun, 7 Nov 2010 21:44:16 +0000 (00:44 +0300)]
Ignore the make test and for the waf test for samba4 build on buildsamba02

13 years agoMake read_err return a file object.
Jelmer Vernooij [Sun, 7 Nov 2010 21:30:02 +0000 (22:30 +0100)]
Make read_err return a file object.

13 years agoMake read_log return a file.
Jelmer Vernooij [Sun, 7 Nov 2010 21:27:23 +0000 (22:27 +0100)]
Make read_log return a file.

13 years agoSimplify status handling.
Jelmer Vernooij [Sun, 7 Nov 2010 21:13:16 +0000 (22:13 +0100)]
Simplify status handling.

13 years agoFix tests.
Jelmer Vernooij [Sun, 7 Nov 2010 21:13:05 +0000 (22:13 +0100)]
Fix tests.

13 years agoSimplify host handling.
Jelmer Vernooij [Sun, 7 Nov 2010 21:05:52 +0000 (22:05 +0100)]
Simplify host handling.

13 years agoAdd log_checksum function.
Jelmer Vernooij [Sun, 7 Nov 2010 20:56:02 +0000 (21:56 +0100)]
Add log_checksum function.

13 years agoremove unused test.pl script.
Jelmer Vernooij [Sat, 6 Nov 2010 23:27:30 +0000 (00:27 +0100)]
remove unused test.pl script.

13 years agoFix status sort so that sorting is the same as in the perl version
Matthieu Patou [Sun, 7 Nov 2010 20:14:02 +0000 (23:14 +0300)]
Fix status sort so that sorting is the same as in the perl version

13 years agoConstruct a host => plateform dictionary, make html output more debuggable
Matthieu Patou [Sun, 7 Nov 2010 20:10:13 +0000 (23:10 +0300)]
Construct a host => plateform dictionary, make html output more debuggable

13 years agoReport checker stage as - if result is unknown and compiler is not checker
Matthieu Patou [Sun, 7 Nov 2010 20:09:08 +0000 (23:09 +0300)]
Report checker stage as - if result is unknown and compiler is not checker

13 years agoFix buildsamba02 build
Matthieu Patou [Sun, 7 Nov 2010 09:29:26 +0000 (12:29 +0300)]
Fix buildsamba02 build

13 years agoPoint to the good database
Matthieu Patou [Sun, 7 Nov 2010 09:07:40 +0000 (12:07 +0300)]
Point to the good database

13 years agouse BUILD REVISION if the BUILD COMMIT REVISION has not been found
Matthieu Patou [Sun, 7 Nov 2010 03:12:08 +0000 (06:12 +0300)]
use BUILD REVISION if the BUILD COMMIT REVISION has not been found

Quite often BUILD REVISION hold a timestamp not a git/svn revision

13 years agoShow make "test" as -1 if no test failed but make return non zero
Matthieu Patou [Sun, 7 Nov 2010 03:10:53 +0000 (06:10 +0300)]
Show make "test" as -1 if no test failed but make return non zero

13 years agoFix the view "recent build", handle case when revision is null
Matthieu Patou [Sun, 7 Nov 2010 03:05:47 +0000 (06:05 +0300)]
Fix the view "recent build", handle case when revision is null

13 years agoFix more bugs
Matthieu Patou [Sat, 6 Nov 2010 20:51:42 +0000 (23:51 +0300)]
Fix more bugs

Mainly with multiline regexp, use re.M to be able to have ^$ to limit a
line

13 years agouse css to do the spacing not html ...
Matthieu Patou [Sat, 6 Nov 2010 20:51:26 +0000 (23:51 +0300)]
use css to do the spacing not html ...

13 years agoMake errorlog divs not visible
Matthieu Patou [Sat, 6 Nov 2010 13:47:15 +0000 (16:47 +0300)]
Make errorlog divs not visible

13 years agoAdd python version of mail-dead-hosts script.
Jelmer Vernooij [Sat, 6 Nov 2010 23:25:04 +0000 (00:25 +0100)]
Add python version of mail-dead-hosts script.

13 years agodirectly access the hosts list from the sqlite database in the web build.
Jelmer Vernooij [Sat, 6 Nov 2010 23:14:43 +0000 (00:14 +0100)]
directly access the hosts list from the sqlite database in the web build.

13 years agoRemove old admin script.
Jelmer Vernooij [Sat, 6 Nov 2010 19:59:25 +0000 (20:59 +0100)]
Remove old admin script.

13 years agoAdd python version of admin.py.
Jelmer Vernooij [Sat, 6 Nov 2010 19:15:58 +0000 (20:15 +0100)]
Add python version of admin.py.

13 years agoUse iterators, proper booleans.
Jelmer Vernooij [Sat, 6 Nov 2010 18:43:32 +0000 (19:43 +0100)]
Use iterators, proper booleans.

13 years agoAdd convenience class for build status.
Jelmer Vernooij [Sat, 6 Nov 2010 18:14:45 +0000 (19:14 +0100)]
Add convenience class for build status.

13 years agoMerge build_status_from_logs tests.
Jelmer Vernooij [Sat, 6 Nov 2010 17:58:35 +0000 (18:58 +0100)]
Merge build_status_from_logs tests.

13 years agoAdd my copyright
Matthieu Patou [Sat, 6 Nov 2010 13:25:48 +0000 (16:25 +0300)]
Add my copyright

13 years agoVarious fix for removing errors while accessing the build page
Matthieu Patou [Sat, 6 Nov 2010 13:25:34 +0000 (16:25 +0300)]
Various fix for removing errors while accessing the build page