-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws: update ec2-hibinit-agent version and increase volume size accord…
…ingly Signed-off-by: Frank Liang <[email protected]>
- Loading branch information
1 parent
8334675
commit 1b8867e
Showing
4 changed files
with
13 additions
and
7 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,2 +1,2 @@ | ||
__version__ = '0.3.0' | ||
__codedate__ = '20241026' | ||
__codedate__ = '20241114' |
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
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 |
---|---|---|
|
@@ -1343,8 +1343,9 @@ def test_hibernate_resume(self): | |
N/A | ||
maintainer: | ||
[email protected] | ||
description: | ||
description: | | ||
Test system hibernation and process is still running after resumed | ||
For aws, please check for prerequisites https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html#hibernation-prereqs-supported-instance-families | ||
key_steps: | | ||
1. enable hibernation on system | ||
2. start a test process, eg. sleep 1800 | ||
|
@@ -1371,11 +1372,11 @@ def test_hibernate_resume(self): | |
utils_lib.init_connection(self, timeout=self.ssh_timeout) | ||
product_id = utils_lib.get_os_release_info(self, field='VERSION_ID') | ||
if float(product_id) >= 8.0 and float(product_id) < 9.0: | ||
pkg_url='https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/e/ec2-hibinit-agent-1.0.5-1.el8.noarch.rpm' | ||
pkg_url='https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/e/ec2-hibinit-agent-1.0.9-1.el8.noarch.rpm' | ||
elif float(product_id) < 8.0: | ||
self.skipTest('not supported earlier than rhel8') | ||
else: | ||
pkg_url = "https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/e/ec2-hibinit-agent-1.0.5-1.el9.noarch.rpm" | ||
pkg_url = "https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/e/ec2-hibinit-agent-1.0.9-1.el9.noarch.rpm" | ||
utils_lib.pkg_install(self, pkg_name='ec2-hibinit-agent', pkg_url=pkg_url, force=True) | ||
cmd = 'sudo systemctl is-enabled hibinit-agent.service' | ||
output = utils_lib.run_cmd(self, cmd) | ||
|