This bug was fixed in the package ubuntu-report - 1.2.0~bionic
---------------
ubuntu-report (1.2.0~bionic) bionic; urgency=medium
* Add more information to determine CPU (LP: #1777651)
* Refactor some test helpers to enable running lscpu command instead
of looking at /proc/cpuinfo
* Fix some typos and increase some timeouts in tests.
* debian/gbp.conf: remove prebuild hook as exported in build-already now.
This avoid unrelated files like Travis artefacts.
-- Didier Roche <[email protected]> Wed, 20 Jun 2018 12:59:38 +0200
** Changed in: ubuntu-report (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-report in Ubuntu.
https://bugs.launchpad.net/bugs/1777651
Title:
Add information from lscpu
Status in ubuntu-report package in Ubuntu:
Fix Released
Status in ubuntu-report source package in Bionic:
Fix Released
Bug description:
[Impact]
* We have some missing information on our reporting tool to determine
reliably the CPU type without a manual mapping. Having those ones through lspcu
is a conventient way to gather them instead of using /proc/cpuinfo.
[Test Case]
1. Install new ubuntu-report
2. ubuntu-report show
-> check that "CPU" contains something similar to:
"CPU": {
"OpMode": "32-bit, 64-bit",
"CPUs": "8",
"Threads": "2",
"Cores": "4",
"Sockets": "1",
"Vendor": "Genuine",
"Family": "6",
"Model": "158",
"Stepping": "10",
"Name": "Intius Corus i5-8300H CPU @ 2.30GHz",
"Virtualization": "VT-x"
},
3. Test as well under a vm and check for additional "Hypervisor" and
"VirtualizationType" fields.
[Regression Potential]
* Test software is heavily tested. We updated the tests and control via
golden files that the output is what we expect in multiple case
* In case of an error (parsing or command), the entire field "CPU" is
ignored, and not part of the report, but doesn't block sending the overall
report.
----
lscpu is a convenient way to gather information about the cpu and provide
information that is currently difficult to calculate or guess like the name of
the cpu or the type of hypervisor.
Could you add something similar to the following information to the
json? It's a slightly modified version of the output of lscpu -J
"lscpu": [
"Architecture": "x86_64",
"OpMode": "32-bit, 64-bit",
"CPU": "6",
"Vendor": "AuthenticAMD",
"Family": "16",
"Model": "10",
"Name": "AMD Phenom(tm) II X6 1055T Processor",
"Stepping": "0",
"Virtualization": "AMD-V",
"Hypervisor": "KVM",
}
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubuntu-report 1.1.0cosmic
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
ApportVersion: 2.20.10-0ubuntu3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jun 19 15:05:01 2018
Dependencies:
gcc-8-base 8.1.0-5ubuntu1
libc6 2.27-3ubuntu1
libgcc1 1:8.1.0-5ubuntu1
InstallationDate: Installed on 2014-07-15 (1435 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: ubuntu-report
UpgradeStatus: Upgraded to cosmic on 2018-03-24 (86 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-report/+bug/1777651/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp