← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1812166] Re: [SRU] Please accept ec2-hibinit-agent to supported releases

 

Trusty will not include the package.


** Changed in: ec2-hibinit-agent (Ubuntu Trusty)
       Status: Fix Committed => Won't Fix

** Tags removed: verification-needed-trusty

** Description changed:

  [Impact]
  
  The package is new to the releases and sets up EC2 on demand instances
  to hibernate on an ACPI sleep event.
  
  [Test Case]
  
  1. Please perform piuparts-like tests with the package and make sure
  that ec2-hibinit-agent service is started. On EC2 on demand instances
  that were configured to allow hibernation the hibinit-agent service
  prepares the system for enabling hibernation. On non EC2 on demand
  instances and on EC2 on demand instances where hibernation is not
  configures when launching the instance the service starts without error
  but does not prepare the system for being able to hibernate.
  
  Note, that the resource on the URL enabling hibernation may be missing or may hold true or false:
  $ curl  http://169.254.169.254/latest/meta-data/hibernation/configured
  <?xml version="1.0" encoding="iso-8859-1"?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
-  <head>
-   <title>404 - Not Found</title>
-  </head>
-  <body>
-   <h1>404 - Not Found</h1>
-  </body>
+  <head>
+   <title>404 - Not Found</title>
+  </head>
+  <body>
+   <h1>404 - Not Found</h1>
+  </body>
  </html>
  $ curl  http://169.254.169.254/latest/meta-data/hibernation/configured
  false
  curl  http://169.254.169.254/latest/meta-data/hibernation/configured
  true
  
+ Negative cases and proper start are tested in LP: #1817926.
  
  2. Start a long running process on the instance, like top in screen.
  
  3. Hibernate, then after it finished start the instance on EC2 console
  
  4. Log in to the instance and observe top still running in screen.
  
  5. Hibernate, then after it finished start the instance on EC2 console
  
  6. Log in to the instance and observe top still running in screen.
     (This second cycle ensures that hibernation works more than once.)
  
  [Regression Potential]
  
  Since the package is new it may not cause regressions by being broken.
  
  The package sets up a swap file on / reserving the size of the memory
  from the root partition. There is check in the service to ensure that
  there is enough space but the space left may not be enough for the
  proper operation of the system later. Users a warned on EC2 console to
  allocate a big enough root partition for the instance when instance
  hibernation is enabled.
  
  For Trusty in my tests the generic default 3.x kernel could not resume
  from hibernation, but the latest 4.4.x-based linux-aws kernel could.

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1812166

Title:
  [SRU] Please accept ec2-hibinit-agent to supported releases

Status in ec2-hibinit-agent package in Ubuntu:
  Fix Released
Status in ec2-hibinit-agent source package in Trusty:
  Won't Fix
Status in ec2-hibinit-agent source package in Xenial:
  Fix Committed
Status in ec2-hibinit-agent source package in Bionic:
  Fix Committed
Status in ec2-hibinit-agent source package in Cosmic:
  Fix Committed

Bug description:
  [Impact]

  The package is new to the releases and sets up EC2 on demand instances
  to hibernate on an ACPI sleep event.

  [Test Case]

  1. Please perform piuparts-like tests with the package and make sure
  that ec2-hibinit-agent service is started. On EC2 on demand instances
  that were configured to allow hibernation the hibinit-agent service
  prepares the system for enabling hibernation. On non EC2 on demand
  instances and on EC2 on demand instances where hibernation is not
  configures when launching the instance the service starts without
  error but does not prepare the system for being able to hibernate.

  Note, that the resource on the URL enabling hibernation may be missing or may hold true or false:
  $ curl  http://169.254.169.254/latest/meta-data/hibernation/configured
  <?xml version="1.0" encoding="iso-8859-1"?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
    <title>404 - Not Found</title>
   </head>
   <body>
    <h1>404 - Not Found</h1>
   </body>
  </html>
  $ curl  http://169.254.169.254/latest/meta-data/hibernation/configured
  false
  curl  http://169.254.169.254/latest/meta-data/hibernation/configured
  true

  Negative cases and proper start are tested in LP: #1817926.

  2. Start a long running process on the instance, like top in screen.

  3. Hibernate, then after it finished start the instance on EC2 console

  4. Log in to the instance and observe top still running in screen.

  5. Hibernate, then after it finished start the instance on EC2 console

  6. Log in to the instance and observe top still running in screen.
     (This second cycle ensures that hibernation works more than once.)

  [Regression Potential]

  Since the package is new it may not cause regressions by being broken.

  The package sets up a swap file on / reserving the size of the memory
  from the root partition. There is check in the service to ensure that
  there is enough space but the space left may not be enough for the
  proper operation of the system later. Users a warned on EC2 console to
  allocate a big enough root partition for the instance when instance
  hibernation is enabled.

  For Trusty in my tests the generic default 3.x kernel could not resume
  from hibernation, but the latest 4.4.x-based linux-aws kernel could.

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