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

Add manifest for pdu cold reboot related jobs (Bugfix) #1665

Merged
merged 2 commits into from
Dec 25, 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
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ _description:
STRESS_BOOT_WAIT_DELAY=60
unit: job
plugin: shell
imports: from com.canonical.plainbox import manifest
requires: manifest.has_pdu == 'True'
command:
sleep 5
[[ -z "$STRESS_BOOT_WAKEUP_DELAY" ]] && STRESS_BOOT_WAKEUP_DELAY=60
Expand All @@ -32,5 +34,7 @@ _summary: Post cold reboot service check
_description: Check there are no failed services after the cold reboot
unit: job
plugin: shell
imports: from com.canonical.plainbox import manifest
requires: manifest.has_pdu == 'True'
command: reboot_check_test.sh -s
estimated_duration: 1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
unit: manifest entry
id: has_pdu
_name: Does network PDU available in test environment?
value-type: bool
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ _description: This creates baseline data sets which be considered the master
copies and all further tests will be compared against these.
unit: job
plugin: shell
imports: from com.canonical.plainbox import manifest
requires: manifest.has_pdu == 'True'
command:
reboot_check_test.sh -d "$PLAINBOX_SESSION_SHARE/before_reboot"
environ: LD_LIBRARY_PATH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ nested_part:
before-suspend-ce-oem-spi-automated
ce-oem-gadget-automated
ce-oem-mir-automated
ce-oem-power-automated-by-pdu
certification_status_overrides:
apply blocker to .*

Expand Down
Loading