yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10028
[Bug 1282352] [NEW] Neutron Tempest XML tests fail for Cisco N1KV plugin
Public bug reported:
While running Neutron Tempest tests for Cisco N1KV plugin, XML tests
fail with the following trace:
FAIL: tempest.api.network.test_networks.BulkNetworkOpsTestXML.test_bulk_create_delete_network[gate,smoke]
tags: worker-0
----------------------------------------------------------------------
Empty attachments:
stderr
stdout
pythonlogging:'': {{{
2014-02-13 11:08:50,454 Request: POST http://192.168.255.184:9696/v2.0/networks
2014-02-13 11:08:50,454 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
2014-02-13 11:08:50,454 Request Body: <?xml version="1.0" encoding="UTF-8"?>
<networks xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><network ><name >network--331846832</name></network><network ><name >network--859697792</name></network></networks>
2014-02-13 11:08:51,051 Response Status: 201
2014-02-13 11:08:51,051 Glance request id req-b2eb0771-614b-4edd-a4f8-df8c9f60e0dd
2014-02-13 11:08:51,051 Response Headers: {'content-length': '962', 'date': 'Thu, 13 Feb 2014 19:08:51 GMT', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
2014-02-13 11:08:51,051 Response Body: <?xml version='1.0' encoding='UTF-8'?>
<networks xmlns="http://openstack.org/quantum/api/v2.0" xmlns:quantum="http://openstack.org/quantum/api/v2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><network><status>ACTIVE</status><subnets quantum:type="list" /><name>network--331846832</name><admin_state_up quantum:type="bool">True</admin_state_up><tenant_id>770dbef985aa4f3583880717ea3ac943</tenant_id><n1kv:profile_id>1e82eb72-5514-4972-a76a-b1202e46c057</n1kv:profile_id><shared quantum:type="bool">False</shared><id>908124c9-f76c-4861-a875-21f9793d09f7</id></network><network><status>ACTIVE</status><subnets quantum:type="list" /><name>network--859697792</name><admin_state_up quantum:type="bool">True</admin_state_up><tenant_id>770dbef985aa4f3583880717ea3ac943</tenant_id><n1kv:profile_id>1e82eb72-5514-4972-a76a-b1202e46c057</n1kv:profile_id><shared quantum:type="bool">False</shared><id>50fff0cb-e592-4916-b7f2-1047c9174705</id></network></networks>
}}}
Traceback (most recent call last):
File "tempest/api/network/test_networks.py", line 311, in test_bulk_create_delete_network
resp, body = self.client.create_bulk_network(2, network_names)
File "tempest/services/network/network_client_base.py", line 186, in create_bulk_network
body = {'networks': self.deserialize_list(body)}
File "tempest/services/network/xml/network_client.py", line 43, in deserialize_list
return parse_array(etree.fromstring(body), self.PLURALS)
File "lxml.etree.pyx", line 2754, in lxml.etree.fromstring (src/lxml/lxml.etree.c:54631)
File "parser.pxi", line 1578, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:82748)
File "parser.pxi", line 1457, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:81546)
File "parser.pxi", line 965, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:78216)
File "parser.pxi", line 569, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:74472)
File "parser.pxi", line 650, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:75363)
File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74696)
XMLSyntaxError: Namespace prefix n1kv on profile_id is not defined, line 2, column 211
** Affects: neutron
Importance: Undecided
Assignee: Sourabh Patwardhan (sopatwar)
Status: New
** Changed in: neutron
Assignee: (unassigned) => Sourabh Patwardhan (sopatwar)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1282352
Title:
Neutron Tempest XML tests fail for Cisco N1KV plugin
Status in OpenStack Neutron (virtual network service):
New
Bug description:
While running Neutron Tempest tests for Cisco N1KV plugin, XML tests
fail with the following trace:
FAIL: tempest.api.network.test_networks.BulkNetworkOpsTestXML.test_bulk_create_delete_network[gate,smoke]
tags: worker-0
----------------------------------------------------------------------
Empty attachments:
stderr
stdout
pythonlogging:'': {{{
2014-02-13 11:08:50,454 Request: POST http://192.168.255.184:9696/v2.0/networks
2014-02-13 11:08:50,454 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
2014-02-13 11:08:50,454 Request Body: <?xml version="1.0" encoding="UTF-8"?>
<networks xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><network ><name >network--331846832</name></network><network ><name >network--859697792</name></network></networks>
2014-02-13 11:08:51,051 Response Status: 201
2014-02-13 11:08:51,051 Glance request id req-b2eb0771-614b-4edd-a4f8-df8c9f60e0dd
2014-02-13 11:08:51,051 Response Headers: {'content-length': '962', 'date': 'Thu, 13 Feb 2014 19:08:51 GMT', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
2014-02-13 11:08:51,051 Response Body: <?xml version='1.0' encoding='UTF-8'?>
<networks xmlns="http://openstack.org/quantum/api/v2.0" xmlns:quantum="http://openstack.org/quantum/api/v2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><network><status>ACTIVE</status><subnets quantum:type="list" /><name>network--331846832</name><admin_state_up quantum:type="bool">True</admin_state_up><tenant_id>770dbef985aa4f3583880717ea3ac943</tenant_id><n1kv:profile_id>1e82eb72-5514-4972-a76a-b1202e46c057</n1kv:profile_id><shared quantum:type="bool">False</shared><id>908124c9-f76c-4861-a875-21f9793d09f7</id></network><network><status>ACTIVE</status><subnets quantum:type="list" /><name>network--859697792</name><admin_state_up quantum:type="bool">True</admin_state_up><tenant_id>770dbef985aa4f3583880717ea3ac943</tenant_id><n1kv:profile_id>1e82eb72-5514-4972-a76a-b1202e46c057</n1kv:profile_id><shared quantum:type="bool">False</shared><id>50fff0cb-e592-4916-b7f2-1047c9174705</id></network></networks>
}}}
Traceback (most recent call last):
File "tempest/api/network/test_networks.py", line 311, in test_bulk_create_delete_network
resp, body = self.client.create_bulk_network(2, network_names)
File "tempest/services/network/network_client_base.py", line 186, in create_bulk_network
body = {'networks': self.deserialize_list(body)}
File "tempest/services/network/xml/network_client.py", line 43, in deserialize_list
return parse_array(etree.fromstring(body), self.PLURALS)
File "lxml.etree.pyx", line 2754, in lxml.etree.fromstring (src/lxml/lxml.etree.c:54631)
File "parser.pxi", line 1578, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:82748)
File "parser.pxi", line 1457, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:81546)
File "parser.pxi", line 965, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:78216)
File "parser.pxi", line 569, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:74472)
File "parser.pxi", line 650, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:75363)
File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74696)
XMLSyntaxError: Namespace prefix n1kv on profile_id is not defined, line 2, column 211
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1282352/+subscriptions
Follow ups
References