← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1853832] Re: stress-ng --timer-slack option should be a zero arg option, it currently skips over the next arg

 

This bug was fixed in the package stress-ng - 0.09.57-0ubuntu5

---------------
stress-ng (0.09.57-0ubuntu5) disco; urgency=medium

  * Fix --timer-slack from consuming the following arg (LP: #1853832)
    Currently the timer slack option eats the next argument, causing
    missing argument parsing behaviour on the command line.
  * Fix mwc8() being reset when using mwc1() (LP: #1855851)
    Fic Psuedo-random 8 bit numbers from mwc8() accidentally
    being zero'd when mwc1() is called.

 -- Colin King <colin.king@xxxxxxxxxxxxx>  Tue, 10 Dec 2019 09:32:11
+0000

** Changed in: stress-ng (Ubuntu Disco)
       Status: Fix Committed => Fix Released

** Changed in: stress-ng (Ubuntu Eoan)
       Status: Fix Committed => Fix Released

-- 
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/1853832

Title:
  stress-ng --timer-slack option should be a zero arg option, it
  currently skips over the next arg

Status in stress-ng package in Ubuntu:
  Fix Released
Status in stress-ng source package in Xenial:
  Fix Committed
Status in stress-ng source package in Bionic:
  Fix Committed
Status in stress-ng source package in Disco:
  Fix Released
Status in stress-ng source package in Eoan:
  Fix Released

Bug description:
  == 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.king@xxxxxxxxxxxxx>
  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.

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