missing module breezy.testplugins breaks a lot of tests

Bug #1927523 reported by Matej on 2021-05-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
loggerhead-breezy
Undecided
Unassigned

Bug Description

When running the testsuite, I get a spectacular failure of plenty of tests in the testuite for missing module breezy.testplugins:

[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_dev__version__with_version_info
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 445.742 loading plugins!
[ 540s] 445.742 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 445.743 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 445.743 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 445.747 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 478, in test_dev__version__with_version_info
[ 540s] plugin = breezy.plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_no_version_info___version__
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 445.754 loading plugins!
[ 540s] 445.755 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 445.755 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 445.755 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 445.759 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 443, in test_no_version_info___version__
[ 540s] plugin = breezy.plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_str__version__with_version_info
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 445.766 loading plugins!
[ 540s] 445.766 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 445.767 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 445.767 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 445.770 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 448, in test_str__version__with_version_info
[ 540s] plugin = breezy.plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_1_2_3__version__with_version_info
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 447.482 loading plugins!
[ 540s] 447.482 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 447.483 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 447.483 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 447.487 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 468, in test_1_2_3__version__with_version_info
[ 540s] plugin = breezy.plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_load_plugin_tests_gives_load_plugin_tests_result
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 447.499 loading plugins!
[ 540s] 447.499 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 447.500 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 447.500 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 447.503 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 417, in test_load_plugin_tests_gives_load_plugin_tests_result
[ 540s] p = plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_plugin_get_path_pyc_only
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 447.515 loading plugins!
[ 540s] 447.515 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 447.516 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 447.516 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 447.517 resetting plugin testing context
[ 540s] 447.518 removed breezy.testingplugins from sys.modules
[ 540s] 447.518 loading plugins!
[ 540s] 447.519 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 447.521 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 390, in test_plugin_get_path_pyc_only
[ 540s] p = plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_candidate__version__with_version_info
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 451.694 loading plugins!
[ 540s] 451.694 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 451.696 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 451.696 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 451.700 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 473, in test_candidate__version__with_version_info
[ 540s] plugin = breezy.plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_no_version_info
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 451.712 loading plugins!
[ 540s] 451.713 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 451.713 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 451.713 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 451.717 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 425, in test_no_version_info
[ 540s] self.check_version_info(None)
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 422, in check_version_info
[ 540s] self.assertEqual(expected, plugin.plugins()[name].version_info())
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_short_version_info_gets_padded
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 451.729 loading plugins!
[ 540s] 451.729 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 451.730 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 451.730 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 451.733 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 434, in test_short_version_info_gets_padded
[ 540s] self.check_version_info((1, 2, 3, 'final', 0),
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 422, in check_version_info
[ 540s] self.assertEqual(expected, plugin.plugins()[name].version_info())
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_1_2__version__with_version_info
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 456.841 loading plugins!
[ 540s] 456.841 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 456.842 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 456.842 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 456.847 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 463, in test_1_2__version__with_version_info
[ 540s] plugin = breezy.plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_no_load_plugin_tests_gives_None_for_load_plugin_tests
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 456.859 loading plugins!
[ 540s] 456.860 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 456.860 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 456.860 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 456.862 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 408, in test_no_load_plugin_tests_gives_None_for_load_plugin_tests
[ 540s] p = plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_final__version__with_version_info
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 464.484 loading plugins!
[ 540s] 464.484 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 464.484 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 464.484 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 464.489 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 488, in test_final__version__with_version_info
[ 540s] plugin = breezy.plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_trivial_plugin_get_path
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 464.521 loading plugins!
[ 540s] 464.521 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 464.522 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 464.522 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 464.525 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 369, in test_trivial_plugin_get_path
[ 540s] p = self.plugins['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_plugin_get_path_py_not_pyc
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 468.118 loading plugins!
[ 540s] 468.118 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 468.119 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 468.120 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 468.121 resetting plugin testing context
[ 540s] 468.122 removed breezy.testingplugins from sys.modules
[ 540s] 468.122 loading plugins!
[ 540s] 468.122 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 468.123 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 468.123 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 468.127 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 379, in test_plugin_get_path_py_not_pyc
[ 540s] p = plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_with_version_info
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 468.133 loading plugins!
[ 540s] 468.133 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 468.133 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 468.133 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 468.136 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 428, in test_with_version_info
[ 540s] self.check_version_info((1, 2, 3, 'dev', 4),
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 422, in check_version_info
[ 540s] self.assertEqual(expected, plugin.plugins()[name].version_info())
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_no_test_suite_gives_None_for_test_suite
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 470.986 loading plugins!
[ 540s] 470.986 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 470.987 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 470.987 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 470.992 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 396, in test_no_test_suite_gives_None_for_test_suite
[ 540s] p = plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_dev_fallback__version__with_version_info
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 472.529 loading plugins!
[ 540s] 472.529 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 472.530 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 472.530 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 472.533 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 483, in test_dev_fallback__version__with_version_info
[ 540s] plugin = breezy.plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_noniterable__version__with_version_info
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 472.540 loading plugins!
[ 540s] 472.540 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 472.541 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 472.541 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 472.544 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 453, in test_noniterable__version__with_version_info
[ 540s] plugin = breezy.plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] ERROR: breezy.tests.test_plugins.TestPlugins.test_test_suite_gives_test_suite_result
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 472.551 loading plugins!
[ 540s] 472.551 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 472.551 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 472.551 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 472.555 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 402, in test_test_suite_gives_test_suite_result
[ 540s] p = plugin.plugins()['plugin']
[ 540s] KeyError: 'plugin'
[ 540s]
[ 540s] ======================================================================
[ 540s] FAIL: breezy.tests.test_plugins.TestPlugins.test_plugin_loaded
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 456.867 loading plugins!
[ 540s] 456.867 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 456.868 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 456.868 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 456.871 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 351, in test_plugin_loaded
[ 540s] self.assertIsInstance(p, breezy.plugin.PlugIn)
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/__init__.py", line 1529, in assertIsInstance
[ 540s] self.fail(m)
[ 540s] File "/usr/lib64/python3.8/unittest/case.py", line 753, in fail
[ 540s] raise self.failureException(msg)
[ 540s] AssertionError: None is an instance of <class 'NoneType'> rather than <class 'breezy.plugin.PlugIn'>
[ 540s]
[ 540s] ======================================================================
[ 540s] FAIL: breezy.tests.test_plugins.TestPlugins.test_plugin_appears_in_plugins
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 464.503 loading plugins!
[ 540s] 464.503 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 464.503 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'
[ 540s]
[ 540s] 464.503 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
[ 540s] 464.507 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 362, in test_plugin_appears_in_plugins
[ 540s] self.assertPluginKnown('plugin')
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 148, in assertPluginKnown
[ 540s] self.assertTrue(getattr(self.module, name, None) is not None)
[ 540s] File "/usr/lib64/python3.8/unittest/case.py", line 765, in assertTrue
[ 540s] raise self.failureException(msg)
[ 540s] AssertionError: False is not true
[ 540s]
[ 540s] ======================================================================
[ 540s] FAIL: breezy.tests.test_plugins.TestLoadingPlugins.test_plugin_with_error
[ 540s] ----------------------------------------------------------------------
[ 540s] Traceback (most recent call last):
[ 540s] testtools.testresult.real._StringException: log: {{{
[ 540s] 472.515 loading plugins!
[ 540s] 472.515 using _Path('breezy.testingplugins', [], [], ['.'])
[ 540s] 472.516 Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/plugin.py", line 429, in _load_plugin_module
[ 540s] __import__(_MODULE_PREFIX + name)
[ 540s] ModuleNotFoundError: No module named 'breezy.testingplugins.some_error'
[ 540s]
[ 540s] 472.516 Unable to load plugin 'some_error' from '.': No module named 'breezy.testingplugins.some_error'
[ 540s] WARNING Unable to load plugin 'some_error' from '.': No module named 'breezy.testingplugins.some_error'
[ 540s] 472.519 removed breezy.testingplugins from sys.modules
[ 540s] }}}
[ 540s]
[ 540s] Traceback (most recent call last):
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/test_plugins.py", line 331, in test_plugin_with_error
[ 540s] self.assertEqual(
[ 540s] File "/home/abuild/rpmbuild/BUILDROOT/breezy-3.2.0-0.x86_64/usr/lib64/python3.8/site-packages/breezy/tests/__init__.py", line 1307, in assertEqual
[ 540s] raise AssertionError("%snot equal:\na = %s\nb = %s\n"
[ 540s] AssertionError: not equal:
[ 540s] a = "Unable to load plugin 'some_error' from '.': bad\n"
[ 540s] b = ("Unable to load plugin 'some_error' from '.': No module named "
[ 540s] "'breezy.testingplugins.some_error'\n")
[ 540s]
[ 540s] ----------------------------------------------------------------------
[ 540s] Ran 32895 tests in 492.852s
[ 540s]
[ 540s] FAILED (failures=3, errors=19, known_failure_count=49)
[ 540s] 4385 tests skipped
[ 540s] error: Bad exit status from /var/tmp/rpm-tmp.mNndmt (%check)
[ 540s]
[ 540s]
[ 540s] RPM build errors:
[ 540s] Bad exit status from /var/tmp/rpm-tmp.mNndmt (%check)
[ 540s]
[ 540s] stitny failed "build breezy.spec" at Thu May 6 16:00:58 UTC 2021.
[ 540s]

Revision history for this message
Matej (mcepl) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers