[Bug 2138802] Re: autopkgtest regressions with 3.14 as a supported version

Andreas Hasenack 2138802 at bugs.launchpad.net
Wed Feb 18 16:16:37 UTC 2026


For crmsh:
3938s + crm resource restart test
3938s ERROR: There is no current event loop in thread 'MainThread'.
3938s INFO: ordering test to stop
3939s Traceback (most recent call last):
3939s   File "/usr/sbin/crm", line 53, in <module>
3939s     rc = main.run()
3939s   File "/usr/lib/python3/dist-packages/crmsh/main.py", line 375, in run
3939s     return main_input_loop(context, user_args)
3939s   File "/usr/lib/python3/dist-packages/crmsh/main.py", line 246, in main_input_loop
3939s     rc = handle_noninteractive_use(context, user_args)
3939s   File "/usr/lib/python3/dist-packages/crmsh/main.py", line 203, in handle_noninteractive_use
3939s     if context.run(' '.join(l)):
3939s        ~~~~~~~~~~~^^^^^^^^^^^^^
3939s   File "/usr/lib/python3/dist-packages/crmsh/ui_context.py", line 93, in run
3939s     rv = self.execute_command() is not False
3939s          ~~~~~~~~~~~~~~~~~~~~^^
3939s   File "/usr/lib/python3/dist-packages/crmsh/ui_context.py", line 276, in execute_command
3939s     rv = self.command_info.function(*arglist)
3939s   File "/usr/lib/python3/dist-packages/crmsh/ui_resource.py", line 330, in do_restart
3939s     if not utils.wait_dc_stable("stop", not options.batch):
3939s            ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
3939s   File "/usr/lib/python3/dist-packages/crmsh/utils.py", line 1022, in wait_dc_stable
3939s     if not wait_for_dc():
3939s            ~~~~~~~~~~~^^
3939s   File "/usr/lib/python3/dist-packages/crmsh/utils.py", line 993, in wait_for_dc
3939s     return retry_with_timeout(lambda: get_dc(node) or raise_exception(Exception()), dc_timeout)
3939s   File "/usr/lib/python3/dist-packages/crmsh/utils.py", line 2980, in retry_with_timeout
3939s     return asyncio.get_event_loop_policy().get_event_loop().run_until_complete(asyncio.wait_for(wrapper(), timeout_sec))
3939s            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
3939s   File "/usr/lib/python3.14/asyncio/events.py", line 715, in get_event_loop
3939s     raise RuntimeError('There is no current event loop in thread %r.'
3939s                        % threading.current_thread().name)
3939s RuntimeError: There is no current event loop in thread 'MainThread'.

https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-
resolute/resolute/amd64/c/crmsh/20260214_170350_7e72e@/log.gz#:~:text=start%20OK%0A3938s%20%2B-,crm%20resource,-restart%20test%0A3938s


** Also affects: crmsh (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: python-tenacity (Ubuntu)
       Status: Fix Released => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/2138802

Title:
   autopkgtest regressions with 3.14 as a supported version

Status in aiocoap package in Ubuntu:
  In Progress
Status in crmsh package in Ubuntu:
  New
Status in python-eventlet package in Ubuntu:
  New
Status in python-oslo.messaging package in Ubuntu:
  New
Status in python-oslo.service package in Ubuntu:
  New
Status in python-tenacity package in Ubuntu:
  Fix Committed
Status in python3-defaults package in Ubuntu:
  New

Bug description:
  This bug is for tracking autopkgtest regressions with Python 3.14 as a
  supported version.

  These regressions will be ignored to allow python3-defaults to
  migrate.

  This will not cause breakage in Resolute, as Python 3.13 remains the
  default, but the autopkgtests will regress and new failures won't be
  visible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aiocoap/+bug/2138802/+subscriptions




More information about the foundations-bugs mailing list