** Description changed: SRU Bug Justification: ====================== [Impact] - * The chcpumf version 2.14.0 of groovy (used to manage CPU-measurement - facilities) has a regression and no longer provides version or help - information in case the sampling facility is not installed. + * The chcpumf version 2.14.0 of groovy (used to manage CPU-measurement + facilities) has a regression and no longer provides version or help + information in case the sampling facility is not installed. - * Instead of displaying proper help information using '-h' - or proper version information using '-v',the message - "No CPU-measurement sampling facility detected" is displayed. + * Instead of displaying proper help information using '-h' + or proper version information using '-v',the message + "No CPU-measurement sampling facility detected" is displayed. [Test Case] - * Have an Ubuntu Server 20.10 system installed on z/VM or LPAR. + * Have an Ubuntu Server 20.10 system installed on z/VM or LPAR. - * But make sure that the sampling facility is not installed. + * But make sure that the sampling facility is not installed. - * The s390-tools package is installed by default, - so no need to install anything. + * The s390-tools package is installed by default, + so no need to install anything. - * Just execute 'chcpumf -h' and 'chcpumf -v'. + * Just execute 'chcpumf -h' and 'chcpumf -v'. - * If proper version is help information is displayed, - the problem is fixed. + * If proper version is help information is displayed, + the problem is fixed. - * If the message "No CPU-measurement sampling facility detected" is - displayed the problem still persists. + * If the message "No CPU-measurement sampling facility detected" is + displayed the problem still persists. [Where problems could occur] - * The changes are largely in the area of the parameter handling - and read_sfb of the chcpumf tool. + * The changes are largely in the area of the parameter handling + and read_sfb of the chcpumf tool. - * A problem could be that the argument handling gets totally broken, - means that the problem is no longer limited to version and help - information, + * A problem could be that the argument handling gets totally broken, + means that the problem is no longer limited to version and help + information, - * or in worst-case it may break things even in case a sampling - facility is installed. + * or in worst-case it may break things even in case a sampling + facility is installed. - * At the end it's an optional s390x only tool - and only needed for performance measurement. + * At the end it's an optional s390x only tool + and only needed for performance measurement. + + [Others] + + * The fix is in 2.15, and since hirsute has already 2.15.1 hirsute is not affected. __________ With s390-tools version 2.14.0 installed with Ubuntu 20.10 the -v and -h options to chcpumf no longer report the version or display help information. Rather the message "No CPU-measurement sampling facility detected" is displayed. This behavior diverges from previous versions and is not consistent with other binaries provided by the s390-tools package. ubuntu@s5lp1-gen01:~$ chcpumf -v No CPU-measurement sampling facility detected ubuntu@s5lp1-gen01:~$ chcpumf -h No CPU-measurement sampling facility detected ubuntu@s5lp1-gen01:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Groovy Gorilla (development branch) Release: 20.10 Codename: groovy ubuntu@s5lp1-gen01:~$ which chcpumf /usr/sbin/chcpumf ubuntu@s5lp1-gen01:~$ dpkg -S /usr/sbin/chcpumf dpkg-query: no path found matching pattern /usr/sbin/chcpumf ubuntu@s5lp1-gen01:~$ dpkg -S /sbin/chcpumf s390-tools: /sbin/chcpumf ubuntu@s5lp1-gen01:~$ apt-cache policy s390-tools s390-tools: Installed: 2.14.0-1ubuntu1 Candidate: 2.14.0-1ubuntu1 Version table: *** 2.14.0-1ubuntu1 500 500 http://us.ports.ubuntu.com/ubuntu-ports groovy/main s390x Packages 100 /var/lib/dpkg/status Here's a an example of the behavior with version 2.12 from 20.04 ubuntu@s5lp1-gen01:~$ chcpumf -v CPU-measurement facility utilities, version 2.12.0-build-20200320 Copyright IBM Corp. 2014, 2017 ubuntu@s5lp1-gen01:~$ which chcpumf /usr/sbin/chcpumf ubuntu@s5lp1-gen01:~$ dpkg -S /usr/sbin/chcpumf s390-tools: /usr/sbin/chcpumf ubuntu@s5lp1-gen01:~$ apt-cache policy s390-tools s390-tools: Installed: 2.12.0-0ubuntu3 Candidate: 2.12.0-0ubuntu3 Version table: *** 2.12.0-0ubuntu3 500 500 http://us.ports.ubuntu.com/ubuntu-ports focal/main s390x Packages 100 /var/lib/dpkg/status
** Description changed: SRU Bug Justification: ====================== [Impact] * The chcpumf version 2.14.0 of groovy (used to manage CPU-measurement facilities) has a regression and no longer provides version or help information in case the sampling facility is not installed. * Instead of displaying proper help information using '-h' or proper version information using '-v',the message "No CPU-measurement sampling facility detected" is displayed. [Test Case] * Have an Ubuntu Server 20.10 system installed on z/VM or LPAR. * But make sure that the sampling facility is not installed. * The s390-tools package is installed by default, so no need to install anything. * Just execute 'chcpumf -h' and 'chcpumf -v'. * If proper version is help information is displayed, the problem is fixed. * If the message "No CPU-measurement sampling facility detected" is displayed the problem still persists. [Where problems could occur] * The changes are largely in the area of the parameter handling and read_sfb of the chcpumf tool. * A problem could be that the argument handling gets totally broken, means that the problem is no longer limited to version and help information, * or in worst-case it may break things even in case a sampling facility is installed. * At the end it's an optional s390x only tool and only needed for performance measurement. [Others] - * The fix is in 2.15, and since hirsute has already 2.15.1 hirsute is not affected. + * The fix is upstream in 2.15, and since hirsute has already 2.15.1 hirsute is not affected. __________ With s390-tools version 2.14.0 installed with Ubuntu 20.10 the -v and -h options to chcpumf no longer report the version or display help information. Rather the message "No CPU-measurement sampling facility detected" is displayed. This behavior diverges from previous versions and is not consistent with other binaries provided by the s390-tools package. ubuntu@s5lp1-gen01:~$ chcpumf -v No CPU-measurement sampling facility detected ubuntu@s5lp1-gen01:~$ chcpumf -h No CPU-measurement sampling facility detected ubuntu@s5lp1-gen01:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Groovy Gorilla (development branch) Release: 20.10 Codename: groovy ubuntu@s5lp1-gen01:~$ which chcpumf /usr/sbin/chcpumf ubuntu@s5lp1-gen01:~$ dpkg -S /usr/sbin/chcpumf dpkg-query: no path found matching pattern /usr/sbin/chcpumf ubuntu@s5lp1-gen01:~$ dpkg -S /sbin/chcpumf s390-tools: /sbin/chcpumf ubuntu@s5lp1-gen01:~$ apt-cache policy s390-tools s390-tools: Installed: 2.14.0-1ubuntu1 Candidate: 2.14.0-1ubuntu1 Version table: *** 2.14.0-1ubuntu1 500 500 http://us.ports.ubuntu.com/ubuntu-ports groovy/main s390x Packages 100 /var/lib/dpkg/status Here's a an example of the behavior with version 2.12 from 20.04 ubuntu@s5lp1-gen01:~$ chcpumf -v CPU-measurement facility utilities, version 2.12.0-build-20200320 Copyright IBM Corp. 2014, 2017 ubuntu@s5lp1-gen01:~$ which chcpumf /usr/sbin/chcpumf ubuntu@s5lp1-gen01:~$ dpkg -S /usr/sbin/chcpumf s390-tools: /usr/sbin/chcpumf ubuntu@s5lp1-gen01:~$ apt-cache policy s390-tools s390-tools: Installed: 2.12.0-0ubuntu3 Candidate: 2.12.0-0ubuntu3 Version table: *** 2.12.0-0ubuntu3 500 500 http://us.ports.ubuntu.com/ubuntu-ports focal/main s390x Packages 100 /var/lib/dpkg/status ** Also affects: s390-tools (Ubuntu) Importance: Undecided Status: New ** No longer affects: s390-tools ** Also affects: s390-tools (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: s390-tools (Ubuntu Groovy) Importance: Undecided Status: New ** Changed in: s390-tools (Ubuntu Hirsute) Status: New => Fix Released ** Changed in: s390-tools (Ubuntu Groovy) Status: New => Confirmed ** Changed in: s390-tools (Ubuntu Hirsute) Assignee: (unassigned) => Frank Heimes (fheimes) ** Changed in: s390-tools (Ubuntu Groovy) Assignee: (unassigned) => Frank Heimes (fheimes) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1898935 Title: chcpumf installed with s390-tools version 2.14.0 no longer provides version or help information To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1898935/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
