Comment 5 for bug 1932313

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote (last edit ):

I just checked out the cpython v3.9.6 tag and tested again with that, still getting errors like:

======================================================================
ERROR: breezy.tests.test_plugins.TestPlugins.test_test_suite_gives_test_suite_result
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: log: {{{
1.776 loading plugins!
1.776 using _Path('breezy.testingplugins', [], [], ['.'])
1.776 Traceback (most recent call last):
  File "/root/brz/breezy/plugin.py", line 429, in _load_plugin_module
    __import__(_MODULE_PREFIX + name)
ModuleNotFoundError: No module named 'breezy.testingplugins.plugin'

1.776 Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
 WARNING Unable to load plugin 'plugin' from '.': No module named 'breezy.testingplugins.plugin'
1.777 removed breezy.testingplugins from sys.modules
}}}

Traceback (most recent call last):
  File "/root/brz/breezy/tests/test_plugins.py", line 402, in test_test_suite_gives_test_suite_result
    p = plugin.plugins()['plugin']
KeyError: 'plugin'

For reference, I'm running:

    ./brz -Derror selftest -v -Oselftest.timeout=6000 breezy.tests.test_plugins.TestPlugins

which just failed with:

    FAILED (failures=2, errors=20)

Python version:

# python3
Python 3.9.6 (tags/v3.9.6:db3ff76da1, Jul 7 2021, 13:36:18)
[GCC 10.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.