Bug #10535
opentest suite hangs (in arvbox) in sdk/python test_callback
Description
********** Running sdk/python tests **********
running test
running egg_info
writing requirements to arvados_python_client.egg-info/requires.txt
writing arvados_python_client.egg-info/PKG-INFO
writing top-level names to arvados_python_client.egg-info/top_level.txt
writing dependency_links to arvados_python_client.egg-info/dependency_links.txt
writing pbr to arvados_python_client.egg-info/pbr.json
reading manifest file 'arvados_python_client.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'arvados_python_client.egg-info/SOURCES.txt'
running build_ext
test_callback (tests.test_events.PollClientTestCase) …
This test gets stuck for an apparently infinite amount of time on my system, also with slowly increasing memory usage. Seems to be a race condition involving PollClient. Adding a time.sleep(0.1) before `self.logs.add(test_log.copy())` (https://github.com/curoverse/arvados/blob/0b5d04beb288175a285c36a38f255399dfe7d0d7/sdk/python/tests/test_events.py#L338-L339) avoids the issue on my system.
Updated by Joshua Randall over 9 years ago
- Assigned To set to Joshua Randall
- % Done changed from 0 to 100
Updated by Joshua Randall over 9 years ago
I suspect you may be able to reproduce this bug if you run the tests on a system with only one CPU. I had been running arvbox on a VirtualBox VM configured to have only one CPU.
Updated by Joshua Randall over 9 years ago
I had a chance to test the unpatched version of this test over the weekend and it appears that it hangs on test_callback for me even with 4 CPUs, so that doesn't explain the difference.
Updated by Tom Morris over 8 years ago
- Target version set to Arvados Future Sprints
Updated by Ward Vandewege over 4 years ago
- Target version deleted (
Arvados Future Sprints)