← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1467908] Re: Assertion error in test_ensure_dir_calls_makedirs

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => liberty-2

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

Title:
  Assertion error in test_ensure_dir_calls_makedirs

Status in neutron:
  Fix Released

Bug description:
  The following python27 failure can be sometimes observed:

  2015-06-23 11:27:37.638 | neutron.tests.unit.agent.linux.test_utils.TestBaseOSUtils.test_ensure_dir_calls_makedirs
  2015-06-23 11:27:37.638 | ----------------------------------------------------------------------------------------
  2015-06-23 11:27:37.638 | 
  2015-06-23 11:27:37.638 | Captured traceback:
  2015-06-23 11:27:37.639 | ~~~~~~~~~~~~~~~~~~~
  2015-06-23 11:27:37.639 |     Traceback (most recent call last):
  2015-06-23 11:27:37.639 |       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
  2015-06-23 11:27:37.639 |         return func(*args, **keywargs)
  2015-06-23 11:27:37.639 |       File "neutron/tests/unit/agent/linux/test_utils.py", line 295, in test_ensure_dir_calls_makedirs
  2015-06-23 11:27:37.639 |         makedirs.assert_called_once_with("/etc/create/directory", 0o755)
  2015-06-23 11:27:37.639 |       File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 845, in assert_called_once_with
  2015-06-23 11:27:37.639 |         raise AssertionError(msg)
  2015-06-23 11:27:37.639 |     AssertionError: Expected to be called once. Called 0 times.

  Logstash link:
  http://logstash.openstack.org/#eyJzZWFyY2giOiJwcm9qZWN0OiBcIm9wZW5zdGFjay9uZXV0cm9uXCIgQU5EIGJ1aWxkX25hbWU6IFwiZ2F0ZS1uZXV0cm9uLXB5dGhvbjI3XCIgQU5EIG1lc3NhZ2U6IFwiQXNzZXJ0aW9uRXJyb3I6IEV4cGVjdGVkIHRvIGJlIGNhbGxlZCBvbmNlLiBDYWxsZWQgMCB0aW1lcy5cIiIsImZpZWxkcyI6W10sIm9mZnNldCI6MCwidGltZWZyYW1lIjoiMTcyODAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJ0aW1lIjp7InVzZXJfaW50ZXJ2YWwiOjB9LCJzdGFtcCI6MTQzNTA1OTIxNzMyNX0=

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


References