[Bug 1782786] Re: [SRU] work-around for test_hacking failures with new versions of python

Corey Bryant corey.bryant at canonical.com
Fri May 3 19:45:53 UTC 2019


** Description changed:

+ This bug is tracking an SRU for the work-around fix for
+ https://bugs.launchpad.net/cloud-archive/+bug/1804062.
+ 
+ [Impact]
+ test_hacking fails with new versions of python 2.7, 3.6, and 3.7. See https://bugs.launchpad.net/cloud-archive/+bug/1804062 for more details.
+ 
+ [Test Case]
+ Build the nova package and it will run unit tests. With the work-around, test_hacking is skipped, and tests will be successful.
+ 
+ [Regression Potential]
+ Very low. test_hacking will be skipped which decreases testing coverage. This is a temporary fix until an official fix lands for https://bugs.launchpad.net/cloud-archive/+bug/1804062.
+ 
  --------------------------------------------
  
  Note: The original bug description was changed. See details in comment
  #7: https://bugs.launchpad.net/nova/+bug/1782786/comments/7.
  
  === Original Bug Description ===
  
  I'm hitting 2 remaining test failures after other py3.7 fixes have
  landed [1]:
  
  test_validate_patternProperties_fails
    TypeError: expected string or bytes-like object
  
  test_name_with_non_printable_characters
    testtools.matchers._impl.MismatchError
  
  Full tracebacks: https://paste.ubuntu.com/p/hY4N3Yx7FW/
  
  [1] https://review.openstack.org/#/c/584365/

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

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

** Changed in: cloud-archive/stein
       Status: New => Fix Released

** Changed in: cloud-archive/stein
   Importance: Undecided => High

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

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

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

** Changed in: cloud-archive/rocky
   Importance: High => Medium

** Changed in: cloud-archive/rocky
   Importance: Medium => High

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

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

** Changed in: cloud-archive/queens
   Importance: Undecided => High

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

** Also affects: nova (Ubuntu Bionic)
   Importance: Undecided
       Status: New

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

** Also affects: nova (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Changed in: nova (Ubuntu Eoan)
       Status: New => Fix Released

** Changed in: nova (Ubuntu Disco)
       Status: New => Fix Released

** Changed in: nova (Ubuntu Cosmic)
       Status: New => Fix Released

** Changed in: nova (Ubuntu Bionic)
       Status: New => Triaged

** Changed in: nova (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: nova (Ubuntu Cosmic)
   Importance: Undecided => High

** Changed in: nova (Ubuntu Disco)
   Importance: Undecided => High

** Changed in: nova (Ubuntu Eoan)
   Importance: Undecided => High

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

Title:
  [SRU] work-around for test_hacking failures with new versions of
  python

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive queens series:
  Triaged
Status in Ubuntu Cloud Archive rocky series:
  Fix Released
Status in Ubuntu Cloud Archive stein series:
  Fix Released
Status in nova package in Ubuntu:
  Fix Released
Status in nova source package in Bionic:
  Triaged
Status in nova source package in Cosmic:
  Fix Released
Status in nova source package in Disco:
  Fix Released
Status in nova source package in Eoan:
  Fix Released

Bug description:
  This bug is tracking an SRU for the work-around fix for
  https://bugs.launchpad.net/cloud-archive/+bug/1804062.

  [Impact]
  test_hacking fails with new versions of python 2.7, 3.6, and 3.7. See https://bugs.launchpad.net/cloud-archive/+bug/1804062 for more details.

  [Test Case]
  Build the nova package and it will run unit tests. With the work-around, test_hacking is skipped, and tests will be successful.

  [Regression Potential]
  Very low. test_hacking will be skipped which decreases testing coverage. This is a temporary fix until an official fix lands for https://bugs.launchpad.net/cloud-archive/+bug/1804062.

  --------------------------------------------

  Note: The original bug description was changed. See details in comment
  #7: https://bugs.launchpad.net/nova/+bug/1782786/comments/7.

  === Original Bug Description ===

  I'm hitting 2 remaining test failures after other py3.7 fixes have
  landed [1]:

  test_validate_patternProperties_fails
    TypeError: expected string or bytes-like object

  test_name_with_non_printable_characters
    testtools.matchers._impl.MismatchError

  Full tracebacks: https://paste.ubuntu.com/p/hY4N3Yx7FW/

  [1] https://review.openstack.org/#/c/584365/

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



More information about the Ubuntu-openstack-bugs mailing list