Traceback (most recent call last):


 "/home/ds1/anaconda3/envs/paddle2/lib/python3.7/site-packages/paddle/distributed/utils.py", line 406, in watch_local_trainers

terminate_local_procs(procs)


 "/home/ds1/anaconda3/envs/paddle2/lib/python3.7/site-packages/paddle/distributed/utils.py", line 257, in terminate_local_procs

p.proc.join(timeout=1)
AttributeError: 'Popen' object has no attribute 'join'

Traceback (most recent call last):


 "/<<PKGBUILDDIR>>/tests/unit/test_master.py", line 67, in test_runner_token_salt_invocation_error

with patch('salt.auth.LoadAuth.authenticate_token', MagicMock(return_value=mock_token)), \
AttributeError: __enter__
