[Bug 1800601] Re: [SRU] Infinite recursion in Python 3

Corey Bryant corey.bryant at canonical.com
Thu Nov 8 17:45:45 UTC 2018


** Description changed:

  Hi,
  
  When running unit tests under Python 3.7 when building the Rocky Debian
  package in Sid, I get a never ending recursion. Please see the Debian
  bug report:
  
  https://bugs.debian.org/911947
  
  Basically, it's this:
  
  |   File "/build/1st/glance-17.0.0/glance/domain/__init__.py", line 316, in keys
  |     return dict(self).keys()
  |   File "/build/1st/glance-17.0.0/glance/domain/__init__.py", line 316, in keys
  |     return dict(self).keys()
  |   File "/build/1st/glance-17.0.0/glance/domain/__init__.py", line 316, in keys
  |     return dict(self).keys()
  | RecursionError: maximum recursion depth exceeded while calling a Python object
+ 
+ 
+ == Ubuntu SRU details ==
+ 
+ [Impact]
+ An infinite recursion error occurs when running Python 3.6 glance from rocky. This issue has also been seen when running python 3.7 unit tests. 
+ 
+ [Test Case]
+ 
+ 
+ [Regression Potential]
+ Fairly low. The patch is a minimal fix and will be fully exercised by the OpenStack charms team.

** Also affects: cloud-archive/rocky
   Importance: Undecided
       Status: New

** Changed in: cloud-archive/rocky
       Status: New => Triaged

** Changed in: cloud-archive/rocky
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1800601

Title:
  [SRU] Infinite recursion in Python 3

Status in Ubuntu Cloud Archive:
  Triaged
Status in Ubuntu Cloud Archive rocky series:
  Triaged
Status in Glance:
  Fix Released
Status in glance package in Ubuntu:
  Triaged
Status in glance source package in Cosmic:
  Triaged
Status in glance source package in Disco:
  Triaged

Bug description:
  Hi,

  When running unit tests under Python 3.7 when building the Rocky
  Debian package in Sid, I get a never ending recursion. Please see the
  Debian bug report:

  https://bugs.debian.org/911947

  Basically, it's this:

  |   File "/build/1st/glance-17.0.0/glance/domain/__init__.py", line 316, in keys
  |     return dict(self).keys()
  |   File "/build/1st/glance-17.0.0/glance/domain/__init__.py", line 316, in keys
  |     return dict(self).keys()
  |   File "/build/1st/glance-17.0.0/glance/domain/__init__.py", line 316, in keys
  |     return dict(self).keys()
  | RecursionError: maximum recursion depth exceeded while calling a Python object

  
  == Ubuntu SRU details ==

  [Impact]
  An infinite recursion error occurs when running Python 3.6 glance from rocky. This issue has also been seen when running python 3.7 unit tests. 

  [Test Case]

  
  [Regression Potential]
  Fairly low. The patch is a minimal fix and will be fully exercised by the OpenStack charms team.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1800601/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list