Automated Use Cases
These use cases have been run on the Daily CI chains and are used to validate the integration of any new dockers in OOM. New tests are indicated in bold.
Tests |
Description |
Code |
Comments |
|---|---|---|---|
onap-helm |
Verify Helm chart status, the test has been updated to take into account Helm3 |
||
onap-k8s |
Check common resources of the ONAP Kubernetes namespace |
kubernetes python library |
|
onap-k8s-teardown |
Check common resources of the ONAP Kubernetes namespace after all tests execution |
kubernetes python library |
Tests |
Description |
Code |
Comments |
|---|---|---|---|
core |
Robot healthcheck tests of the core components (AA&I, DMAAP, Portal, SDC, SDNC, SO) |
||
full |
Robot healthcheck tests for all the components, holmes healthcheck have been reintroduced |
||
healthdist |
Check the onboarding and distribution of the vFW |
||
postinstall |
Check dmaap and AA&I Design model DB tests |
||
ves-collector (new) |
Suite for checking handling events by VES Collector |
||
hv-ves |
HV-VES ‘Sunny Scenario’ Robot Framework test - message is sent to the collector and Kafka topic is checked if the message has been published. Content is decoded and checked. |
||
basic_onboard |
onboard a model, subset of most of the other basic_* tests, created to perform stability testing |
||
cps-healthcheck |
Call liveness and readiness probes of the CPS module |
||
cps-temporal-healthcheck |
Call endpoints of CPS Temporal component |
||
cps-dmi-plugin-healthcheck |
Call endpoints of CPS DMI plugin component |
Tests |
Description |
Code |
Comments |
|---|---|---|---|
basic_vm |
Onboard, distribute and instantiate an Openstack VM using à la carte BPMN, replaced the former basic_vm test |
||
basic_network |
Onboard, distribute and instantiate a Neutron network |
||
basic_cnf |
Onboard (new), distribute and instantiate a Kubernetes pods |
||
5gbulkpm |
5G Bulk PM Usecase functionality. The test has been significantly enhanced in Honolulu |
||
pnf-registrate |
Executes the PNF registration test cases including setup and teardown |
||
cmpv2 |
CMPv2 Usecase functionality |
||
basic_vm_macro |
Instantiate a VM using macro bpmn |
||
pnf_macro |
Run PNF simulator, onboard, distribute and instantiate service including PNF |
||
cds_resource_resolution |
Upload blueprint file into CDS, execute test workflow and check results |
||
basic_cnf_macro |
Onboard (new), distribute and instantiate a Kubernetes pods using SO’s macro flow |
||
basic_policy |
Store a XACML policy, deploy it to a PDP group and check the resulting Permit and Deny decisions |
||
basic_acm |
Commission, prime, instantiate and deploy an automation composition driving the policy participant, and check the policy it deploys reaches the PDP group |
||
basic_opa |
Store a native OPA policy with its Rego module and data document, deploy it to the OPA PDP group and check the resulting Deny and Permit decisions |
The three Policy Framework smoke tests, basic_policy, basic_acm and
basic_opa, are described in detail in Policy Framework End to End Tests.
Tests |
Description |
Code |
Comments |
|---|---|---|---|
root_pods |
check that pods are nor using root user or started as root |
kubectl |
|
unlimitted_pods |
check that limits are set for pods |
kubectl |
|
nonssl_endpoints |
check that all public HTTP endpoints exposed in ONAP cluster use SSL tunnels |
kubetl, nmap |
|
nodeport_check_certs |
This test list the nodeports and tries to get SSL information to evaluate the validity of the certificates (expiration and issuer) used on the nodeports |
pyopenssl, kubernetes python libraries |