From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: GSoC: Adding a web interface similar to the Hydra web interface Date: Mon, 11 Jun 2018 13:23:31 +0200 Message-ID: <87lgblk1n0.fsf@gnu.org> References: <87vac3twbe.fsf@gnu.org> <87o9hog2ye.fsf@elephly.net> <87d0xyn9zs.fsf@elephly.net> <87d0xswvls.fsf@elephly.net> <87r2m4ntk4.fsf@mdc-berlin.de> <87tvqxy4i9.fsf@elephly.net> <87in78hxo2.fsf@elephly.net> <878t7xb58o.fsf@elephly.net> <874lijbqvf.fsf@elephly.net> <20180606200210.7a9c4dd6@scratchpost.org> <87efhdzktx.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSKvB-0000T6-6A for guix-devel@gnu.org; Mon, 11 Jun 2018 07:23:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSKv7-000263-TD for guix-devel@gnu.org; Mon, 11 Jun 2018 07:23:37 -0400 In-Reply-To: <87efhdzktx.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 11 Jun 2018 12:19:54 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel , Tatiana Sholokhova Hello Tatiana & Ricardo! Ricardo Wurmus skribis: > I wasn=E2=80=99t sure about this, so I asked on the #guix IRC channel. L= udovic > replied there that the Cuirass repository contains a =E2=80=9Crandom=E2= =80=9D > specification in =E2=80=9Cexamples/random.scm=E2=80=9D. It uses > =E2=80=9Cexamples/random-jobs.scm=E2=80=9D to generate =E2=80=A6 random j= obs :) Specifically, here=E2=80=99s how I would launch Cuirass for testing purpose= s: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env cuirass -D cuirass.db -I 10 -S examples/random.scm 2018-06-11T13:20:58 running Fibers on 4 kernel threads 2018-06-11T13:20:58 marking stale builds as "scheduled"... 2018-06-11T13:20:58 listening on 127.0.0.1:8080 2018-06-11T13:20:58 retrieving list of pending builds... 2018-06-11T13:20:58 heap: 11.82 MiB; threads: 10; file descriptors: 55 2018-06-11T13:20:58 considering spec 'random', URL 'file:///data/src/cuiras= s' 2018-06-11T13:20:58 canceling 3 stale builds 2018-06-11T13:20:58 restarting 0 pending builds 2018-06-11T13:20:58 building 0 derivations in batches of 200 2018-06-11T13:20:58 done with 0 derivations 2018-06-11T13:20:58 done with restarted builds 2018-06-11T13:20:58 spec 'random': fetched commit "238f856e48ee333ed3e19fa3= 2ce5e1742c650c67" (stamp was "43be95c40a433d21f65c9e6bfb04ccc9fa8e2db4") 2018-06-11T13:20:58 next evaluation in 10 seconds 2018-06-11T13:20:58 evaluating 'random' with commit "238f856e48ee333ed3e19f= a32ce5e1742c650c67" evaluating random jobs from directory "/gnu/store/bb7x9wgc91h9jndyd9k36dysq= namjmyl-cuirass-238f856", commit "238f856e48ee333ed3e19fa32ce5e1742c650c67" 2018-06-11T13:20:59 created evaluation 5 for random, commit 238f856e48ee333= ed3e19fa32ce5e1742c650c67 2018-06-11T13:20:59 building 11 jobs for 'random' 2018-06-11T13:20:59 building 11 derivations in batches of 200 2018-06-11T13:20:59 building batch of 200 derivations (0/11) 2018-06-11T13:21:00 build started: '/gnu/store/npkk2v9n3lrs99j6hfm2sa7z839q= 00lz-random0.drv' 2018-06-11T13:21:00 build started: '/gnu/store/xbsa9sk4aipcvkqpxai73pzad523= mwnc-random1.drv' 2018-06-11T13:21:08 considering spec 'random', URL 'file:///data/src/cuiras= s' 2018-06-11T13:21:08 spec 'random': fetched commit "238f856e48ee333ed3e19fa3= 2ce5e1742c650c67" (stamp was "238f856e48ee333ed3e19fa32ce5e1742c650c67") 2018-06-11T13:21:08 next evaluation in 10 seconds --8<---------------cut here---------------end--------------->8--- This example instructs Cuirass to populate the =E2=80=98cuirass.db=E2=80=99= file from the current directory, to check the repo in the current directory every 10 seconds, and to use the job specification from =E2=80=98examples/random.= scm=E2=80=99. The HTTP server of Cuirass is listening on =E2=80=98localhost=E2=80=99, por= t 8080. Let me know if you have any questions! (I=E2=80=99m civodul on #guile.) HTH, Ludo=E2=80=99.