From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Subject: bug#32300: Cuirass: the 'nr' filter doesn't when builds have multiple outputs Date: Sun, 29 Jul 2018 01:21:10 +0200 Message-ID: <874lgjc5g9.fsf@lassieur.org> 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]:58760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjYXF-0004Co-QG for bug-guix@gnu.org; Sat, 28 Jul 2018 19:22:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjYXC-0007Lp-ML for bug-guix@gnu.org; Sat, 28 Jul 2018 19:22:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fjYXC-0007La-IE for bug-guix@gnu.org; Sat, 28 Jul 2018 19:22:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjYWT-0004AI-Ox for bug-guix@gnu.org; Sat, 28 Jul 2018 19:21:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjYWQ-00078j-M1 for bug-guix@gnu.org; Sat, 28 Jul 2018 19:21:17 -0400 Received: from mail.lassieur.org ([83.152.10.219]:60828) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fjYWQ-000784-BQ for bug-guix@gnu.org; Sat, 28 Jul 2018 19:21:14 -0400 Received: from rodion (88.191.118.83 [88.191.118.83]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 16f128c5 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Sat, 28 Jul 2018 23:21:11 +0000 (UTC) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 32300@debbugs.gnu.org Cc: Tatiana Sholokhova Hi, With, say, 'nr' =3D 4, the GROUP-OUTPUTS procedure in cuirass/database.scm will transform 0 | out | /gnu/store/... 1 | out | /gnu/store/... 1 | debug | /gnu/store/... 2 | out | /gnu/store/... into ((#:id . 0) (#:outputs ("out" (#:path . "/gnu/store/...")))) ((#:id . 1) (#:outputs ("out" (#:path . "/gnu/store/...")) ("debug" (#:path . "/gnu/store/...")))) ((#:id . 2) (#:outputs ("out" (#:path . "/gnu/store/...")))) Thus there are only 3 elements returned by the low-level DB-GET-BUILDS procedure, while we expect 4. This bug is visible through the API (latestbuilds, queue) and the web interface (eval) because they use that DB-GET-BUILDS procedure. Cl=C3=A9ment