Build: #19 failed
Job: Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10 failed
sliding time window: Test case result
The below summarizes the result of the test " sliding time window" in build 19 of CASA - CMake MPI - Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10.
- Description
- sliding time window
- Test class
- tests.tools.ms.test_tool_ms_statwt.statwt_test
- Method
- test_sliding_time_window
- Duration
- < 1 sec
- Status
- Failed (Existing Failure)
Error Log
FileExistsError: [Errno 17] File exists: 'ngc5921.split.sliding_time_window.ms'
self = <test_tool_ms_statwt.statwt_test testMethod=test_sliding_time_window>
def test_sliding_time_window(self):
"""Test sliding time window"""
dst = "ngc5921.split.sliding_time_window.ms"
ref = 'ngc5921_statwt_ref_test_sliding_time_window.ms'
timebin = "300s"
"""
row_to_rows = []
row_to_rows.append([0, 6])
row_to_rows.append([0, 7])
row_to_rows.append([0, 8])
row_to_rows.append([0, 9])
row_to_rows.append([0, 9])
row_to_rows.append([0, 10])
row_to_rows.append([1, 12])
row_to_rows.append([2, 12])
row_to_rows.append([3, 12])
row_to_rows.append([5, 12])
row_to_rows.append([6, 12])
row_to_rows.append([6, 12])
row_to_rows.append([12, 17])
row_to_rows.append([12, 17])
row_to_rows.append([12, 17])
row_to_rows.append([12, 17])
row_to_rows.append([12, 17])
row_to_rows.append([17, 20])
row_to_rows.append([17, 21])
row_to_rows.append([17, 22])
row_to_rows.append([18, 23])
row_to_rows.append([19, 24])
row_to_rows.append([20, 25])
row_to_rows.append([21, 26])
row_to_rows.append([22, 27])
row_to_rows.append([23, 28])
row_to_rows.append([24, 29])
row_to_rows.append([25, 30])
row_to_rows.append([26, 31])
row_to_rows.append([27, 32])
row_to_rows.append([28, 33])
row_to_rows.append([29, 33])
row_to_rows.append([30, 33])
row_to_rows.append([33, 35])
row_to_rows.append([33, 35])
row_to_rows.append([35, 38])
row_to_rows.append([35, 38])
row_to_rows.append([35, 38])
row_to_rows.append([38, 41])
row_to_rows.append([38, 42])
row_to_rows.append([38, 43])
row_to_rows.append([39, 44])
row_to_rows.append([40, 45])
row_to_rows.append([41, 46])
row_to_rows.append([42, 47])
row_to_rows.append([43, 48])
row_to_rows.append([44, 49])
row_to_rows.append([45, 50])
row_to_rows.append([46, 51])
row_to_rows.append([47, 52])
row_to_rows.append([48, 53])
row_to_rows.append([49, 54])
row_to_rows.append([50, 55])
row_to_rows.append([51, 56])
row_to_rows.append([52, 56])
row_to_rows.append([53, 56])
row_to_rows.append([56, 60])
row_to_rows.append([56, 60])
row_to_rows.append([56, 60])
row_to_rows.append([56, 60])
"""
> shutil.copytree(src, dst)
../../../casatools/tests/tools/ms/test_tool_ms_statwt.py:622:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.10/shutil.py:556: in copytree
return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
/usr/local/lib/python3.10/shutil.py:457: in _copytree
os.makedirs(dst, exist_ok=dirs_exist_ok)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'ngc5921.split.sliding_time_window.ms', mode = 511, exist_ok = False
def makedirs(name, mode=0o777, exist_ok=False):
"""makedirs(name [, mode=0o777][, exist_ok=False])
Super-mkdir; create a leaf directory and all intermediate ones. Works like
mkdir, except that any intermediate path segment (not just the rightmost)
will be created if it does not exist. If the target directory already
exists, raise an OSError if exist_ok is False. Otherwise no exception is
raised. This is recursive.
"""
head, tail = path.split(name)
if not tail:
head, tail = path.split(head)
if head and tail and not path.exists(head):
try:
makedirs(head, exist_ok=exist_ok)
except FileExistsError:
# Defeats race condition when another thread created the path
pass
cdir = curdir
if isinstance(tail, bytes):
cdir = bytes(curdir, 'ASCII')
if tail == cdir: # xxx/newdir/. exists if xxx/newdir exists
return
try:
> mkdir(name, mode)
E FileExistsError: [Errno 17] File exists: 'ngc5921.split.sliding_time_window.ms'
/usr/local/lib/python3.10/os.py:225: FileExistsError