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
Several KeyError are thrown from the mutiprocess tests for pypy-3.6, pypy-3.7, and pypy-3.8 -- due to semaphore/resource tracking issues. However, these same KeyError are present when testing multiprocessing... so I'm going to ignore them for now.
The multiprocessing tests throw errors for pypy-3.8 (specifically, test_preload_resources, test_timeout, test_heap, and several others due to "too many files open"). This is also seen with multiprocess, however, by skipping the three named tests noted, the other failures ('too many files open') disappear. I'll leave this as an issue to be resolved by pypy, and skip the three noted tests for now.
It seems that a TypeError that hangs the tests is now thrown "infrequently". Given enough tries, the tests generate a TypeError for pypy-3.6, pypy-3.7, and pypy-3.8. However, it's not always due to a UserDict as seen above. Sometimes, the error is:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/mmckerns/src/pypy3.7-v7.3.7-osx64/site-packages/multiprocess-0.70.13.dev0-py3.7.egg/multiprocess/spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "/Users/mmckerns/src/pypy3.7-v7.3.7-osx64/site-packages/multiprocess-0.70.13.dev0-py3.7.egg/multiprocess/spawn.py", line 115, in _main
self = reduction.pickle.load(from_parent)
File "/Users/mmckerns/src/pypy3.7-v7.3.7-osx64/site-packages/dill-0.3.5.dev0-py3.7.egg/dill/_dill.py", line 332, in load
return Unpickler(file, ignore=ignore, **kwds).load()
File "/Users/mmckerns/src/pypy3.7-v7.3.7-osx64/site-packages/dill-0.3.5.dev0-py3.7.egg/dill/_dill.py", line 557, in load
obj = StockUnpickler.load(self)
File "/Users/mmckerns/src/pypy3.7-v7.3.7-osx64/lib-python/3/pickle.py", line 1101, in load
dispatch[key[0]](self)
File "/Users/mmckerns/src/pypy3.7-v7.3.7-osx64/lib-python/3/pickle.py", line 1449, in load_reduce
stack[-1] = func(*args)
TypeError: weak object has gone away
I'll limit the remainder of this issue to pypy3 infrequently throwing a TypeError.
Activity
mmckerns commentedon Oct 12, 2021
See: https://app.travis-ci.com/github/uqfoundation/multiprocess/jobs/542302744
[-]Errors for fork server and spawn in pypy3[/-][+]Errors for forkserver and spawn in pypy3[/+]mmckerns commentedon Jan 27, 2022
Several
KeyErrorare thrown from themutiprocesstests forpypy-3.6,pypy-3.7, andpypy-3.8-- due to semaphore/resource tracking issues. However, these sameKeyErrorare present when testingmultiprocessing... so I'm going to ignore them for now.mmckerns commentedon Jan 27, 2022
The
multiprocessingtests throw errors forpypy-3.8(specifically,test_preload_resources,test_timeout,test_heap, and several others due to "too many files open"). This is also seen withmultiprocess, however, by skipping the three named tests noted, the other failures ('too many files open') disappear. I'll leave this as an issue to be resolved bypypy, and skip the three noted tests for now.mmckerns commentedon Jan 27, 2022
It seems that a
TypeErrorthat hangs the tests is now thrown "infrequently". Given enough tries, the tests generate aTypeErrorforpypy-3.6,pypy-3.7, andpypy-3.8. However, it's not always due to aUserDictas seen above. Sometimes, the error is:I'll limit the remainder of this issue to
pypy3infrequently throwing aTypeError.mmckerns commentedon Jan 27, 2022
Note that the Traceback for both
TypeErrorexperienced are identical... except for theTypeError:message itself.