[Bug 1891599] [NEW] installation stopped by an random exception from mark_install() in Cache class of python3-apt

Alex Tu 1891599 at bugs.launchpad.net
Fri Aug 14 07:05:44 UTC 2020


Public bug reported:

An exception is randomly happening while ubiquity calling cachedpkg.mark_install() [1].
cachedpkg.mark_install() came from Cache class of python3-apt package.

It looks a timing issue while ubiquity calling cachedpkg.mark_install(),
and a retry can workaround it.

The reproduce rate is be about 1/15.

Looks there're 2 things can be improved.
1. improve the fault tolerance of Ubiquity while it calling external library.
2. impvove the fault tolerance of python3-apt.

[1]
https://git.launchpad.net/ubuntu/+source/ubiquity/tree/ubiquity/install_misc.py?h=ubuntu
/focal-updates#n534

** Affects: oem-priority
     Importance: Critical
     Assignee: Alex Tu (alextu)
         Status: New

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: oem-priority originate-from-1891118 somerville

** Also affects: oem-priority
   Importance: Undecided
       Status: New

** Changed in: oem-priority
     Assignee: (unassigned) => Alex Tu (alextu)

** Changed in: oem-priority
   Importance: Undecided => Critical

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

Title:
  installation stopped by an random exception from mark_install() in
  Cache class of python3-apt

Status in OEM Priority Project:
  New
Status in ubiquity package in Ubuntu:
  New

Bug description:
  An exception is randomly happening while ubiquity calling cachedpkg.mark_install() [1].
  cachedpkg.mark_install() came from Cache class of python3-apt package.

  It looks a timing issue while ubiquity calling
  cachedpkg.mark_install(), and a retry can workaround it.

  The reproduce rate is be about 1/15.

  Looks there're 2 things can be improved.
  1. improve the fault tolerance of Ubiquity while it calling external library.
  2. impvove the fault tolerance of python3-apt.

  [1]
  https://git.launchpad.net/ubuntu/+source/ubiquity/tree/ubiquity/install_misc.py?h=ubuntu
  /focal-updates#n534

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1891599/+subscriptions



More information about the foundations-bugs mailing list