Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding rt test plan (New) #1170

Merged
merged 4 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions providers/base/units/rt-performance-tests/jobs.pxu
Original file line number Diff line number Diff line change
@@ -1,11 +1,35 @@
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'
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
1 change: 1 addition & 0 deletions providers/base/units/rt-performance-tests/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
39 changes: 39 additions & 0 deletions providers/sru/units/sru-rt.pxu
Original file line number Diff line number Diff line change
@@ -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
Loading