group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #33718
[Bug 1853832] Re: stress-ng --timer-slack option should be a zero arg option, it current eats the next arg
** 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.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.
** 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 नेपाली
भाषा समायोजकहरुको समूह, 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 current
eats the next arg
Status in stress-ng package in Ubuntu:
Fix Released
Status in stress-ng source package in Xenial:
New
Status in stress-ng source package in Bionic:
New
Status in stress-ng source package in Disco:
New
Status in stress-ng source package in Eoan:
In Progress
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