diff options
author | mrichomme <morgan.richomme@orange.com> | 2020-10-29 15:36:09 +0100 |
---|---|---|
committer | mrichomme <morgan.richomme@orange.com> | 2020-11-02 11:41:22 +0100 |
commit | 559771fe0fd39ef11b6fdd3c18af6a25f899ada0 (patch) | |
tree | 372722d382533cdcded26353cee1b8438014b3ed /infra-healthcheck/README.md | |
parent | a678715a0934ab44a710b82df351951f105d727d (diff) |
Update xtesting READMEs
They can be used to run the xtesting dockers on any ONAP deployment
Note a section in the official doc shall also be created
Issue-ID: TEST-274
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: If1d98e51c1dd476f5b1da81e51e4b4d99f513aa5
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'infra-healthcheck/README.md')
-rw-r--r-- | infra-healthcheck/README.md | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/infra-healthcheck/README.md b/infra-healthcheck/README.md index 36628a1..4ff7f5d 100644 --- a/infra-healthcheck/README.md +++ b/infra-healthcheck/README.md @@ -9,12 +9,16 @@ It includes 2 tests: - onap-k8s: list pods, deployments, events, cm, ... For any faulty pod, it collects the logs and the describe. The success criteria is 100% of the pods - are up&running + are up and running - onap-helm: list the helm charts. The success criteria is all the helm charts are completed. -- nodeport_ingress: check that we have a 1:1 corresdpondance between nodeports +- nodeport_ingress: check that we have a 1:1 correspondance between nodeports and ingress (run only when the env variable DEPLOY_SCENARIO includes ingress) +Please note that you will find another test (onap-k8s-teardown) in CI. It is exactly +the same than onap-k8s (status of the onap cluster) executed at the end of the +CI, after all the other tests. It allows to collect the logs of the components. + ## Usage ### Configuration @@ -39,7 +43,7 @@ You can run this docker by typing: ``` docker run -v <the kube config>:/root/.kube/config -v <result directory>:/var/lib/xtesting/results -nexus3.onap.org:10001/onap/xtesting-infra-healthcheck:latest +nexus3.onap.org:10003/onap/xtesting-infra-healthcheck:latest ``` Options: @@ -58,7 +62,7 @@ environment variables: - INSTALLER_TYPE: precise how your ONAP has been installed (e.g. kubespray-oom, rke-oom) - BUILD_TAG: a unique tag of your CI system. It can be usefull to get all the - tests of one CI run. It uses the regex (dai|week)ly-(.+?)-[0-9]\* to find the + tests of one CI run. It uses the regex (dai|week)ly-(.+?)-\[0-9]\* to find the version (e.g. daily-elalto-123456789). - DEPLOY_SCENARIO: your scenario deployment. ingress test run only if the scenario includes 'ingress' @@ -74,7 +78,7 @@ The command becomes: docker run -v <the kube config>:/root/.kube/config -v -v <the user home dir>/.helm/plugins/deploy/cache/onap/logs:/onap_helm_logs <result directory>:/var/lib/xtesting/results -nexus3.onap.org:10001/onap/xtesting-infra-healthcheck:latest:latest +nexus3.onap.org:10003/onap/xtesting-infra-healthcheck:latest:latest /bin/bash -c "run_tests -r -t all" ``` @@ -86,6 +90,6 @@ nexus3.onap.org:10001/onap/xtesting-infra-healthcheck:latest:latest +------------------+-------------+-------------------+----------+--------+ | onap-k8s | integration | infra-healthcheck | 00:06 | PASS | | onap-helm | integration | infra-healthcheck | 00:01 | PASS | -| nodeport_ingress | security | security | 00:01 | FAIL | +| nodeport_ingress | security | security | 00:01 | FAIL | +------------------+-------------+-------------------+----------+--------+ ``` |