Message ID | 20230327081803.3832-2-rocktakey@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2E35716FC4; Mon, 27 Mar 2023 09:19:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5F40916934 for <patchwork@mira.cbaines.net>; Mon, 27 Mar 2023 09:19:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1pgi4F-00076V-CI; Mon, 27 Mar 2023 04:19:03 -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 <Debian-debbugs@debbugs.gnu.org>) id 1pgi4E-00076M-Pf for guix-patches@gnu.org; Mon, 27 Mar 2023 04:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pgi4E-0002JX-HP for guix-patches@gnu.org; Mon, 27 Mar 2023 04:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1pgi4E-0002oB-9i for guix-patches@gnu.org; Mon, 27 Mar 2023 04:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62472] [PATCH 2/2] gnu: conan: Remove test_token_expired test. Resent-From: ROCKTAKEY <rocktakey@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Mar 2023 08:19:02 +0000 Resent-Message-ID: <handler.62472.B62472.167990510910733@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62472 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62472@debbugs.gnu.org Cc: ROCKTAKEY <rocktakey@gmail.com> Received: via spool by 62472-submit@debbugs.gnu.org id=B62472.167990510910733 (code B ref 62472); Mon, 27 Mar 2023 08:19:02 +0000 Received: (at 62472) by debbugs.gnu.org; 27 Mar 2023 08:18:29 +0000 Received: from localhost ([127.0.0.1]:46437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1pgi3h-0002n3-Ee for submit@debbugs.gnu.org; Mon, 27 Mar 2023 04:18:29 -0400 Received: from mail-pj1-f52.google.com ([209.85.216.52]:54943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rocktakey@gmail.com>) id 1pgi3f-0002mf-Gf for 62472@debbugs.gnu.org; Mon, 27 Mar 2023 04:18:28 -0400 Received: by mail-pj1-f52.google.com with SMTP id a16so6938701pjs.4 for <62472@debbugs.gnu.org>; Mon, 27 Mar 2023 01:18:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679905102; 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=fIaJvArKOzwNU/HW1LCbGuObSlGki2N/nX0jA/B5zYE=; b=XMHVHgadieaVFGrW7s+4GPwdj5yPzo7LV0619J2Flc0H37xjAGUQ6KgVCcTcAUZKAO jGBfeMCUddCNLBHyzVfvfC5ujA2hfR6D/RwuklDR4nUYCRQO0kSlTygFxDbWwEpoMZkj JswLfm2SvcRioHyPdvWb1EzZ/lzJGbWKFHY373Guw3gX8BPyRhfzw1y822j565QgZoVE ZNn2qTTxxpbDhoXxqLYfLV/naidMeWxOXdkwuc9XOSTOCq5dZXe/b2sbPtFoKki0zW/+ 5970uC7Lzrlz/GRFW9N6OYIZ4S6EF6WOaEQYDTAFW2rLFDxvs4HfuepKzBAhPepOvORU 7qdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679905102; 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=fIaJvArKOzwNU/HW1LCbGuObSlGki2N/nX0jA/B5zYE=; b=oN6WZyvwwVg6q/6CkKDevGPX3isJmyY1ONvqNsiHCzlB9/m8c4kro6KWHmR9IV1ssN 33jfUN0Lb3l9/w8pmuJtEsiL7mLBrhUqRxdHhtyitWuW4gllvIyNBaBgslt90W4Amrkc wX3EGdQ9hHNKpOJwWQ0JSMNSwoosd8mTV5jYBNvGTk0oRV1KSY7hjb3zVnBFusjXk9jI OLI09RGbfCjnxJLb0VzNAMOAAmaIhtlFMfl9OcSDr3f8sXPEYYUhM+7Ucs9hkhPZO3sf y+bM8cPPayHDloHGITaaFb0hmU2LXWsKBSNlUYJY2H1tzq14uJm1ekajUClJmxuqpeqt KNHw== X-Gm-Message-State: AAQBX9flYmDOtaAWIjp8+Xg4onUhW0FNja7A90NVLFxhBHE9HAgP9R5T X3+otgHSWAbQ8EDZhRd6BndTWWiQbu09qQ== X-Google-Smtp-Source: AKy350bYH0KKeHnX1htOasE20hH7vjKJp/8di3LGbVQeRDV28uiEImO0hDNiZpFdRakTFIiBxLeywg== X-Received: by 2002:a17:90b:390e:b0:23d:1aae:29e5 with SMTP id ob14-20020a17090b390e00b0023d1aae29e5mr11615534pjb.20.1679905101705; Mon, 27 Mar 2023 01:18:21 -0700 (PDT) Received: from guix-desktop.tail09c0.ts.net ([2001:f71:180:2900:4220:cc2c:9b40:2423]) by smtp.gmail.com with ESMTPSA id z22-20020a17090a015600b00233864f21a7sm3808156pje.51.2023.03.27.01.18.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 01:18:21 -0700 (PDT) From: ROCKTAKEY <rocktakey@gmail.com> Date: Mon, 27 Mar 2023 17:18:03 +0900 Message-Id: <20230327081803.3832-2-rocktakey@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230327081803.3832-1-rocktakey@gmail.com> References: <20230327081803.3832-1-rocktakey@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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
None
|
|
Commit Message
ROCKTAKEY
March 27, 2023, 8:18 a.m. UTC
* gnu/packages/package-management.scm (conan): Remove test_token_expired test. --- gnu/packages/package-management.scm | 2 ++ 1 file changed, 2 insertions(+)
Comments
Hello!
ROCKTAKEY <rocktakey@gmail.com> writes:
> * gnu/packages/package-management.scm (conan): Remove test_token_expired test.
Thanks for the submission. I ended up attempting to update the package;
it was more work than I had hoped, but it works and reduced the number
of disabled tests. See commit 7ceedc7df7d6f0d1209dee1eaa9c1dfe772ca0dd
("gnu: conan: Update to 2.0.2.").
Hi! Thanks for your work. Updating to 2.0.2 is better. But in my environment, some other tests are failed: =========================== short test summary info ============================ FAILED conans/test/functional/toolchains/cmake/test_cmake.py::LinuxTest::test_toolchain_linux_0_Debug FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_pkg_ids[True] FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_pkg_ids_all_rrevs[True] FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_latest_prevs[True] FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_all_prevs[True] = 5 failed, 3016 passed, 321 skipped, 165 xfailed, 9 xpassed, 12 warnings in 510.98s (0:08:30) = -- ROCKTAKEY On 2023/03/31 5:13, Maxim Cournoyer wrote: > Hello! > > ROCKTAKEY <rocktakey@gmail.com> writes: > >> * gnu/packages/package-management.scm (conan): Remove test_token_expired test. > Thanks for the submission. I ended up attempting to update the package; > it was more work than I had hoped, but it works and reduced the number > of disabled tests. See commit 7ceedc7df7d6f0d1209dee1eaa9c1dfe772ca0dd > ("gnu: conan: Update to 2.0.2."). >
Hello, ROCKTAKEY <rocktakey@gmail.com> writes: > Hi! > > Thanks for your work. Updating to 2.0.2 is better. > > But in my environment, some other tests are failed: > > =========================== short test summary info > ============================ > FAILED > conans/test/functional/toolchains/cmake/test_cmake.py::LinuxTest::test_toolchain_linux_0_Debug > FAILED > conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_pkg_ids[True] > FAILED > conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_pkg_ids_all_rrevs[True] > FAILED > conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_latest_prevs[True] > FAILED > conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_all_prevs[True] > = 5 failed, 3016 passed, 321 skipped, 165 xfailed, 9 xpassed, 12 > warnings in 510.98s (0:08:30) = I was able to reproduce it for test_toolchain_linux_0_Debug, which I've now skipped, but not for the other tests. The build farm reproduced them though [0]: =========================== short test summary info ============================ FAILED conans/test/functional/toolchains/cmake/test_cmake.py::LinuxTest::test_toolchain_linux_0_Debug FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_pkg_ids[True] FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_pkg_ids_all_rrevs[True] FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_latest_prevs[True] FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_all_prevs[True] [0] https://ci.guix.gnu.org/build/666884/log/raw I've reported the failure upstream and disabled these as well: --8<---------------cut here---------------start------------->8--- modified gnu/packages/package-management.scm @@ -1209,7 +1209,7 @@ (define system #$(or (%current-target-system) (setenv "CONFIG_SHELL" (which "sh")) (setenv "PATH" (string-append (getenv "PATH") ":" #$output "/bin")) - (invoke "python" "-m" "pytest" + (invoke "python" "-m" "pytest" "-vv" "-n" (number->string (parallel-job-count)) "-m" "not slow" ;; Disable problematic tests. @@ -1222,6 +1222,12 @@ (define system #$(or (%current-target-system) ;; expected by the following test. "and not pkg_config_path " "and not compare " ;caused by newer node-semver? + ;; This test hard-codes a compiler version. + "and not test_toolchain " + ;; The 'test_list' tests may fail + ;; non-deterministically (see: + ;; https://github.com/conan-io/conan/issues/13583). + "and not test_list " ;; These tests fail when Autoconf attempt to load a ;; shared library in the same directory (see: ;; https://github.com/conan-io/conan/issues/13577). --8<---------------cut here---------------end--------------->8--- Hopefully it now builds on your side as well. Thanks for the report!
It works well. Thanks! On 2023/03/31 23:30, Maxim Cournoyer wrote: > Hello, > > ROCKTAKEY <rocktakey@gmail.com> writes: > >> Hi! >> >> Thanks for your work. Updating to 2.0.2 is better. >> >> But in my environment, some other tests are failed: >> >> =========================== short test summary info >> ============================ >> FAILED >> conans/test/functional/toolchains/cmake/test_cmake.py::LinuxTest::test_toolchain_linux_0_Debug >> FAILED >> conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_pkg_ids[True] >> FAILED >> conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_pkg_ids_all_rrevs[True] >> FAILED >> conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_latest_prevs[True] >> FAILED >> conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_all_prevs[True] >> = 5 failed, 3016 passed, 321 skipped, 165 xfailed, 9 xpassed, 12 >> warnings in 510.98s (0:08:30) = > I was able to reproduce it for test_toolchain_linux_0_Debug, which I've > now skipped, but not for the other tests. The build farm reproduced > them though [0]: > > =========================== short test summary info ============================ > FAILED conans/test/functional/toolchains/cmake/test_cmake.py::LinuxTest::test_toolchain_linux_0_Debug > FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_pkg_ids[True] > FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_pkg_ids_all_rrevs[True] > FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_latest_prevs[True] > FAILED conans/test/integration/command_v2/list_test.py::TestListPrefs::test_list_all_prevs[True] > > [0] https://ci.guix.gnu.org/build/666884/log/raw > > I've reported the failure upstream and disabled these as well: > > --8<---------------cut here---------------start------------->8--- > modified gnu/packages/package-management.scm > @@ -1209,7 +1209,7 @@ (define system #$(or (%current-target-system) > (setenv "CONFIG_SHELL" (which "sh")) > (setenv "PATH" (string-append (getenv "PATH") ":" > #$output "/bin")) > - (invoke "python" "-m" "pytest" > + (invoke "python" "-m" "pytest" "-vv" > "-n" (number->string (parallel-job-count)) > "-m" "not slow" > ;; Disable problematic tests. > @@ -1222,6 +1222,12 @@ (define system #$(or (%current-target-system) > ;; expected by the following test. > "and not pkg_config_path " > "and not compare " ;caused by newer node-semver? > + ;; This test hard-codes a compiler version. > + "and not test_toolchain " > + ;; The 'test_list' tests may fail > + ;; non-deterministically (see: > + ;; https://github.com/conan-io/conan/issues/13583). > + "and not test_list " > ;; These tests fail when Autoconf attempt to load a > ;; shared library in the same directory (see: > ;; https://github.com/conan-io/conan/issues/13577). > --8<---------------cut here---------------end--------------->8--- > > Hopefully it now builds on your side as well. Thanks for the report! >
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index e5048c95d6..bcd072a442 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -1219,6 +1219,8 @@ (define system ,(or (%current-target-system) ;; https://lore.kernel.org/git/xmqq4jw1uku5.fsf@gitster.g/T/#u "and not test_submodule " "and not test_clone_submodule_git " + ;; FIXME: Sometimes failed due to logging in problem on "conan upload" + "and not test_token_expired " (if (not (string-prefix? "x86_64" system)) ;; These tests either assume the machine is ;; x86_64, or require a cross-compiler to target