← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1593647] [NEW] TestDesignateClient.test_secure_client fails with AssertionError: Expected call: mock(verify='...')

 

Public bug reported:

The test sometimes fails in gate:

http://logs.openstack.org/30/271830/8/check/gate-neutron-
python27/4b77bb6/testr_results.html.gz

ft507.2: neutron.tests.unit.plugins.ml2.extensions.test_dns_integration.TestDesignateClient.test_secure_client_StringException: Traceback (most recent call last):
  File "neutron/tests/unit/plugins/ml2/extensions/test_dns_integration.py", line 558, in test_secure_client
    driver.session.Session.assert_called_with(verify=self.TEST_CA_CERT)
  File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 925, in assert_called_with
    raise AssertionError('Expected call: %s\nNot called' % (expected,))
AssertionError: Expected call: mock(verify='d7302899d10b4e8381f2345b966fd299')
Not called

Logstash: http://logstash.openstack.org/#/dashboard/file/logstash.json

** Affects: neutron
     Importance: High
         Status: New


** Tags: gate-failure unittest

** Tags added: gate-failure unittest

** Changed in: neutron
   Importance: Undecided => High

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

Title:
  TestDesignateClient.test_secure_client fails with  AssertionError:
  Expected call: mock(verify='...')

Status in neutron:
  New

Bug description:
  The test sometimes fails in gate:

  http://logs.openstack.org/30/271830/8/check/gate-neutron-
  python27/4b77bb6/testr_results.html.gz

  ft507.2: neutron.tests.unit.plugins.ml2.extensions.test_dns_integration.TestDesignateClient.test_secure_client_StringException: Traceback (most recent call last):
    File "neutron/tests/unit/plugins/ml2/extensions/test_dns_integration.py", line 558, in test_secure_client
      driver.session.Session.assert_called_with(verify=self.TEST_CA_CERT)
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 925, in assert_called_with
      raise AssertionError('Expected call: %s\nNot called' % (expected,))
  AssertionError: Expected call: mock(verify='d7302899d10b4e8381f2345b966fd299')
  Not called

  Logstash: http://logstash.openstack.org/#/dashboard/file/logstash.json

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


Follow ups