← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1782786] Re: [SRU] test_hacking fails for new versions of python

 

** Summary changed:

- py3.7 test failures - expected string or bytes-like object and _impl.MismatchError
+ [SRU] test_hacking fails for new versions of python

** Summary changed:

- [SRU] test_hacking fails for new versions of python
+ [SRU] work-around for test_hacking fails for new versions of python

** Summary changed:

- [SRU] work-around for test_hacking fails for new versions of python
+ [SRU] work-around for test_hacking failures with new versions of python

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

** No longer affects: nova

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
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 rocky series:
  New
Status in Ubuntu Cloud Archive stein series:
  Fix Released
Status in nova package in Ubuntu:
  New

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


References