forked from canonical/checkbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding rt test plan (New) (canonical#1170)
* Added short cyclictest in real time tests * New sru for real time devices * Increased cyclictest_rt duration to 1 minute * Adding more information to the rt-performance jobs
- Loading branch information
1 parent
3b49e75
commit d144f8d
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |