Public bug reported: Currently 'tox -epy27' emits 318 FutureWarnings from oslo.versionedobjects about invalid uuids. When invalid uuids are used in the test cases, tox gives FutureWarnings.
Steps to reproduce: Run tox -epy27 command. Sample Output: {3}nova.tests.unit.api.openstack.compute.legacy_v2.test_servers.ServersControllerCreateTest.test_create_instance_with_disk_config_disabled [0.266687s] ... ok {1}nova.tests.unit.api.openstack.compute.test_server_groups.ServerGroupTestV2.test_create_server_group_with_duplicate_policies [0.059925s] ... ok {0} nova.tests.unit.api.openstack.compute.test_server_group_quotas.ServerGroupQuotasTestV2.test_delete_server_group_by_id [0.128866s] ... ok Captured stderr: ~~~~~~~~~~~~~~~~ /opt/stack/nova/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/fields.py:325: FutureWarning: fake-uuid is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField for further details "for further details" % value, FutureWarning) ** Affects: nova Importance: Undecided Assignee: Srushti Gadadare (srushti-gadadare) Status: In Progress ** Changed in: nova Assignee: (unassigned) => Srushti Gadadare (srushti-gadadare) ** Changed in: nova Status: New => In Progress -- 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/1557378 Title: tox gives invalid uuid warnings in unit test Status in OpenStack Compute (nova): In Progress Bug description: Currently 'tox -epy27' emits 318 FutureWarnings from oslo.versionedobjects about invalid uuids. When invalid uuids are used in the test cases, tox gives FutureWarnings. Steps to reproduce: Run tox -epy27 command. Sample Output: {3}nova.tests.unit.api.openstack.compute.legacy_v2.test_servers.ServersControllerCreateTest.test_create_instance_with_disk_config_disabled [0.266687s] ... ok {1}nova.tests.unit.api.openstack.compute.test_server_groups.ServerGroupTestV2.test_create_server_group_with_duplicate_policies [0.059925s] ... ok {0} nova.tests.unit.api.openstack.compute.test_server_group_quotas.ServerGroupQuotasTestV2.test_delete_server_group_by_id [0.128866s] ... ok Captured stderr: ~~~~~~~~~~~~~~~~ /opt/stack/nova/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/fields.py:325: FutureWarning: fake-uuid is an invalid UUID. Using UUIDFields with invalid UUIDs is no longer supported, and will be removed in a future release. Please update your code to input valid UUIDs or accept ValueErrors for invalid UUIDs. See http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField for further details "for further details" % value, FutureWarning) To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1557378/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp