UNCLASSIFIED - NO CUI

Skip to content

Merge branch 'feature/test-daemons' into '0.4.0'

General MR

Summary

This branch moves the original testsuite health checks into artifact_dirs/tests to match new structure. It also runs the health check tests as a service (test_runner.service) and is triggered by a systemctl timer every 5 minutes (test_runner.timer). This branch also creates a web server (port 8090) to display these health checks and it also starts as a service (test_runner_results_servicer.service). The results are rendered every time the test_runner.service is started (by the timer).

Relevant logs/screenshots

Values declared in terraform.tfvars (peli-virtualization main branch)

$ cat terraform/terraform.tfvars | grep -v '#'
aws_region = "us-gov-west-1"

repo1_username = "REDACTED"
repo1_token    = "REDACTED"

registry1_username = "REDACTED"
registry1_token    = "REDACTED"

environment  = "dev"
project_name = "peli-virtualization"

volume_size = 2000

instance_name = "peli-gaines"

spot_price  = "1.50"

aws_dev_build_id = "bee30a78"

operator_helm_branch = "main"

controller_branch = "main"

use_spot_instance = true

airgap_environment = false

From the edge orchestrator vm (fitlet):

Screenshot 2025-10-06 at 10.54.49 AM.png

Screenshot 2025-10-06 at 9.26.28 AM.png

  • To test the web ui piece, create an ssh tunnel:
    • ssh -i ~/.ssh/{InstanceName}.pem -L 2222:{BABU_VM_IP}:22 ubuntu@${PublicIP}
  • Then in a new terminal window on your workstation, connect to the edge-orchestrator-vm on port 8090:
    • ssh -L 8090:localhost:8090 -N babu@localhost -p 2222
  • Open a web browser:

Screenshot 2025-10-07 at 12.55.27 AM.png

When you mouse over each entry, you should get a pop up containing information on that particular health check. You will get a similar message when you click the View log box next to each fail/inconclusive health check.

The results of each health check do not have to pass in order for your test for this MR to be successful. After about 3 hours, all but 2 tests should show a result of pass. The failing tests will be handled in another issue/branch. preflight-007-check-edgeconfiguration-object and stage7-002-check-bigbang-components

If your results are similar to the screen shots above, this was a successful test.

Linked Issue

Execute Test suite via a service

Upgrade Notices

N/A

Edited by John Gaines

Merge request reports

Loading