← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1300322] Re: TestSecurityGroupsBasicOps IndexError

 

Reviewed:  https://review.openstack.org/84220
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=78ab4b02164b6e0a951c0a2a04f655545a6d8956
Submitter: Jenkins
Branch:    master

commit 78ab4b02164b6e0a951c0a2a04f655545a6d8956
Author: Henry Gessau <gessau@xxxxxxxxx>
Date:   Mon Mar 31 15:10:13 2014 -0400

    Verify addrs only against ports with fixed IPs
    
    To verify a port's mac and IP address, the list of neutron ports is
    used. We cannot check against ports without fixed IP addresses, so
    exclude them.
    
    Change-Id: Ib81ab42cdbae3132af735b0020ca59d22b71ebaf
    Closes-bug: #1300322


** Changed in: tempest
       Status: In Progress => Fix Released

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

Title:
  TestSecurityGroupsBasicOps IndexError

Status in OpenStack Neutron (virtual network service):
  Invalid
Status in Tempest:
  Fix Released

Bug description:
  Seen in the neutron full job:

  Console log:
  2014-03-29 19:09:49.985 | Traceback (most recent call last):
  2014-03-29 19:09:49.985 |   File "tempest/scenario/test_security_groups_basic_ops.py", line 167, in setUp
  2014-03-29 19:09:49.985 |     self._verify_mac_addr(self.primary_tenant)
  2014-03-29 19:09:49.985 |   File "tempest/scenario/test_security_groups_basic_ops.py", line 429, in _verify_mac_addr
  2014-03-29 19:09:49.985 |     port['mac_address'].lower()) for port in port_list
  2014-03-29 19:09:49.985 | IndexError: list index out of range

  Neutron log reports 2 error, problem in the communication with nova:

  2014-03-28 01:38:20.922 31361 ERROR neutron.notifiers.nova [-] Failed to notify nova on events: [{'status': 'completed', 'tag': u'd15f3fdd-31fb-48da-9563-17796df7b6aa', 'name': 'network-vif-plugged', 'server_uuid': u'devstack-precise-check-rax-iad-3242364.slave.openstack.org'}]
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova Traceback (most recent call last):
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova   File "/opt/stack/new/neutron/neutron/notifiers/nova.py", line 186, in send_events
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova     batched_events)
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova   File "/opt/stack/new/python-novaclient/novaclient/v1_1/contrib/server_external_events.py", line 39, in create
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova     return_raw=True)
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova   File "/opt/stack/new/python-novaclient/novaclient/base.py", line 152, in _create
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova     _resp, body = self.api.client.post(url, body=body)
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova   File "/opt/stack/new/python-novaclient/novaclient/client.py", line 287, in post
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova     return self._cs_request(url, 'POST', **kwargs)
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova   File "/opt/stack/new/python-novaclient/novaclient/client.py", line 261, in _cs_request
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova     **kwargs)
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova   File "/opt/stack/new/python-novaclient/novaclient/client.py", line 243, in _time_request
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova     resp, body = self.request(url, method, **kwargs)
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova   File "/opt/stack/new/python-novaclient/novaclient/client.py", line 237, in request
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova     raise exceptions.from_response(resp, body, url, method)
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova NotFound: No instances found for any event (HTTP 404) (Request-ID: req-904163b3-3b79-4b6f-8dc7-e53ed7520212)
  2014-03-28 01:38:20.922 31361 TRACE neutron.notifiers.nova 

  And problems querying the DB:
  2014-03-28 01:59:10.584 31361 ERROR neutron.openstack.common.rpc.amqp [req-6f6479c4-4893-4c8e-8a06-da6c70c572e8 None] Exception during message handling
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp Traceback (most recent call last):
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp   File "/opt/stack/new/neutron/neutron/openstack/common/rpc/amqp.py", line 462, in _process_data
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp     **args)
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp   File "/opt/stack/new/neutron/neutron/common/rpc.py", line 45, in dispatch
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp     neutron_ctxt, version, method, namespace, **kwargs)
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp   File "/opt/stack/new/neutron/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp   File "/opt/stack/new/neutron/neutron/services/loadbalancer/drivers/common/agent_driver_base.py", line 97, in get_logical_device
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp     pool = qry.one()
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2361, in one
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp     raise orm_exc.NoResultFound("No row was found for one()")
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp NoResultFound: No row was found for one()
  2014-03-28 01:59:10.584 31361 TRACE neutron.openstack.common.rpc.amqp

  Example here: http://logs.openstack.org/05/77905/4/check/check-
  tempest-dsvm-neutron-full/a511ba9/

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


References