← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1356955] [NEW] intermittent failure in test_security_group_get_no_instances (gate-nova-python27 ONLY)

 

Public bug reported:

logstash query: "Unexpected method call
get_session.__call__(use_slave=False)"

18 hits in last 7 days.

Traceback (most recent call last):
  File "nova/tests/db/test_db_api.py", line 1236, in test_security_group_get_no_instances
    security_group = db.security_group_get(self.ctxt, sid)
  File "nova/db/api.py", line 1269, in security_group_get
    columns_to_join)
  File "nova/db/sqlalchemy/api.py", line 167, in wrapper
    return f(*args, **kwargs)
  File "nova/db/sqlalchemy/api.py", line 3663, in security_group_get
    query = _security_group_get_query(context, project_only=True).\
  File "nova/db/sqlalchemy/api.py", line 3630, in _security_group_get_query
    read_deleted=read_deleted, project_only=project_only)
  File "nova/db/sqlalchemy/api.py", line 237, in model_query
    session = kwargs.get('session') or get_session(use_slave=use_slave)
  File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 765, in __call__
    return mock_method(*params, **named_params)
  File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 1002, in __call__
    expected_method = self._VerifyMethodCall()
  File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 1049, in _VerifyMethodCall
    expected = self._PopNextMethod()
  File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 1035, in _PopNextMethod
    raise UnexpectedMethodCallError(self, None)
UnexpectedMethodCallError: Unexpected method call get_session.__call__(use_slave=False) -> None

** Affects: nova
     Importance: Undecided
         Status: New

** Project changed: barbican => nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1356955

Title:
  intermittent failure in test_security_group_get_no_instances (gate-
  nova-python27 ONLY)

Status in OpenStack Compute (Nova):
  New

Bug description:
  logstash query: "Unexpected method call
  get_session.__call__(use_slave=False)"

  18 hits in last 7 days.

  Traceback (most recent call last):
    File "nova/tests/db/test_db_api.py", line 1236, in test_security_group_get_no_instances
      security_group = db.security_group_get(self.ctxt, sid)
    File "nova/db/api.py", line 1269, in security_group_get
      columns_to_join)
    File "nova/db/sqlalchemy/api.py", line 167, in wrapper
      return f(*args, **kwargs)
    File "nova/db/sqlalchemy/api.py", line 3663, in security_group_get
      query = _security_group_get_query(context, project_only=True).\
    File "nova/db/sqlalchemy/api.py", line 3630, in _security_group_get_query
      read_deleted=read_deleted, project_only=project_only)
    File "nova/db/sqlalchemy/api.py", line 237, in model_query
      session = kwargs.get('session') or get_session(use_slave=use_slave)
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 765, in __call__
      return mock_method(*params, **named_params)
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 1002, in __call__
      expected_method = self._VerifyMethodCall()
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 1049, in _VerifyMethodCall
      expected = self._PopNextMethod()
    File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/mox.py", line 1035, in _PopNextMethod
      raise UnexpectedMethodCallError(self, None)
  UnexpectedMethodCallError: Unexpected method call get_session.__call__(use_slave=False) -> None

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


Follow ups

References