Incorrect regex for GPU info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-report (Ubuntu) |
Fix Released
|
Undecided
|
Didier Roche-Tolomelli | ||
Bionic |
Fix Released
|
Undecided
|
Didier Roche-Tolomelli |
Bug Description
[Impact]
* GPU not having a revision ID aren't reported by the system, due to an incorrect regexp
[Test Case]
* Ensure you have a GPU not giving a (rev) id when running lscpi.
* Run ubuntu-report show
* Check that there is a GPU field in the report
[Regression Potential]
* Everything that isn't matched is just ignored ant not part of the finale json report.
* We have an extensive testsuite covering the previous supported case and now this one that was added.
---
The regex is incorrect to match the GPU info
It should be:
^.* 0300: (.*)(\( rev .*\))?$
to match the cases where there is no revision number.
Like: 01:00.0 0300: 1002:68b8
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-report 1.0.11
ProcVersionSign
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 20 09:08:21 2018
Dependencies:
gcc-8-base 8-20180414-1ubuntu2
libc6 2.27-3ubuntu1
libgcc1 1:8-20180414-
InstallationDate: Installed on 2014-07-15 (1374 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: ubuntu-report
UpgradeStatus: Upgraded to bionic on 2018-03-24 (26 days ago)
Changed in ubuntu-report (Ubuntu): | |
status: | New → Fix Committed |
Changed in ubuntu-report (Ubuntu): | |
status: | Fix Committed → Triaged |
description: | updated |
Changed in ubuntu-report (Ubuntu): | |
assignee: | nobody → Didier Roche (didrocks) |
Changed in ubuntu-report (Ubuntu Bionic): | |
assignee: | nobody → Didier Roche (didrocks) |
Status changed to 'Confirmed' because the bug affects multiple users.