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

virtconcatenate: Test case result

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

Error Log

RuntimeError: 2025-04-07 19:04:27	SEVERE	ms::virtconcatenate::MPIServer-3	Cannot read the measurement set called ngc7538.ms
self = <test_tool_ms.mstool_test_concat testMethod=test_virtconcatenate>

    def test_virtconcatenate(self):
        """test ms.virtconcatenate"""
        self.assertEqual(len(self.ms.range(["fields"])['fields']), 3)
>       self.ms.virtconcatenate(self.testms2, 'ngcaux.dat', '1GHz', '1arcsec')

../../../casatools/tests/tools/ms/test_tool_ms.py:173: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../../venv/lib/python3.10/site-packages/casatools/ms.py:502: in virtconcatenate
    return self._swigobj.virtconcatenate(msfile, auxfilename, freqtol, dirtol, weightscale, respectname)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <casatools.__casac__.ms.ms; proxy of <Swig Object of type 'casac::ms *' at 0x7f955b12fb70> >
args = ('ngc7538.ms', 'ngcaux.dat', '1GHz', '1arcsec', 1.0, True), kwargs = {}

    def virtconcatenate(self, *args, **kwargs):
        """
        virtconcatenate(self, _msfile, _auxfilename, _freqtol, _dirtol, _weightscale, _respectname) -> bool
    
    
    
        Summary:
            Concatenate two measurement sets virtually
    
        Description:
    
    
        This function virtually concatenates two measurement sets together
        such that they can later be turned into a multi-MS with
        createmultims().
    
        You need to open the measurement set for writing in order to use
        this function.
    
    
        Input Parameters:
            msfile                    The name of the measurement set to append
            auxfilename               The name of a auxiliary file which is needed when more than two MSs are to be concatenated.
            freqtol                   Frequency difference within which 2 spectral windows are considered similar; e.g '10Hz'.
            dirtol                    Direction difference within which 2 fields are considered the same; e.g '1mas'.
            weightscale               Scale the weights of the MS to be appended by this factor.
            respectname               If true, fields with a different name are not merged even if their direction agrees.
    
        Example:
    
        ms.open('3C273XC1.ms', nomodify=False)
        ms.virtconcatenate('3C273XC1-2.ms', '3Caux.dat', '1GHz', '1arcsec')
        ms.virtconcatenate('3C273XC1-3.ms', '3Caux.dat', '1GHz', '1arcsec')
        ms.close()
        os.remove('3Caux.dat')
        ms.createmultims(concatvis,
        ['3C273XC1.ms','3C273XC1-2.ms','3C273XC1-3.ms'],
        [],
        True, # nomodify
        False,# lock
        True) # copysubtables from first to all other members
        ms.close()
    
        This example virtually appends the data from the 3C273XC1-2 and
        3C273XC1-3 to the end of the 3C273XC1 measurement set. Its going to
        assume a frequency tolerance of 1GHz and position tolerance of 1
        arcsec in deciding if the spw and field in the measurementsets are
        similar or not. The file 3Caux.dat which is created in the process
        is no longer needed after the last call to virtconcatenate() and
        can be deleted.
    
        --------------------------------------------------------------------------------
    
        """
>       return _ms.ms_virtconcatenate(self, *args, **kwargs)
E       RuntimeError: 2025-04-07 19:04:27	SEVERE	ms::virtconcatenate::MPIServer-3	Cannot read the measurement set called ngc7538.ms

../../../../venv/lib/python3.10/site-packages/casatools/__casac__/ms.py:1114: RuntimeError