failing tests breezy.tests.test_selftest.TestTransportScenarios.test_scenarios_include_transport_class and breezy.tests.test_selftest.TestTestSuite.test_test_suite

Bug #2003710 reported by Matěj Cepl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Fix Released
High
Jelmer Vernooij

Bug Description

Complete log is attached this is just an error message:

[ 674s] ======================================================================
[ 674s] ERROR: breezy.tests.test_selftest.TestTransportScenarios.test_scenarios_include_transport_class
[ 674s] ----------------------------------------------------------------------
[ 674s] testtools.testresult.real._StringException: Empty attachments:
[ 674s] log
[ 674s]
[ 674s] Traceback (most recent call last):
[ 674s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.3.2-0.x86_64/usr/lib64/python3.10/site-packages/breezy/tests/test_selftest.py", line 173, in test_scenarios_include_transport_class
[ 674s] scenarios = transport_test_permutations()
[ 674s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.3.2-0.x86_64/usr/lib64/python3.10/site-packages/breezy/tests/per_transport.py", line 75, in transport_test_permutations
[ 674s] pyutils.get_named_object(module))
[ 674s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.3.2-0.x86_64/usr/lib64/python3.10/site-packages/breezy/pyutils.py", line 56, in get_named_object
[ 674s] __import__(module_name, globals(), locals(), [])
[ 674s] ModuleNotFoundError: No module named 'breezy.testingplugins'
[ 674s]
[ 674s] ======================================================================
[ 674s] FAIL: breezy.tests.test_selftest.TestTestSuite.test_test_suite
[ 674s] ----------------------------------------------------------------------
[ 674s] testtools.testresult.real._StringException: Empty attachments:
[ 674s] log
[ 674s]
[ 674s] Traceback (most recent call last):
[ 674s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.3.2-0.x86_64/usr/lib64/python3.10/site-packages/breezy/tests/test_selftest.py", line 3135, in test_test_suite
[ 674s] self.assertSubset(expected_test_list, _test_ids(suite))
[ 674s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.3.2-0.x86_64/usr/lib64/python3.10/site-packages/breezy/tests/__init__.py", line 1442, in assertSubset
[ 674s] raise AssertionError("value(s) %r not present in container %r" %

(the error message is too long and Launchpad rejected it)

Related branches

Revision history for this message
Matěj Cepl (mcepl) wrote :
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Hmm, I think Ubuntu saw something similar. Nothing has changed in this space recently. Can you reproduce this with older versions of Python, and which version are you using?

Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Matěj Cepl (mcepl) wrote :

That was Python 3.10, this was one is 3.8.

Note that you have complete logs of both builds attached (3.10 with the original description of the bug, 3.8 is here).

Jelmer Vernooij (jelmer)
Changed in brz:
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → Fix Committed
milestone: none → 3.3.3
Jelmer Vernooij (jelmer)
Changed in brz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.