Two system tests failures with 1.8.0
When system tests are executed with kea 1.8.0 two system tests on centos are failing.
To reproduce:
- apply this patch
diff --git a/tests/system/containers.py b/tests/system/containers.py
index bd05a79..45f84e9 100755
--- a/tests/system/containers.py
+++ b/tests/system/containers.py
@@ -385,10 +385,10 @@ class StorkAgentContainer(Container):
self.install_pkgs('curl')
def install_kea(self, service_name='default'):
- self.setup_cloudsmith_repo('kea-1-7')
- kea_version = '1.7.3-isc0009420191217090201'
- #self.setup_cloudsmith_repo('kea-1-8')
- #kea_version = '1.8.0-isc0000420200825110759'
+ # self.setup_cloudsmith_repo('kea-1-7')
+ # kea_version = '1.7.3-isc0009420191217090201'
+ self.setup_cloudsmith_repo('kea-1-8')
+ kea_version = '1.8.0-isc0000420200825110759'
if self.pkg_format == 'deb':
self.run("apt-get update")
if service_name == 'default':
diff --git a/tests/system/tests.py b/tests/system/tests.py
index c0a5e31..2c9c87a 100644
--- a/tests/system/tests.py
+++ b/tests/system/tests.py
@@ -79,8 +79,8 @@ def test_machines(agent_distro, server_distro):
assert m['apps'] is not None
assert len(m['apps']) == 1
- assert m['apps'][0]['version'] == '1.7.3'
- # assert m['apps'][0]['version'] == '1.8.0'
+ # assert m['apps'][0]['version'] == '1.7.3'
+ assert m['apps'][0]['version'] == '1.8.0'
@pytest.mark.parametrize("agent_distro,server_distro", SUPPORTED_DISTROS)
@@ -118,5 +118,5 @@ def test_pkg_upgrade(agent_distro, server_distro):
assert m['apps'] is not None
assert len(m['apps']) == 1
- assert m['apps'][0]['version'] == '1.7.3'
- # assert m['apps'][0]['version'] == '1.8.0'
+ # assert m['apps'][0]['version'] == '1.7.3'
+ assert m['apps'][0]['version'] == '1.8.0'
- build pakgs
rake build_pkgs_in_docker
- run system tests
rake system_tests