{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/Pyjion/issues/122","repository_url":"https://api.github.com/repos/Microsoft/Pyjion","labels_url":"https://api.github.com/repos/Microsoft/Pyjion/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Pyjion/issues/122/comments","events_url":"https://api.github.com/repos/Microsoft/Pyjion/issues/122/events","html_url":"https://github.com/Microsoft/Pyjion/issues/122","id":129910339,"number":122,"title":"test_multiprocessing_spawn fails","user":{"login":"brettcannon","id":54418,"avatar_url":"https://avatars.githubusercontent.com/u/54418?v=3","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/Pyjion/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Microsoft/Pyjion/milestones/1","html_url":"https://github.com/Microsoft/Pyjion/milestones/PyCon","labels_url":"https://api.github.com/repos/Microsoft/Pyjion/milestones/1/labels","id":1544918,"number":1,"title":"PyCon","description":"Issues that should take priority in order to be ready for PyCon.","creator":{"login":"brettcannon","id":54418,"avatar_url":"https://avatars.githubusercontent.com/u/54418?v=3","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":14,"state":"open","created_at":"2016-01-26T20:09:37Z","updated_at":"2016-02-02T21:45:58Z","due_on":"2016-05-28T07:00:00Z","closed_at":null},"comments":0,"created_at":"2016-01-29T23:25:25Z","updated_at":"2016-02-02T21:45:58Z","closed_at":"2016-02-02T21:45:58Z","body":"The test takes **forever** to run, so be careful about running the entire test file.\r\n\r\n\r\n======================================================================\r\nERROR: test_barrier (test.test_multiprocessing_spawn.WithManagerTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1244,\r\ner\r\n    self.run_threads(self.multipass, (self.barrier, results, passes))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1229,\r\n    barrier.wait()\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 994, in\r\n    return self._callmethod('wait', (timeout,))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 732, in\r\n    raise convert_to_error(kind, result)\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_barrier_10 (test.test_multiprocessing_spawn.WithManagerTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1250,\r\ner_10\r\n    return self.test_barrier(10)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1244,\r\ner\r\n    self.run_threads(self.multipass, (self.barrier, results, passes))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1229,\r\n    barrier.wait()\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 994, in\r\n    return self._callmethod('wait', (timeout,))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 732, in\r\n    raise convert_to_error(kind, result)\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_default_timeout (test.test_multiprocessing_spawn.WithManagerTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1410,\r\nlt_timeout\r\n    self.run_threads(self._test_default_timeout_f, (barrier, results))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1395,\r\nult_timeout_f\r\n    i = barrier.wait(cls.defaultTimeout)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 994, in\r\n    return self._callmethod('wait', (timeout,))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 732, in\r\n    raise convert_to_error(kind, result)\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_reset (test.test_multiprocessing_spawn.WithManagerTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1332,\r\n\r\n    (self.barrier, results1, results2, results3))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1308,\r\nt_f\r\n    i = barrier.wait()\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 994, in\r\n    return self._callmethod('wait', (timeout,))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 732, in\r\n    raise convert_to_error(kind, result)\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_timeout (test.test_multiprocessing_spawn.WithManagerTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1390,\r\nut\r\n    self.run_threads(self._test_timeout_f, (self.barrier, results))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1376,\r\nout_f\r\n    i = barrier.wait()\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 994, in\r\n    return self._callmethod('wait', (timeout,))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 732, in\r\n    raise convert_to_error(kind, result)\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_wait_return (test.test_multiprocessing_spawn.WithManagerTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1262,\r\nreturn\r\n    self.run_threads(self._test_wait_return_f, (self.barrier, queue))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1254,\r\n_return_f\r\n    res = barrier.wait()\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 994, in\r\n    return self._callmethod('wait', (timeout,))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\multiprocessing\\managers.py\", line 732, in\r\n    raise convert_to_error(kind, result)\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_barrier (test.test_multiprocessing_spawn.WithProcessesTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1244,\r\ner\r\n    self.run_threads(self.multipass, (self.barrier, results, passes))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1229,\r\n    barrier.wait()\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 619, in wait\r\n    self._wait(timeout)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 657, in _wait\r\n    raise BrokenBarrierError\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_barrier_10 (test.test_multiprocessing_spawn.WithProcessesTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1250,\r\ner_10\r\n    return self.test_barrier(10)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1244,\r\ner\r\n    self.run_threads(self.multipass, (self.barrier, results, passes))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1229,\r\n    barrier.wait()\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 619, in wait\r\n    self._wait(timeout)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 657, in _wait\r\n    raise BrokenBarrierError\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_default_timeout (test.test_multiprocessing_spawn.WithProcessesTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1410,\r\nlt_timeout\r\n    self.run_threads(self._test_default_timeout_f, (barrier, results))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1395,\r\nult_timeout_f\r\n    i = barrier.wait(cls.defaultTimeout)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 619, in wait\r\n    self._wait(timeout)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 657, in _wait\r\n    raise BrokenBarrierError\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_reset (test.test_multiprocessing_spawn.WithProcessesTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1332,\r\n\r\n    (self.barrier, results1, results2, results3))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1308,\r\nt_f\r\n    i = barrier.wait()\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 619, in wait\r\n    self._wait(timeout)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 657, in _wait\r\n    raise BrokenBarrierError\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_timeout (test.test_multiprocessing_spawn.WithProcessesTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1390,\r\nut\r\n    self.run_threads(self._test_timeout_f, (self.barrier, results))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1376,\r\nout_f\r\n    i = barrier.wait()\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 619, in wait\r\n    self._wait(timeout)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 657, in _wait\r\n    raise BrokenBarrierError\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nERROR: test_wait_return (test.test_multiprocessing_spawn.WithProcessesTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1262,\r\nreturn\r\n    self.run_threads(self._test_wait_return_f, (self.barrier, queue))\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1219,\r\ns\r\n    f(*args)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1254,\r\n_return_f\r\n    res = barrier.wait()\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 619, in wait\r\n    self._wait(timeout)\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\threading.py\", line 657, in _wait\r\n    raise BrokenBarrierError\r\nthreading.BrokenBarrierError\r\n\r\n======================================================================\r\nFAIL: test_abort (test.test_multiprocessing_spawn.WithManagerTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1303,\r\n\r\n    self.assertEqual(len(results2), self.N-1)\r\nAssertionError: 5 != 4\r\n\r\n======================================================================\r\nFAIL: test_abort_and_reset (test.test_multiprocessing_spawn.WithManagerTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1371,\r\n_and_reset\r\n    self.assertEqual(len(results2), self.N-1)\r\nAssertionError: 5 != 4\r\n\r\n======================================================================\r\nFAIL: test_wait_result (test.test_multiprocessing_spawn.WithManagerTestCondition)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1058,\r\nresult\r\n    self.assertTrue(c.wait(10))\r\nAssertionError: False is not true\r\n\r\n======================================================================\r\nFAIL: test_waitfor_timeout (test.test_multiprocessing_spawn.WithManagerTestCondition)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1024,\r\nor_timeout\r\n    self.assertTrue(sem.acquire(timeout=10))\r\nAssertionError: False is not true\r\n\r\n======================================================================\r\nFAIL: test_abort_and_reset (test.test_multiprocessing_spawn.WithProcessesTestBarrier)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1371,\r\n_and_reset\r\n    self.assertEqual(len(results2), self.N-1)\r\nAssertionError: 5 != 4\r\n\r\n======================================================================\r\nFAIL: test_wait_result (test.test_multiprocessing_spawn.WithProcessesTestCondition)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1058,\r\nresult\r\n    self.assertTrue(c.wait(10))\r\nAssertionError: False is not true\r\n\r\n======================================================================\r\nFAIL: test_waitfor_timeout (test.test_multiprocessing_spawn.WithProcessesTestCondition)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 1024,\r\nor_timeout\r\n    self.assertTrue(sem.acquire(timeout=10))\r\nAssertionError: False is not true\r\n\r\n======================================================================\r\nFAIL: test_sys_exit (test.test_multiprocessing_spawn.WithProcessesTestSubclassingProcess)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\brcan\\Documents\\Repositories\\Pyjion\\Python\\lib\\test\\_test_multiprocessing.py\", line 480,\r\nit\r\n    self.assertEqual(p.exitcode, code)\r\nAssertionError: None != 1\r\n\r\n----------------------------------------------------------------------\r\nRan 265 tests in 2991.507s\r\n"}}