← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1467908] [NEW] Assertion error in test_ensure_dir_calls_makedirs

 

Public bug reported:

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=

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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 OpenStack Neutron (virtual network service):
  New

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


Follow ups

References