[New-bugs-announce] [issue35189] EINTR is not being retried

Aapo Samuli Keskimolo report at bugs.python.org
Thu Nov 8 07:45:30 EST 2018

New submission from Aapo Samuli Keskimolo <aapokesk at gmail.com>:

According to https://www.python.org/dev/peps/pep-0475/ the EINTR interruption should be retried automatically, but somehow it does not work and the exception is raised:

2018-11-05 05:21:35,257 ERROR:storage(23491): Remote storage operation failed (request: '{  'excludeSubModules': None,
   'storageLocation': 'qt/qtdatavis3d/68faa5b00f73096eb096c6acdfce76b052ca20b9/LinuxUbuntu_18_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-18.04-x86_64-a6
   'type': 3}')
Traceback (most recent call last):
  File "src/storage.py", line 507, in handle
  File "src/storage.py", line 437, in handle_upload_artifact
    log.info("upload of %s to %s", uploadType, message.storageLocation)
  File "/usr/lib/python3.6/logging/__init__.py", line 1306, in info
    self._log(INFO, msg, args, **kwargs)
  File "/usr/lib/python3.6/logging/__init__.py", line 1442, in _log
  File "/usr/lib/python3.6/logging/__init__.py", line 1452, in handle
  File "/usr/lib/python3.6/logging/__init__.py", line 1514, in callHandlers
  File "/usr/lib/python3.6/logging/__init__.py", line 861, in handle
  File "/home/vmbuilder/qt-ci/src/application.py", line 151, in acquire
    fcntl.lockf(self._lock_fd, fcntl.LOCK_EX)
InterruptedError: [Errno 4] Interrupted system call

components: Library (Lib)
messages: 329469
nosy: akeskimo
priority: normal
severity: normal
status: open
title: EINTR is not being retried
type: crash
versions: Python 3.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list