Purpose:

The purpose of this platform test is to test ONOS on the platform level.

Test Overview:

Objectives:

Test Suite: PLATdockertest

Test Case #DescriptionPass/Fail Criteria
0Pull all docker images and get a list of image tags.Pass: No duplicate image tags, and image tag list pulled successfully.
1Set up test parametersPass: Parameters are set and docker service is running.
5Pull "onosproject/onos:latest" image from docker repo. (unused)Pass: Image is pulled successfully.
10Start three ONOS containers as standalone ONOS and obtain IPs of all nodes.Pass: ONOS node IPs are obtained and container successfully started.
110Step 1: Check default startup standalone ONOS applications status.Pass: "drivers" app is in ACTIVE state AND all builtin apps have "INSTALLED" state.

Step 2: Form ONOS cluster with all nodes.Pass: ONOS forms cluster with correct number of nodes.

Step 3: Check cluster startup apps status.Pass: "drivers" app is in ACTIVE state AND all builtin apps have "INSTALLED" state

Step 4: Activate "proxyarp", "fwd", and "openflow" apps and check apps status.Pass: Newly activated apps have "ACTIVE" state.
120Docker Mininet TestingPass: Mininet Topology is successfully loaded.
130Docker Intents CheckPass: Intents check was successful.
140Docker Flows TestPass: Flows successfully added.
299Cleanup previous Docker testing, including deactivating "proxyarp", "fwd", and "openflow" apps, and checking app status.Pass: Successful cleanup. Newly deactivated apps have "INSTALLED state.
900Check ONOS log for exceptions after test.Pass: Exception check passes.
1000Pre/Post-test clean environment: Delete ONOS container (if existing), delete images with <none>:<none> tag (if existing).Pass: Containers and images do not exist in docker.