← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1269180] [NEW] [tempest] test FAILED test_l3_agent_scheduler.py:L3AgentSchedulerXML

 

Public bug reported:

ubuntu@devstack-rm3950:/opt/stack/tempest$ nosetests -x -sv tempest/api/network/admin/test_l3_agent_scheduler.py:L3AgentSchedulerXML
tempest.api.network.admin.test_l3_agent_scheduler.L3AgentSchedulerXML.test_list_l3_agents_hosting_router[gate,smoke] ... FAIL

======================================================================
FAIL: tempest.api.network.admin.test_l3_agent_scheduler.L3AgentSchedulerXML.test_list_l3_agents_hosting_router[gate,smoke]
----------------------------------------------------------------------
_StringException: pythonlogging:'': {{{
2014-01-14 22:44:49,416 Request: POST http://10.43.0.112:9696//v2.0/routers
2014-01-14 22:44:49,416 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
2014-01-14 22:44:49,416 Request Body: <?xml version="1.0" encoding="UTF-8"?>
<router ><name >router--tempest-234951986</name></router>
2014-01-14 22:44:49,448 Response Status: 201
2014-01-14 22:44:49,449 Response Headers: {'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-length': '468', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
2014-01-14 22:44:49,449 Response Body: <?xml version='1.0' encoding='UTF-8'?>
<router 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";><status>ACTIVE</status><external_gateway_info xsi:nil="true" /><name>router--tempest-234951986</name><admin_state_up quantum:type="bool">True</admin_state_up><tenant_id>2756845641ae44cfbf1017e285f5aee6</tenant_id><id>df28f418-368d-4d4b-9e3c-f45a1f128ba9</id></router>
2014-01-14 22:44:49,450 Request: POST http://10.43.0.112:5000/v2.0/tokens
2014-01-14 22:44:49,450 Request Headers: {'Content-Type': 'application/json'}
2014-01-14 22:44:49,450 Request Body: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "password"}}}
2014-01-14 22:44:49,583 Response Status: 200
2014-01-14 22:44:49,583 Response Headers: {'content-length': '8129', 'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-type': 'application/json', 'vary': 'X-Auth-Token', 'connection': 'close'}
2014-01-14 22:44:49,584 Response Body: {"access": {"token": {"issued_at": "2014-01-14T22:44:49.539842", "expires": "2014-01-15T22:44:49Z", "id": "MIIOXQYJKoZIhvcNAQcCoIIOTjCCDkoCAQExCTAHBgUrDgMCGjCCDLMGCSqGSIb3DQEHAaCCDKQEggygeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMS0xNFQyMjo0NDo0OS41Mzk4NDIiLCAiZXhwaXJlcyI6ICIyMDE0LTAxLTE1VDIyOjQ0OjQ5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMzhkYWVlOWU1NWEyNGZjMzhhNmE3MzFlMGI2Y2FkODYiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjQzLjAuMTEyOjg3NzQvdjIvMzhkYWVlOWU1NWEyNGZjMzhhNmE3MzFlMGI2Y2FkODYiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTAuNDMuMC4xMTI6ODc3NC92Mi8zOGRhZWU5ZTU1YTI0ZmMzOGE2YTczMWUwYjZjYWQ4NiIsICJpZCI6ICI0ZTRlNWI2OGNlMDc0YjlkYWYxYzg3MmIxNTcyNGIzNSIsICJwdWJsaWNVUkwiOiAiaHR0cDovLzEwLjQzLjAuMTEyOjg3NzQvdjIvMzhkYWVlOWU1NWEyNGZjMzhhNmE3MzFlMGI2Y2FkODYifV0sICJlb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MTAuNDMuMC4xMTI6ODc3NC92MyIsICJpZCI6I
2014-01-14 22:44:49,584 Large body (8129) md5 summary: edf15aacb3853ca1a5d594e90a80988b
2014-01-14 22:44:49,584 Request: GET http://10.43.0.112:9696//v2.0/routers/df28f418-368d-4d4b-9e3c-f45a1f128ba9/l3-agents
2014-01-14 22:44:49,585 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
2014-01-14 22:44:49,620 Response Status: 200
2014-01-14 22:44:49,620 Response Headers: {'content-length': '223', 'content-location': u'http://10.43.0.112:9696//v2.0/routers/df28f418-368d-4d4b-9e3c-f45a1f128ba9/l3-agents', 'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
2014-01-14 22:44:49,620 Response Body: <?xml version='1.0' encoding='UTF-8'?>
<agents quantum:type="list" 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"; />
}}}

Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/api/network/admin/test_l3_agent_scheduler.py", line 66, in test_list_l3_agents_hosting_router
    self.assertEqual(0, len(body['agents']))
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 322, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 412, in assertThat
    raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: 0 != 1

-------------------- >> begin captured logging << --------------------
tempest.common.rest_client: INFO: Request: POST http://10.43.0.112:9696//v2.0/routers
tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
tempest.common.rest_client: DEBUG: Request Body: <?xml version="1.0" encoding="UTF-8"?>
<router ><name >router--tempest-234951986</name></router>
tempest.common.rest_client: INFO: Response Status: 201
tempest.common.rest_client: DEBUG: Response Headers: {'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-length': '468', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
tempest.common.rest_client: DEBUG: Response Body: <?xml version='1.0' encoding='UTF-8'?>
<router 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";><status>ACTIVE</status><external_gateway_info xsi:nil="true" /><name>router--tempest-234951986</name><admin_state_up quantum:type="bool">True</admin_state_up><tenant_id>2756845641ae44cfbf1017e285f5aee6</tenant_id><id>df28f418-368d-4d4b-9e3c-f45a1f128ba9</id></router>
tempest.common.rest_client: INFO: Request: POST http://10.43.0.112:5000/v2.0/tokens
tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type': 'application/json'}
tempest.common.rest_client: DEBUG: Request Body: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "password"}}}
tempest.common.rest_client: INFO: Response Status: 200
tempest.common.rest_client: DEBUG: Response Headers: {'content-length': '8129', 'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-type': 'application/json', 'vary': 'X-Auth-Token', 'connection': 'close'}
tempest.common.rest_client: DEBUG: Response Body: {"access": {"token": {"issued_at": "2014-01-14T22:44:49.539842", "expires": "2014-01-15T22:44:49Z", "id": "MIIOXQYJKoZIhvcNAQcCoIIOTjCCDkoCAQExCTAHBgUrDgMCGjCCDLMGCSqGSIb3DQEHAaCCDKQEggygeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMS0xNFQyMjo0NDo0OS41Mzk4NDIiLCAiZXhwaXJlcyI6ICIyMDE0LTAxLTE1VDIyOjQ0OjQ5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMzhkYWVl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wgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEwLjQzLjAuMTEyOjg3NzYvdjIvMzhkYWVlOWU1NWEyNGZjMzhhNmE3MzFlMGI2Y2FkODYiLCAiaWQiOiAiNzY5N2MyMzljOGFjNGIwYWJjNzQ2NTJhMDllMjQ2MWQiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMC40My4wLjExMjo4Nzc2L3YyLzM4ZGFlZTllNTVhMjRmYzM4YTZhNzMxZTBiNmNhZDg2In1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogInZvbHVtZXYyIiwgIm5hbWUiOiAiY2luZGVyIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjQzLjAuMTEyOjg3NzQvdjMiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTAuNDMuMC4xMTI6ODc3NC92MyIsICJpZCI6I
tempest.common.rest_client: DEBUG: Large body (8129) md5 summary: edf15aacb3853ca1a5d594e90a80988b
tempest.common.rest_client: INFO: Request: GET http://10.43.0.112:9696//v2.0/routers/df28f418-368d-4d4b-9e3c-f45a1f128ba9/l3-agents
tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
tempest.common.rest_client: INFO: Response Status: 200
tempest.common.rest_client: DEBUG: Response Headers: {'content-length': '223', 'content-location': u'http://10.43.0.112:9696//v2.0/routers/df28f418-368d-4d4b-9e3c-f45a1f128ba9/l3-agents', 'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
tempest.common.rest_client: DEBUG: Response Body: <?xml version='1.0' encoding='UTF-8'?>
<agents quantum:type="list" 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"; />
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 1.222s

FAILED (failures=1)

** Affects: neutron
     Importance: Undecided
     Assignee: Nicolas PLANEL (nicolas-planel)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Nicolas PLANEL (nicolas-planel)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1269180

Title:
  [tempest] test FAILED test_l3_agent_scheduler.py:L3AgentSchedulerXML

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  ubuntu@devstack-rm3950:/opt/stack/tempest$ nosetests -x -sv tempest/api/network/admin/test_l3_agent_scheduler.py:L3AgentSchedulerXML
  tempest.api.network.admin.test_l3_agent_scheduler.L3AgentSchedulerXML.test_list_l3_agents_hosting_router[gate,smoke] ... FAIL

  ======================================================================
  FAIL: tempest.api.network.admin.test_l3_agent_scheduler.L3AgentSchedulerXML.test_list_l3_agents_hosting_router[gate,smoke]
  ----------------------------------------------------------------------
  _StringException: pythonlogging:'': {{{
  2014-01-14 22:44:49,416 Request: POST http://10.43.0.112:9696//v2.0/routers
  2014-01-14 22:44:49,416 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
  2014-01-14 22:44:49,416 Request Body: <?xml version="1.0" encoding="UTF-8"?>
  <router ><name >router--tempest-234951986</name></router>
  2014-01-14 22:44:49,448 Response Status: 201
  2014-01-14 22:44:49,449 Response Headers: {'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-length': '468', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
  2014-01-14 22:44:49,449 Response Body: <?xml version='1.0' encoding='UTF-8'?>
  <router 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";><status>ACTIVE</status><external_gateway_info xsi:nil="true" /><name>router--tempest-234951986</name><admin_state_up quantum:type="bool">True</admin_state_up><tenant_id>2756845641ae44cfbf1017e285f5aee6</tenant_id><id>df28f418-368d-4d4b-9e3c-f45a1f128ba9</id></router>
  2014-01-14 22:44:49,450 Request: POST http://10.43.0.112:5000/v2.0/tokens
  2014-01-14 22:44:49,450 Request Headers: {'Content-Type': 'application/json'}
  2014-01-14 22:44:49,450 Request Body: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "password"}}}
  2014-01-14 22:44:49,583 Response Status: 200
  2014-01-14 22:44:49,583 Response Headers: {'content-length': '8129', 'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-type': 'application/json', 'vary': 'X-Auth-Token', 'connection': 'close'}
  2014-01-14 22:44:49,584 Response Body: {"access": {"token": {"issued_at": "2014-01-14T22:44:49.539842", "expires": "2014-01-15T22:44:49Z", "id": "MIIOXQYJKoZIhvcNAQcCoIIOTjCCDkoCAQExCTAHBgUrDgMCGjCCDLMGCSqGSIb3DQEHAaCCDKQEggygeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMS0xNFQyMjo0NDo0OS41Mzk4NDIiLCAiZXhwaXJlcyI6ICIyMDE0LTAxLTE1VDIyOjQ0OjQ5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMzhkYWVlOWU1NWEyNGZjMzhhNmE3MzFlMGI2Y2FkODYiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjQzLjAuMTEyOjg3NzQvdjIvMzhkYWVlOWU1NWEyNGZjMzhhNmE3MzFlMGI2Y2FkODYiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJ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3YyLzM4ZGFlZTllNTVhMjRmYzM4YTZhNzMxZTBiNmNhZDg2In1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogInZvbHVtZXYyIiwgIm5hbWUiOiAiY2luZGVyIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjQzLjAuMTEyOjg3NzQvdjMiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTAuNDMuMC4xMTI6ODc3NC92MyIsICJpZCI6I
  2014-01-14 22:44:49,584 Large body (8129) md5 summary: edf15aacb3853ca1a5d594e90a80988b
  2014-01-14 22:44:49,584 Request: GET http://10.43.0.112:9696//v2.0/routers/df28f418-368d-4d4b-9e3c-f45a1f128ba9/l3-agents
  2014-01-14 22:44:49,585 Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
  2014-01-14 22:44:49,620 Response Status: 200
  2014-01-14 22:44:49,620 Response Headers: {'content-length': '223', 'content-location': u'http://10.43.0.112:9696//v2.0/routers/df28f418-368d-4d4b-9e3c-f45a1f128ba9/l3-agents', 'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
  2014-01-14 22:44:49,620 Response Body: <?xml version='1.0' encoding='UTF-8'?>
  <agents quantum:type="list" 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"; />
  }}}

  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/api/network/admin/test_l3_agent_scheduler.py", line 66, in test_list_l3_agents_hosting_router
      self.assertEqual(0, len(body['agents']))
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 322, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 412, in assertThat
      raise MismatchError(matchee, matcher, mismatch, verbose)
  MismatchError: 0 != 1

  -------------------- >> begin captured logging << --------------------
  tempest.common.rest_client: INFO: Request: POST http://10.43.0.112:9696//v2.0/routers
  tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
  tempest.common.rest_client: DEBUG: Request Body: <?xml version="1.0" encoding="UTF-8"?>
  <router ><name >router--tempest-234951986</name></router>
  tempest.common.rest_client: INFO: Response Status: 201
  tempest.common.rest_client: DEBUG: Response Headers: {'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-length': '468', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
  tempest.common.rest_client: DEBUG: Response Body: <?xml version='1.0' encoding='UTF-8'?>
  <router 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";><status>ACTIVE</status><external_gateway_info xsi:nil="true" /><name>router--tempest-234951986</name><admin_state_up quantum:type="bool">True</admin_state_up><tenant_id>2756845641ae44cfbf1017e285f5aee6</tenant_id><id>df28f418-368d-4d4b-9e3c-f45a1f128ba9</id></router>
  tempest.common.rest_client: INFO: Request: POST http://10.43.0.112:5000/v2.0/tokens
  tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type': 'application/json'}
  tempest.common.rest_client: DEBUG: Request Body: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "password"}}}
  tempest.common.rest_client: INFO: Response Status: 200
  tempest.common.rest_client: DEBUG: Response Headers: {'content-length': '8129', 'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-type': 'application/json', 'vary': 'X-Auth-Token', 'connection': 'close'}
  tempest.common.rest_client: DEBUG: Response Body: {"access": {"token": {"issued_at": "2014-01-14T22:44:49.539842", "expires": "2014-01-15T22:44:49Z", "id": "MIIOXQYJKoZIhvcNAQcCoIIOTjCCDko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jM3MjFjYTVkOGE0NDJiNGJjZWY5YThhYzMyMzIxYjQiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMC40My4wLjExMjo5Njk2LyJ9XSwgImVuZHBvaW50c19saW5rcyI6IFtdLCAidHlwZSI6ICJuZXR3b3JrIiwgIm5hbWUiOiAibmV1dHJvbiJ9LCB7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly8xMC40My4wLjExMjo4Nzc2L3YyLzM4ZGFlZTllNTVhMjRmYzM4YTZhNzMxZTBiNmNhZDg2IiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEwLjQzLjAuMTEyOjg3NzYvdjIvMzhkYWVlOWU1NWEyNGZjMzhhNmE3MzFlMGI2Y2FkODYiLCAiaWQiOiAiNzY5N2MyMzljOGFjNGIwYWJjNzQ2NTJhMDllMjQ2MWQiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMC40My4wLjExMjo4Nzc2L3YyLzM4ZGFlZTllNTVhMjRmYzM4YTZhNzMxZTBiNmNhZDg2In1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogInZvbHVtZXYyIiwgIm5hbWUiOiAiY2luZGVyIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjQzLjAuMTEyOjg3NzQvdjMiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTAuNDMuMC4xMTI6ODc3NC92MyIsICJpZCI6I
  tempest.common.rest_client: DEBUG: Large body (8129) md5 summary: edf15aacb3853ca1a5d594e90a80988b
  tempest.common.rest_client: INFO: Request: GET http://10.43.0.112:9696//v2.0/routers/df28f418-368d-4d4b-9e3c-f45a1f128ba9/l3-agents
  tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type': 'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token omitted>'}
  tempest.common.rest_client: INFO: Response Status: 200
  tempest.common.rest_client: DEBUG: Response Headers: {'content-length': '223', 'content-location': u'http://10.43.0.112:9696//v2.0/routers/df28f418-368d-4d4b-9e3c-f45a1f128ba9/l3-agents', 'date': 'Tue, 14 Jan 2014 22:44:49 GMT', 'content-type': 'application/xml; charset=UTF-8', 'connection': 'close'}
  tempest.common.rest_client: DEBUG: Response Body: <?xml version='1.0' encoding='UTF-8'?>
  <agents quantum:type="list" 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"; />
  --------------------- >> end captured logging << ---------------------

  ----------------------------------------------------------------------
  Ran 1 test in 1.222s

  FAILED (failures=1)

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


Follow ups

References