[New-bugs-announce] [issue39157] test_pidfd_send_signal can fail on some systems with PermissionError: [Errno 1] Operation not permitted

Pablo Galindo Salgado report at bugs.python.org
Sun Dec 29 15:51:55 EST 2019


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

======================================================================
FAIL: test_pidfd_send_signal (test.test_signal.PidfdSignalTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Lib/test/test_signal.py", line 1287, in test_pidfd_send_signal
    self.assertEqual(cm.exception.errno, errno.EBADF)
AssertionError: 1 != 9
---------------------------------------------------------------------

Example failure:

https://buildbot.python.org/all/#/builders/231/builds/1/steps/5/logs/stdio

We should skip the test if the syscall is not permitted

----------
messages: 359004
nosy: pablogsal
priority: normal
severity: normal
status: open
title: test_pidfd_send_signal can fail on some systems with PermissionError: [Errno 1] Operation not permitted

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


More information about the New-bugs-announce mailing list