From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SBjPG/fuW2X29QAA9RJhRA:P1 (envelope-from ) for ; Tue, 21 Nov 2023 00:42:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SBjPG/fuW2X29QAA9RJhRA (envelope-from ) for ; Tue, 21 Nov 2023 00:42:47 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6EEAA148D4 for ; Tue, 21 Nov 2023 00:42:46 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail-com.20230601.gappssmtp.com header.s=20230601 header.b=oNru04K0; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700523767; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Kp6Ukw4tbmGPJpOE8JOFyTmD0h8V27AvnVg9WU+j3to=; b=Dy5t9wGlhYHO8LqIuBE5txJ2pSRrMRy2P6A5Yf7T0zcMKJBIQd6rLvJkTDhSEOv5SUwiGy CU1D6TNvJraKGQEBefTG+Cl6icY/T9BNSUuLOcsDFepnuDMVu/Jsjdjs8VqbWykhJQU3+5 sAL6TJkpSWWNN5oG4xg7chtqsZtC9F0Umf1s86Ovmxm+gPJSiIX5LRvQV2UHip+tlkVbLv NMQRm1T1MZTuWiUCikey0VDgy/7krxWicKH6DRW+keOhiDeSHITC1xadJ9b6PvLmXK9RwD t0VPflB2V9KfsSpsBKCYAP3lTXCbRZABFXIz6q/zCWPUMN1DlUQBdckUcVejOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail-com.20230601.gappssmtp.com header.s=20230601 header.b=oNru04K0; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700523767; a=rsa-sha256; cv=none; b=lq9HJg1qprBtyRQDQd5xeASzeiktSgnROalljvAulYp84XjWnA3uAUglX8RO2cEWzlDp/J ZeYVqZHvlYaaDEQ8SdCgU6OfRDNKhog/+nAMGVndl35wfWsggBUYjHzLI/+2Z93VZWhNP0 IzuAnyCd+ZOUAB8B3hyvuZn15v69axAmOUrooQlIuAl5aFMfm/WMlsPEEBs4povYMcocdD en3zW5pYClp2PtP0x1Y/PkZuqvA0a/cTvIbofHaGk5kx3lKONjjjObVyLrTmpTTlUFbCsv 34zaCyXxrmlnm7TXhvAE4MAhxZXhbQ0OnEjNzblLI2jSV/0HMNsPBYQGGBSNkw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5DR5-0006jK-Iu; Mon, 20 Nov 2023 18:12:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5DR3-0006jA-Hw for guix-devel@gnu.org; Mon, 20 Nov 2023 18:12:09 -0500 Received: from mail-oo1-xc2f.google.com ([2607:f8b0:4864:20::c2f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r5DR1-0007xN-9Z for guix-devel@gnu.org; Mon, 20 Nov 2023 18:12:09 -0500 Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-58a42c3cbb8so2814238eaf.3 for ; Mon, 20 Nov 2023 15:12:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail-com.20230601.gappssmtp.com; s=20230601; t=1700521925; x=1701126725; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Kp6Ukw4tbmGPJpOE8JOFyTmD0h8V27AvnVg9WU+j3to=; b=oNru04K0dhjVHO8r15Ez15fZbRQ8xPVEODNqlUkaSA0iPBx7xH4uVo9SeXvyEG3pk0 5yfDBgtjErnK1My7MGNqSsg3NiDGBCzNrlFZg3JGORDCr+aeSjrJdGT60AeuLb5XSn9e ggNFNPHBkT1Bgom9iF3+iGQ8i8WF6Gd2JGq0gOgmAENZGSKxrG9SX5r1h3j7u1tcMouT z43tz6JWbcSwB7U/YU5FWoN4yQBzDRY2ak1wOxPmRai1LpsGIvDpcV4UJpDq2Hietzqd EoK8X4hTOKWcLyOazD/xuObs1IH09zyX3xu2jH6pgr//6fq3H5wlaWT8/Yzdaz1aaleW Lx5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700521925; x=1701126725; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Kp6Ukw4tbmGPJpOE8JOFyTmD0h8V27AvnVg9WU+j3to=; b=cXn9FM4AGtdutRzh9HlAskkMyuXo9g5xSQVOOBEKXJIByvYDymYLULe2saH12Iui+G CG2cqr5IiSklrF+H6VM6HMKyFJ3mh4rcqKMa98Oa7aQZRRP2lKrd/QAuMQ6rUA6fq9TW RrbwSe8O+Vmj6sks0Zl/PbVghqtIJnSiGqjBi/1cwiJL5CY4dZl9pB7scc7FYOp22Enj VXEipAslGVOvpJptztC6sNVf2DXwbHZ2nXCg9W95IbSijfiG957Yc5SowptwTS+TLMGG PrR6bx2eeaGg70t1Tc12rr6WjLFCEiCzFYrgVWMsEXDhG8+0b/me6J1xm0SUGmKwUiSW x+TQ== X-Gm-Message-State: AOJu0Ywiuj41rSdBBh77uiaE7h4U7T+MnpLHr1pUywdLsEBORxmXGkJY THt/25lhaIouK/1ZDlWR6OMtTFmPgUCcTEilmnjEGUoX X-Google-Smtp-Source: AGHT+IFLvhpm8V7Fx1cc1dDjQbWc2leFfVZxWr7Cj8mspBR5/qn2GmfL8QxTDHmorFDxr13J37Jh7MVm2zbVwhq6aS0= X-Received: by 2002:a05:6820:1ac7:b0:58a:99d0:435e with SMTP id bu7-20020a0568201ac700b0058a99d0435emr9156057oob.3.1700521925512; Mon, 20 Nov 2023 15:12:05 -0800 (PST) MIME-Version: 1.0 From: Andy Tai Date: Mon, 20 Nov 2023 15:11:29 -0800 Message-ID: Subject: "random check" approach to Guix QA? To: guix-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::c2f; envelope-from=lichengtai@gmail.com; helo=mail-oo1-xc2f.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.74 X-Spam-Score: -4.74 X-Migadu-Queue-Id: 6EEAA148D4 X-Migadu-Scanner: mx13.migadu.com X-TUID: AvSBNuOlpq/h Hi, currently Guix QA tries to rebuild all dependent packages impacted by a change (in majority of cases updates to a new version of a package). When there are a large number of dependent packages like say 500 or 1000 or more, rebuilding all that takes a long time and often the rebuild cannot complete, leaving the patch submission dangling with no results. For some things where safety is important, for example import food safety, the regulatory authority may use random check or random sampling as a way to check for safety, in case that there is no resource to physically check every package. Can the same approach be borrowed here, so when there is large number of impacted packages from a patch, say larger than 200, Guix QA just randomly select a subset sample out of these packages and build them, and in case of (new) failures ask the submitter to fix the (new) failure? And repeat this as needed. This way patches can go thru the QA process more quickly.