[Bug 1633513] [NEW] chccwdev: Unexpected non-zero return code
John George
john.george at canonical.com
Fri Oct 14 15:03:50 UTC 2016
Public bug reported:
$ lsb_release -rd
Description: Ubuntu Yakkety Yak (development branch)
Release: 16.10
$ apt-cache policy s390-tools
s390-tools:
Installed: 1.36.1-0ubuntu2
Candidate: 1.36.1-0ubuntu2
Version table:
*** 1.36.1-0ubuntu2 500
500 http://us.ports.ubuntu.com/ubuntu-ports yakkety/main s390x Packages
100 /var/lib/dpkg/status
When benign options such as --help or --version are passed to chccwdev
the expected output is printed but the return code is non-zero. This is
inconsistent behaviour compared to other utilities shipped in the
s390-tools package and a hindrance to dep8 autopkgtests tests. Please
see LP bug 1616596 for further discussion as to why this can be an
impact. The unexpected return code is shown here:
$ chccwdev -h
Usage: chccwdev [<options>] <devices>
<options>
-a|--attribute <name>=<value>
-e|--online
Tries to set the given device online.
-f|--forceonline
Tries to force a device online if the device
driver supports this.
-d|--offline
Tries to set the given device offline.
-s|--safeoffline
Tries to set the given device offline waiting for all outstanding I/O. May block forever.
-v|--version
Show tools and command version.
<devices>
<bus ID>[-<busid>][,<busid>[-<busid>]] ...
ubuntu at s5lp1-gen03:~/src/s390-tools-1.36.1/debian/tests$ echo $?
1
** Affects: s390-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: s390x
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1633513
Title:
chccwdev: Unexpected non-zero return code
Status in s390-tools package in Ubuntu:
New
Bug description:
$ lsb_release -rd
Description: Ubuntu Yakkety Yak (development branch)
Release: 16.10
$ apt-cache policy s390-tools
s390-tools:
Installed: 1.36.1-0ubuntu2
Candidate: 1.36.1-0ubuntu2
Version table:
*** 1.36.1-0ubuntu2 500
500 http://us.ports.ubuntu.com/ubuntu-ports yakkety/main s390x Packages
100 /var/lib/dpkg/status
When benign options such as --help or --version are passed to chccwdev
the expected output is printed but the return code is non-zero. This
is inconsistent behaviour compared to other utilities shipped in the
s390-tools package and a hindrance to dep8 autopkgtests tests. Please
see LP bug 1616596 for further discussion as to why this can be an
impact. The unexpected return code is shown here:
$ chccwdev -h
Usage: chccwdev [<options>] <devices>
<options>
-a|--attribute <name>=<value>
-e|--online
Tries to set the given device online.
-f|--forceonline
Tries to force a device online if the device
driver supports this.
-d|--offline
Tries to set the given device offline.
-s|--safeoffline
Tries to set the given device offline waiting for all outstanding I/O. May block forever.
-v|--version
Show tools and command version.
<devices>
<bus ID>[-<busid>][,<busid>[-<busid>]] ...
ubuntu at s5lp1-gen03:~/src/s390-tools-1.36.1/debian/tests$ echo $?
1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1633513/+subscriptions
More information about the foundations-bugs
mailing list