No CPU record on Virtualbox
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-report (Ubuntu) |
Fix Released
|
Low
|
Didier Roche-Tolomelli | ||
Bionic |
Fix Released
|
Low
|
Didier Roche-Tolomelli | ||
Disco |
Fix Released
|
Low
|
Didier Roche-Tolomelli |
Bug Description
[Impact]
* Any new report after an installation in a Virtualbox machine won't show up CPU informations.
* Note that we don't fix Cosmic: it's almost EOL and ubuntu-report is used on first user login. Now, we either proposed bionic or disco to our users. The issue isn't that critical either as the CPU field is just ignored when missing.
[Test Case]
* Make a new installation in virtualbox
* Run "ubuntu-report show".
-> you won't have any "CPU" field in the output
* Install the new version from proposed
* Run "ubuntu-report show"
-> note the CPU field is now present.
[Regression Potential]
* The regexp to match lspcu information lines has been relaxed. The testsuite has been enhanced and existing cases keeps working.
------------
On a virtualbox guest ubuntu-report doesn't report CPU information.
u@pc:~$ ubuntu-report show
{
"Version": "19.04",
"OEM": {
"Vendor": "innotek GmbH",
"Product": "VirtualBox"
},
"BIOS": {
"Vendor": "innotek GmbH",
"Version": "VirtualBox"
},
"Arch": "amd64",
"GPU": [
{
"Vendor": "15ad",
"Model": "0405"
}
],
"RAM": 2,
"Disks": [
21.5
],
"Partitions": [
20.5
],
"Screens": [
{
"Size": "0mmx0mm",
"Resolution": "800x600",
"Frequency": "60.00"
}
],
"Autologin": true,
"LivePatch": false,
"Session": {
"DE": "ubuntu:GNOME",
"Name": "ubuntu",
"Type": "x11"
},
"Language": "en_US",
"Timezone": "America/New_York",
"Install": {
"Media": "Ubuntu 19.04 \"Disco Dingo\" - Alpha amd64 (20190305.1)",
"Type": "GTK",
"OEM": false,
"PartitionM
"DownloadUp
"Language": "en",
"Minimal": false,
"Restricted
"Stages": {
"0": "language",
"2": "language",
"8": "console_setup",
"16": "console_setup",
"20": "prepare",
"24": "partman",
"26": "start_install",
"86": "timezone",
"90": "usersetup",
"97": "user_done",
"582": "done"
}
}
}
@pc:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 48 bits physical, 48 bits virtual
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 16
Model: 10
Model name: AMD Phenom(tm) II X6 1055T Processor
Stepping: 0
CPU MHz: 2812.342
BogoMIPS: 5624.68
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 64K
L1i cache: 64K
L2 cache: 512K
L3 cache: 6144K
NUMA node0 CPU(s): 0
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid tsc_known_freq pni monitor cx16 x2apic popcnt hypervisor lahf_lm cr8_legacy abm sse4a misalignsse 3dnowprefetch vmmcall
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: ubuntu-report 1.4.0
ProcVersionSign
Uname: Linux 4.19.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu21
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 8 04:06:58 2019
Dependencies:
gcc-9-base 9-20190220-0ubuntu1
libc6 2.28-0ubuntu1
libgcc1 1:9-20190220-
libidn2-0 2.0.5-1
libunistring2 0.9.10-1ubuntu1
InstallationDate: Installed on 2019-03-07 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190305.1)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-report
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
description: | updated |
description: | updated |
Changed in ubuntu-report (Ubuntu): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in ubuntu-report (Ubuntu Bionic): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in ubuntu-report (Ubuntu Disco): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in ubuntu-report (Ubuntu): | |
importance: | Undecided → Low |
Changed in ubuntu-report (Ubuntu Bionic): | |
importance: | Undecided → Low |
Changed in ubuntu-report (Ubuntu Disco): | |
importance: | Undecided → Low |
Changed in ubuntu-report (Ubuntu): | |
status: | New → Triaged |
Changed in ubuntu-report (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in ubuntu-report (Ubuntu Disco): | |
status: | New → Triaged |
This bug was fixed in the package ubuntu-report - 1.5.0
---------------
ubuntu-report (1.5.0) eoan; urgency=medium
* Fix CPU record not present in virtualbox (LP: #1819129)
Virtualbox is having a special lspcu syntax without spaces between
fields and values. Fix the regexp and tests to cover that use-case.
* Fix go ineffassign warning
* Fix golint false positive
* Fix invalid tests comparison which was passing by chance. Ensure we
can rerun commands in multiple runs tests.
* Fix documentation vet error
* Refresh go modules files with go 1.12. Prune uneeded indirect dep list
now that more modules ships with go.mod.
* Various typos fix
-- Didier Roche <email address hidden> Fri, 26 Apr 2019 08:18:24 +0200