Author Dennis Sweeney
Recipients Dennis Sweeney, Steven Fleck
Date 2020-04-26.05:05:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587877552.16.0.00364902973227.issue40380@roundup.psfhosted.org>
In-reply-to
Content
Thanks for reaching out! This is about test failures, not problems with installation process, correct? I took a look at the failures:

======================================================================
ERROR: test_add_file_after_2107 (test.test_zipfile.StoredTestsWithSourceFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gpfs/scratch/sjfleck/modulefiles/Python-3.8.2/Lib/test/test_zipfile.py", line 606, in test_add_file_after_2107
    os.utime(TESTFN, (ts, ts))
OSError: [Errno 75] Value too large for defined data type

----------------------------------------------------------------------

It looks like the test excepts an OverflowError but not an OSError, so I think it should do both.


======================================================================
ERROR: test_setrusage_refcount (test.test_resource.ResourceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gpfs/scratch/sjfleck/modulefiles/Python-3.8.2/Lib/test/test_resource.py", line 131, in test_setrusage_refcount
    resource.setrlimit(resource.RLIMIT_CPU, BadSequence())
ValueError: not allowed to raise maximum limit

----------------------------------------------------------------------

I think this is a bug in the test: a non-root process increasing its hard resource maximum should raise. So I think this maybe BadSequence()[i] should return limits[i].



======================================================================
FAIL: test_touch_common (test.test_pathlib.PosixPathTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gpfs/scratch/sjfleck/modulefiles/Python-3.8.2/Lib/test/test_pathlib.py", line 1761, in test_touch_common
    self.assertGreaterEqual(st.st_mtime_ns, old_mtime_ns)
AssertionError: 1587754085552569712 not greater than or equal to 1587754085553625000

----------------------------------------------------------------------

Similar to: https://bugs.python.org/issue19715




======================================================================
FAIL: test_sendall_interrupted (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gpfs/scratch/sjfleck/modulefiles/Python-3.8.2/Lib/test/test_socket.py", line 1527, in test_sendall_interrupted
    self.check_sendall_interrupted(False)
  File "/gpfs/scratch/sjfleck/modulefiles/Python-3.8.2/Lib/test/test_socket.py", line 1514, in check_sendall_interrupted
    c.sendall(b"x" * support.SOCK_MAX_SIZE)
AssertionError: ZeroDivisionError not raised

======================================================================
FAIL: test_sendall_interrupted_with_timeout (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gpfs/scratch/sjfleck/modulefiles/Python-3.8.2/Lib/test/test_socket.py", line 1530, in test_sendall_interrupted_with_timeout
    self.check_sendall_interrupted(True)
  File "/gpfs/scratch/sjfleck/modulefiles/Python-3.8.2/Lib/test/test_socket.py", line 1514, in check_sendall_interrupted
    c.sendall(b"x" * support.SOCK_MAX_SIZE)
AssertionError: ZeroDivisionError not raised

----------------------------------------------------------------------

Looks related to https://bugs.python.org/issue18643 .
Perhaps SOCK_MAX_SIZE needs to be increased for this test, or be made system-dependent?



======================================================================
ERROR: test_ignore (test.test_multiprocessing_forkserver.TestIgnoreEINTR)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gpfs/scratch/sjfleck/modulefiles/Python-3.8.2/Lib/test/_test_multiprocessing.py", line 4874, in test_ignore
    os.kill(p.pid, signal.SIGUSR1)
ProcessLookupError: [Errno 3] No such process

----------------------------------------------------------------------

Looks similar to: https://bugs.python.org/issue33532
History
Date User Action Args
2020-04-26 05:05:52Dennis Sweeneysetrecipients: + Dennis Sweeney, Steven Fleck
2020-04-26 05:05:52Dennis Sweeneysetmessageid: <1587877552.16.0.00364902973227.issue40380@roundup.psfhosted.org>
2020-04-26 05:05:52Dennis Sweeneylinkissue40380 messages
2020-04-26 05:05:51Dennis Sweeneycreate