Reducing concurrency makes no difference:
$ BRZ_PLUGIN_PATH=-site:-user LC_ALL=C.UTF-8 PYTHONPATH=/build/breezy-xbGxjH/breezy-3.2.1/.pybuild/cpython3_3.9_breezy/build python3.9 ./brz -Derror selftest -v breezy.tests.test_plugins.TestLoadingPlugins
=> Still bad
But one has to remember that running a single subtest of it works.
like:
$ BRZ_PLUGIN_PATH=-site:-user LC_ALL=C.UTF-8 PYTHONPATH=/build/breezy-xbGxjH/breezy-3.2.1/.pybuild/cpython3_3.9_breezy/build python3.9 ./brz -Derror selftest -v breezy.tests.test_plugins.TestLoadingPlugins.test_plugins_can_load_from_directory_with_trailing_slash
=> GOOD
Even running all of them one after the other works:
$ for t in test_plugins.TestLoadingPlugins.test_plugin_with_bad_api_version_reports test_plugins.TestLoadingPlugins.test_plugin_with_bad_name_does_not_load test_plugins.TestLoadingPlugins.test_plugin_with_error test_plugins.TestLoadingPlugins.test_plugin_with_error_suppress test_plugins.TestLoadingPlugins.test_plugins_can_load_from_directory_with_trailing_slash test_plugins.TestLoadingPlugins.test_plugins_from_different_dirs_can_demand_load test_plugins.TestLoadingPlugins.test_plugins_with_the_same_name_are_not_loaded; do BRZ_PLUGIN_PATH=-site:-user LC_ALL=C.UTF-8 PYTHONPATH=/build/breezy-xbGxjH/breezy-3.2.1/.pybuild/cpython3_3.9_breezy/build python3.9 ./brz -Derror selftest -v $t; printf "\n\n\n\n\n\n\n\n\n"; done
=> All of them are good now, but while running them at once as shown above they fail.
Finally I found a command that fails in bad and works in good env
$ BRZ_CONCURRENCY=3 BRZ_HOME= debian/ brzhome BRZ_PLUGIN_ PATH=-site: -user LC_ALL=C.UTF-8 PYTHONPATH= /build/ breezy- xbGxjH/ breezy- 3.2.1/. pybuild/ cpython3_ 3.9_breezy/ build python3.9 ./brz -Derror selftest -v breezy. tests.test_ plugins. TestLoadingPlug ins
=> BAD
Reducing concurrency makes no difference: PATH=-site: -user LC_ALL=C.UTF-8 PYTHONPATH= /build/ breezy- xbGxjH/ breezy- 3.2.1/. pybuild/ cpython3_ 3.9_breezy/ build python3.9 ./brz -Derror selftest -v breezy. tests.test_ plugins. TestLoadingPlug ins
$ BRZ_PLUGIN_
=> Still bad
But one has to remember that running a single subtest of it works. PATH=-site: -user LC_ALL=C.UTF-8 PYTHONPATH= /build/ breezy- xbGxjH/ breezy- 3.2.1/. pybuild/ cpython3_ 3.9_breezy/ build python3.9 ./brz -Derror selftest -v breezy. tests.test_ plugins. TestLoadingPlug ins.test_ plugins_ can_load_ from_directory_ with_trailing_ slash
like:
$ BRZ_PLUGIN_
=> GOOD
Even running all of them one after the other works: TestLoadingPlug ins.test_ plugin_ with_bad_ api_version_ reports test_plugins. TestLoadingPlug ins.test_ plugin_ with_bad_ name_does_ not_load test_plugins. TestLoadingPlug ins.test_ plugin_ with_error test_plugins. TestLoadingPlug ins.test_ plugin_ with_error_ suppress test_plugins. TestLoadingPlug ins.test_ plugins_ can_load_ from_directory_ with_trailing_ slash test_plugins. TestLoadingPlug ins.test_ plugins_ from_different_ dirs_can_ demand_ load test_plugins. TestLoadingPlug ins.test_ plugins_ with_the_ same_name_ are_not_ loaded; do BRZ_PLUGIN_ PATH=-site: -user LC_ALL=C.UTF-8 PYTHONPATH= /build/ breezy- xbGxjH/ breezy- 3.2.1/. pybuild/ cpython3_ 3.9_breezy/ build python3.9 ./brz -Derror selftest -v $t; printf "\n\n\n\ n\n\n\n\ n\n"; done
$ for t in test_plugins.
=> All of them are good now, but while running them at once as shown above they fail.