Build: #19 failed

Job: Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10 failed

su advisechansel getfreqrange ephem: Test case result

The below summarizes the result of the test " su advisechansel getfreqrange ephem" in build 19 of CASA - CMake MPI - Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10.
Description
su advisechansel getfreqrange ephem
Test class
tests.tools.synthesisutils.test_tool_synthesisutils.advisechansel_test
Method
test_su_advisechansel_getfreqrange_ephem
Duration
1 sec
Status
Failed (Existing Failure)

Error Log

shutil.Error: [('/opt/casa/data/casatestdata/unittest/synthesisutils/alma_ephemobj_icrs.ms/table.f17_TSM1', 'alma_ephemobj_icrs.ms/table.f17_TSM1', '[Errno 2] No such file or directory'), ('/opt/casa/data/casatestdata/unittest/synthesisutils/alma_ephemobj_icrs.ms/OBSERVATION', 'alma_ephemobj_icrs.ms/OBSERVATION', "[Errno 17] File exists: 'alma_ephemobj_icrs.ms/OBSERVATION'"), ('/opt/casa/data/casatestdata/unittest/synthesisutils/alma_ephemobj_icrs.ms/SYSPOWER', 'alma_ephemobj_icrs.ms/SYSPOWER', "[Errno 17] File exists: 'alma_ephemobj_icrs.ms/SYSPOWER'"), ('/opt/casa/data/casatestdata/unittest/synthesisutils/alma_ephemobj_icrs.ms/CALDEVICE', 'alma_ephemobj_icrs.ms/CALDEVICE', "[Errno 17] File exists: 'alma_ephemobj_icrs.ms/CALDEVICE'")]
self = <test_tool_synthesisutils.advisechansel_test testMethod=test_su_advisechansel_getfreqrange_ephem>

    def setUp(self):
        # input MSes
        self.inputmses=[]
        ms1 = 'twhya.short.ms'
        ms2 = 'alma_ephemobj_icrs.ms'
        self.inputmses.append(ms1)
        self.inputmses.append(ms2)
        for inms in self.inputmses:
            if not os.path.exists(inms):
>               shutil.copytree(os.path.join(self.datapath, inms),inms)

../../../casatools/tests/tools/synthesisutils/test_tool_synthesisutils.py:359: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.10/shutil.py:556: in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

entries = [<DirEntry 'table.f14'>, <DirEntry 'table.f16'>, <DirEntry 'table.f24_TSM1'>, <DirEntry 'POLARIZATION'>, <DirEntry 'table.f20'>, <DirEntry 'table.f8'>, ...]
src = '/opt/casa/data/casatestdata/unittest/synthesisutils/alma_ephemobj_icrs.ms'
dst = 'alma_ephemobj_icrs.ms', symlinks = False, ignore = None
copy_function = <function copy2 at 0x7f13c3170550>
ignore_dangling_symlinks = False, dirs_exist_ok = False

    def _copytree(entries, src, dst, symlinks, ignore, copy_function,
                  ignore_dangling_symlinks, dirs_exist_ok=False):
        if ignore is not None:
            ignored_names = ignore(os.fspath(src), [x.name for x in entries])
        else:
            ignored_names = set()
    
        os.makedirs(dst, exist_ok=dirs_exist_ok)
        errors = []
        use_srcentry = copy_function is copy2 or copy_function is copy
    
        for srcentry in entries:
            if srcentry.name in ignored_names:
                continue
            srcname = os.path.join(src, srcentry.name)
            dstname = os.path.join(dst, srcentry.name)
            srcobj = srcentry if use_srcentry else srcname
            try:
                is_symlink = srcentry.is_symlink()
                if is_symlink and os.name == 'nt':
                    # Special check for directory junctions, which appear as
                    # symlinks but we want to recurse.
                    lstat = srcentry.stat(follow_symlinks=False)
                    if lstat.st_reparse_tag == stat.IO_REPARSE_TAG_MOUNT_POINT:
                        is_symlink = False
                if is_symlink:
                    linkto = os.readlink(srcname)
                    if symlinks:
                        # We can't just leave it to `copy_function` because legacy
                        # code with a custom `copy_function` may rely on copytree
                        # doing the right thing.
                        os.symlink(linkto, dstname)
                        copystat(srcobj, dstname, follow_symlinks=not symlinks)
                    else:
                        # ignore dangling symlink if the flag is on
                        if not os.path.exists(linkto) and ignore_dangling_symlinks:
                            continue
                        # otherwise let the copy occur. copy2 will raise an error
                        if srcentry.is_dir():
                            copytree(srcobj, dstname, symlinks, ignore,
                                     copy_function, dirs_exist_ok=dirs_exist_ok)
                        else:
                            copy_function(srcobj, dstname)
                elif srcentry.is_dir():
                    copytree(srcobj, dstname, symlinks, ignore, copy_function,
                             dirs_exist_ok=dirs_exist_ok)
                else:
                    # Will raise a SpecialFileError for unsupported file types
                    copy_function(srcobj, dstname)
            # catch the Error from the recursive copytree so that we can
            # continue with other files
            except Error as err:
                errors.extend(err.args[0])
            except OSError as why:
                errors.append((srcname, dstname, str(why)))
        try:
            copystat(src, dst)
        except OSError as why:
            # Copying file access times may fail on Windows
            if getattr(why, 'winerror', None) is None:
                errors.append((src, dst, str(why)))
        if errors:
>           raise Error(errors)
E           shutil.Error: [('/opt/casa/data/casatestdata/unittest/synthesisutils/alma_ephemobj_icrs.ms/table.f17_TSM1', 'alma_ephemobj_icrs.ms/table.f17_TSM1', '[Errno 2] No such file or directory'), ('/opt/casa/data/casatestdata/unittest/synthesisutils/alma_ephemobj_icrs.ms/OBSERVATION', 'alma_ephemobj_icrs.ms/OBSERVATION', "[Errno 17] File exists: 'alma_ephemobj_icrs.ms/OBSERVATION'"), ('/opt/casa/data/casatestdata/unittest/synthesisutils/alma_ephemobj_icrs.ms/SYSPOWER', 'alma_ephemobj_icrs.ms/SYSPOWER', "[Errno 17] File exists: 'alma_ephemobj_icrs.ms/SYSPOWER'"), ('/opt/casa/data/casatestdata/unittest/synthesisutils/alma_ephemobj_icrs.ms/CALDEVICE', 'alma_ephemobj_icrs.ms/CALDEVICE', "[Errno 17] File exists: 'alma_ephemobj_icrs.ms/CALDEVICE'")]

/usr/local/lib/python3.10/shutil.py:512: Error