Activity log for bug #1752523

Date Who What changed Old value New value Message
2018-03-01 09:00:25 bugproxy bug added bug
2018-03-01 09:00:27 bugproxy tags architecture-ppc64le bugnameltc-165253 severity-medium targetmilestone-inin---
2018-03-01 09:00:28 bugproxy ubuntu: assignee Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
2018-03-01 09:00:30 bugproxy affects ubuntu lshw (Ubuntu)
2018-03-01 10:47:23 Andrew Cloke bug task added ubuntu-power-systems
2018-03-01 10:47:59 Andrew Cloke ubuntu-power-systems: importance Undecided Medium
2018-03-01 10:49:04 Andrew Cloke ubuntu-power-systems: assignee Canonical Foundations Team (canonical-foundations)
2018-03-01 10:49:09 Andrew Cloke tags architecture-ppc64le bugnameltc-165253 severity-medium targetmilestone-inin--- architecture-ppc64le bugnameltc-165253 severity-medium targetmilestone-inin--- triage-g
2018-03-05 14:39:18 Manoj Iyer lshw (Ubuntu): assignee Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) Canonical Foundations Team (canonical-foundations)
2018-03-05 14:39:21 Manoj Iyer lshw (Ubuntu): importance Undecided Medium
2018-03-05 14:39:26 Andrew Cloke ubuntu-power-systems: status New Triaged
2018-03-26 01:40:02 bugproxy tags architecture-ppc64le bugnameltc-165253 severity-medium targetmilestone-inin--- triage-g architecture-ppc64le bugnameltc-165253 severity-medium targetmilestone-inin1804 triage-g
2018-03-27 12:24:38 Francis Ginther tags architecture-ppc64le bugnameltc-165253 severity-medium targetmilestone-inin1804 triage-g architecture-ppc64le bugnameltc-165253 id-5ab95bc39c2b15e2cf34d491 severity-medium targetmilestone-inin1804 triage-g
2018-03-28 13:30:58 bugproxy attachment added Test lshw build https://bugs.launchpad.net/bugs/1752523/+attachment/5093510/+files/lshw_02.18-0.1ubuntu7_ppc64el.deb
2018-03-28 13:31:00 bugproxy attachment added Patch adding json option to help output https://bugs.launchpad.net/bugs/1752523/+attachment/5093511/+files/Add-json-option-in-help-output.patch
2018-03-28 13:31:02 bugproxy attachment added Patch fixing unknown version issue https://bugs.launchpad.net/bugs/1752523/+attachment/5093512/+files/Fix-unknown-version-issue.patch
2018-03-28 13:31:04 bugproxy attachment added lshw Build log https://bugs.launchpad.net/bugs/1752523/+attachment/5093513/+files/lshw_02.18-0.1ubuntu7_ppc64el.build
2018-05-14 16:15:14 Frank Heimes lshw (Ubuntu): status New Incomplete
2018-05-14 16:15:17 Frank Heimes ubuntu-power-systems: status Triaged Incomplete
2018-05-21 14:05:26 Manoj Iyer tags architecture-ppc64le bugnameltc-165253 id-5ab95bc39c2b15e2cf34d491 severity-medium targetmilestone-inin1804 triage-g architecture-ppc64le bugnameltc-165253 id-5ab95bc39c2b15e2cf34d491 p9 severity-medium targetmilestone-inin1804 triage-g ubuntu-18.04.1
2018-05-21 22:57:31 Steve Langasek lshw (Ubuntu): status Incomplete Triaged
2018-06-25 14:30:29 Frank Heimes ubuntu-power-systems: status Incomplete Triaged
2018-07-05 17:31:21 Dimitri John Ledkov nominated for series Ubuntu Bionic
2018-07-05 17:31:21 Dimitri John Ledkov bug task added lshw (Ubuntu Bionic)
2018-07-10 21:15:21 Tiago Stürmer Daitx attachment added shw_02.18-0.1ubuntu6_debdiff_02.18-0.1ubuntu7.patch https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1752523/+attachment/5162133/+files/shw_02.18-0.1ubuntu6_debdiff_02.18-0.1ubuntu7.patch
2018-07-10 22:25:48 Launchpad Janitor lshw (Ubuntu): status Triaged Fix Released
2018-07-11 20:48:25 Tiago Stürmer Daitx description == Comment: #0 - PAVITHRA R. PRAKASH <pavrampu@in.ibm.com> - 2018-03-01 00:30:14 == ---Problem Description--- Ubuntu 18.04 [ P9 WSP DD2.2 ]: lshw version is displayed as "unknown" and -json option is not available in help message. ---Environment-- Kernel Build: Ubuntu 18.04 System Name : wcwsp3 Model/Type : P9 Platform : BML ---Uname output--- root@ltc-wcwsp3:~# uname -a Linux ltc-wcwsp3 4.15.0-10-generic #11 SMP Thu Feb 22 23:50:53 EST 2018 ppc64le ppc64le ppc64le GNU/Linux ---Steps to reproduce-- 1. Run below commands. # lshw -version # lshw -h ---Logs---- root@ltc-wcwsp3:~# lshw -version unknown root@ltc-wcwsp3:~# lshw -h Hardware Lister (lshw) - unknown usage: lshw [-format] [-options ...] lshw -version -version print program version (unknown) format can be -html output hardware tree as HTML -xml output hardware tree as XML -short output hardware paths -businfo output bus information options can be -class CLASS only show a certain class of hardware -C CLASS same as '-class CLASS' -c CLASS same as '-class CLASS' -disable TEST disable a test (like pci, isapnp, cpuid, etc. ) -enable TEST enable a test (like pci, isapnp, cpuid, etc. ) -quiet don't display status -sanitize sanitize output (remove sensitive information like serial numbers, etc.) -numeric output numeric IDs (for PCI, USB, etc.) -notime exclude volatile attributes (timestamps) from output == Comment: #1 - Chandni Verma <chandnve@in.ibm.com> - 2018-03-01 02:48:01 == Upstream patches: https://github.com/lyonel/lshw/commit/18edc98f9d08883f340087cfefbdf05c585d56f7 and https://github.com/lyonel/lshw/commit/503c76a35a9e97a098af7c1ac793a7e13c07ce70 should fix the version and missing -json option issues respectively. Kindly cherry pick them and verify. Thanks! [Impact] * lshw version is displayed as "unknown" * '-json' option is not available in help message although it is a fully supported The version used to be set and then read from a text file named '.version' inside the upstream source, but since B.02.18 [1] the version is fetched from a shell call that relies on 'git describe'. This causes the version to set to "unknown" during the build. The proposed version fix has been uploaded upstream [2] and relies instead on reading from a 'VERSION' variable inside the makefile. The debdiff takes care of setting the variable to the right value in debian/rules. The proposed fix also includes the '-json' to the help output and has been uploaded upstream [3], as the json output has been supported and recognized for a while. [Test Case] Trusty: $ lshw -version Hardware Lister (lshw) - B.02.16 Bionic: $ lshw -version unknown $ lshw -help Hardware Lister (lshw) - unknown usage: lshw [-format] [-options ...] lshw -version -version print program version (unknown) format can be -html output hardware tree as HTML -xml output hardware tree as XML -short output hardware paths -businfo output bus information options can be -class CLASS only show a certain class of hardware -C CLASS same as '-class CLASS' -c CLASS same as '-class CLASS' -disable TEST disable a test (like pci, isapnp, cpuid, etc. ) -enable TEST enable a test (like pci, isapnp, cpuid, etc. ) -quiet don't display status -sanitize sanitize output (remove sensitive information like serial numbers, etc.) -numeric output numeric IDs (for PCI, USB, etc.) -notime exclude volatile attributes (timestamps) from output Bionic patched: $ lshw -version B.02.18 $ lshw -help Hardware Lister (lshw) - B.02.18 usage: lshw [-format] [-options ...] lshw -version -version print program version (B.02.18) format can be -html output hardware tree as HTML -xml output hardware tree as XML -json output hardware tree as a JSON object -short output hardware paths -businfo output bus information options can be -class CLASS only show a certain class of hardware -C CLASS same as '-class CLASS' -c CLASS same as '-class CLASS' -disable TEST disable a test (like pci, isapnp, cpuid, etc. ) -enable TEST enable a test (like pci, isapnp, cpuid, etc. ) -quiet don't display status -sanitize sanitize output (remove sensitive information like serial numbers, etc.) -numeric output numeric IDs (for PCI, USB, etc.) -notime exclude volatile attributes (timestamps) from output [Regression Potential] * The version is set through the debian/rules variable VERSION, if set incorrectly it will misreport the actual lshw version being used. [References] [1] https://github.com/lyonel/lshw/commit/2d0296cc31eefaba70f35c8b76af7dfc5f21b387 [2] https://github.com/lyonel/lshw/commit/18edc98f9d08883f340087cfefbdf05c585d56f7 [3] https://github.com/lyonel/lshw/commit/503c76a35a9e97a098af7c1ac793a7e13c07ce70 [Original Bug Description] == Comment: #0 - PAVITHRA R. PRAKASH <pavrampu@in.ibm.com> - 2018-03-01 00:30:14 == ---Problem Description--- Ubuntu 18.04 [ P9 WSP DD2.2 ]: lshw version is displayed as "unknown" and -json option is not available in help message. ---Environment-- Kernel Build: Ubuntu 18.04 System Name : wcwsp3 Model/Type : P9 Platform : BML ---Uname output--- root@ltc-wcwsp3:~# uname -a Linux ltc-wcwsp3 4.15.0-10-generic #11 SMP Thu Feb 22 23:50:53 EST 2018 ppc64le ppc64le ppc64le GNU/Linux ---Steps to reproduce-- 1. Run below commands. # lshw -version # lshw -h ---Logs---- root@ltc-wcwsp3:~# lshw -version unknown root@ltc-wcwsp3:~# lshw -h Hardware Lister (lshw) - unknown usage: lshw [-format] [-options ...] lshw -version -version print program version (unknown) format can be -html output hardware tree as HTML -xml output hardware tree as XML -short output hardware paths -businfo output bus information options can be -class CLASS only show a certain class of hardware -C CLASS same as '-class CLASS' -c CLASS same as '-class CLASS' -disable TEST disable a test (like pci, isapnp, cpuid, etc. ) -enable TEST enable a test (like pci, isapnp, cpuid, etc. ) -quiet don't display status -sanitize sanitize output (remove sensitive information like serial numbers, etc.) -numeric output numeric IDs (for PCI, USB, etc.) -notime exclude volatile attributes (timestamps) from output == Comment: #1 - Chandni Verma <chandnve@in.ibm.com> - 2018-03-01 02:48:01 == Upstream patches: https://github.com/lyonel/lshw/commit/18edc98f9d08883f340087cfefbdf05c585d56f7 and https://github.com/lyonel/lshw/commit/503c76a35a9e97a098af7c1ac793a7e13c07ce70 should fix the version and missing -json option issues respectively. Kindly cherry pick them and verify. Thanks!
2018-07-11 20:49:19 Tiago Stürmer Daitx attachment added shw_02.18-0.1ubuntu6_debdiff_02.18-0.1ubuntu7.18.04.1.patch https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1752523/+attachment/5162558/+files/shw_02.18-0.1ubuntu6_debdiff_02.18-0.1ubuntu7.18.04.1.patch
2018-07-11 20:49:37 Tiago Stürmer Daitx tags architecture-ppc64le bugnameltc-165253 id-5ab95bc39c2b15e2cf34d491 p9 severity-medium targetmilestone-inin1804 triage-g ubuntu-18.04.1 architecture-ppc64le bugnameltc-165253 id-5ab95bc39c2b15e2cf34d491 p9 patch severity-medium targetmilestone-inin1804 triage-g ubuntu-18.04.1
2018-07-11 20:50:36 Tiago Stürmer Daitx bug added subscriber Ubuntu Sponsors Team
2018-07-16 09:46:16 Łukasz Zemczak lshw (Ubuntu Bionic): status New Fix Committed
2018-07-16 09:46:18 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2018-07-16 09:46:19 Łukasz Zemczak bug added subscriber SRU Verification
2018-07-16 09:46:23 Łukasz Zemczak tags architecture-ppc64le bugnameltc-165253 id-5ab95bc39c2b15e2cf34d491 p9 patch severity-medium targetmilestone-inin1804 triage-g ubuntu-18.04.1 architecture-ppc64le bugnameltc-165253 id-5ab95bc39c2b15e2cf34d491 p9 patch severity-medium targetmilestone-inin1804 triage-g ubuntu-18.04.1 verification-needed verification-needed-bionic
2018-07-16 09:46:34 Łukasz Zemczak removed subscriber Ubuntu Sponsors Team
2018-07-16 14:27:20 Frank Heimes ubuntu-power-systems: status Triaged Fix Committed
2018-07-25 16:21:23 Tiago Stürmer Daitx tags architecture-ppc64le bugnameltc-165253 id-5ab95bc39c2b15e2cf34d491 p9 patch severity-medium targetmilestone-inin1804 triage-g ubuntu-18.04.1 verification-needed verification-needed-bionic architecture-ppc64le bugnameltc-165253 id-5ab95bc39c2b15e2cf34d491 p9 patch severity-medium targetmilestone-inin1804 triage-g ubuntu-18.04.1 verification-done-bionic
2018-07-25 16:22:21 Tiago Stürmer Daitx bug watch added https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903640
2018-07-25 16:22:21 Tiago Stürmer Daitx bug task added lshw (Debian)
2018-07-25 22:23:49 Bug Watch Updater lshw (Debian): status Unknown Fix Released
2018-07-30 16:12:52 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2018-07-30 16:22:55 Launchpad Janitor lshw (Ubuntu Bionic): status Fix Committed Fix Released
2018-08-04 16:12:17 Andrew Cloke ubuntu-power-systems: status Fix Committed Fix Released