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

Move memory_stress_ng from the category memory to stress (Bugfix) #677

Merged
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
15 changes: 0 additions & 15 deletions providers/base/units/memory/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,3 @@ _siblings: [
"depends": "com.canonical.certification::suspend/suspend_advanced_auto"}
]

plugin: shell
category_id: com.canonical.plainbox::memory
id: memory/memory_stress_ng
estimated_duration: 11000.0
user: root
environ: STRESS_NG_MIN_SWAP_SIZE
requires:
executable.name == 'stress-ng'
command: systemd-inhibit stress_ng_test.py memory
_summary: Stress test of system memory
_description:
Test to perform some basic stress and exercise of system memory via the
stress_ng tool. This test also includes an over-commit function to force
swapping to disk, thus SUTs should have suitably large swap files for the
amount of RAM they have installed.
2 changes: 1 addition & 1 deletion providers/base/units/memory/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ _name: Automated memory tests
_desctiption: Automated memory tests for Server Cert
include:
memory/info certification-status=blocker
memory/memory_stress_ng certification-status=blocker
stress/memory_stress_ng certification-status=blocker
16 changes: 16 additions & 0 deletions providers/base/units/stress/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ _description:
several hours. The test is considered passed if the system does not freeze and
if the stress_ng tool does not report errors.

plugin: shell
category_id: com.canonical.plainbox::stress
id: stress/memory_stress_ng
estimated_duration: 11000.0
user: root
environ: STRESS_NG_MIN_SWAP_SIZE
requires:
executable.name == 'stress-ng'
command: systemd-inhibit stress_ng_test.py memory
_summary: Stress test of system memory
_description:
Test to perform some basic stress and exercise of system memory via the
stress_ng tool. This test also includes an over-commit function to force
swapping to disk, thus SUTs should have suitably large swap files for the
amount of RAM they have installed.

plugin: shell
category_id: com.canonical.plainbox::stress
id: power-management/hibernate_30_cycles
Expand Down
2 changes: 1 addition & 1 deletion providers/base/units/stress/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ _description: Stress NG tests (automated)
include:
stress/store_and_change_oomd_config
stress/cpu_stress_ng_test certification-status=blocker
memory/memory_stress_ng certification-status=blocker
stress/memory_stress_ng certification-status=blocker
stress/restore_oomd_config

id: stress-warmboot-coldboot-automated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ DISK_MDADM_READ_PERF = 150
#LXD_TEMPLATE = http://server_url/path/to/jammy-server-cloudimg-amd64-lxd.tar.xz

# The STRESS_NG_MIN_SWAP_SIZE environment variable sets the minimum swap
# space, in gibibytes (GiB), that the memory/memory_stress_ng test requires.
# space, in gibibytes (GiB), that the stress/memory_stress_ng test requires.
# If less than the specified swap space is available, the script will
# attempt to create a swap file of the required size. If that attempt fails,
# the memory stress test will fail.
Expand Down
2 changes: 1 addition & 1 deletion providers/certification-server/units/packaging.pxu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The 'memory/memory_stress_ng' job requires numactl
# The 'stress/memory_stress_ng' job requires numactl
unit: packaging meta-data
os-id: debian
Depends: numactl
Expand Down
2 changes: 1 addition & 1 deletion providers/certification-server/units/server-full-20.04.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ include:
disk/disk_cpu_load_.* certification-status=non-blocker
networking/predictable_names certification-status=non-blocker
memory/info certification-status=blocker
memory/memory_stress_ng certification-status=blocker
stress/memory_stress_ng certification-status=blocker
power-management/rtc certification-status=blocker
stress/cpu_stress_ng_test certification-status=blocker
virtualization/verify_lxd certification-status=blocker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ include:
disk/disk_cpu_load_.* certification-status=non-blocker
networking/predictable_names certification-status=non-blocker
memory/info certification-status=blocker
memory/memory_stress_ng certification-status=blocker
stress/memory_stress_ng certification-status=blocker
power-management/rtc certification-status=blocker
stress/cpu_stress_ng_test certification-status=blocker
virtualization/verify_lxd certification-status=blocker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ include:
disk/disk_cpu_load_.* certification-status=non-blocker
networking/predictable_names certification-status=non-blocker
memory/info certification-status=blocker
memory/memory_stress_ng certification-status=blocker
stress/memory_stress_ng certification-status=blocker
power-management/rtc certification-status=blocker
stress/cpu_stress_ng_test certification-status=blocker
usb/detect certification-status=non-blocker
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ include:
disk/disk_cpu_load_.* certification-status=non-blocker
networking/predictable_names certification-status=non-blocker
memory/info certification-status=blocker
memory/memory_stress_ng certification-status=blocker
stress/memory_stress_ng certification-status=blocker
power-management/rtc certification-status=blocker
stress/cpu_stress_ng_test certification-status=blocker
virtualization/verify_lxd certification-status=blocker
Expand Down
4 changes: 2 additions & 2 deletions providers/sru/units/sru.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ exclude:
disk/stats_.*
disk/storage_device_.*
installer_debug.gz
memory/memory_stress_ng
stress/memory_stress_ng
audio/valid-sof-firmware-sig
miscellanea/check_prerelease
suspend/bluetooth_obex_.*
Expand Down Expand Up @@ -171,7 +171,7 @@ exclude:
disk/stats_.*
disk/storage_device_.*
installer_debug.gz
memory/memory_stress_ng
stress/memory_stress_ng
audio/valid-sof-firmware-sig
miscellanea/check_prerelease
suspend/bluetooth_obex_.*
Loading