New submission from Christian Heimes <li...@cheimes.de>:

Two test cases have been failing on FreeBSD buildbot for a while. Let's skip 
the error check on FreeBSD for now.

0:27:24 load avg: 1.97 Re-running test_posix in verbose mode (matching: 
test_sched_getaffinity, test_sched_setaffinity)
test_sched_getaffinity (test.test_posix.PosixTester.test_sched_getaffinity) ... 
FAIL
test_sched_setaffinity (test.test_posix.PosixTester.test_sched_setaffinity) ... 
FAIL
======================================================================
FAIL: test_sched_getaffinity 
(test.test_posix.PosixTester.test_sched_getaffinity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/pull_request.koobs-freebsd-564d/build/Lib/test/test_posix.py",
 line 1197, in test_sched_getaffinity
    self.assertRaises(OSError, posix.sched_getaffinity, -1)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: OSError not raised by sched_getaffinity
======================================================================
FAIL: test_sched_setaffinity 
(test.test_posix.PosixTester.test_sched_setaffinity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/pull_request.koobs-freebsd-564d/build/Lib/test/test_posix.py",
 line 1215, in test_sched_setaffinity
    self.assertRaises(OSError, posix.sched_setaffinity, -1, mask)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: OSError not raised by sched_setaffinity
----------------------------------------------------------------------
Ran 2 tests in 0.015s

----------
components: Tests
messages: 416616
nosy: christian.heimes
priority: normal
severity: normal
status: open
title: test_sched_getaffinity and setaffinity fail on FreeBSD buildbit
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue47205>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to