Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

OOM gating has been introduced for Dublin.

It consists in running a deployment followed by a set of tests on patchset submission in OOM repository.

The CI part is managed on gitlab.com and the deployment executed on ONAP Orange lab.

The goal is to provide a feedback - and ultimately to vote - on code change prior to merge to consolidate the Master branch.

The developer can evaluate the consequences of his/her patchset on a fresh installation.

The Gating process can be described as follows:


On patchset submission, the gating chain is triggered. It can be seen in the gerrit History windows.

Please note that if you resubmit an amednded patch, it will retrigger a deployment and testing sequence. For the moment there is no filter so even a doc change triggers the pipeline.


At the end of the processing the ONAP jobDeployer reports the results


If you follow the link you will reach the xtesting-onap gitlab page (on gitlab.com).

This link is unique and corresponds to the gating pipeline corresponding to the patch.

If you download the results, you will get an archive including the test results from the test pipeline:

TestDescriptionCriteriaResults
onap_healthcheck_k8s/onap-k8sWe check the status of the ONAP podsFAIL if 1 PODS in non Running state

logs available under results/healthcheck-k8s/k8s/xtesting.log

In the logs you will find

  • the list of pods
  • the list of deployments
  • the list of SVC
  • the describe of non Running pods
  • the events

results are also published in a public database:

http://testresults.opnfv.org/onap/api/v1/results?case_name=onap-k8s&build_tag=gitlab_ci-functest-rancher-baremetal-daily-master-<Gerrit_ID>

onap_healthcheck_k8s/onap-helmWe check the status of the ONAP helm chartFAIL if  1 chart is not DEPLOYED

logs available under results/healthcheck-k8s/k8s/xtesting.log

In the logs you will find

  • the list of heml charts and their status
  • the details on non DEPLOYED heml charts

results are also published in a public database:

http://testresults.opnfv.org/onap/api/v1/results?case_name=onap-helm&build_tag=gitlab_ci-functest-rancher-baremetal-daily-master-<Gerrit_ID>


healthcheck

  • core
  • small
  • medium
  • full

Traditionnal Robot healthcheck test suites with the label core, small, medium or full

the tesuites are run in parallel

FAIL if 1 of the helcheck if FAIL

logs available under results/healthcheck/<core|small|medium|full>/xtesting.log

Robot outputs are available in results/healthcheck/<core|small|medium|full>/<core|small|medium|full>

Results are also published in a public database:

http://testresults.opnfv.org/onap/api/v1/results?case_name=core&build_tag=gitlab_ci-functest-rancher-baremetal-daily-master-<Gerrit_ID>

End to End tests

  • basic_vm (ubuntu16)
  • freeradius (freeradius on basic_vm + use of NBI for instantiation)
  • clearwater_ims


They correspond to full onboard/instantation of some VNFs

They are triggered only if core and small healthcheck test suites aree successful


the test includes the creation and the cleaning of the resources

FAIL if VNF cannot be created at any stage (onboarding, distribution, instantiation,..)


if basic_vm Fails, other cases are not executed to save time

logs available under results/vnf/vnf/xtesting.log


Results are also published in a public database:

http://testresults.opnfv.org/onap/api/v1/results?case_name=basic_vm&build_tag=gitlab_ci-functest-rancher-baremetal-daily-master-<Gerrit_ID>


          

  • No labels