Public bug reported:

autopilot 1.6.1+21.04.20210120-0ubuntu18 in Resolute:

https://people.canonical.com/~ginggs/ftbfs-report/test-
rebuild-20260320-resolute-resolute.html

ERROR: 
autopilot.tests.unit.test_input.UInputPowerButtonTestCase.test_power_button_press_release_emitted_write_and_sync
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/autopilot/tests/unit/test_input.py", line 1102, in 
test_power_button_press_release_emitted_write_and_sync
    self.assert_power_button_press_release_emitted_write_and_sync(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        device._device.mock_calls
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/<<PKGBUILDDIR>>/autopilot/tests/unit/test_input.py", line 1097, in 
assert_power_button_press_release_emitted_write_and_sync
    self.assertEquals(expected_calls, calls)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'UInputPowerButtonTestCase' object has no attribute 
'assertEquals'. Did you mean: 'assertEqual'?
======================================================================
ERROR: 
autopilot.tests.unit.test_matchers.EventuallyNonScenariodTests.test_mismatch_output_utf8
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/autopilot/tests/unit/test_matchers.py", line 227, in 
test_mismatch_output_utf8
    self.skip("mismatch Contains returns ascii error")
    ^^^^^^^^^
AttributeError: 'EventuallyNonScenariodTests' object has no attribute 'skip'
======================================================================
ERROR: 
autopilot.tests.unit.test_utilities.EventDelayTests.test_sleep_delta_calc_returns_zero_if_gap_duration_negative
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/autopilot/tests/unit/test_utilities.py", line 175, in 
test_sleep_delta_calc_returns_zero_if_gap_duration_negative
    self.assertEquals(result, 0.0)
    ^^^^^^^^^^^^^^^^^
AttributeError: 'EventDelayTests' object has no attribute 'assertEquals'. Did 
you mean: 'assertEqual'?
======================================================================
ERROR: unittest.loader._FailedTest.autopilot.tests.unit.test_command_line_args
----------------------------------------------------------------------
ImportError: Failed to import test module: 
autopilot.tests.unit.test_command_line_args
Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/autopilot/tests/unit/test_command_line_args.py", line 
33, in <module>
    from autopilot.run import _parse_arguments
  File "/<<PKGBUILDDIR>>/autopilot/run.py", line 46, in <module>
    from autopilot.testresult import get_default_format, get_output_formats
  File "/<<PKGBUILDDIR>>/autopilot/testresult.py", line 25, in <module>
    from testtools import (
    ...<5 lines>...
    )
ImportError: cannot import name 'try_import' from 'testtools' 
(/usr/lib/python3/dist-packages/testtools/__init__.py)

======================================================================
ERROR: unittest.loader._FailedTest.autopilot.tests.unit.test_run
----------------------------------------------------------------------
ImportError: Failed to import test module: autopilot.tests.unit.test_run
Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/autopilot/tests/unit/test_run.py", line 43, in <module>
    from autopilot import get_version_string, have_vis, run, _video
  File "/<<PKGBUILDDIR>>/autopilot/run.py", line 46, in <module>
    from autopilot.testresult import get_default_format, get_output_formats
  File "/<<PKGBUILDDIR>>/autopilot/testresult.py", line 25, in <module>
    from testtools import (
    ...<5 lines>...
    )
ImportError: cannot import name 'try_import' from 'testtools' 
(/usr/lib/python3/dist-packages/testtools/__init__.py)

======================================================================
ERROR: unittest.loader._FailedTest.autopilot.tests.unit.test_test_loader
----------------------------------------------------------------------
ImportError: Failed to import test module: autopilot.tests.unit.test_test_loader
Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/autopilot/tests/unit/test_test_loader.py", line 31, in 
<module>
    from autopilot.run import (
    ...<3 lines>...
    )
  File "/<<PKGBUILDDIR>>/autopilot/run.py", line 46, in <module>
    from autopilot.testresult import get_default_format, get_output_formats
  File "/<<PKGBUILDDIR>>/autopilot/testresult.py", line 25, in <module>
    from testtools import (
    ...<5 lines>...
    )
ImportError: cannot import name 'try_import' from 'testtools' 
(/usr/lib/python3/dist-packages/testtools/__init__.py)

======================================================================
ERROR: unittest.loader._FailedTest.autopilot.tests.unit.test_testresults
----------------------------------------------------------------------
ImportError: Failed to import test module: autopilot.tests.unit.test_testresults
Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/loader.py", line 426, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.14/unittest/loader.py", line 367, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/autopilot/tests/unit/test_testresults.py", line 32, in 
<module>
    from autopilot import testresult
  File "/<<PKGBUILDDIR>>/autopilot/testresult.py", line 25, in <module>
    from testtools import (
    ...<5 lines>...
    )
ImportError: cannot import name 'try_import' from 'testtools' 
(/usr/lib/python3/dist-packages/testtools/__init__.py)

** Affects: autopilot (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs update-excuse

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

Title:
  autopilot: FTBFS in Resolute

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


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

Reply via email to