Batch tested the patched kernel and achieved 99+% success rate on
CLI/console initiated Hibernate/Resumes across all ARM supported AWS EC2
instance families, C6g(d)(n), C7g(d), M6g(d), M7g(d), R6g(d), R7g(d),
T4g. (4,175/4,200 test runs).

High level testing details:
1.) Spun up instance with patched AMI + this hibinit-agent patch 
(https://git.launchpad.net/~secarola/ubuntu/+source/ec2-hibinit-agent/commit/?h=applied/ubuntu/jammy-devel&id=034ec3ffdc8cbd9d319aa5815f02d60ec3e27f93).
2.) Started up bashscript "heartbeat" on the instance, pushing timestamp to 
dynamoDB table every 30 seconds.
3.) Hibernated instance through the AWS CLI
4.) Resumed instance through the AWS CLI
5.) Confirmed "heartbeat" updates to dynamoDB table after resume
6.) Repeated once more.


Manually tested instance initiated hibernation successfully:
High level testing details:
1.) Spun up instance with patched AMI + this hibinit-agent patch 
(https://git.launchpad.net/~secarola/ubuntu/+source/ec2-hibinit-agent/commit/?h=applied/ubuntu/jammy-devel&id=034ec3ffdc8cbd9d319aa5815f02d60ec3e27f93).
2.) Connected to the instance and started up bash script "heartbeat" on the 
instance, writing to text file every second with new timestamp. 
#!/bin/bash
while :
do
        echo $(date) > text.txt
        sleep 1
done
3.) Hibernated instance through the GuestOS. 
sudo swapon --priority=32767 /swap-hibinit
sudo systemctl hibernate
4.) Confirmed that hosting environments reported the instance as Hibernated and 
not shutdown. 
4.) Resumed instance through the AWS CLI
5.) Connected to the instance and confirmed the date was still being written to 
the text file
cat text.txt

** Tags removed: verification-needed-jammy-linux-aws
** Tags added: verification-done-jammy-linux-aws

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060992

Title:
  aws: Support hibernation on Graviton

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-aws/+bug/2060992/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to