You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2019-07-11.21:54:16.662>created_at=<Date2019-07-11.08:33:10.079>labels= ['3.8', 'type-bug', 'tests', '3.9']
title='Shared memory tests are failing due to double slashes'updated_at=<Date2019-07-11.21:54:16.662>user='https://github.com/kulikjak'
with the addition of shared memory into Python 3.8, we now have three tests failing on Solaris, namely test_multiprocessing_fork, test_multiprocessing_forkserver and test_multiprocessing_spawn. All of them fail in the same way:
Traceback (most recent call last):
File ".../Python-3.8.0b2/Lib/test/_test_multiprocessing.py", line 4013, in test_shared_memory_cleaned_after_process_termination
smm = shared_memory.SharedMemory(name, create=False)
File ".../Python-3.8.0b2/Lib/multiprocessing/shared_memory.py", line 100, in __init__self._fd = _posixshmem.shm_open(
OSError: [Errno 22] Invalid argument: '//psm_5c1b5800'
The reason for this, in my opinion, is that the test suite is accessing private sm._name instead of the normalized sm.name. Returned value already has one slash prepended, and another one is prepended SharedMemory init is called, resulting in double slashes, which is incorrect.
New changeset 4737265 by Miss Islington (bot) (Jakub Kulík) in branch 'master': bpo-37558: Shared memory tests are failing due to double slashes (GH-14703) 4737265
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: