From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: experiences running a Hudson CI server on the Emacs codebase Date: Wed, 14 Jul 2010 10:36:58 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279096668 3735 80.91.229.12 (14 Jul 2010 08:37:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Jul 2010 08:37:48 +0000 (UTC) To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 14 10:37:47 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OYxSw-0001Mq-B7 for ged-emacs-devel@m.gmane.org; Wed, 14 Jul 2010 10:37:40 +0200 Original-Received: from localhost ([127.0.0.1]:54943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYxSn-0006SF-IX for ged-emacs-devel@m.gmane.org; Wed, 14 Jul 2010 04:37:09 -0400 Original-Received: from [140.186.70.92] (port=46919 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYxSg-0006Rj-P2 for emacs-devel@gnu.org; Wed, 14 Jul 2010 04:37:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYxSf-0008IQ-0V for emacs-devel@gnu.org; Wed, 14 Jul 2010 04:37:02 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:54128 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYxSe-0008I1-NE for emacs-devel@gnu.org; Wed, 14 Jul 2010 04:37:00 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id o6E8awlV015774 for ; Wed, 14 Jul 2010 10:36:58 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127262 Archived-At: I'm running a Hudson CI server on the Emacs codebase. I'm not able to make it public yet, but might this autumn. Anyway, the experiences should be valid for any CI setup. The CI server has tried to do 110 builds since I set it up. It polls bzr to see if a change has been made, then tries to build. Out of 110, about 40 has failed. Some of the failed builds were as expected due to the ansification of the trunk. Unexpectedly, a lot of failures were due to bzr. I use bzr 2.0.5 from the Fedora distro, and the bzr plugin of Hudson. Theres lots of free disk space. Heres one type of failure: ,---- | Started by an SCM change | $ bzr revision-info -d /var/lib/hudson/jobs/emacs-trunk/workspace | [workspace] $ bzr pull --overwrite http://bzr.savannah.gnu.org/r/emacs/trunk | http://bzr.savannah.gnu.org/r/emacs/trunk is permanently redirected to http://bzr.savannah.gnu.org/r/emacs/trunk/ | Unable to obtain lock file:///var/lib/hudson/jobs/emacs-trunk/workspace/.bzr/branch/lock | held by hudson@exodia on host exodia [process #29264] | locked 3 hours, 0 minutes ago | Will continue to try until 10:11:13, unless you press Ctrl-C | If you're sure that it's not being modified, use bzr break-lock file:///var/lib/hudson/jobs/emacs-trunk/workspace/.bzr/branch/lock | bzr: ERROR: Could not acquire lock "LockDir(file:///var/lib/hudson/jobs/emacs-trunk/workspace/.bzr/branch/lock)": | ERROR: Failed to pull | Getting local revision... | $ bzr revision-info -d /var/lib/hudson/jobs/emacs-trunk/workspace | kfogel@red-bean.com-20100713221751-w0z5dw4b8cpu1a3h | Finished: FAILURE `---- Heres another one: ,---- | Started by an SCM change | $ bzr revision-info -d /var/lib/hudson/jobs/emacs-trunk/workspace | [workspace] $ bzr pull --overwrite http://bzr.savannah.gnu.org/r/emacs/trunk | bzr: ERROR: exceptions.EOFError: EOF read where object expected | | Traceback (most recent call last): | File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code | return the_callable(*args, **kwargs) | File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 1037, in run_bzr | ret = run(*run_argv) | File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases | return self.run(**all_cmd_args) | File "/usr/lib/python2.6/site-packages/bzrlib/builtins.py", line 970, in run | possible_transports=possible_transports) | File "/usr/lib/python2.6/site-packages/bzrlib/bundle/__init__.py", line 49, in read_mergeable_from_url | _do_directive) | File "/usr/lib/python2.6/site-packages/bzrlib/bundle/__init__.py", line 71, in read_mergeable_from_transport | redirected_transport) | File "/usr/lib/python2.6/site-packages/bzrlib/lazy_import.py", line 125, in __call__ | return obj(*args, **kwargs) | File "/usr/lib/python2.6/site-packages/bzrlib/transport/__init__.py", line 1646, in do_catching_redirections | transport = redirected(transport, e, redirection_notice) | File "/usr/lib/python2.6/site-packages/bzrlib/bundle/__init__.py", line 62, in redirected_transport | note(redirection_notice) | File "/usr/lib/python2.6/site-packages/bzrlib/trace.py", line 117, in note | _bzr_logger.info(*args, **kwargs) | File "/usr/lib/python2.6/logging/__init__.py", line 1030, in info | self._log(INFO, msg, args, **kwargs) | File "/usr/lib/python2.6/logging/__init__.py", line 1142, in _log | record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra) | File "/usr/lib/python2.6/logging/__init__.py", line 1117, in makeRecord | rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func) | File "/usr/lib/python2.6/logging/__init__.py", line 272, in __init__ | from multiprocessing import current_process | File "/usr/lib/python2.6/multiprocessing/__init__.py", line 63, in | from multiprocessing.process import Process, current_process, active_children | EOFError: EOF read where object expected | | bzr 2.0.5 on python 2.6.2 (Linux-2.6.32.11-99.fc12.i686-i686-athlon-with-fedora-12-Constantine) | arguments: ['/usr/bin/bzr', 'pull', '--overwrite', 'http://bzr.savannah.gnu.org/r/emacs/trunk'] | encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8' | plugins: | launchpad /usr/lib/python2.6/site-packages/bzrlib/plugins/launchpad [2.0.5] | netrc_credential_store /usr/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_store [2.0.5] | | *** Bazaar has encountered an internal error. This probably indicates a | bug in Bazaar. You can help us fix it by filing a bug report at | https://bugs.launchpad.net/bzr/+filebug | including this traceback and a description of the problem. | ERROR: Failed to pull | Getting local revision... | $ bzr revision-info -d /var/lib/hudson/jobs/emacs-trunk/workspace | cyd@stupidchicken.com-20100711221453-4vuxwof0928ooq2v | Finished: FAILURE `---- -- Joakim Verona