[Bug 1778697] Re: update-notifier always present apport-gtk UI on crashes, even on autoreport mode

Didier Roche didrocks at ubuntu.com
Wed Jun 27 08:17:20 UTC 2018


** Description changed:

+ [Impact]
+ Apport-gtk is currently always started, even when whoopsie is installed and set in auto or never report mode.
+ 
+ 
  This is a regression since we moved from upstart to a systemd service. apport-gtk UI is always started, even in autoreport mode.
  The file condition path for autoreport isn't in the systemd unit.
  This is also the case when never reporting is enabled.
+ 
+ [Test Case]
+ 
+ Test case 1:
+ 1. install new version of update-notifier and restart your session
+ 2. in g-c-c, set apport to always report errors
+ 3. generate a crash (coredump)
+ 4. wait a little, ensure no apport-gtk UI is started
+ 
+ Test case 2:
+ 1. in g-c-c, set apport to never report errors
+ 2. generate a crash (coredump)
+ 3. wait a little, ensure no apport-gtk UI is started
+ 
+ Test case 3:
+ 1. in g-c-c, set apport to manually report errors
+ 2. generate a crash (coredump)
+ 3. wait a little, ensure apport-gtk UI is started
+ 
+ Test case 4:
+ 1. in g-c-c, set apport to automatically or never report errors
+ 2. uninstalled whoopsie package
+ 3. generate a crash (coredump)
+ 4. wait a little, ensure apport-gtk UI is started
+ 
+ [Regression potential]
+ 
+ The patch hasn't many branch and only impact the "show apport-gtk" part.
+ Any regressions will be easily detected by the previous test cases.

** Also affects: update-notifier (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: update-notifier (Ubuntu)
     Assignee: (unassigned) => Didier Roche (didrocks)

** Changed in: update-notifier (Ubuntu Bionic)
     Assignee: (unassigned) => Didier Roche (didrocks)

** Changed in: update-notifier (Ubuntu)
   Importance: Undecided => High

** Changed in: update-notifier (Ubuntu Bionic)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1778697

Title:
  update-notifier always present apport-gtk UI on crashes, even on
  autoreport mode

Status in update-notifier package in Ubuntu:
  New
Status in update-notifier source package in Bionic:
  New

Bug description:
  [Impact]
  Apport-gtk is currently always started, even when whoopsie is installed and set in auto or never report mode.

  
  This is a regression since we moved from upstart to a systemd service. apport-gtk UI is always started, even in autoreport mode.
  The file condition path for autoreport isn't in the systemd unit.
  This is also the case when never reporting is enabled.

  [Test Case]

  Test case 1:
  1. install new version of update-notifier and restart your session
  2. in g-c-c, set apport to always report errors
  3. generate a crash (coredump)
  4. wait a little, ensure no apport-gtk UI is started

  Test case 2:
  1. in g-c-c, set apport to never report errors
  2. generate a crash (coredump)
  3. wait a little, ensure no apport-gtk UI is started

  Test case 3:
  1. in g-c-c, set apport to manually report errors
  2. generate a crash (coredump)
  3. wait a little, ensure apport-gtk UI is started

  Test case 4:
  1. in g-c-c, set apport to automatically or never report errors
  2. uninstalled whoopsie package
  3. generate a crash (coredump)
  4. wait a little, ensure apport-gtk UI is started

  [Regression potential]

  The patch hasn't many branch and only impact the "show apport-gtk"
  part. Any regressions will be easily detected by the previous test
  cases.

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



More information about the foundations-bugs mailing list