[issue34685] scheduler tests for posix_spawn fail on AMD64 FreeBSD 10.x Shared 3.x

Pablo Galindo Salgado report at bugs.python.org
Fri Sep 14 15:04:13 EDT 2018


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

What is failing is this line in the spawned process:

os.sched_getparam(0).sched_priority != {priority}

For some reason posix_spawn cannot change the priority in BSD. I have tried to hardcode the change in the implementation but the priority does not change in the child.

I am out of ideas, except skipping the tests on these systems.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34685>
_______________________________________


More information about the Python-bugs-list mailing list