[Yahoo-eng-team] [Bug 1800601] Re: Unit test infinit recursion in Python 3.7

2018-11-08 Thread Corey Bryant
** Also affects: glance (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: glance (Ubuntu Disco)
   Importance: Undecided
   Status: New

** Also affects: glance (Ubuntu Cosmic)
   Importance: Undecided
   Status: New

** Changed in: glance (Ubuntu Cosmic)
   Status: New => Triaged

** Changed in: glance (Ubuntu Cosmic)
   Importance: Undecided => Critical

** Changed in: glance (Ubuntu Disco)
   Status: New => Triaged

** Changed in: glance (Ubuntu Disco)
   Importance: Undecided => Critical

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

** Summary changed:

- Unit test infinit recursion in Python 3.7
+ [SRU] Infinite recursion in Python 3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1800601] Re: Unit test infinit recursion in Python 3.7

2018-11-05 Thread OpenStack Infra
Reviewed:  https://review.openstack.org/615124
Committed: 
https://git.openstack.org/cgit/openstack/glance/commit/?id=43587fb93d8d949d9a9895153ac06ea4e7e6d150
Submitter: Zuul
Branch:master

commit 43587fb93d8d949d9a9895153ac06ea4e7e6d150
Author: James Page 
Date:   Fri Nov 2 10:10:49 2018 +

py3: fix recursion issue under py37

Add tox target and resolve issue with infinite recursion in
ExtraProperties class by directly using methods on the dict
class.

Closes-Bug: 1800601

Change-Id: Ie98c4287c8bd1c364655adb99c7a88d1d451496e


** Changed in: glance
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1800601

Title:
  Unit test infinit recursion in Python 3.7

Status in Glance:
  Fix Released

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

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp