From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aH4jN6WEJGcpxwAAe85BDQ:P1 (envelope-from ) for ; Fri, 01 Nov 2024 07:35:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aH4jN6WEJGcpxwAAe85BDQ (envelope-from ) for ; Fri, 01 Nov 2024 08:35:02 +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="DWXl/GYA"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MiJb3Kre; 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=1730446501; a=rsa-sha256; cv=none; b=NsLC0tACWv1PBEoBBHyF9Bq1fzOT1GmtpR9gekOKQ0y9IVQ8oCb4Ztp8B+xAEW2IC/XYnl Nf+kZ37NWDnSDxVDVqeXO8DX6bCCNRx2pTRjOZimuQDL3ZDp3qwbtlSu5v8PhqxnUKhT33 eoym60l2NtOhkHnZvre81Svbt1KjdcNNSPiQPzQoqBcpK2k2784W6BmdApkGhUFSUJFfKQ /1g2H6nwXpm4HIpZjE+M0fXxTKXbUjyUhZxqzJpoWoo1z7V5wj/WOHgVA8CQ6/2zT61nKl QELxELZiQyLCZnkWK0q6z/c0mWMDOCKJ20ueD8ku4BB0AfqsK1SWojDdIUpWQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="DWXl/GYA"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MiJb3Kre; 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=1730446501; 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=GlT3M7Drzw7giodarldrKStPSoRpCLjZuM0Y9FxzpDlPkVWumZB0BCgtsOSPsvwYSCjiJA U6F0WbI+nMaZUSnKveFSPYoVklhJiCdzS5Ty5oa87g4bBRlk3q+mV8PInd2+2Cv+7kdCWk AxSCHeRdyYgmH+IvHEcPSiZzYSU135B5JWHwEU0+jfpshh9miCaUxZGDuXMGrcNdLYC8QQ H1phWXMMCXSpm0rZUm8HvStWAOrs+DGp87mZiOgaTF0myS9w6OFJcTPnt6djs78eR5ibk8 qC0x8Pwgh/YxYYTuAzFss2c3i4OEi/Grrn1xf6TIk+sVAXcckb/Ek8e0n4Z4iw== 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 480F37C9D0 for ; Fri, 01 Nov 2024 08:35:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6lrE-0004LQ-Vf; Fri, 01 Nov 2024 03:14:08 -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 1t6lrA-0004KX-RQ for guix-patches@gnu.org; Fri, 01 Nov 2024 03:14:04 -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 1t6lrA-0001C8-1D for guix-patches@gnu.org; Fri, 01 Nov 2024 03:14:04 -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=DWXl/GYAqDIjPalTqvD2ToJVp9XW29r2ViC7Ap0tvfEULiQyllyE/KidOFgjT8UIwghn1q9ImCY4gQxjN4WBRO4e1hg5gi3tz+npDLTGxNe0K7W+ygaLZRa4Wvl68q5tqO+9YzbsBp11zLZb+WFiBZalUeB9FJ1EYAFgOSBJrEB/8dkeDZLeBiEo73Z572NEslk0goO3TomSsROuIardceZAQXAob3tk2DXz1KIu/DOuLfVQMHfz9bJHuSPRXQpaSSnFfMBgxJT17h/EDVhWO4xyYqetyCK3dzi0DZ4rzRk8rkOuq2tcw20JwhKJmQX9gOzRtG4Q0ffyzQs0hbgtAA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6lr9-0005L0-Ql; Fri, 01 Nov 2024 03:14:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74151] [PATCH 4/7] 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 07:14:03 +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.173044520920433 (code B ref 74151); Fri, 01 Nov 2024 07:14:03 +0000 Received: (at 74151) by debbugs.gnu.org; 1 Nov 2024 07:13:29 +0000 Received: from localhost ([127.0.0.1]:47337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6lqb-0005JV-CP for submit@debbugs.gnu.org; Fri, 01 Nov 2024 03:13:29 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:48296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6lqa-0005J9-4M for 74151@debbugs.gnu.org; Fri, 01 Nov 2024 03:13:28 -0400 Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-460af1a1154so10782141cf.0 for <74151@debbugs.gnu.org>; Fri, 01 Nov 2024 00:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730445142; x=1731049942; 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=MiJb3Kre/HDluGZC6qFYphGmBiTWRr1f+eRKjm46iTStQSbtQEmSEwVVrpVMOHs6cQ HrreWSIdMkbxXdHSJ3zMb2UGRaCQ+8fiH2Sf8OY5XVJFuVgnf19Q/Wwr5VfBoGmT5KzC phgYZmFWFrpZ8pFngmfmvXuq8s9wsVFshNBwq66VZ3gSO6ZtSdzoLdBNS/12Wi45IZk6 3feDj3euhaqtAuSsjy80KlAkBKSMT+Ew/yN422iDU7d2zVt3e0Cgf9HN4/RWi7K57O69 CwCo40WONyr/tHd7crL0QITB8qlT+1IUfHEv5hyNIuuvc43+QuhOz7y42NQuIwTmGXmF 7oIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730445142; x=1731049942; 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=I5tl+OcnfQyF8RnbaCd9Bh+lWmW4PREHG8mIWr62syBM0WXe4cvOYhXe5OIDjmUssQ CNSrUGJBbQN3wVFj9XpIByQTdDCnKChmOqJcbnJHmsvUkUY0ASvtMg8RctkiPFZXXv+j ZddC+Ia0tMFiOoXR1bm+ONldmGmg8Fx0zroNypWa9sP5MfsXuObtsIYYEs3M3Cyt042F mkzdPFea3u3rr6NfmsarOyra2ElBwrCvlTMbJhuzKR+A3YXmULTrUloGC0GbZqVkKtSD 5twl57MMlkUJpLK7bCtJvvcwpIJo97Q2af/unbaqB5YhSlEbKa/t+buA1s+FTgu4IPh/ ++iQ== X-Gm-Message-State: AOJu0YyG6YDiy0t4URO0uddLnC0jf0uW337SUNEUHdpc0VeEDtgklFU0 D4OAtjkCJmAnwY1FqyYHGJDdZFMivcEYQh7TiXPgo5zhgzxNVAJwDvanyzlA X-Google-Smtp-Source: AGHT+IE5q6H9i7vcVaTfhqO6xVuD2EeiAWHO+9narmG0L+4t7/LzbKjVDm0iT4Jipx902xnPglODRQ== X-Received: by 2002:a05:622a:388:b0:461:161b:c178 with SMTP id d75a77b69052e-462ab258239mr89816371cf.13.1730445142273; Fri, 01 Nov 2024 00:12:22 -0700 (PDT) Received: from localhost.localdomain (vps-6234970c.vps.ovh.ca. [51.222.13.224]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-462ad1a0f59sm15646821cf.81.2024.11.01.00.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 00:12:21 -0700 (PDT) From: Maxim Cournoyer Date: Fri, 1 Nov 2024 16:11:40 +0900 Message-ID: <369fbb0b1eb904bf152356be15441aaed872c44a.1730441684.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.07 X-Spam-Score: -0.07 X-Migadu-Queue-Id: 480F37C9D0 X-Migadu-Scanner: mx10.migadu.com X-TUID: xUOMkG2mr2Pk 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