For expediency, I'm running build and autopkgtest runs from @aleasto and
@cnihelton.

The patch provided by cnihelton via Matrix didn't work, results in a
hard-fail on a NameError - "NameError: name 'runner' is not defined"

Testing aleasto's solution we get assertion errors:

=============================== warnings summary ===============================
tests/integration/test_ui_gtk.py::test_unusable_display
  /usr/lib/python3/dist-packages/gi/overrides/__init__.py:159: 
PyGIDeprecationWarning: GLib.unix_signal_add_full is deprecated; use 
GLibUnix.signal_add_full instead
    value = getattr(proxy, attr)

tests/integration/test_unkillable_shutdown.py::TestUnkillableShutdown::test_omit_all_processes_except_one
tests/integration/test_unkillable_shutdown.py::TestUnkillableShutdown::test_write_reports
  /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: 
This process (pid=4244) is multi-threaded, use of fork() may lead to deadlocks 
in the child.
    self.pid = os.fork()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

------
------

This'll need either a more complete patch from cnihelton or a workaround
to capture the warnings of using `fork` in the tests.

Alternatively, we can update existing excuses to handwave these known
broken tests once through the proposed process to let this land.  That
could have its own headaches though.

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

Title:
  apport 2.33.1-0ubuntu4 FTBFS - PicklingIssue in Tests

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to