This bug was fixed in the package ubuntu-report - 1.1.0

---------------
ubuntu-report (1.1.0) bionic; urgency=medium

  * Delay reporting of system metrics when there is no network.
    A service then kicks in and try to report with exponential
    backoff until success (LP: #1774354)
  * Ensure that LANG is the user's language reported even in OEM
    mode (LP: #1765672)
  * Collect physical screen size (LP: #1771976)
  * Incorrect regex for GPU info (LP: #1765614)

 -- Didier Roche <didro...@ubuntu.com>  Thu, 31 May 2018 09:58:03 +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/1765614

Title:
  Incorrect regex for GPU info

Status in ubuntu-report package in Ubuntu:
  Fix Released
Status in ubuntu-report source package in Bionic:
  Fix Released

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