Activity log for bug #1864045

Date Who What changed Old value New value Message
2020-02-20 14:24:45 Francis Ginther bug added bug
2020-02-20 15:08:19 Francis Ginther tags apport-collected bionic ec2-images
2020-02-20 15:08:21 Francis Ginther description When testing hibernation / resume on AWS with 5.0 or 5.3 kernels on bionic (using acpid 1:2.0.28-1ubuntu1), we sometimes see failure with repeated attempts. The first attempt will always be triggered, but the next attempt may not. The result is the agent never triggers the hibernation process and the instance will be forced to shutdown after a timeout period. Two workarounds have been identified. The first is to restart acpid during the resume handler. The second is to use the latest upstream acpid (as of Feb 1, 2020). This second workaround indicates there may be a patch missing in the acpid in bionic (1:2.0.28-1ubuntu1) to work with the 5.0+ kernels. To reproduce this problem: 1) Launch an c4, c5, m4, m5, r4, r5 instance type with a 5.0 or 5.3 kernel on a bionic image with on-demand hibernation support enabled. 2) Hibernate and resume the instance, ensuring the system is fully resumed afterward and the swap file has been removed. 3) Hibernate and resume another time. The hibernate should be triggered immediately and the instance should become unresponsive as it saves state to disk. 4) Resume the instance, it should come back with the same processes running. 5) Repeat 3) - 4) as necessary. When testing hibernation / resume on AWS with 5.0 or 5.3 kernels on bionic (using acpid 1:2.0.28-1ubuntu1), we sometimes see failure with repeated attempts. The first attempt will always be triggered, but the next attempt may not. The result is the agent never triggers the hibernation process and the instance will be forced to shutdown after a timeout period. Two workarounds have been identified. The first is to restart acpid during the resume handler. The second is to use the latest upstream acpid (as of Feb 1, 2020). This second workaround indicates there may be a patch missing in the acpid in bionic (1:2.0.28-1ubuntu1) to work with the 5.0+ kernels. To reproduce this problem: 1) Launch an c4, c5, m4, m5, r4, r5 instance type with a 5.0 or 5.3 kernel on a bionic image with on-demand hibernation support enabled. 2) Hibernate and resume the instance, ensuring the system is fully resumed afterward and the swap file has been removed. 3) Hibernate and resume another time. The hibernate should be triggered immediately and the instance should become unresponsive as it saves state to disk. 4) Resume the instance, it should come back with the same processes running. 5) Repeat 3) - 4) as necessary. --- ProblemType: Bug ApportVersion: 2.20.9-0ubuntu7.9 Architecture: amd64 DistroRelease: Ubuntu 18.04 Ec2AMI: ami-0edf3b95e26a682df Ec2AMIManifest: (unknown) Ec2AvailabilityZone: us-west-2a Ec2InstanceType: m4.large Ec2Kernel: unavailable Ec2Ramdisk: unavailable Package: acpid 1:2.0.28-1ubuntu1 PackageArchitecture: amd64 ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=C.UTF-8 SHELL=/bin/bash ProcVersionSignature: User Name 5.0.0-1025.28-aws 5.0.21 Tags: bionic ec2-images Uname: Linux 5.0.0-1025-aws x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm audio cdrom dialout dip floppy lxd netdev plugdev sudo video _MarkForUpload: True
2020-02-20 15:08:22 Francis Ginther attachment added Dependencies.txt https://bugs.launchpad.net/bugs/1864045/+attachment/5329811/+files/Dependencies.txt
2020-02-20 15:08:23 Francis Ginther attachment added ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1864045/+attachment/5329812/+files/ProcCpuinfoMinimal.txt
2020-02-25 18:25:17 Balint Reczey nominated for series Ubuntu Eoan
2020-02-25 18:25:17 Balint Reczey bug task added acpid (Ubuntu Eoan)
2020-02-25 18:25:17 Balint Reczey nominated for series Ubuntu Bionic
2020-02-25 18:25:17 Balint Reczey bug task added acpid (Ubuntu Bionic)
2020-02-25 18:36:24 Balint Reczey acpid (Ubuntu): status New Incomplete
2020-02-25 18:36:30 Balint Reczey acpid (Ubuntu Bionic): status New In Progress
2020-02-25 18:36:33 Balint Reczey acpid (Ubuntu Eoan): status New Incomplete
2020-02-25 18:50:50 Balint Reczey bug added subscriber Balint Reczey
2020-03-02 08:36:04 Balint Reczey acpid (Ubuntu Bionic): assignee Balint Reczey (rbalint)
2020-03-02 11:53:17 Balint Reczey summary Hibernation events sometimes missed on repeated attempts [SRU] Hibernation events sometimes missed on repeated attempts
2020-03-02 11:53:43 Balint Reczey acpid (Ubuntu): status Incomplete Fix Released
2020-03-02 19:06:57 Balint Reczey acpid (Ubuntu): status Fix Released Confirmed
2020-03-02 19:07:23 Balint Reczey acpid (Ubuntu Eoan): status Incomplete Confirmed
2020-03-02 19:07:29 Balint Reczey acpid (Ubuntu Bionic): status In Progress Incomplete
2020-03-02 20:26:43 Balint Reczey bug task added linux (Ubuntu)
2020-03-02 20:30:07 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2020-03-02 20:30:09 Ubuntu Kernel Bot linux (Ubuntu Bionic): status New Incomplete
2020-03-02 20:30:10 Ubuntu Kernel Bot linux (Ubuntu Eoan): status New Incomplete
2020-08-18 17:01:33 Brian Murray acpid (Ubuntu Eoan): status Confirmed Won't Fix
2020-08-18 17:01:53 Brian Murray linux (Ubuntu Eoan): status Incomplete Won't Fix
2021-06-12 19:27:39 Balint Reczey acpid (Ubuntu Bionic): assignee Balint Reczey (rbalint)