Build: #19 failed

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

ICRS: Test case result

The below summarizes the result of the test " ICRS" in build 19 of CASA - CMake MPI - Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10.
Description
ICRS
Test class
tests.tools.regionmanager.test_tool_regionmanager.rg_fromtextfile_test
Method
test_ICRS
Duration
< 1 sec
Status
Failed (Existing Failure)

Error Log

RuntimeError: Table /home/casatest/casa6/casatestutils/nosedir/test_tool_regionmanager/icrs.im/logtable does not exist
self = <test_tool_regionmanager.rg_fromtextfile_test testMethod=test_ICRS>

    def test_ICRS(self):
        """
        CAS-13074, verify that coord=ICRS works correctly
    
        1. Create a 100x100 image using the default coordinate system provided by ia.shape()
    
        2. Modify the coordinate system of the image from J2000 to GALACTIC ref frame,
           since the difference between J2000 and ICRS seems to be only about 10 marcsec,
           so we need to use a coordinate system where the values in the two systems differ
           more to get a convincing test.
    
        3. Set all pixels to 0, except the reference pixel 50, 50 which is set to 1.
    
        4. Create a CRTF region string using coords='ICRS' and a box that is centered at
           GALACTIC long=0, lat=0 (the ref direction in the image) but using ICRS coords
           of course. The hardcoded ICRS coords were determined using me.measure() to
           convert from GALACTIC to ICRS.
    
        5. Run ia.statistics() using region=the CRTF text string previously created.
    
        6. Test that the max pixel value found in the region is 1. This indicates that
           the region was applied correctly.
    
        """
>       self.ia.fromshape(self.icrs_image, shape=[100, 100])

../../../casatools/tests/tools/regionmanager/test_tool_regionmanager.py:831: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../../venv/lib/python3.10/site-packages/casatools/image.py:545: in fromshape
    return self._swigobj.fromshape(outfile, shape, csys, linear, overwrite, log, type)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <casatools.__casac__.image.image; proxy of <Swig Object of type 'casac::image *' at 0x7f78c852cf90> >
args = ('icrs.im', [100, 100], {}, False, False, True, ...), kwargs = {}

    def fromshape(self, *args, **kwargs):
        """
        fromshape(self, _outfile, _shape, _csys, _linear, _overwrite, _log, _type) -> bool
    
    
    
        Summary:
            Construct an empty casa image from a shape
    
        Description:
    
    
    
        This function creates a CASA image with the specified shape.  All the pixel
        values in the image are set to 0. One may create an image with float precision
        pixels (type='f'), complex float precision pixels (type='c'), double precision
        pixels (type='d'), or complex double precision pixels ('cd'). To use a numpy
        array of values to create an image, use ia.fromarray(). To make a 2-D image from
        a packaged FITS file, use ia.maketestimage().
    
        If outfile is given, the image is written to the specified disk file.  If
        outfile is unset, the image analysis tool is associated with a temporary image.
        This temporary image may be in memory or on disk, depending on its size.  When
        you close the image analysis tool  (with the ia.close() method, the temporary
        image is deleted.
    
        The coordinate system, provided as a coordinate system tool record, is optional.
        If provided, it must be dimensionally consistent with the specified shape.
    
        If the coordinate system is not provided, a default coordinate system will be
        created.  If linear=False (the default), then it is a
        standard RA/DEC/Stokes/Spectral coordinate system depending exactly upon the
        shape (the Stokes axis must be no longer than 4 pixels and spectral axis may
        occur prior to the Stokes axis if eg, shape=[64,64,32,4]. Extra dimensions are
        given linear coordinates. If linear=True, then the coordinate system will have
        linear coordinates.
    
        The method returns True if successful, False otherwise.
    
        Input Parameters:
            outfile                   Name of output image file.  Default is unset.
            shape                     Shape of image.  Must be specified.
            csys                      Coordinate System.  Default is unset.
            linear                    Make a linear Coordinate System if csys not given?
            overwrite                 Overwrite (unprompted) pre-existing output file?
            log                       Write image creation messages to logger
            type                      Data type of image pixels. 'f' (float), 'c' (complex float), 'd' (double), 'cd' (complex double).
    
        Example:
    
    
        # Create a 64 x 64 x 128 RA-Dec-Frequency image
        ia.fromshape('test2.data', [64,64,128], overwrite=True)
        mycs = ia.coordsys(axes=[0,1])
        ia.close()
        # create temporary image using first and third axes of
        # previously created image
        ia.fromshape(shape=[10, 20], csys=mycs.torecord())
        mycs.done()
        ia.close()
    
    
        The first example creates a zero-filled imagefile named {sff
        test2.data} of shape [64,64,128].  If you examine the header with {stff
        ia.summary()} you will see the RA/DEC/Spectral coordinate information.
        In the second example, a Coordinate System describing the first and second axes
        of the image {sff test.data} is created and used to create a 2D temporary image.
    
        # create a 4-D image populated with noise with some interesting metadata
        ia.fromshape('noisy.im', [100, 100, 4, 20])
        # add the noise
        ia.addnoise()
        # add a beam
        ia.setrestoringbeam(major='4arcmin', minor='3arcmin', pa='20deg')
        # add brightness unit
        ia.setbrightnessunit('Jy/beam')
        ia.done()
        # set an interesting object name
        imd.open('noisy.im')
        imd.set('object','thor')
        imd.done()
    
        --------------------------------------------------------------------------------
    
        """
>       return _image.image_fromshape(self, *args, **kwargs)
E       RuntimeError: Table /home/casatest/casa6/casatestutils/nosedir/test_tool_regionmanager/icrs.im/logtable does not exist

../../../../venv/lib/python3.10/site-packages/casatools/__casac__/image.py:1223: RuntimeError