diff --git a/providers/base/units/rt-performance-tests/jobs.pxu b/providers/base/units/rt-performance-tests/jobs.pxu index 83574a99f..9a5b82198 100644 --- a/providers/base/units/rt-performance-tests/jobs.pxu +++ b/providers/base/units/rt-performance-tests/jobs.pxu @@ -1,7 +1,13 @@ id: rt-performance-tests/cyclictest_rt_latency category_id: rt-performance-tests +estimated_duration: 24h _summary: Run cyclictest to test scheduling latency. Default run time is 24 hours. +_purpose: + This test executes the cyclictest command for a long period of time to + evaluate the system's ability to maintain scheduling latency. It checks + that the maximum latency did not exceed the threshold and that there are no + overflows (scheduling misses) for each thread. plugin: shell requires: package.name == 'rt-tests' @@ -9,3 +15,21 @@ user: root environ: CYCLICTEST_DURATION command: run_cyclictest.py --duration "${CYCLICTEST_DURATION:-86400}" + + +id: rt-performance-tests/cyclictest_rt +category_id: rt-performance-tests +estimated_duration: 60s +_summary: + A short-duration cyclictest to validate the system's real-time capabilities. +_purpose: + This test runs for 60 seconds to provide a rapid assessment of the system's + real-time performance. It uses the cyclictest tool to measure the scheduling + latency and overflow occurrences. The goal is to ensure that basic real-time + functions can be executed without latency spikes. +plugin: shell +requires: + package.name == 'rt-tests' +user: root +command: + run_cyclictest.py --duration 60 \ No newline at end of file diff --git a/providers/base/units/rt-performance-tests/test-plan.pxu b/providers/base/units/rt-performance-tests/test-plan.pxu index 6e5c59e3b..fd67144cf 100644 --- a/providers/base/units/rt-performance-tests/test-plan.pxu +++ b/providers/base/units/rt-performance-tests/test-plan.pxu @@ -17,6 +17,7 @@ id: rt-performance-tests-automated _name: Realtime Performance Tests (Automated) unit: test plan include: + rt-performance-tests/cyclictest_rt bootstrap_include: id: rt-performance-tests-stress diff --git a/providers/sru/units/sru-rt.pxu b/providers/sru/units/sru-rt.pxu new file mode 100644 index 000000000..dd05b3cee --- /dev/null +++ b/providers/sru/units/sru-rt.pxu @@ -0,0 +1,39 @@ +id: sru-rt +_name: All SRU Tests (Ubuntu Real-time) +unit: test plan +_description: + This test plan contains tests that are useful for validating a Stable + Release Update (SRU) on Ubuntu Certified systems. This test plan is not + recommended for, nor will it be accepted for self-testing purposes. +include: + # Following jobs all run first before the nested parts + # Please keep it short and avoid jobs triggering suspend or reboots + # Whenever possible prefer the use of nested parts instead + audio/alsa_record_playback_automated + recovery_info_attachment + miscellanea/submission-resources + info/systemd-analyze + info/systemd-analyze-critical-chain + net_if_management_attachment + install/apt-get-gets-updates + miscellanea/dkms_build_validation + networking/http + networking/gateway_ping + thunderbolt3/storage-preinserted +nested_part: + sru + rt-performance-tests-automated +bootstrap_include: + device + graphics_card + net_if_management +exclude: + cpu/clocktest + disk/stats_.* + disk/storage_device_.* + installer_debug.gz + stress/memory_stress_ng + audio/valid-sof-firmware-sig + miscellanea/check_prerelease + suspend/bluetooth_obex_.* + miscellanea/debsums