From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UPoDOfTMJGdLKgEAqHPOHw:P1 (envelope-from ) for ; Fri, 01 Nov 2024 12:43:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UPoDOfTMJGdLKgEAqHPOHw (envelope-from ) for ; Fri, 01 Nov 2024 13:43:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LdytDNw9; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="P/dZsnUv"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730465012; a=rsa-sha256; cv=none; b=ZYFeDlBTdQU844tVDlj0f5x0RI9XWRit7V+lNIKlUYx2ILZDxZW2hkxqjaF7pc8x3r7OHJ b599L1P3POnav0dVgOkfY8X9XWSD+4Lm0lC11lo1BA4hIJoSrNI1zHl1Ci9FtptdcXH7uF 5YmMkaLvz5A/jUKi6K5Z6j/N7urkVU4bo3z8mAV+fNFHSroofjLs5+XynDOtioypQEFK2B LdcsUe3W4GIKAt3P/EpZS5fvdKwFG1tMZt9Yb7xg+kBJ/lxxYD+lRbv6+fCB0Nh9Cy1M/+ Na91CS4nCQw7iRgzDgpdSiM5AzERhTHPjOvdT2MkCUH3nqcNasuRmBPBcUnf6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LdytDNw9; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="P/dZsnUv"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730465012; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SJpPkSjz1IfrJUr5PMcd6jRbpExBc/JgBjrrn0/JmYY=; b=fxttQ73hTHmHtUNWY3mdrZtumv0pGvcuJ+VwDyue2DgjR6oaZFyjx8re5JI0rTTCfceFaT tEEVX7apc05eoXY07LrqfCGvaw5dLoJfYtehqobwCgiXx1rJd95mA8O0RZxX9l5qvrce8u MbDXwbaS7k7sUQ6xnvENjuZYK2lcgBaXFIHjm5mI9JEo4jFFCmK9zgO+6acl02iH4x6kkd Jn50w6bXv9rRxOB2izBzNwQ/e5fM6wXUKOLIiMddGA80Li7LLuMAoMS0W5JQ3o3NsCHSZK QCuicXG0zQJGn82C1SW8MKaTTOQAtIAzImv4mYrE+kXOxHP9F8e8VvFEaZu36A== 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 793AF18A97 for ; Fri, 01 Nov 2024 13:43:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6qza-0007fi-Dc; Fri, 01 Nov 2024 08:43:06 -0400 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 1t6qzZ-0007fS-AD for guix-patches@gnu.org; Fri, 01 Nov 2024 08:43:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6qzZ-0000RV-15 for guix-patches@gnu.org; Fri, 01 Nov 2024 08:43:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=SJpPkSjz1IfrJUr5PMcd6jRbpExBc/JgBjrrn0/JmYY=; b=LdytDNw9qAscCu196WtoPhhqukrqimXIqB9DyTN813pL/QhwyvDpTuOQMRXDsN/ur3oSQCMsFVeTEKM/ZvVUMlgEYZTrsXFeRqmgmoYQqGoT1KCeRzwI30BfwVHDvL3AF1Qif/mKU2DyY92G0aNHWIf95GTLsN1Q+K3vZH2LZPnnM4Ibtw7Sgc2baJ3Y+LakGYaoKVLl99Y8EJToHBHbJ7CscrJ2NM5ODuXOYfAkAvsY5kps19N7UnPsLRfi7EagkBj67swC+9RSAwx6mOidfOh4Y22IZEDRzzd9j8o9G7J3bsZ/QsmzN+rUUA/Tthwi/IKsrda4La/XhHjhrunhnQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6qzY-0007vY-RI; Fri, 01 Nov 2024 08:43:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74151] [PATCH v2 4/9] tests: web: Have the retry-on-error throw on exhausted attempts. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 01 Nov 2024 12:43:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74151 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74151@debbugs.gnu.org Cc: Maxim Cournoyer , Maxim Cournoyer X-Debbugs-Original-Xcc: Maxim Cournoyer Received: via spool by 74151-submit@debbugs.gnu.org id=B74151.173046494130370 (code B ref 74151); Fri, 01 Nov 2024 12:43:04 +0000 Received: (at 74151) by debbugs.gnu.org; 1 Nov 2024 12:42:21 +0000 Received: from localhost ([127.0.0.1]:49217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6qyr-0007tm-14 for submit@debbugs.gnu.org; Fri, 01 Nov 2024 08:42:21 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:48358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6qyp-0007tA-9h for 74151@debbugs.gnu.org; Fri, 01 Nov 2024 08:42:19 -0400 Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-7ed9c16f687so1418153a12.0 for <74151@debbugs.gnu.org>; Fri, 01 Nov 2024 05:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730464873; x=1731069673; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SJpPkSjz1IfrJUr5PMcd6jRbpExBc/JgBjrrn0/JmYY=; b=P/dZsnUvDr/2FU6PI8RTJoPPmBegF3KCTieWbLU4hKKzDUUO4xAM1PqMH0HGdJnTNZ nMLM/R8yNJy/bg4yBfj68lppfj3vBVh3Xfx4SlRub+lJODP3cyBCgk9wY25WY9MEun0q vLBqCyl98hR/cZpmBy60a4FXHEGKu5OwDkVOn1C0lVemD2HynYo/i60W4ravDTy/qIAM fjo3ThL0Qkir1r2fnZEsUJe6MJ8/7bcjA6yM5WPWnY6WM7knWAhyKQKneM27Of3zcfxk v6Dp+japFjrLUIzQMpbkpxI5f/nQ9zuXt7Z1bbWBhaZFUpiDtiNMoRcoTMxRU8ed0pdO ohxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730464873; x=1731069673; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SJpPkSjz1IfrJUr5PMcd6jRbpExBc/JgBjrrn0/JmYY=; b=DNuTVSqkSTzs4PqgUoCCZXZrkfZNdMs98mAODPyWmm/vgCN2F3DFVdd5NY/cV+fCkG tBam0oljecHCpe6J8+1ITknkVZ5zLgI9Nq33o6XEo/7u/24hhJ4uF66XMCcD71KxqdQx zXZ4LVG4Xj6DtC8/a1wVSM0+DuC2N3Xt8FiRn1KY0MyYrW/6fyckZBYLO4pde5dhqgm4 MQvgdp24ybXb46ucYLh8rjqRFXnQBbh90htt8X1BGLREXo8BdKvs7SqccWVVxuW50FVY PFjB7jL+xdyEqy/PjhbwHx67dsmumUbCYET4S3NLg2yZTQc9ZsjFfw7L+PfRpgDbwGw/ /lYA== X-Gm-Message-State: AOJu0Yz9eyZ81ZcAANMNYB+coDKiNcpTqaUc3/OOoGMGDI5DLdUOtsPk x9KpO382mU7A3LsUjBD/E84V1wZBe1wktHIJwIrA25Arss/MpfEnVcQ7EY5W X-Google-Smtp-Source: AGHT+IEHEFC0MSi0+ZeYFbZamUabcvGR4Njl2+WxjREBrfX2AMX1rGBKjUP2RZREr9bQwGA1p5ZnPQ== X-Received: by 2002:a17:90b:5243:b0:2e2:cf6d:33fd with SMTP id 98e67ed59e1d1-2e93c1d3945mr8362907a91.31.1730464873239; Fri, 01 Nov 2024 05:41:13 -0700 (PDT) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e92fa0ea9bsm4819463a91.10.2024.11.01.05.41.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 05:41:12 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 1 Nov 2024 21:39:24 +0900 Message-ID: <369fbb0b1eb904bf152356be15441aaed872c44a.1730464675.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <281a4773768a6c271ff464f473fdbc333a58c348.1730464675.git.maxim.cournoyer@gmail.com> References: <281a4773768a6c271ff464f473fdbc333a58c348.1730464675.git.maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.98 X-Spam-Score: -0.98 X-Migadu-Queue-Id: 793AF18A97 X-Migadu-Scanner: mx12.migadu.com X-TUID: s0dgofCvWnlo Previously, it'd simply return the error arguments, which would not always fail a 'test-assert' test, for example. * gnu/tests/web.scm (retry-on-error): Re-throw the error when the attempts have been exhausted. Change-Id: Ic1468d8ba23f0f78377e90d19bccb2878dc56f0e --- gnu/tests/web.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/tests/web.scm b/gnu/tests/web.scm index a071e05e1d..5c50322cef 100644 --- a/gnu/tests/web.scm +++ b/gnu/tests/web.scm @@ -83,7 +83,7 @@ (define retry-on-error return-value) ((#f . error-args) (if (>= attempt times) - error-args + (apply throw error-args) (begin (sleep delay) (loop (+ 1 attempt))))))))) -- 2.46.0