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

contiguous channels: Test case result

The below summarizes the result of the test " contiguous channels" in build 18 of CASA - CMake MPI - Test Tools MPI Many Linux 2.28 Rocky 8.10 Py3.10.
Description
contiguous channels
Test class
tests.tools.regionmanager.test_tool_regionmanager.rg_frombcs_test
Method
test_contiguous_channels
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

RuntimeError: Exception: File imregion.fits does not exist..
... thrown by static void casa::ImageFactory::_checkInfile(const casacore::String&) at File: /source/casa6/casatools/src/code/imageanalysis/ImageAnalysis/ImageFactory2.cc, line: 375
self = <test_tool_regionmanager.rg_frombcs_test testMethod=test_contiguous_channels>

    def test_contiguous_channels(self):
        """Test setting multiple continuous channels"""
    
        box = ""
        chans = "0~4"
        stokes = ""
        stokes_control = "a"
>       myreg = self.run_frombcs(
            self.image, box, chans, stokes, stokes_control
        )

../../../casatools/tests/tools/regionmanager/test_tool_regionmanager.py:201: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../casatools/tests/tools/regionmanager/test_tool_regionmanager.py:97: in run_frombcs
    myia.open(imagename)
../../../../venv/lib/python3.10/site-packages/casatools/image.py:2640: in open
    return self._swigobj.open(infile, cache)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <casatools.__casac__.image.image; proxy of <Swig Object of type 'casac::image *' at 0x7f1daec902a0> >
args = ('imregion.fits', True), kwargs = {}

    def open(self, *args, **kwargs):
        """
        open(self, _infile, _cache) -> bool
    
    
    
        Summary:
            Open a new image file with this image tool
    
        Description:
    
    
    
        This method detaches from the current image (if an image is attached to the tool), and
        reattaches it (opens) to the new image.
    
        The input image file may be in native CASA, FITS, or Miriad format. In the case
        of CASA images, images with float, complex float, double, and complex double
        valued pixels are supported. Note that only FITS images with float valued pixels
        are supported.
    
        The cache parameter applies only to component list images and indicates if pixel
        values should be cached after they are computed for faster retrieval. It is not
        used for other image types.
    
        Input Parameters:
            infile                    image file name
            cache                     Cache pixel values for use while image is in use? Ignored if image being opened is not a ComponentListImage.
    
        Example:
    
    
        #
        print 't----t open Ex 1 t----'
        ia.maketestimage('anotherimage',overwrite=true) #first make 2nd image
        ia.close()
        ia.maketestimage('myimage',overwrite=true)      #open image myimage
        ia.open('anotherimage')               # attach tool to 'anotherimage'
        ia.close()
        #
    
    
        The {stff open} function first closes the old imagefile.
    
        --------------------------------------------------------------------------------
    
        """
>       return _image.image_open(self, *args, **kwargs)
E       RuntimeError: Exception: File imregion.fits does not exist..
E       ... thrown by static void casa::ImageFactory::_checkInfile(const casacore::String&) at File: /source/casa6/casatools/src/code/imageanalysis/ImageAnalysis/ImageFactory2.cc, line: 375

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