agent test non-deterministic: files_manager.TestFileManager.test_is_svn_wrong_http_protocol

Bug #1752849 reported by Thomas Goirand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
New
Undecided
Unassigned

Bug Description

Hi. This test failed on me once, but worked in other test runs. This is non-deterministic. IMO, disable this test urgently until someone understand what's going on.

FAIL: muranoagent.tests.unit.test_files_manager.TestFileManager.test_is_svn_wrong_http_protocol
muranoagent.tests.unit.test_files_manager.TestFileManager.test_is_svn_wrong_http_protocol
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/muranoagent/tests/unit/test_files_manager.py", line 47, in test_is_svn_wrong_http_protocol
    files = files_manager.FilesManager(self.get_template_downloable())
  File "/<<PKGBUILDDIR>>/muranoagent/files_manager.py", line 43, in __init__
    os.makedirs(self._cache_folder, 0o700)
  File "/usr/lib/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
FileExistsError: [Errno 17] File exists: 'cache/files/ID'

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.