** Description changed:

- == SRU [Disco][Eoan] ==
+ == SRU [Bionic][Disco][Eoan] ==
  
  stress-ng --timer 1 --timer-freq 100000 --timer-slack -t 1 runs for a
  whole day and not 1 second. The timer-slack option eats the -t1 arg
  because it is defined as having an arg when in fact it is a zero arg
  option.
  
  == Fix ==
  
  Upstream fix (in Focal):
  
  commit e044133ed6ebdbac16775d8ae0d130bc2dac96ea
  Author: Colin Ian King <colin.k...@canonical.com>
  Date:   Mon Nov 25 12:05:30 2019 +0000
  
      Fix --timer-slack from consuming the following arg (LP: #1853832)
  
  == Test ==
  
  stress-ng --timer 1 --timer-freq 100000 --timer-slack -t 1
  
  Without the fix, this will run by default for 24 hours.  With the fix
  the -t option is parsed and it will run for 1 second as intended.
  
  == Regression Potential ==
  
  This is a one line arg parsing change so change set is really limited to
  this one --timer-slack option.  Users may find the behaviour now changes
  because it no longer consumes the next arg and hence the next arg works
  and hence changes functionality.

** Also affects: stress-ng (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: stress-ng (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Also affects: stress-ng (Ubuntu Xenial)
   Importance: Undecided
       Status: New

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

Title:
  stress-ng --timer-slack option should be a zero arg option, it current
  eats the next arg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stress-ng/+bug/1853832/+subscriptions

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

Reply via email to