yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #85938
[Bug 1926399] Re: UT failing with sqlalchemy 1.4
Reviewed: https://review.opendev.org/c/openstack/neutron/+/788463
Committed: https://opendev.org/openstack/neutron/commit/de295f036df2cedec9de4c25f344ebb770f66e0a
Submitter: "Zuul (22348)"
Branch: master
commit de295f036df2cedec9de4c25f344ebb770f66e0a
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Wed Apr 28 09:36:07 2021 +0000
Do not include dynamically loaded values into OVO testing
Those OVO values loaded dynamically (for example [1]) should not be
added to the tested object. A dynamic column in a DB register is a
``sqlalchemy.orm.AppenderQuery`` object that represents the needed
query to retrieve this value.
These OVO fields, mapped from the DB object, should be considered as
synthetic fields and not be included in
``_BaseObjectTestCase.obj_fields``.
[1]https://github.com/openstack/neutron/blob/ff2464bf33f1c84bd8525eca68c5774f5e14f1f1/neutron/db/models/securitygroup.py#L103-L106
Closes-Bug: #1926399
Change-Id: I4b59dbc71316eede52b22c0788de5fd682fbff30
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1926399
Title:
UT failing with sqlalchemy 1.4
Status in masakari:
Triaged
Status in neutron:
Fix Released
Status in OpenStack Compute (nova):
Triaged
Status in oslo.db:
Confirmed
Bug description:
See job cross-neutron-py36 in test patch
https://review.opendev.org/c/openstack/requirements/+/788339/
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_ac7/788339/1/check
/cross-neutron-py36/ac77335/testr_results.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/masakari/+bug/1926399/+subscriptions
References