...
The test bed is placed in a state where all nodes are prepared with required software and the Docker registry is running. The registry must be populated with the Kubernetes and Flannel images from upstream.
Execute the test scripts:
...
Test Results
Nexus URL:
Pass (12/1 2 test casecases)
CI/CD Regression Tests: Cluster Setup & Teardown
...
The test scripts and data are stored in the source repository's cicd/tests/sdt_step2/cluster/
directory.
Test Procedure
...
Execute the test scripts:
robot cicd/tests/sdt_step2/cluster/
Expected output
The test scripts will start the cluster, add all configured edge nodes, remove the edge nodes, and reset the cluster. The robot command should report success for all test cases.
Test Results
Nexus URL: https://nexus.akraino.org/content/sites/logs/fujitsu/job/lfedge-cluster/7/
Pass (4/4 test cases)
...
The test scripts and data are stored in the source repository's cicd/tests/sdt_step2/edgex/
directory.
Test Procedure
The test bed is placed in a state where the cluster is initialized and all edge nodes have joined. The Docker registry and mosquitto MQTT broker must be running on the master node. The registry must be populated with all upstream images and custom images. Either the device-lora
service camera
service should be enabled with dht2lra
service running on the sensor nodes, or device-virtual
should be enabled to provide readings.
Execute the test scripts:
robot cicd/tests/sdt_step2/edgex/
Expected output
The test scripts will start the EdgeX micro-services on all edge nodes, confirm that MQTT messages are being delivered from the edge nodes, and stop the EdgeX micro-services. The robot command should report success for all test cases.
Test Results
Nexus URL: https://nexus.akraino.org/content/sites/logs/fujitsu/job/edgex-install/7/
Pass (8/8 test cases)
CI/CD Regression Tests:
...
Camera Device Service
These test cases verify that the LoRa device service can read sensor data over the LoRa communications channelthe device-camera
service can get image from IP Camera, and the sync-app
service can share the image to other edge node, and the image-app
service can analyze the image.
The Test inputs
The test steps and data are contained in the scripts in the source repository cicd/tests/sdt_step2/camera/lora
directory.
Test Procedure
The test bed is initialized to the point of having all EdgeX services running, with device-lora
enabled.The dht2lra
service is started on the two sensor nodes-camera and image-app
enabled.
Execute the test scripts:
robot cicd/tests/lora/sdt_step2/camera/
Expected output
The test cases will check if MQTT messages containing temperature data camera image gathered from the sensor camera nodes are arriving at the master node on the topic for each each edge node, validating that the LoRa device support is functioning.
The Robot Framework should report success for all test cases.
Test Results
Nexus URL: https://nexus.akraino.org/content/sites/logs/fujitsu/job/edgex-lora/3/
Pass (29/2 9 test cases)
Feature Project Tests
...