GNU bug report logs - #75587
[PATCH] gnu: python: Disable failing test on aarch64 (Apple M1).

Previous Next

Package: guix-patches;

Reported by: Roman Scherer <roman <at> burningswell.com>

Date: Wed, 15 Jan 2025 16:22:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 75587 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#75587; Package guix-patches. (Wed, 15 Jan 2025 16:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roman Scherer <roman <at> burningswell.com>:
New bug report received and forwarded. Copy sent to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org. (Wed, 15 Jan 2025 16:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Roman Scherer <roman <at> burningswell.com>
To: guix-patches <at> gnu.org
Cc: Roman Scherer <roman <at> burningswell.com>
Subject: [PATCH] gnu: python: Disable failing test on aarch64 (Apple M1).
Date: Wed, 15 Jan 2025 17:20:54 +0100
* gnu/packages/python.scm (python): Disable failing test on aarch64 (Apple M1).

Change-Id: I43942cf69dd4bcf1a272b1a42a50c366b7b19d83
---
 gnu/packages/python.scm | 101 +++++++++++++++++++++-------------------
 1 file changed, 52 insertions(+), 49 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c5f98c3a46..9868b5fa02 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -487,55 +487,58 @@ (define-public python-3.10
                 (format #f "TESTOPTS=-j~d" (parallel-job-count))
                 ;; test_mmap fails on low-memory systems
                 " --exclude test_mmap test_socket"
-                ,@(if (system-hurd?)
-                      '(" test_posix"      ;multiple errors
-                        " test_time"
-                        " test_pty"
-                        " test_shutil"
-                        " test_tempfile"   ;chflags: invalid argument:
-                                           ;  tbv14c9t/dir0/dir0/dir0/test0.txt
-                        " test_asyncio"    ;runs over 10min
-                        " test_os"         ;stty: 'standard input':
-                                           ;  Inappropriate ioctl for device
-                        " test_openpty"    ;No such file or directory
-                        " test_selectors"  ;assertEqual(NUM_FDS // 2, len(fds))
-                                           ;  32752 != 4
-                        " test_compileall" ;multiple errors
-                        " test_poll"       ;list index out of range
-                        " test_subprocess" ;runs over 10min
-                        " test_asyncore"   ;multiple errors
-                        " test_threadsignals"
-                        " test_eintr"      ;Process return code is -14
-                        " test_io"         ;multiple errors
-                        " test_logging"
-                        " test_signal"
-                        " test_threading"  ;runs over 10min
-                        " test_flags"      ;ERROR
-                        " test_bidirectional_pty"
-                        " test_create_unix_connection"
-                        " test_unix_sock_client_ops"
-                        " test_open_unix_connection"
-                        " test_open_unix_connection_error"
-                        " test_read_pty_output"
-                        " test_write_pty"
-                        " test_concurrent_futures" ;freeze
-                        " test_venv"       ;freeze
-                        " test_multiprocessing_forkserver" ;runs over 10min
-                        " test_multiprocessing_spawn" ;runs over 10min
-                        " test_builtin"
-                        " test_capi"
-                        " test_dbm_ndbm"
-                        " test_exceptions"
-                        " test_faulthandler"
-                        " test_getopt"
-                        " test_importlib"
-                        " test_json"
-                        " test_multiprocessing_fork"
-                        " test_multiprocessing_main_handling"
-                        " test_pdb "
-                        " test_regrtest"
-                        " test_sqlite")
-                      '()))))
+                ,@(cond
+                   ((target-aarch64?)
+                    '(" test_asyncio"))   ;ConnectionError
+                   ((system-hurd?)
+                    '(" test_posix"      ;multiple errors
+                      " test_time"
+                      " test_pty"
+                      " test_shutil"
+                      " test_tempfile"   ;chflags: invalid argument:
+                                        ;  tbv14c9t/dir0/dir0/dir0/test0.txt
+                      " test_asyncio"    ;runs over 10min
+                      " test_os"         ;stty: 'standard input':
+                                        ;  Inappropriate ioctl for device
+                      " test_openpty"    ;No such file or directory
+                      " test_selectors"  ;assertEqual(NUM_FDS // 2, len(fds))
+                                        ;  32752 != 4
+                      " test_compileall" ;multiple errors
+                      " test_poll"       ;list index out of range
+                      " test_subprocess" ;runs over 10min
+                      " test_asyncore"   ;multiple errors
+                      " test_threadsignals"
+                      " test_eintr"      ;Process return code is -14
+                      " test_io"         ;multiple errors
+                      " test_logging"
+                      " test_signal"
+                      " test_threading"  ;runs over 10min
+                      " test_flags"      ;ERROR
+                      " test_bidirectional_pty"
+                      " test_create_unix_connection"
+                      " test_unix_sock_client_ops"
+                      " test_open_unix_connection"
+                      " test_open_unix_connection_error"
+                      " test_read_pty_output"
+                      " test_write_pty"
+                      " test_concurrent_futures" ;freeze
+                      " test_venv"       ;freeze
+                      " test_multiprocessing_forkserver" ;runs over 10min
+                      " test_multiprocessing_spawn" ;runs over 10min
+                      " test_builtin"
+                      " test_capi"
+                      " test_dbm_ndbm"
+                      " test_exceptions"
+                      " test_faulthandler"
+                      " test_getopt"
+                      " test_importlib"
+                      " test_json"
+                      " test_multiprocessing_fork"
+                      " test_multiprocessing_main_handling"
+                      " test_pdb "
+                      " test_regrtest"
+                      " test_sqlite"))
+                   (else '())))))
        ((#:phases phases)
         `(modify-phases ,phases
            ,@(if (system-hurd?)

base-commit: b696658ee8e0655b17f5d26e024956b5148e36d6
-- 
2.47.1





This bug report was last modified 35 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.