From 839377b3b9c18ebf73cd6a7bfeb85d73f548d6b7 Mon Sep 17 00:00:00 2001 From: xudan Date: Wed, 8 Aug 2018 03:08:03 -0400 Subject: Remove one sub test cases from neutron trunk There is one sub test case that can't work correctly on Mitaka, neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_update_trunk_with_description It will get a 'Bad request' error. Details: {u'message': u"Unrecognized attribute(s) 'description'", u'type': u'HTTPBadRequest', u'detail': u''}. That's mainly because of that, For Mitaka, there's only several extension resources that support attribute 'description', which is 'security_group_rules', 'security_groups', 'ports', 'subnets', 'networks', 'routers', 'floatingips' and 'subnetpools'. All other extension resources including trunk port can't create with description. See https://github.com/openstack/neutron/blob/mitaka-eol/neutron/extensions/standardattrdescription.py#L22 For Newton, all subclasses of class 'HasStandardAttributes' support the attribute 'description' including class Trunk. See https://github.com/openstack/neutron/blob/newton-eol/neutron/extensions/standardattrdescription.py#L49, https://github.com/openstack/neutron/blob/newton-eol/neutron/db/standard_attr.py#L158 and https://github.com/openstack/neutron/blob/newton-eol/neutron/services/trunk/models.py#L26 JIRA: DOVETAIL-723 Change-Id: Ifdfea7c54a1888d933c8ddd78a6feea1db93368c Signed-off-by: xudan --- etc/testcase/functest.tempest.trunk-ports.yml | 1 - 1 file changed, 1 deletion(-) (limited to 'etc') diff --git a/etc/testcase/functest.tempest.trunk-ports.yml b/etc/testcase/functest.tempest.trunk-ports.yml index 6985e46d..b0b8726a 100644 --- a/etc/testcase/functest.tempest.trunk-ports.yml +++ b/etc/testcase/functest.tempest.trunk-ports.yml @@ -23,7 +23,6 @@ functest.tempest.neutron_trunk_ports: - neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_show_delete_trunk - neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_trunk_empty_subports_list - neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_trunk_subports_not_specified - - neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_update_trunk_with_description - neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_delete_trunk_with_subport_is_allowed - neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_get_subports - neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_list_trunks -- cgit 1.2.3-korg