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.

classification
Title: test_posix fails with musl
Type: Stage: resolved
Components: Tests Versions: Python 3.8, Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson
Priority: normal Keywords: patch

Created on 2018-09-12 20:51 by benjamin.peterson, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 9228 merged benjamin.peterson, 2018-09-12 20:54
PR 9236 merged benjamin.peterson, 2018-09-12 22:17
PR 9237 merged benjamin.peterson, 2018-09-12 22:20
Messages (4)
msg325179 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2018-09-12 20:51
ERROR: test_get_and_set_scheduler_and_param (test.test_posix.PosixTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-alpine/build/Lib/test/test_posix.py", line 1280, in test_get_and_set_scheduler_and_param
    mine = posix.sched_getscheduler(0)
OSError: [Errno 38] Function not implemented
======================================================================
ERROR: test_setscheduler_only_param (test.test_posix.TestPosixSpawn)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-alpine/build/Lib/test/test_posix.py", line 1651, in test_setscheduler_only_param
    policy = os.sched_getscheduler(0)
OSError: [Errno 38] Function not implemented
======================================================================
ERROR: test_setscheduler_with_policy (test.test_posix.TestPosixSpawn)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.ware-alpine/build/Lib/test/test_posix.py", line 1669, in test_setscheduler_with_policy
    policy = os.sched_getscheduler(0)
OSError: [Errno 38] Function not implemented
----------------------------------------------------------------------
msg325195 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2018-09-12 22:12
New changeset c7042224b8a67748f125c22836862483f81a87a6 by Benjamin Peterson in branch 'master':
closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9228)
https://github.com/python/cpython/commit/c7042224b8a67748f125c22836862483f81a87a6
msg325205 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2018-09-12 23:00
New changeset 0aef909d630ff40614cde0c58796a8bdf66c67eb by Benjamin Peterson in branch '3.7':
[3.7] closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9236)
https://github.com/python/cpython/commit/0aef909d630ff40614cde0c58796a8bdf66c67eb
msg325206 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2018-09-12 23:00
New changeset e105e551dbf072d773aaa1fd6f8cbda218c273f0 by Benjamin Peterson in branch '3.6':
[3.6] closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9237)
https://github.com/python/cpython/commit/e105e551dbf072d773aaa1fd6f8cbda218c273f0
History
Date User Action Args
2022-04-11 14:59:05adminsetgithub: 78831
2018-09-12 23:00:30benjamin.petersonsetmessages: + msg325206
2018-09-12 23:00:09benjamin.petersonsetmessages: + msg325205
2018-09-12 22:20:00benjamin.petersonsetpull_requests: + pull_request8668
2018-09-12 22:17:56benjamin.petersonsetpull_requests: + pull_request8667
2018-09-12 22:12:27benjamin.petersonsetstatus: open -> closed
resolution: fixed
messages: + msg325195

stage: patch review -> resolved
2018-09-12 20:54:35benjamin.petersonsetkeywords: + patch
stage: patch review
pull_requests: + pull_request8659
2018-09-12 20:51:22benjamin.petersoncreate