← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1505108] [NEW] neutron_lbaas.tests.tempest.v2.api.test_listeners_admin failed _check_status_tree

 

Public bug reported:

Listener admin tests sometimes fail on _check_status_tree with assertion
error even though GET requests return "ONLINE" operating status which is
actually expected.

2015-10-09 15:14:51.778 | 2015-10-09 15:14:51.748 | neutron_lbaas.tests.tempest.v2.api.test_listeners_admin.ListenersTestJSON.test_create_listener_missing_tenant_id[smoke]
2015-10-09 15:14:51.779 | 2015-10-09 15:14:51.749 | -----------------------------------------------------------------------------------------------------------------------
2015-10-09 15:14:51.779 | 2015-10-09 15:14:51.750 | 
2015-10-09 15:14:51.780 | 2015-10-09 15:14:51.751 | Captured pythonlogging:
2015-10-09 15:14:51.781 | 2015-10-09 15:14:51.753 | ~~~~~~~~~~~~~~~~~~~~~~~
2015-10-09 15:14:51.781 | 2015-10-09 15:14:51.754 |     2015-10-09 15:12:52,832 3477 INFO     [tempest_lib.common.rest_client] Request (ListenersTestJSON:test_create_listener_missing_tenant_id): 201 POST http://127.0.0.1:9696/v2.0/lbaas/listeners 0.418s
2015-10-09 15:14:51.782 | 2015-10-09 15:14:51.755 |     2015-10-09 15:12:52,832 3477 DEBUG    [tempest_lib.common.rest_client] Request - Headers: {'Accept': 'application/json', 'X-Auth-Token': '<omitted>', 'Content-Type': 'application/json'}
2015-10-09 15:14:51.782 | 2015-10-09 15:14:51.757 |             Body: {"listener": {"protocol": "HTTP", "protocol_port": 8081, "loadbalancer_id": "644fa0ee-1b23-479b-9519-7cba0412e379", "tenant_id": "&^%123"}}
2015-10-09 15:14:51.783 | 2015-10-09 15:14:51.759 |         Response - Headers: {'x-openstack-request-id': 'req-5c111076-b7cb-455d-b734-49357aa7651a', 'connection': 'close', 'date': 'Fri, 09 Oct 2015 15:12:52 GMT', 'content-length': '358', 'status': '201', 'content-type': 'application/json; charset=UTF-8'}
2015-10-09 15:14:51.784 | 2015-10-09 15:14:51.760 |             Body: {"listener": {"protocol_port": 8081, "protocol": "HTTP", "description": "", "default_tls_container_ref": null, "admin_state_up": true, "loadbalancers": [{"id": "644fa0ee-1b23-479b-9519-7cba0412e379"}], "tenant_id": "&^%123", "sni_container_refs": [], "connection_limit": -1, "default_pool_id": null, "id": "15cb1fd4-554c-4b8b-a6a1-5f11d3049690", "name": ""}}
2015-10-09 15:14:51.784 | 2015-10-09 15:14:51.761 |     2015-10-09 15:12:52,879 3477 INFO     [tempest_lib.common.rest_client] Request (ListenersTestJSON:test_create_listener_missing_tenant_id): 200 GET http://127.0.0.1:9696/v2.0/lbaas/loadbalancers/644fa0ee-1b23-479b-9519-7cba0412e379 0.047s
2015-10-09 15:14:51.785 | 2015-10-09 15:14:51.762 |     2015-10-09 15:12:52,880 3477 DEBUG    [tempest_lib.common.rest_client] Request - Headers: {'Accept': 'application/json', 'X-Auth-Token': '<omitted>', 'Content-Type': 'application/json'}
2015-10-09 15:14:51.785 | 2015-10-09 15:14:51.764 |             Body: None
2015-10-09 15:14:51.786 | 2015-10-09 15:14:51.765 |         Response - Headers: {'x-openstack-request-id': 'req-f989fe2e-4190-4067-b8e6-45747196a426', 'connection': 'close', 'date': 'Fri, 09 Oct 2015 15:12:52 GMT', 'content-length': '514', 'status': '200', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://127.0.0.1:9696/v2.0/lbaas/loadbalancers/644fa0ee-1b23-479b-9519-7cba0412e379'}
2015-10-09 15:14:51.787 | 2015-10-09 15:14:51.766 |             Body: {"loadbalancer": {"description": "", "admin_state_up": true, "tenant_id": "50fd1aa071ad418699bc5e7a7a59ac7b", "provisioning_status": "PENDING_UPDATE", "listeners": [{"id": "94cdeb3e-56b0-4ce8-ae30-6df89eece717"}, {"id": "15cb1fd4-554c-4b8b-a6a1-5f11d3049690"}], "vip_address": "10.100.0.3", "vip_port_id": "ee1b2c7e-9008-4ede-a823-bdca32914fe4", "provider": "octavia", "vip_subnet_id": "2f2b33e4-a3e4-4fbb-bef5-c8b882a14f47", "id": "644fa0ee-1b23-479b-9519-7cba0412e379", "operating_status": "ONLINE", "name": ""}}

<...skip...>

2015-10-09 15:14:51.848 | 2015-10-09 15:14:51.819 |     2015-10-09 15:13:00,665 3477 INFO     [tempest_lib.common.rest_client] Request (ListenersTestJSON:_run_cleanups): 200 GET http://127.0.0.1:9696/v2.0/lbaas/loadbalancers/644fa0ee-1b23-479b-9519-7cba0412e379 0.047s
2015-10-09 15:14:51.848 | 2015-10-09 15:14:51.820 |     2015-10-09 15:13:00,665 3477 DEBUG    [tempest_lib.common.rest_client] Request - Headers: {'Accept': 'application/json', 'X-Auth-Token': '<omitted>', 'Content-Type': 'application/json'}
2015-10-09 15:14:51.849 | 2015-10-09 15:14:51.821 |             Body: None
2015-10-09 15:14:51.850 | 2015-10-09 15:14:51.822 |         Response - Headers: {'x-openstack-request-id': 'req-8354b467-6599-49fb-9f24-49dae3355dfc', 'connection': 'close', 'date': 'Fri, 09 Oct 2015 15:13:00 GMT', 'content-length': '458', 'status': '200', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://127.0.0.1:9696/v2.0/lbaas/loadbalancers/644fa0ee-1b23-479b-9519-7cba0412e379'}
2015-10-09 15:14:51.851 | 2015-10-09 15:14:51.823 |             Body: {"loadbalancer": {"description": "", "admin_state_up": true, "tenant_id": "50fd1aa071ad418699bc5e7a7a59ac7b", "provisioning_status": "ACTIVE", "listeners": [{"id": "94cdeb3e-56b0-4ce8-ae30-6df89eece717"}], "vip_address": "10.100.0.3", "vip_port_id": "ee1b2c7e-9008-4ede-a823-bdca32914fe4", "provider": "octavia", "vip_subnet_id": "2f2b33e4-a3e4-4fbb-bef5-c8b882a14f47", "id": "644fa0ee-1b23-479b-9519-7cba0412e379", "operating_status": "ONLINE", "name": ""}}
2015-10-09 15:14:51.852 | 2015-10-09 15:14:51.824 |     
2015-10-09 15:14:51.853 | 2015-10-09 15:14:51.826 | 
2015-10-09 15:14:51.853 | 2015-10-09 15:14:51.827 | Captured traceback:
2015-10-09 15:14:51.854 | 2015-10-09 15:14:51.828 | ~~~~~~~~~~~~~~~~~~~
2015-10-09 15:14:51.855 | 2015-10-09 15:14:51.829 |     Traceback (most recent call last):
2015-10-09 15:14:51.855 | 2015-10-09 15:14:51.830 |       File "neutron_lbaas/tests/tempest/v2/api/test_listeners_admin.py", line 113, in test_create_listener_missing_tenant_id
2015-10-09 15:14:51.856 | 2015-10-09 15:14:51.831 |         listener_ids=[self.listener_id, admin_listener_id])
2015-10-09 15:14:51.857 | 2015-10-09 15:14:51.833 |       File "neutron_lbaas/tests/tempest/v2/api/base.py", line 290, in _check_status_tree
2015-10-09 15:14:51.858 | 2015-10-09 15:14:51.834 |         assert 'ONLINE' == load_balancer['operating_status']
2015-10-09 15:14:51.858 | 2015-10-09 15:14:51.835 |     AssertionError

Full trace: http://logs.openstack.org/51/223651/5/check/gate-neutron-
lbaasv2-dsvm-listener/714b57e/console.html.gz

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: lbaas

** Tags added: lbaas

** Summary changed:

- neutron_lbaas.tests.tempest.v2.api.test_listeners_admin faild _check_status_tree
+ neutron_lbaas.tests.tempest.v2.api.test_listeners_admin failed _check_status_tree

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

Title:
  neutron_lbaas.tests.tempest.v2.api.test_listeners_admin failed
  _check_status_tree

Status in neutron:
  New

Bug description:
  Listener admin tests sometimes fail on _check_status_tree with
  assertion error even though GET requests return "ONLINE" operating
  status which is actually expected.

  2015-10-09 15:14:51.778 | 2015-10-09 15:14:51.748 | neutron_lbaas.tests.tempest.v2.api.test_listeners_admin.ListenersTestJSON.test_create_listener_missing_tenant_id[smoke]
  2015-10-09 15:14:51.779 | 2015-10-09 15:14:51.749 | -----------------------------------------------------------------------------------------------------------------------
  2015-10-09 15:14:51.779 | 2015-10-09 15:14:51.750 | 
  2015-10-09 15:14:51.780 | 2015-10-09 15:14:51.751 | Captured pythonlogging:
  2015-10-09 15:14:51.781 | 2015-10-09 15:14:51.753 | ~~~~~~~~~~~~~~~~~~~~~~~
  2015-10-09 15:14:51.781 | 2015-10-09 15:14:51.754 |     2015-10-09 15:12:52,832 3477 INFO     [tempest_lib.common.rest_client] Request (ListenersTestJSON:test_create_listener_missing_tenant_id): 201 POST http://127.0.0.1:9696/v2.0/lbaas/listeners 0.418s
  2015-10-09 15:14:51.782 | 2015-10-09 15:14:51.755 |     2015-10-09 15:12:52,832 3477 DEBUG    [tempest_lib.common.rest_client] Request - Headers: {'Accept': 'application/json', 'X-Auth-Token': '<omitted>', 'Content-Type': 'application/json'}
  2015-10-09 15:14:51.782 | 2015-10-09 15:14:51.757 |             Body: {"listener": {"protocol": "HTTP", "protocol_port": 8081, "loadbalancer_id": "644fa0ee-1b23-479b-9519-7cba0412e379", "tenant_id": "&^%123"}}
  2015-10-09 15:14:51.783 | 2015-10-09 15:14:51.759 |         Response - Headers: {'x-openstack-request-id': 'req-5c111076-b7cb-455d-b734-49357aa7651a', 'connection': 'close', 'date': 'Fri, 09 Oct 2015 15:12:52 GMT', 'content-length': '358', 'status': '201', 'content-type': 'application/json; charset=UTF-8'}
  2015-10-09 15:14:51.784 | 2015-10-09 15:14:51.760 |             Body: {"listener": {"protocol_port": 8081, "protocol": "HTTP", "description": "", "default_tls_container_ref": null, "admin_state_up": true, "loadbalancers": [{"id": "644fa0ee-1b23-479b-9519-7cba0412e379"}], "tenant_id": "&^%123", "sni_container_refs": [], "connection_limit": -1, "default_pool_id": null, "id": "15cb1fd4-554c-4b8b-a6a1-5f11d3049690", "name": ""}}
  2015-10-09 15:14:51.784 | 2015-10-09 15:14:51.761 |     2015-10-09 15:12:52,879 3477 INFO     [tempest_lib.common.rest_client] Request (ListenersTestJSON:test_create_listener_missing_tenant_id): 200 GET http://127.0.0.1:9696/v2.0/lbaas/loadbalancers/644fa0ee-1b23-479b-9519-7cba0412e379 0.047s
  2015-10-09 15:14:51.785 | 2015-10-09 15:14:51.762 |     2015-10-09 15:12:52,880 3477 DEBUG    [tempest_lib.common.rest_client] Request - Headers: {'Accept': 'application/json', 'X-Auth-Token': '<omitted>', 'Content-Type': 'application/json'}
  2015-10-09 15:14:51.785 | 2015-10-09 15:14:51.764 |             Body: None
  2015-10-09 15:14:51.786 | 2015-10-09 15:14:51.765 |         Response - Headers: {'x-openstack-request-id': 'req-f989fe2e-4190-4067-b8e6-45747196a426', 'connection': 'close', 'date': 'Fri, 09 Oct 2015 15:12:52 GMT', 'content-length': '514', 'status': '200', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://127.0.0.1:9696/v2.0/lbaas/loadbalancers/644fa0ee-1b23-479b-9519-7cba0412e379'}
  2015-10-09 15:14:51.787 | 2015-10-09 15:14:51.766 |             Body: {"loadbalancer": {"description": "", "admin_state_up": true, "tenant_id": "50fd1aa071ad418699bc5e7a7a59ac7b", "provisioning_status": "PENDING_UPDATE", "listeners": [{"id": "94cdeb3e-56b0-4ce8-ae30-6df89eece717"}, {"id": "15cb1fd4-554c-4b8b-a6a1-5f11d3049690"}], "vip_address": "10.100.0.3", "vip_port_id": "ee1b2c7e-9008-4ede-a823-bdca32914fe4", "provider": "octavia", "vip_subnet_id": "2f2b33e4-a3e4-4fbb-bef5-c8b882a14f47", "id": "644fa0ee-1b23-479b-9519-7cba0412e379", "operating_status": "ONLINE", "name": ""}}

  <...skip...>

  2015-10-09 15:14:51.848 | 2015-10-09 15:14:51.819 |     2015-10-09 15:13:00,665 3477 INFO     [tempest_lib.common.rest_client] Request (ListenersTestJSON:_run_cleanups): 200 GET http://127.0.0.1:9696/v2.0/lbaas/loadbalancers/644fa0ee-1b23-479b-9519-7cba0412e379 0.047s
  2015-10-09 15:14:51.848 | 2015-10-09 15:14:51.820 |     2015-10-09 15:13:00,665 3477 DEBUG    [tempest_lib.common.rest_client] Request - Headers: {'Accept': 'application/json', 'X-Auth-Token': '<omitted>', 'Content-Type': 'application/json'}
  2015-10-09 15:14:51.849 | 2015-10-09 15:14:51.821 |             Body: None
  2015-10-09 15:14:51.850 | 2015-10-09 15:14:51.822 |         Response - Headers: {'x-openstack-request-id': 'req-8354b467-6599-49fb-9f24-49dae3355dfc', 'connection': 'close', 'date': 'Fri, 09 Oct 2015 15:13:00 GMT', 'content-length': '458', 'status': '200', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://127.0.0.1:9696/v2.0/lbaas/loadbalancers/644fa0ee-1b23-479b-9519-7cba0412e379'}
  2015-10-09 15:14:51.851 | 2015-10-09 15:14:51.823 |             Body: {"loadbalancer": {"description": "", "admin_state_up": true, "tenant_id": "50fd1aa071ad418699bc5e7a7a59ac7b", "provisioning_status": "ACTIVE", "listeners": [{"id": "94cdeb3e-56b0-4ce8-ae30-6df89eece717"}], "vip_address": "10.100.0.3", "vip_port_id": "ee1b2c7e-9008-4ede-a823-bdca32914fe4", "provider": "octavia", "vip_subnet_id": "2f2b33e4-a3e4-4fbb-bef5-c8b882a14f47", "id": "644fa0ee-1b23-479b-9519-7cba0412e379", "operating_status": "ONLINE", "name": ""}}
  2015-10-09 15:14:51.852 | 2015-10-09 15:14:51.824 |     
  2015-10-09 15:14:51.853 | 2015-10-09 15:14:51.826 | 
  2015-10-09 15:14:51.853 | 2015-10-09 15:14:51.827 | Captured traceback:
  2015-10-09 15:14:51.854 | 2015-10-09 15:14:51.828 | ~~~~~~~~~~~~~~~~~~~
  2015-10-09 15:14:51.855 | 2015-10-09 15:14:51.829 |     Traceback (most recent call last):
  2015-10-09 15:14:51.855 | 2015-10-09 15:14:51.830 |       File "neutron_lbaas/tests/tempest/v2/api/test_listeners_admin.py", line 113, in test_create_listener_missing_tenant_id
  2015-10-09 15:14:51.856 | 2015-10-09 15:14:51.831 |         listener_ids=[self.listener_id, admin_listener_id])
  2015-10-09 15:14:51.857 | 2015-10-09 15:14:51.833 |       File "neutron_lbaas/tests/tempest/v2/api/base.py", line 290, in _check_status_tree
  2015-10-09 15:14:51.858 | 2015-10-09 15:14:51.834 |         assert 'ONLINE' == load_balancer['operating_status']
  2015-10-09 15:14:51.858 | 2015-10-09 15:14:51.835 |     AssertionError

  Full trace: http://logs.openstack.org/51/223651/5/check/gate-neutron-
  lbaasv2-dsvm-listener/714b57e/console.html.gz

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


Follow ups