← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1832670] [NEW] DeprecationWarning: Flags not at the start of the expression '\\\\Aqu..*\\\\Z(?s)'"

 

Public bug reported:

In unit tests on python 3 (3.6 and python 3.7), the following warning is
output.

2019-06-10 05:13:23.883288 | ubuntu-bionic | {3} nova.tests.unit.test_utils.ResourceFilterTestCase.test_filter_and_format_resource_metadata [0.022234s] ... ok
2019-06-10 05:13:23.883384 | ubuntu-bionic |
2019-06-10 05:13:23.883420 | ubuntu-bionic | Captured stderr:
2019-06-10 05:13:23.883449 | ubuntu-bionic | ~~~~~~~~~~~~~~~~
2019-06-10 05:13:23.883580 | ubuntu-bionic |     b"/home/zuul/src/opendev.org/openstack/nova/nova/utils.py:1039: DeprecationWarning: Flags not at the start of the expression '\\\\Aqu..*\\\\Z(?s)'"
2019-06-10 05:13:23.883631 | ubuntu-bionic |     b'  for pattern in pattern_list])'
2019-06-10 05:13:23.883658 | ubuntu-bionic |     b''

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: In Progress


** Tags: testing

-- 
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/1832670

Title:
  DeprecationWarning: Flags not at the start of the expression
  '\\\\Aqu..*\\\\Z(?s)'"

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  In unit tests on python 3 (3.6 and python 3.7), the following warning
  is output.

  2019-06-10 05:13:23.883288 | ubuntu-bionic | {3} nova.tests.unit.test_utils.ResourceFilterTestCase.test_filter_and_format_resource_metadata [0.022234s] ... ok
  2019-06-10 05:13:23.883384 | ubuntu-bionic |
  2019-06-10 05:13:23.883420 | ubuntu-bionic | Captured stderr:
  2019-06-10 05:13:23.883449 | ubuntu-bionic | ~~~~~~~~~~~~~~~~
  2019-06-10 05:13:23.883580 | ubuntu-bionic |     b"/home/zuul/src/opendev.org/openstack/nova/nova/utils.py:1039: DeprecationWarning: Flags not at the start of the expression '\\\\Aqu..*\\\\Z(?s)'"
  2019-06-10 05:13:23.883631 | ubuntu-bionic |     b'  for pattern in pattern_list])'
  2019-06-10 05:13:23.883658 | ubuntu-bionic |     b''

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


Follow ups