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 failure on OpenIndiana
Type: behavior Stage: resolved
Components: Library (Lib), Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jcea Nosy List: benjamin.peterson, jcea, pitrou, python-dev
Priority: normal Keywords:

Created on 2011-08-16 17:59 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (5)
msg142209 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-08-16 17:59
http://www.python.org/dev/buildbot/all/builders/x86%20OpenIndiana%203.x/builds/1826/steps/test/logs/stdio

======================================================================
ERROR: test_get_and_set_scheduler_and_param (test.test_posix.PosixTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_posix.py", line 863, in test_get_and_set_scheduler_and_param
    init = posix.sched_getscheduler(1)
OSError: [Errno 3] No such process
msg142233 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-08-16 22:46
New changeset 09f2ddd3d15a by Benjamin Peterson in branch 'default':
some *nixes decided not to call init process 1 (closes #12763)
http://hg.python.org/cpython/rev/09f2ddd3d15a
msg143810 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2011-09-09 22:09
This fix is incorrect. It is ignoring a common case (a process running under a Solaris Zone) completelly.

Since the intention of the test is to check the access to the scheduling information of a different process, I change it to access the parent, instead of a hardcoded "init".

I take care of this.
msg143814 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-09-09 23:17
New changeset dba886806eb3 by Jesus Cea in branch 'default':
Better fix for #12763: test_posix failure on OpenIndiana
http://hg.python.org/cpython/rev/dba886806eb3
msg143816 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-09-09 23:41
New changeset 9ef10328180b by Jesus Cea in branch 'default':
Yet another fix for #12763: test_posix failure on OpenIndiana
http://hg.python.org/cpython/rev/9ef10328180b
History
Date User Action Args
2022-04-11 14:57:20adminsetgithub: 56972
2011-09-09 23:41:00python-devsetmessages: + msg143816
2011-09-09 23:17:30python-devsetmessages: + msg143814
2011-09-09 22:09:13jceasetassignee: benjamin.peterson -> jcea

messages: + msg143810
nosy: + jcea
2011-08-16 22:46:54python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg142233

resolution: fixed
stage: resolved
2011-08-16 18:06:51pitrousettype: performance -> behavior
2011-08-16 17:59:03pitroucreate