Message351570
Hi I have opened another PR: https://github.com/python/cpython/pull/15821
This should fix test failures in FreeBSD.
FreeBSD requires a leading slash in shared memory names. That's why it was throwing the below error:
======================================================================
ERROR: test_shared_memory_basics (test.test_multiprocessing_spawn.WithProcessesTestSharedMemory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/_test_multiprocessing.py", line 3737, in test_shared_memory_basics
shm1 = shared_memory.SharedMemory(create=True, size=1)
File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/multiprocessing/shared_memory.py", line 89, in __init__
self._fd = _posixshmem.shm_open(
OSError: [Errno 22] Invalid argument: 'test01_fn'
----------------------------------------------------------------------
test01_fn doesn't contain a leading slash that's why it is an invalid argument. |
|
Date |
User |
Action |
Args |
2019-09-10 04:58:47 | vinay0410 | set | recipients:
+ vinay0410, davin, pablogsal |
2019-09-10 04:58:47 | vinay0410 | set | messageid: <1568091527.4.0.546896116532.issue38018@roundup.psfhosted.org> |
2019-09-10 04:58:47 | vinay0410 | link | issue38018 messages |
2019-09-10 04:58:46 | vinay0410 | create | |
|