[Bug 2066999] Re: enable hibernation on ARM

2024-06-24 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent -
1.0.0-0ubuntu11.22.04.5

---
ec2-hibinit-agent (1.0.0-0ubuntu11.22.04.5) jammy; urgency=medium

  * d/p/0015-ignore-setting-resume-offset-again-if-dev-snapshot-d.patch: do
not set the snapshot swap area if /dev/snapshot does not exist. This is
necessary to enable ARM hibernation. (LP: #2066999)

 -- Mitchell Dzurick   Thu, 23 May 2024
16:43:57 -0700

** Changed in: ec2-hibinit-agent (Ubuntu Focal)
   Status: Fix Committed => Fix Released

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-24 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu9.6

---
ec2-hibinit-agent (1.0.0-0ubuntu9.6) focal; urgency=medium

  * d/p/0015-ignore-setting-resume-offset-again-if-dev-snapshot-d.patch: do
not set the snapshot swap area if /dev/snapshot does not exist. This is
necessary to enable ARM hibernation. (LP: #2066999)

 -- Mitchell Dzurick   Thu, 23 May 2024
16:39:47 -0700

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-24 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent -
1.0.0-0ubuntu16.23.10.1

---
ec2-hibinit-agent (1.0.0-0ubuntu16.23.10.1) mantic; urgency=medium

  * d/p/0015-ignore-setting-resume-offset-again-if-dev-snapshot-d.patch: do
not set the snapshot swap area if /dev/snapshot does not exist. This is
necessary to enable ARM hibernation. (LP: #2066999)

 -- Mitchell Dzurick   Thu, 23 May 2024
16:46:53 -0700

** Changed in: ec2-hibinit-agent (Ubuntu Mantic)
   Status: Fix Committed => Fix Released

** Changed in: ec2-hibinit-agent (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-24 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent -
1.0.0-0ubuntu16.24.04.1

---
ec2-hibinit-agent (1.0.0-0ubuntu16.24.04.1) noble; urgency=medium

  * d/p/0015-ignore-setting-resume-offset-again-if-dev-snapshot-d.patch: do
not set the snapshot swap area if /dev/snapshot does not exist. This is
necessary to enable ARM hibernation. (LP: #2066999)

 -- Mitchell Dzurick   Thu, 23 May 2024
16:49:47 -0700

** Changed in: ec2-hibinit-agent (Ubuntu Noble)
   Status: Fix Committed => Fix Released

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-24 Thread Mitchell Dzurick
The following packages have been tested on amd64 to ensure no
regressions:

* 1.0.0-0ubuntu16.24.04.1
* 1.0.0-0ubuntu16.23.10.1
* 1.0.0-0ubuntu11.22.04.5
* 1.0.0-0ubuntu9.6

The process is the same for each release, but shown below is the example
for noble.

1) Launch instance
Example of how to start it via awscli:
$ aws ec2 run-instances --region eu-north-1 --image-id ami-0b15dce563b217be3 
--count 1 --instance-type t3.micro --key-name mitchell --security-group-ids 
sg-0e03e00997fa53926 --tag-specifications 
'ResourceType=instance,Tags=[{Key=Name,Value=mitchdz-hibernate-test-noble}]' 
--metadata-options HttpTokens=required --block-device-mappings 
'[{"DeviceName":"/dev/sda1","Ebs":{"Encrypted":true,"DeleteOnTermination":true,"VolumeSize":24,"VolumeType":"gp3"}}]'
 --hibernation-options Configured=true

2) ssh into the ec2 instance

3) Update package
# cat 

[Bug 2066999] Re: enable hibernation on ARM

2024-06-21 Thread Mitchell Dzurick
** Tags added: verification-done

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-17 Thread Mitchell Dzurick
** Tags removed: verification-needed verification-needed-done
** Tags added: verification-done-noble

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-17 Thread Seth Carolan
** Tags removed: verification-needed-focal verification-needed-jammy 
verification-needed-mantic verification-needed-noble
** Tags added: verification-done-focal verification-done-jammy 
verification-done-mantic verification-needed-done

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-17 Thread Seth Carolan
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.

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-13 Thread Andreas Hasenack
Hello Mitchell, or anyone else affected,

Accepted ec2-hibinit-agent into noble-proposed. The package will build
now and be available at
https://launchpad.net/ubuntu/+source/ec2-hibinit-
agent/1.0.0-0ubuntu16.24.04.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ec2-hibinit-agent (Ubuntu Noble)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-noble

** Changed in: ec2-hibinit-agent (Ubuntu Mantic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-mantic

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-05 Thread Seth Carolan
Successfully tested with the agent on the M6g family. Received 599/600
successful hibernate resumes. The one failure was unrelated to the agent
and within reasonable margins.

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

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-04 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu17

---
ec2-hibinit-agent (1.0.0-0ubuntu17) oracular; urgency=medium

  * d/p/0015-ignore-setting-resume-offset-again-if-dev-snapshot-d.patch: do
not set the snapshot swap area if /dev/snapshot does not exist. This is
necessary to enable ARM hibernation. (LP: #2066999)

 -- Mitchell Dzurick   Thu, 23 May 2024
16:51:55 -0700

** Changed in: ec2-hibinit-agent (Ubuntu)
   Status: In Progress => Fix Released

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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

[Bug 2066999] Re: enable hibernation on ARM

2024-06-04 Thread Mitchell Dzurick
This is the shell script I made to test for amd64 regressions, and the
results.

mitchdz-hibernate-test-6mantic results:
Version: 1.0.0-0ubuntu16.23.10.1~mantic1
 22:50:50 up 0 min,  0 user,  load average: 1.18, 0.40, 0.14

mitchdz-hibernate-test-6focal results:
Version: 1.0.0-0ubuntu9.6~focal1
 23:36:28 up 46 min,  1 user,  load average: 0.31, 0.08, 0.02

mitchdz-hibernate-test-6jammy results:
Version: 1.0.0-0ubuntu11.22.04.5~jammy1
 23:00:46 up 10 min,  0 users,  load average: 0.23, 0.07, 0.02

mitchdz-hibernate-test-6noble results:
Version: 1.0.0-0ubuntu16.24.04.1~noble1
 23:07:27 up 17 min,  1 user,  load average: 0.24, 0.06, 0.02

mitchdz-hibernate-test-6oracular results:
Version: 1.0.0-0ubuntu17~oracular1
 23:14:17 up 24 min,  1 user,  load average: 0.07, 0.02, 0.00


** Attachment added: "test_arm_regression"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+attachment/5786062/+files/test_arm_regression

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

Title:
  enable hibernation on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/2066999/+subscriptions


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