Build: #19 failed
Job: Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10 failed
su adivsechanel defaults: Test case result
The below summarizes the result of the test " su adivsechanel defaults" in build 19 of CASA - CMake MPI - Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10.
- Description
- su adivsechanel defaults
- Test class
- tests.tools.synthesisutils.test_tool_synthesisutils.advisechansel_test
- Method
- test_su_adivsechanel_defaults
- Duration
- < 1 sec
- Status
- Failed (Existing Failure)
Error Log
OSError: [Errno 39] Directory not empty: 'twhya.short.ms'
self = <test_tool_synthesisutils.advisechansel_test testMethod=test_su_adivsechanel_defaults>
def tearDown(self):
for inpdata in self.inputmses:
if os.path.exists(inpdata):
> shutil.rmtree(inpdata)
../../../casatools/tests/tools/synthesisutils/test_tool_synthesisutils.py:365:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.10/shutil.py:721: in rmtree
onerror(os.rmdir, path, sys.exc_info())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = 'twhya.short.ms', ignore_errors = False
onerror = <function rmtree.<locals>.onerror at 0x7f13a9155f30>
def rmtree(path, ignore_errors=False, onerror=None):
"""Recursively delete a directory tree.
If ignore_errors is set, errors are ignored; otherwise, if onerror
is set, it is called to handle the error with arguments (func,
path, exc_info) where func is platform and implementation dependent;
path is the argument to that function that caused it to fail; and
exc_info is a tuple returned by sys.exc_info(). If ignore_errors
is false and onerror is None, an exception is raised.
"""
sys.audit("shutil.rmtree", path)
if ignore_errors:
def onerror(*args):
pass
elif onerror is None:
def onerror(*args):
raise
if _use_fd_functions:
# While the unsafe rmtree works fine on bytes, the fd based does not.
if isinstance(path, bytes):
path = os.fsdecode(path)
# Note: To guard against symlink races, we use the standard
# lstat()/open()/fstat() trick.
try:
orig_st = os.lstat(path)
except Exception:
onerror(os.lstat, path, sys.exc_info())
return
try:
fd = os.open(path, os.O_RDONLY)
except Exception:
onerror(os.open, path, sys.exc_info())
return
try:
if os.path.samestat(orig_st, os.fstat(fd)):
_rmtree_safe_fd(fd, path, onerror)
try:
> os.rmdir(path)
E OSError: [Errno 39] Directory not empty: 'twhya.short.ms'
/usr/local/lib/python3.10/shutil.py:719: OSError