From unknown Sat Jun 21 10:19:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48954 <48954@debbugs.gnu.org> To: bug#48954 <48954@debbugs.gnu.org> Subject: Status: [PATCH] gnu: python-lint-cfn: Fix non-reproducible test suite Reply-To: bug#48954 <48954@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:19:21 +0000 retitle 48954 [PATCH] gnu: python-lint-cfn: Fix non-reproducible test suite reassign 48954 guix-patches submitter 48954 Ryan Sundberg severity 48954 normal tag 48954 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 11 00:12:59 2021 Received: (at submit) by debbugs.gnu.org; 11 Jun 2021 04:12:59 +0000 Received: from localhost ([127.0.0.1]:37954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrYXT-0004tU-Gp for submit@debbugs.gnu.org; Fri, 11 Jun 2021 00:12:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:50376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrYXN-0004tH-VE for submit@debbugs.gnu.org; Fri, 11 Jun 2021 00:12:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrYXN-0003Oq-PI for guix-patches@gnu.org; Fri, 11 Jun 2021 00:12:53 -0400 Received: from mail.arctype.co ([138.68.9.245]:40130) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrYXH-0005Qk-6g for guix-patches@gnu.org; Fri, 11 Jun 2021 00:12:53 -0400 Received: from authenticated-user (mail.arctype.co [138.68.9.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.arctype.co (Postfix) with ESMTPSA id 8D62711EF11; Thu, 10 Jun 2021 21:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arctype.co; s=mail; t=1623384763; bh=PZ/vqY50QeSuBQDfwiKqB7/oLNoojJblZsxJpZB3eU0=; h=From:To:Cc:Subject:Date:From; b=p4JPekmgp24EQG8tnioRNolxQzRqM0VvYYTWYyYxnjGr9fbQm1ZLP8FxGgLqKiRw0 bYthk48L8EpLzDZ+LVZSiFfoabhC1WgWrkoUYzgy8UUHKSwp1qJKrhjl4T6VmJgIR9 WzExHCaypTEWD1GJkRL4mCHmlbq2UXqTn8i4V7AV8cnZ+LA+YMYTECb3ZoCswivCBP p5nf9ilMg2StzpJsbcbXs4DmPj19+U6gT3c46JFlr1nz8M9UHgTBSon1ieKDVqWGYm xmtaV4OftCSKNkYWo/9siSqXHh0WS5yntuavffF0MBj8zTd/qSZ3FPIXsYKclCc3Ud z7qQZ30712bCQ== From: Ryan Sundberg To: guix-patches@gnu.org Subject: [PATCH] gnu: python-lint-cfn: Fix non-reproducible test suite Date: Thu, 10 Jun 2021 21:12:33 -0700 Message-Id: <20210611041233.19012-1-ryan@arctype.co> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=138.68.9.245; envelope-from=ryan@arctype.co; helo=mail.arctype.co X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Ryan Sundberg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Some tests for python-cfn-lint are dependent on the date the tests are run, which can cause the tests to spontaneously start failing. See https://github.com/aws-cloudformation/cfn-lint/issues/1705 for the upstream discssion. This patch removes the unstable test cases. * gnu/packages/python-web.scm: Patch python-cfn-lint tests Signed-off-by: Ryan Sundberg --- ...n-lint-disable-nonreproducible-tests.patch | 42 +++++++++++++++++++ gnu/packages/python-web.scm | 6 ++- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/python-cfn-lint-disable-nonreproducible-tests.patch diff --git a/gnu/packages/patches/python-cfn-lint-disable-nonreproducible-tests.patch b/gnu/packages/patches/python-cfn-lint-disable-nonreproducible-tests.patch new file mode 100644 index 0000000000..e9fb1bda45 --- /dev/null +++ b/gnu/packages/patches/python-cfn-lint-disable-nonreproducible-tests.patch @@ -0,0 +1,42 @@ +diff --git a/test/integration/test_quickstart_templates.py b/test/integration/test_quickstart_templates.py +index 41058b29..d859b6d1 100644 +--- a/test/integration/test_quickstart_templates.py ++++ b/test/integration/test_quickstart_templates.py +@@ -59,16 +59,6 @@ class TestQuickStartTemplates(BaseCliTestCase): + 'filename': 'test/fixtures/templates/quickstart/openshift_master.yaml', + 'results_filename': 'test/fixtures/results/quickstart/openshift_master.json', + 'exit_code': 8, +- }, +- { +- 'filename': 'test/fixtures/templates/quickstart/openshift.yaml', +- 'results_filename': 'test/fixtures/results/quickstart/openshift.json', +- 'exit_code': 14, +- }, +- { +- 'filename': 'test/fixtures/templates/quickstart/cis_benchmark.yaml', +- 'results_filename': 'test/fixtures/results/quickstart/cis_benchmark.json', +- 'exit_code': 6, + } + ] + +diff --git a/test/integration/test_quickstart_templates_non_strict.py b/test/integration/test_quickstart_templates_non_strict.py +index 7372fb0b..85637c91 100644 +--- a/test/integration/test_quickstart_templates_non_strict.py ++++ b/test/integration/test_quickstart_templates_non_strict.py +@@ -19,16 +19,6 @@ class TestQuickStartTemplates(BaseCliTestCase): + 'filename': 'test/fixtures/templates/quickstart/nist_application.yaml', + 'results_filename': 'test/fixtures/results/quickstart/non_strict/nist_application.json', + 'exit_code': 12, +- }, +- { +- 'filename': 'test/fixtures/templates/quickstart/openshift.yaml', +- 'results_filename': 'test/fixtures/results/quickstart/non_strict/openshift.json', +- 'exit_code': 12, +- }, +- { +- 'filename': 'test/fixtures/templates/quickstart/cis_benchmark.yaml', +- 'results_filename': 'test/fixtures/results/quickstart/non_strict/cis_benchmark.json', +- 'exit_code': 4, + } + ] + diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 1d65b2b0a8..9c05052a7d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -475,7 +475,11 @@ emit information from within their applications to the AWS X-Ray service.") (file-name (git-file-name name version)) (sha256 (base32 - "0nqs0fmj3hd7pnd9hkb4z57jvi2iv82hh6n3xxba6i6p8zgx75q4")))) + "0nqs0fmj3hd7pnd9hkb4z57jvi2iv82hh6n3xxba6i6p8zgx75q4")) + ;; Some test cases for this program are dependent on the date the + ;; tests are run. Disable those tests. + ;; See https://github.com/aws-cloudformation/cfn-lint/issues/1705 + (patches (search-patches "python-cfn-lint-disable-nonreproducible-tests.patch")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases -- 2.31.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 07:55:32 2025 Received: (at 48954-done) by debbugs.gnu.org; 10 Feb 2025 12:55:32 +0000 Received: from localhost ([127.0.0.1]:49497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1thTJz-0006b7-NI for submit@debbugs.gnu.org; Mon, 10 Feb 2025 07:55:31 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:56675) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1thTJx-0006ar-L2 for 48954-done@debbugs.gnu.org; Mon, 10 Feb 2025 07:55:30 -0500 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-38dd006a4e1so2010283f8f.1 for <48954-done@debbugs.gnu.org>; Mon, 10 Feb 2025 04:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739192123; x=1739796923; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=n9e9SOnHVzOzofUruxFqvnA6OJOUtUGYEW8IR9401Ds=; b=KvciKa9hM9oyfHQ2AwphmBRLFKNvJu2X+DNvip096ZuyUR0DCP9ohyb82rIXtgjGnc 5qHuqX3vf+ggVfL28a9gkmQjLTp8MjvZnsn9/PoqxC/z6AhnuOzhJkfegC0NjsbG9mGM gaQAp7RufCCV8Z1rAeuyx4XvI4ydJ35z0BI1v0sjHE95WNCyU/yR8MLeCFaa/Lcwbxip lnVjiZkro8hL1kUJeE0GeJG2u64I8icm2kt9Hn2FuuN/6sYjla7QDcs0QC3xZeHBoyvE tqeaLDMCXvYYyYtwCnR5756uKeACSZpeenOcOlNrWdGRx9thseOzoc5NXq+6iKzmFooO aedA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739192123; x=1739796923; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=n9e9SOnHVzOzofUruxFqvnA6OJOUtUGYEW8IR9401Ds=; b=FbywzMZHPBBhSIyJuqbJJTJZubeMLUXq13hp4mqZcq8AReDcxwObIEkPfBpOM8RiV1 6xF89UCLXOki29HvVm9WgI1aUVTWNGGa0oHZ4QBkxokOuDtAK5g3S5FnB1q9eW8fZt7W +A9qNyTi7WV/RsheTC1gHZIilZc9qI0DqeiQ1TegASDi8V4PrMuCHsR4ITR2EMmHUXRm nRKpvqAk+9srX9tVoqKPAI8SMFGfWksv/hUShKEbzfN281kdTfoL1CYOZNhb++bmTziw LABDdzJpAwLgyr/7Mt8kCg1jRL05gsa/MiygCkMgfUWVbaP3mprnOdfCGrhiLEgEvtAj V7AQ== X-Gm-Message-State: AOJu0YzSGlX1JAiipqi8qhaYxXakX9vrocuHtF+BJAC/RmYT3ado2Ly4 aIIXLSKtzCV7xQO55LQFI5XrDMFdtYqtLcKGpAJfQkl0l5/KZD/CP5/8Kaj6 X-Gm-Gg: ASbGncvssnwhQA239//i4tVcB1kKJyzY0N1o2dFF1tYIQICpprdOmSzcVhHEhKqDyV+ Nc20MMmx8WOzrUt0jxhlEdM654egzbQchvKaq2NyBgcwivQ+nsK0CGZrqTFqHXXb0X7nkd5A3ky nivdP0IStNvrK5ZNH/fqoHP2jNlkzHUQjLWjWVmVJIrvXi+ChkqnHijKbcu7+7v34DYCse4EVLz ynq7vdFgEwWRNRPiViojDCpglm/S3fFTencosnsXx1Bpmme/bifHOZFOw9YeK5Y25F7z8YhsQof VJ35u3cbImOgq3rdQ04y5eeYVJQmB87fQRWASMWJ8ZMFk1d6NjfWd+02m6hDVmcv53k= X-Google-Smtp-Source: AGHT+IHbIhTg/S0d9BjzyWY39bs9uyz2RHsjQ8h+YtMQw2oV5NKuWC0DEygLabF35XCGpmc46p80hQ== X-Received: by 2002:a5d:6c65:0:b0:38d:e21e:13c6 with SMTP id ffacd0b85a97d-38de21e15bbmr1494570f8f.42.1739192123078; Mon, 10 Feb 2025 04:55:23 -0800 (PST) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4390daf7dbcsm182294285e9.30.2025.02.10.04.55.22 for <48954-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2025 04:55:22 -0800 (PST) From: Sharlatan Hellseher To: 48954-done@debbugs.gnu.org Subject: [PATCH] gnu: python-lint-cfn: Fix non-reproducible test suite Date: Mon, 10 Feb 2025 12:55:19 +0000 Message-ID: <87seomvu14.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48954-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, Thank you for your efforts to fix tests, they are already adjusted in these commits: 63547f5c50c gnu: python-cfn-lint: Update to 1.22.1. 35c92a63245 gnu: python-cfn-lint: Update to 0.65.0. dbf5d938c54 gnu: python-cfn-lint: Honor #:tests? flag. f3416ebc2e0 gnu: python-cfn-lint: Update to 0.54.3. ca9f5de1e4a gnu: python-cfn-lint: Update to 0.54.1. 35b31a18bee gnu: python-cfn-lint: Update to 0.51.0. Closing as not applied. -- Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmep9zcACgkQdtcnv/Ys 0rVXpg/+K8zh/qTTUoYvGTeUnkP43CjuNz5LkvwChTu8PX67770124PPko4vnV5Z 6nlog5R46rz2HT4XA1aWc/q7tRZU7oeznvyZzshh0nJxwBfOHhxCYM6J1YYJs5v+ oNYxF7t9SxCHkTDy/gTHgSCCB2yO8UVOt6Ldf//W8To+3J8/59Ll+goR7Wl+LJpw kTl0LNJSVerv7+qbw9rE3FTeOdkEPsqvO10DsEDgkbmTfh/+DjcwlEUQnBWGeYkY NW0YYwqHmsJbQY2Mz3h91koB1EPrWuUn7XQsqpnGGjIcw0oA9fiLFL6sSjZM6YUl lrg0f5UHui0NM3KaoFmCMtbllONrjzUB0xe8jJ8s35KzTGftQ39xaYsZ55rfGnMq dfPBfw5Nde1Pffb5hdgWOhc0kKrYfphMglGZ52KVEVVBSS3bpjkRwPcc0zXss6G0 WOz6qgRSlHGlMcKAm6ymSLehfEXnHVKh3DVOwqWfdDit84SY9BG5PIrfDOaBbFzF dRR6yi8hLb4Xb8cLPx3XoK3l0aZM0+igJDm8JLqjpirABQAIBuU2hAoRvh4xuMaT jiCbNE1AZvM43Zxkvomyr0x2SpnZFDecDGSS8Rcc/kQ/jW0KNmR9nrPzO6/QYREq CKDTUrLNacRL1gMpNEv1Juclx/OgCweX0h2YeY/vGclfImyM19w= =RanM -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 21 10:19:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 Mar 2025 11:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator