Build: #18 failed

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

Stages & jobs

  1. Default Stage

  2. Test Tasks Stage

  3. Test Tools Stage

continuum uv cont sub: Test case result

The below summarizes the result of the test " continuum uv cont sub" in build 18 of CASA - CMake MPI - Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10.
Description
continuum uv cont sub
Test class
tests.tools.ms.test_tool_ms.mstool_test_transform
Method
test_continuum_uv_cont_sub
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

shutil.Error: [('ngc5921.ms/table.f2_TSM1', 'ngc5921_sub.ms/table.f2_TSM1', "[Errno 2] No such file or directory: 'ngc5921.ms/table.f2_TSM1'"), ('ngc5921.ms/SOURCE', 'ngc5921_sub.ms/SOURCE', "[Errno 2] No such file or directory: 'ngc5921.ms/SOURCE'"), ('ngc5921.ms/DATA_DESCRIPTION', 'ngc5921_sub.ms/DATA_DESCRIPTION', "[Errno 2] No such file or directory: 'ngc5921.ms/DATA_DESCRIPTION'"), ('ngc5921.ms/table.f1', 'ngc5921_sub.ms/table.f1', "[Errno 2] No such file or directory: 'ngc5921.ms/table.f1'"), ('ngc5921.ms/STATE', 'ngc5921_sub.ms/STATE', "[Errno 2] No such file or directory: 'ngc5921.ms/STATE'"), ('ngc5921.ms/FEED', 'ngc5921_sub.ms/FEED', "[Errno 2] No such file or directory: 'ngc5921.ms/FEED'"), ('ngc5921.ms/HISTORY', 'ngc5921_sub.ms/HISTORY', "[Errno 2] No such file or directory: 'ngc5921.ms/HISTORY'"), ('ngc5921.ms/table.lock', 'ngc5921_sub.ms/table.lock', "[Errno 2] No such file or directory: 'ngc5921.ms/table.lock'"), ('ngc5921.ms/ANTENNA', 'ngc5921_sub.ms/ANTENNA', "[Errno 2] No such file or directory: 'ngc5921.ms/ANTENNA'"), ('ngc5921.ms/POINTING', 'ngc5921_sub.ms/POINTING', "[Errno 2] No such file or directory: 'ngc5921.ms/POINTING'"), ('ngc5921.ms/table.info', 'ngc5921_sub.ms/table.info', "[Errno 2] No such file or directory: 'ngc5921.ms/table.info'"), ('ngc5921.ms/table.f7_TSM1', 'ngc5921_sub.ms/table.f7_TSM1', "[Errno 2] No such file or directory: 'ngc5921.ms/table.f7_TSM1'"), ('ngc5921.ms/table.dat', 'ngc5921_sub.ms/table.dat', "[Errno 2] No such file or directory: 'ngc5921.ms/table.dat'"), ('ngc5921.ms/table.f8_TSM1', 'ngc5921_sub.ms/table.f8_TSM1', "[Errno 2] No such file or directory: 'ngc5921.ms/table.f8_TSM1'"), ('ngc5921.ms/table.f5_TSM1', 'ngc5921_sub.ms/table.f5_TSM1', "[Errno 2] No such file or directory: 'ngc5921.ms/table.f5_TSM1'")]
self = <test_tool_ms.mstool_test_transform testMethod=test_continuum_uv_cont_sub>

    def test_continuum_uv_cont_sub(self):
        """test ms.continuumsub, uvsub, contsub"""
        # Make writable ms
        self.ms.close()
        subms = 'ngc5921_sub.ms'
>       shutil.copytree(self.testms, subms)

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

entries = [<DirEntry 'table.f6_TSM0'>, <DirEntry 'table.f8'>, <DirEntry 'FIELD'>, <DirEntry 'table.f3'>, <DirEntry 'table.f5'>, <DirEntry 'table.f0'>, ...]
src = 'ngc5921.ms', dst = 'ngc5921_sub.ms', symlinks = False, ignore = None
copy_function = <function copy2 at 0x7f9575134310>
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: [('ngc5921.ms/table.f2_TSM1', 'ngc5921_sub.ms/table.f2_TSM1', "[Errno 2] No such file or directory: 'ngc5921.ms/table.f2_TSM1'"), ('ngc5921.ms/SOURCE', 'ngc5921_sub.ms/SOURCE', "[Errno 2] No such file or directory: 'ngc5921.ms/SOURCE'"), ('ngc5921.ms/DATA_DESCRIPTION', 'ngc5921_sub.ms/DATA_DESCRIPTION', "[Errno 2] No such file or directory: 'ngc5921.ms/DATA_DESCRIPTION'"), ('ngc5921.ms/table.f1', 'ngc5921_sub.ms/table.f1', "[Errno 2] No such file or directory: 'ngc5921.ms/table.f1'"), ('ngc5921.ms/STATE', 'ngc5921_sub.ms/STATE', "[Errno 2] No such file or directory: 'ngc5921.ms/STATE'"), ('ngc5921.ms/FEED', 'ngc5921_sub.ms/FEED', "[Errno 2] No such file or directory: 'ngc5921.ms/FEED'"), ('ngc5921.ms/HISTORY', 'ngc5921_sub.ms/HISTORY', "[Errno 2] No such file or directory: 'ngc5921.ms/HISTORY'"), ('ngc5921.ms/table.lock', 'ngc5921_sub.ms/table.lock', "[Errno 2] No such file or directory: 'ngc5921.ms/table.lock'"), ('ngc5921.ms/ANTENNA', 'ngc5921_sub.ms/ANTENNA', "[Errno 2] No such file or directory: 'ngc5921.ms/ANTENNA'"), ('ngc5921.ms/POINTING', 'ngc5921_sub.ms/POINTING', "[Errno 2] No such file or directory: 'ngc5921.ms/POINTING'"), ('ngc5921.ms/table.info', 'ngc5921_sub.ms/table.info', "[Errno 2] No such file or directory: 'ngc5921.ms/table.info'"), ('ngc5921.ms/table.f7_TSM1', 'ngc5921_sub.ms/table.f7_TSM1', "[Errno 2] No such file or directory: 'ngc5921.ms/table.f7_TSM1'"), ('ngc5921.ms/table.dat', 'ngc5921_sub.ms/table.dat', "[Errno 2] No such file or directory: 'ngc5921.ms/table.dat'"), ('ngc5921.ms/table.f8_TSM1', 'ngc5921_sub.ms/table.f8_TSM1', "[Errno 2] No such file or directory: 'ngc5921.ms/table.f8_TSM1'"), ('ngc5921.ms/table.f5_TSM1', 'ngc5921_sub.ms/table.f5_TSM1', "[Errno 2] No such file or directory: 'ngc5921.ms/table.f5_TSM1'")]

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