Project

General

Profile

Actions

Bug #10535

open

test suite hangs (in arvbox) in sdk/python test_callback

Added by Joshua Randall over 7 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
Story points:
-
Release:
Release relationship:
Auto

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.

Actions

Also available in: Atom PDF