** Also affects: ubuntu-report (Ubuntu Bionic)
   Importance: Undecided
       Status: New

-- 
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/1765614

Title:
  Incorrect regex for GPU info

Status in ubuntu-report package in Ubuntu:
  Triaged
Status in ubuntu-report source package in Bionic:
  New

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
  ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
  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-1ubuntu2
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-report/+bug/1765614/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to