damccorm commented on PR #37112: URL: https://github.com/apache/beam/pull/37112#issuecomment-3849807386
Looks like there is some flakiness introduced here. For example https://github.com/apache/beam/actions/runs/21684982519/job/62534361794?pr=37503 ``` =================================== FAILURES =================================== _ MultiProcessSharedSpawnProcessTest.test_unsafe_hard_delete_autoproxywrapper __ [gw1] linux -- Python 3.11.12 /runner/_work/beam/beam/sdks/python/test-suites/tox/py311/build/srcs/sdks/python/target/.tox-py311/py311/bin/python self = <apache_beam.utils.multi_process_shared_test.MultiProcessSharedSpawnProcessTest testMethod=test_unsafe_hard_delete_autoproxywrapper> def test_unsafe_hard_delete_autoproxywrapper(self): shared1 = multi_process_shared.MultiProcessShared( Counter, tag='to_delete', always_proxy=True, spawn_process=True) shared2 = multi_process_shared.MultiProcessShared( Counter, tag='to_delete', always_proxy=True, spawn_process=True) counter3 = multi_process_shared.MultiProcessShared( Counter, tag='basic', always_proxy=True, spawn_process=True).acquire() counter1 = shared1.acquire() counter2 = shared2.acquire() self.assertEqual(counter1.increment(), 1) self.assertEqual(counter2.increment(), 2) try: counter2.singletonProxy_unsafe_hard_delete() except Exception: pass with self.assertRaises(Exception): counter1.get() with self.assertRaises(Exception): counter2.get() counter4 = multi_process_shared.MultiProcessShared( Counter, tag='to_delete', always_proxy=True, spawn_process=True).acquire() > self.assertEqual(counter3.increment(), 1) E AssertionError: 22 != 1 apache_beam/utils/multi_process_shared_test.py:347: AssertionError ----------------------------- Captured stderr call ----------------------------- INFO:root:Process 54818: Proxy serving basic at ('127.0.0.1', 41443) INFO:root:Process 54939: Proxy serving to_delete at ('127.0.0.1', 41493) INFO:root:Server process exiting. Deleting files for to_delete INFO:root:Process 55101: Proxy serving to_delete at ('127.0.0.1', 42781) ``` @AMOOOMA could you take a look? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
