It seems this may be a py3.7 bug so I've opened: https://bugs.python.org/issue34173
** Description changed: I have a feeling this is an issue with a dependency that designate is using, or even with py3.7 itself, and not directly a designate issue. I'm hitting something similar in heat and will append the bug with details there once I get them narrowed down to a simple recreate. Things seem to get hung up in: File "/usr/lib/python3.7/threading.py", line 296, in wait waiter.acquire() and: File "/usr/lib/python3.7/threading.py", line 1048, in _wait_for_tstate_lock elif lock.acquire(block, timeout): - To reproduce with designate, update tox.ini with the following. Note - that https://review.openstack.org/#/c/583316/ and - https://review.openstack.org/#/c/583297 are likely also needed: + To reproduce with designate, update tox.ini with the following: --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py35,py27,flake8 +envlist = py35,py37,py27,flake8 skipsdist = True [testenv] @@ -39,6 +39,12 @@ commands = {[testenv]commands} stestr run '{posargs}' +[testenv:py37] +basepython = python3.7 +commands = + {[testenv]commands} + stestr run 'designate\.tests\.test_workers\.test_processing\.TestProcessingExecutor\.(test_execute_multiple_tasks)' + [testenv:docs] basepython = python3 deps = Notice that while updating tox with a py3.7 target, that also runs a single test, test_execute_multiple_tasks. The test will hang and require a Control-C to cancel it. The results look like this: https://paste.ubuntu.com/p/SwXsCcghjt/ To recreate with py3.7 you can use Ubuntu Cosmic like so: lxc launch ubuntu-daily:cosmic c1 lxc exec c1 /bin/bash root@c1:~# git clone https://github.com/openstack/designate root@c1:~# #update tox.ini as shown above root@c1:~# tox -e py37 ** Bug watch added: Python Roundup #34173 http://bugs.python.org/issue34173 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1782647 Title: py3.7 possible race condition in threading To manage notifications about this bug go to: https://bugs.launchpad.net/designate/+bug/1782647/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
