You have been subscribed to a public bug by Eric Desrochers (slashd):
[Impact] lshw(1) https://linux.die.net/man/1/lshw * lshw is a small tool to extract detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or IA-64 systems and on some PowerPC machines (PowerMac G4 is known to work). * Adding 'lshw' will help Canonical or third-party vendor using the sosreport package to not having to ask 'lshw' in addition to sosreport. This is a frequent command to run to troubleshoot/debug things * Including hardware information is a helpful debug step to determine issues found [Test Case] * Run sosreport in different customer scenarios: server, desktop, cloud, hypervisor, instance (container, vm), physical server, since this is specifically listing hardware informations. * For all distros: - install sosreport from the proposed pocket - run sosreport with default settings `sudo sosreport -a --config sos.conf` Or to just test hardware plugin `sosreport -o hardware --config sos.conf` * Extract archive and look at contents - untar report file in /tmp/<sosreport.tar.gz> - cd <sosreport folder>/sos_commands/hardware/ - less lshw -- the ouput is information about the system's hardware - look under "sos_logs" for warnings/errors. - look under "sos_reports" for full report. * Run `simple.sh`: A quick port of the travis unit tests to bash. Generates various types of sosreports collection. * Ensure simple.sh test passes - wget https://raw.githubusercontent.com/sosreport/sos/master /test/simple.sh - execute command `sudo tests/simple.sh` [Regression Potential] * Command implicitly slows down python script * Unit test failures * Only affects the hardware plugin and won't affect core functionalities nor other plugins * Lshw that is commonly used on system, the command cannot create any harm on the system (read only) * If the command doesn't exist sosreport will continue and move on * Lshw must be run as super user or it will only report partial information [Other Info] * Upstream commit: https://github.com/sosreport/sos/pull/1994/commits/2dd5cd45a8381fa36ea99c85b526f9d79e526d91 [Original description] * This is a wishlist to add the cmd 'lshw' into the hardware's sosreport plugin ** Affects: sosreport (Ubuntu) Importance: Wishlist Assignee: Heather Lemon (hypothetical-lemon) Status: In Progress ** Affects: sosreport (Ubuntu Xenial) Importance: Wishlist Assignee: Heather Lemon (hypothetical-lemon) Status: In Progress ** Affects: sosreport (Ubuntu Bionic) Importance: Wishlist Assignee: Heather Lemon (hypothetical-lemon) Status: In Progress ** Affects: sosreport (Ubuntu Eoan) Importance: Wishlist Assignee: Heather Lemon (hypothetical-lemon) Status: In Progress ** Affects: sosreport (Ubuntu Focal) Importance: Wishlist Assignee: Heather Lemon (hypothetical-lemon) Status: In Progress ** Tags: patch sts sts-sponsor-volunteer -- add lshw cmd into sosreport's hardware plugin https://bugs.launchpad.net/bugs/1871494 You received this bug notification because you are a member of STS Sponsors, which is subscribed to the bug report. -- Mailing list: https://launchpad.net/~sts-sponsors Post to : [email protected] Unsubscribe : https://launchpad.net/~sts-sponsors More help : https://help.launchpad.net/ListHelp

