Introduction
This document describes the blueprint test environment for the Smart Data Transaction for CPS blueprint. The test results and logs are posted in the Akraino Nexus at the link below:
Insert link here
Akarino Test Group Information
N/A
Testing has been carried out at Fujitsu Limited labs without any Akraino Test Working Group resources.
Overall Test Architecture
Tests are carried out on the architecture shown in the diagram below.
Test Bed
The test bed consists of a VM running on x86 hardware, performing jump host/deploy and master node roles, two edge nodes on ARM64 (Jetson Nano) hardware, and two sensor nodes on ARM32 (Raspberry Pi) hardware.
Node Type | Count | Hardware | OS |
---|---|---|---|
Jump Host, Deploy/Master | 1 | Intel i5, 2 cores VM | Ubuntu 20.04 |
Edge | 2 | Jetson Nano, ARM Cortex-A57, 4 cores | Ubuntu 20.04 |
Sensor | 2 | Raspberry Pi 3, ARM Cortex-A53, 4 cores | Rasbian 11.1 |
A second VM is used to run the BluVal test framework components outside the system under test.
Test Framework
BluVal and additional tests are carried out using Robot Framework.
Traffic Generator
N/A
Test API description
CI/CD Regression Tests: Docker Private Registry
The Test inputs
Test Procedure
Expected output
Test Results
CI/CD Regression Tests: Node Setup
The Test inputs
Test Procedure
Expected output
Test Results
CI/CD Regression Tests: Cluster Setup & Teardown
The Test inputs
Test Procedure
Expected output
Test Results
CI/CD Regression Tests: EdgeX Services
The Test inputs
Test Procedure
Expected output
Test Results
CI/CD Regression Tests: LoRa Device Service
The Test inputs
The test steps and data are contained in the scripts in the source repository cicd/test/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.
Execute the test scripts:
robot cicd/test/lora
Expected output
The test cases will check if MQTT messages containing temperature data gathered from the sensor 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
Pass
Feature Project Tests
N/A
BluVal Tests
BluVal tests for Lynis, Vuls, and Kube-Hunter were executed on the test bed.
The Test inputs
Insert BluVal configuration yaml here
Test Procedure
Expected output
Test Results
Test Dashboards
Single pane view of how the test score looks like for the Blue print.
Total Tests | Test Executed | Pass | Fail | In Progress |
---|---|---|---|---|