This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jdemeyer
Recipients jdemeyer, pablogsal
Date 2019-04-10.10:28:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554892107.72.0.359102203411.issue36585@roundup.psfhosted.org>
In-reply-to
Content
On Linux with an old kernel:

0:03:59 load avg: 5.97 [300/420/1] test_posix failed -- running: test_tools (1 min 11 sec), test_concurrent_futures (2 min 42 sec)
test test_posix failed -- Traceback (most recent call last):
  File "/usr/local/src/sage-config/local/src/cpython/Lib/test/test_posix.py", line 311, in test_preadv_flags
    self.assertEqual(posix.preadv(fd, buf, 3, os.RWF_HIPRI), 10)
OSError: [Errno 95] Operation not supported

The problem is obvious: it's testing a flag which is not supported by this kernel. The fact that the macro RWF_HIPRI is defined (which is a compile-time condition) does not imply that the kernel actually supports it (which is a run-time condition).
History
Date User Action Args
2019-04-10 10:28:27jdemeyersetrecipients: + jdemeyer, pablogsal
2019-04-10 10:28:27jdemeyersetmessageid: <1554892107.72.0.359102203411.issue36585@roundup.psfhosted.org>
2019-04-10 10:28:27jdemeyerlinkissue36585 messages
2019-04-10 10:28:27jdemeyercreate