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

2018-09-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

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

2018-09-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3d18b50a12e639e018d49d7b85663164d60bfd2b by Pablo Galindo in branch 'master': bpo-34685: Skip posix_spawn scheduler tests on BSD (GH-9316) https://github.com/python/cpython/commit/3d18b50a12e639e018d49d7b85663164d60bfd2b -- ___

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

2018-09-14 Thread STINNER Victor
STINNER Victor added the comment: We already skip similar os.sched_setparam() tests on FreeBSD, so the change is fine. -- nosy: +vstinner ___ Python tracker ___ _

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

2018-09-14 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +8742 stage: -> patch review ___ Python tracker ___ ___ Python

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

2018-09-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado 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 c

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

2018-09-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Some extra stdout when I try to reproduce this on FreeBSD: test_setscheduler_only_param (test.test_posix.TestPosixSpawn) ... Traceback (most recent call last): File "", line 5, in AttributeError: module 'os' has no attribute 'exit' FAIL test_setsche

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

2018-09-14 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/87/builds/1428/steps/4/logs/stdio == ERROR: test_setscheduler_with_policy (test.test_posix.TestPosixSpawn)