Fixes of sanity tests, updated cfg-checker, other small fixes
* added sourcing env files automatically for mgmt
* hotfix for the sanity script
* extended timeouts for sanity tests
* fixed some issues in cfg-checker and updated its archive
Related-PROD: K0RQA-15
Change-Id: I90a2e31708a066cd70670a6ba1e93edad8655c18
diff --git a/k8s/sanity-checks/test_sanity_checks.py b/k8s/sanity-checks/test_sanity_checks.py
index 7b9bf05..f121e3b 100644
--- a/k8s/sanity-checks/test_sanity_checks.py
+++ b/k8s/sanity-checks/test_sanity_checks.py
@@ -211,9 +211,9 @@
pytest.skip(f"Target cluster deployment '{cld.name}' is not found in "
f"namespace '{settings.TARGET_NAMESPACE}'. Please check "
f"TARGET_NAMESPACE and TARGET_CLD env vars.")
- cld.check.check_cluster_readiness(timeout=30)
- cld.check.check_k8s_pods(timeout=30)
- cld.check.check_k8s_nodes(timeout=30)
+ cld.check.check_cluster_readiness(timeout=90)
+ cld.check.check_k8s_pods(timeout=120)
+ cld.check.check_k8s_nodes(timeout=90)
@pytest.mark.sanity
@@ -228,6 +228,6 @@
ns = kcm_manager.get_namespace(namespace)
cld = ns.get_cluster_deployment(cld_name)
- cld.check.check_cluster_readiness(timeout=30)
- cld.check.check_k8s_pods(timeout=30)
- cld.check.check_k8s_nodes(timeout=30)
+ cld.check.check_cluster_readiness(timeout=90)
+ cld.check.check_k8s_pods(timeout=120)
+ cld.check.check_k8s_nodes(timeout=90)