This change is the first major step towards more improvements to the
buildbot. It cleans up various details, but most notably:
-it now uses a task as the basic data structure, to improve readability
and maintainability
-it breaks the bot into a master bot and a builder bot.
-it allows a master to receive reports from remote bots, and the
status page now aggregates all those reports.
-it allows a builder bot to send its reports to several master bots.
-the master bot uses whatever go version is installed to build the
builder bot, or the downloaded go tip if none is found.
The master bot is in charge of
1) monitoring the changes to the Camlistore and Go repos,
2) recompiling builder bot, which allows to add some new tests to the
test suite without having to interrupt the master bot.
3) starting a builder bot instance
4) waiting for the builder bot report and/or polling the builder bot
for its progress
5) answering the requests to display the various status pages.
http://camlistore.org/issue/185
Change-Id: I46a0b8fabbebf76b0c3ed04fd2ee73362d565cf7
This adds the error returned from exec to the log message, and
provides '(empty)' placeholders when no stdout or stderr is present
from the called binary.
This has the effect of changing the silent errors I was seeing on my
buildbot from:
"""
Error:
:
"""
To:
"""
Error:
exec: "devcam": executable file not found in $PATH
Stdout:
(empty)
Stderr:
(empty)
"""
Also provides a /stderr handler linked from the status page that
allows all the logs to be viewed. This is handy when the logs from an
individual test don't provide enough info to debug a build problem.
Change-Id: I4b3ef5a5db6aac1ddf41c41bc2fff310f19a82a1
The integration tests run by devcam test require a
GPG keyblob in the default location (for camput), and
we do not track in git such a keyblob.
This change allows devcam test to create the keyblob
with devcam put init before running the tests.
Also, devcam server is now using CAMLI_KEYID instead
of hardcoding the key id in the dev server config file.
Change-Id: I030b88c9a9321016fedb62424e0e707621206922
Also added -port flag, and untied the port to the
password in devcam server, always 'pass3179' now.
http://camlistore.org/issue/212
Change-Id: Iadf693951763d47907be17c53d4807a4706eb150
This change also removes misc/get_closure.pl and updates
the Makefile accordingly.
http://camlistore.org/issue/140
Change-Id: I508271cee24eb20d8391cb3d84e1201ce3ef567e
For folks whose $USER doesn't match their
Gerrit username, editing misc/review is not a
great solution, since the changes cannot be
committed (nf notwithstanding).
Instead, let ssh config files do their thing;
these are not part of the repo, and thus can
be set once and merrily forgotten.
Change-Id: If03fe05e5779553ed1f98310e8f22b0635ada7bb
1) Use "make forcefull". Please note that this will fail
with the default Go1 version installed by ubuntu packages.
2) Use --offline with dev-server to avoid pulling the
closure stuff.
3) Waterfall display (new stuff on top, older at bottom).
4) Added a camput -vivify run, with the subsequent camgets
to check that the file has indeed been pushed.
Change-Id: Icd164932bd61d54ddbece12ef420524643e07f1b
1) The code to get the closure library has been moved from
dev-server to misc/get_closure.pl
2) The svn checkout version for the closure library was bumped
to the latest: 2459
3) The closure library checkout now goes into tmp/closure-library/,
to keep tmp/ clean for other things we might want to add there
(like the compiler). So the path to the actual libraries is now
tmp/closure-library/closure/
4) The code to get the closure compiler build was added in
misc/get_closure.pl. The compiler goes to
tmp/closure-compiler/compiler.jar
5) The version of the closure compiler is the latest build as
of this time: 20121212
Change-Id: I7e03ad7d6fe440430c5727cf56a956efed360d43