guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#62472] [PATCH 0/2] gnu: conan: Remove some failed tests


From: ROCKTAKEY
Subject: [bug#62472] [PATCH 0/2] gnu: conan: Remove some failed tests
Date: Sat, 1 Apr 2023 01:57:53 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

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!






reply via email to

[Prev in Thread] Current Thread [Next in Thread]