aboutsummaryrefslogtreecommitdiff
path: root/kolla/tests
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org>2023-06-14 13:54:10 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2023-08-18 06:48:11 +0000
commit7fa2ac132cce94aae8cd3d196abba342394f6c70 (patch)
tree151dab788bfeedcefd04f12d719261f3ec8e7053 /kolla/tests
parenta004abbdc36b425576c7a9a8c480df938f5c0a1f (diff)
downloadkolla-7fa2ac132cce94aae8cd3d196abba342394f6c70.tar.gz
kolla-7fa2ac132cce94aae8cd3d196abba342394f6c70.zip
Move to Debian 12 'bookworm'
We move to use some components from distribution instead of 3rdparty repos. At least for now - this may/will change later. Packages from Debian: - Erlang 25.2 - MariaDB 10.11 Some Ubuntu/jammy repositories are used in places where there is not (yet) Debian/bookworm one. openvswitch-netcontrold image fails as it needs to be converted to use virtualenv - added into unbuildable images for now. See https://etherpad.opendev.org/p/kolla-bobcat-ptg#L199 for more information. Depends-On: https://review.opendev.org/891946 Change-Id: I45b5a5980fb2318f1aab23a3a6aaf0922563b171
Diffstat (limited to 'kolla/tests')
-rw-r--r--kolla/tests/test_build.py2
-rw-r--r--kolla/tests/test_methods.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/kolla/tests/test_build.py b/kolla/tests/test_build.py
index eb42595b8..be9b7a1b5 100644
--- a/kolla/tests/test_build.py
+++ b/kolla/tests/test_build.py
@@ -637,7 +637,7 @@ class KollaWorkerTest(base.TestCase):
"""check distro_python_version for Debian"""
self.conf.set_override('base', 'debian')
kolla = build.KollaWorker(self.conf)
- self.assertEqual('3.9', kolla.distro_python_version)
+ self.assertEqual('3.11', kolla.distro_python_version)
def test_build_distro_python_version_ubuntu(self):
"""check distro_python_version for Ubuntu"""
diff --git a/kolla/tests/test_methods.py b/kolla/tests/test_methods.py
index 9574bb382..e651bb337 100644
--- a/kolla/tests/test_methods.py
+++ b/kolla/tests/test_methods.py
@@ -117,7 +117,7 @@ class MethodsTest(base.TestCase):
expectCmd += ">>/etc/apt/sources.list.d/rabbitmq.sources && "
expectCmd += "echo 'Types: deb' "
expectCmd += ">>/etc/apt/sources.list.d/rabbitmq.sources && "
- expectCmd += "echo 'Suites: bullseye' "
+ expectCmd += "echo 'Suites: bookworm' "
expectCmd += ">>/etc/apt/sources.list.d/rabbitmq.sources && "
expectCmd += "echo 'Signed-By: /etc/kolla/apt-keys/rabbitmq.gpg' "
expectCmd += ">>/etc/apt/sources.list.d/rabbitmq.sources"