Comment 9 for bug 2066999

Revision history for this message
Seth Carolan (secarola) wrote :

Testing details:
Batch tested on Jammy, manually tested on all other OS. On Jammy batch tests, achieved 99% hibernate/resume success rate, failures unrelated to the Hibernate agent.

High level batch testing details:
1.) Run M6g Instance.
2.) Connect to the instance and install the kernel from jammy proposed and the hibinit agent from jammy proposed. (the kernel is required to support hibernation - https://bugs.launchpad.net/ubuntu/+source/linux-aws/+bug/2060992)
3.) Reboot instance and create an AMI from the instance.
4.) Use the created AMI in all remaining steps
5.) Run Instance
6.) Run script on instance to emit timestamped "heartbeat" to dynamoDB table
7.) Hibernate instance
8.) Resume instance
9.) Confirm "heartbeat" is emitted with a new timestamp after resume
10.) Repeat 8-10 once more.

Manually testing details:
1.) Run M6g Instance.
2.) Connect to the instance and install the kernel from (focal/mantic/noble) proposed and the hibinit agent from (focal/mantic/noble) proposed. (the kernel is required to support hibernation - https://bugs.launchpad.net/ubuntu/+source/linux-aws/+bug/2060992)
3.) Reboot instance and confirm updated kernel is running.
4.) Run bash script to write timestamp to a text file every second

#!/bin/bash
while :
do
        echo $(date) > text.txt
        sleep 1
done

5.) Hibernate instance
6.) Resume instance
7.) Confirm timestamp is being written to text file with a new timestamp after resume
8.) Repeat 5-8 once more.