[issue23458] [2.7] random: make the file descriptor non-inheritable (on POSIX)

Serhiy Storchaka report at bugs.python.org
Sun Mar 29 08:34:17 CEST 2015


Serhiy Storchaka added the comment:

The test_urandom_fd_non_inheritable is constantly failed on AMD64 OpenIndiana 2.7 buildbot.

http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%202.7/builds/2727/steps/test/logs/stdio
======================================================================
FAIL: test_urandom_fd_non_inheritable (test.test_os.URandomTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/export/home/buildbot/64bits/2.7.cea-indiana-amd64/build/Lib/test/test_support.py", line 387, in wrapper
    return func(*args, **kw)
  File "/export/home/buildbot/64bits/2.7.cea-indiana-amd64/build/Lib/test/test_os.py", line 601, in test_urandom_fd_non_inheritable
    self.assertEqual(open_fds - set(range(3)), set())
AssertionError: Items in the first set but not the second:
4

----------------------------------------------------------------------

----------
nosy: +jcea

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23458>
_______________________________________


More information about the Python-bugs-list mailing list