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

Launchpad Bug Tracker 1782786 at bugs.launchpad.net
Wed Jun 5 21:17:01 UTC 2019


This bug was fixed in the package nova - 2:17.0.9-0ubuntu3

---------------
nova (2:17.0.9-0ubuntu3) bionic; urgency=medium

  * d/p/bug_1825882.patch: Cherry-picked from upstream to ensure
    virsh disk attach does not fail silently (LP: #1825882).
  * d/p/bug_1826523.patch: Cherry-picked from upstream to ensure
    always disconnect volumes after libvirt exceptions (LP: #1826523).

nova (2:17.0.9-0ubuntu2) bionic; urgency=medium

  * d/p/xenapi-agent-change-openssl-error-handling.patch: Cherry-picked from
    upstream to ensure xenapi agent only raises a RuntimeError exception
    when openssl returns a non-zero exit code (LP: #1771506).
  * d/p/skip-double-word-hacking-test.patch: Cherry-picked from upstream
    to work-around test_hacking failures with new versions of python
    (LP: #1782786).

 -- Sahid Orentino Ferdjaoui <sahid.ferdjaoui at canonical.com>  Thu, 16
May 2019 11:06:11 +0200

** Changed in: nova (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
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/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:
  Fix Committed
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:
  Fix Released
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