fileutils ut test randomly fail

Bug #1526323 reported by ZhiQiang Fan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.utils
Fix Released
Undecided
ZhiQiang Fan

Bug Description

FAIL: oslo_utils.tests.test_fileutils.WriteToTempfileTestCase.test_file_with_not_existing_path_and_not_default_suffix
tags: worker-10
----------------------------------------------------------------------
Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "oslo_utils/tests/test_fileutils.py", line 177, in test_file_with_not_existing_path_and_not_default_suffix
    shutil.rmtree('/tmp/testing')
  File "/usr/lib/python2.7/shutil.py", line 252, in rmtree
    onerror(os.remove, fullname, sys.exc_info())
  File "/usr/lib/python2.7/shutil.py", line 250, in rmtree
    os.remove(fullname)
OSError: [Errno 2] No such file or directory: '/tmp/testing/test2'
Ran 8355 tests in 5.018s (+0.169s)
FAILED (id=17, failures=1 (+1))
error: testr failed (1)

ZhiQiang Fan (aji-zqfan)
Changed in oslo.utils:
assignee: nobody → ZhiQiang Fan (aji-zqfan)
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/oslo.utils 3.3.0

This issue was fixed in the openstack/oslo.utils 3.3.0 release.

Revision history for this message
ChangBo Guo(gcb) (glongwave) wrote :
Changed in oslo.utils:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.