[Bug 1880987] Re: /usr/bin/update-manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups

Marcus Tomlinson 1880987 at bugs.launchpad.net
Wed Jun 3 17:04:35 UTC 2020


** Description changed:

+ [Impact]
+ 
  The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager.  This problem was most recently seen with package version 1:20.04.10, the problem page at https://errors.ubuntu.com/problem/b2c8bc0cb8285d022b6b6aa8a75000e6d82dab19 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
+ 
+ [Test Case]
+ 
+ 
+ [Regression Potential]

** Summary changed:

- /usr/bin/update-manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups
+ [SRU] /usr/bin/update-manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups

** Description changed:

  [Impact]
  
  The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager.  This problem was most recently seen with package version 1:20.04.10, the problem page at https://errors.ubuntu.com/problem/b2c8bc0cb8285d022b6b6aa8a75000e6d82dab19 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
  
  [Test Case]
  
+ This is reproducable by raising an AssertionError in the initialization
+ of MyCache and looks like a problem with
+ "UpdateManager/backend/__init__.py" carrying on when cache is set to
+ None. Here are the lines of code I'm looking at:
+ 
+         except Exception as e:
+             logging.debug("error reading cache (%s)" % e)
+             cache = None
  
  [Regression Potential]
+ 
+ Instead of assigning the cache to None and attempting to continue the
+ duplicates check, we now just return an empty array. It's perfectly safe
+ to postpone this duplicates check to a later update, so there's little
+ regression potential in my opinion.

** Also affects: update-manager (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: update-manager (Ubuntu Focal)
     Assignee: (unassigned) => Marcus Tomlinson (marcustomlinson)

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

** Changed in: update-manager (Ubuntu Focal)
       Status: New => In Progress

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

Title:
  [SRU] /usr/bin/update-
  manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Focal:
  In Progress

Bug description:
  [Impact]

  The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager.  This problem was most recently seen with package version 1:20.04.10, the problem page at https://errors.ubuntu.com/problem/b2c8bc0cb8285d022b6b6aa8a75000e6d82dab19 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

  [Test Case]

  This is reproducable by raising an AssertionError in the
  initialization of MyCache and looks like a problem with
  "UpdateManager/backend/__init__.py" carrying on when cache is set to
  None. Here are the lines of code I'm looking at:

          except Exception as e:
              logging.debug("error reading cache (%s)" % e)
              cache = None

  [Regression Potential]

  Instead of assigning the cache to None and attempting to continue the
  duplicates check, we now just return an empty array. It's perfectly
  safe to postpone this duplicates check to a later update, so there's
  little regression potential as far as I can see.

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



More information about the foundations-bugs mailing list