Build: #19 failed

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

py parallel imager helper interface: Test case result

The below summarizes the result of the test " py parallel imager helper interface" in build 19 of CASA - CMake MPI - Test Tasks MPI Many Linux 2.28 Rocky 8.10 Py3.10.
Description
py parallel imager helper interface
Test class
src.casampi.tests.test_casampi.test_0_MPIInterface
Method
test_PyParallelImagerHelper_interface
Duration
< 1 sec
Status
Failed (Existing Failure)

Error Log

TypeError: 'NoneType' object is not subscriptable
self = <casampi.tests.test_casampi.test_0_MPIInterface testMethod=test_PyParallelImagerHelper_interface>

    def test_PyParallelImagerHelper_interface(self):
    
        # Get cluster (getCluster should automatically initialize it)
        self.sc = MPIInterface.getCluster()
        self.CL = self.sc._cluster
        self.assertEqual(self.sc.isClusterRunning(),True,"Error instantiating cluster")
    
        # Get engines
        engines = self.CL.get_engines()
        self.assertEqual(engines,
                         list(range(1,MPIEnvironment.mpi_world_size)),
                         "Error getting list of engines")
    
        # Get nodes
        if int(os.environ['OMPI_COMM_WORLD_LOCAL_SIZE'])>1:
            nodes = self.CL.get_nodes()
            self.assertTrue(socket.gethostname() in nodes,"Error getting list of nodes")
    
        # Run imports in all engines
        self.CL.pgc('import sys')
        self.CL.pgc('import os')
        self.CL.pgc('from numpy import array,int32')
>       sys_is = self.CL.pgc("sys is not None and 'sys' in sys.modules")[0]['ret']
E       TypeError: 'NoneType' object is not subscriptable

../../../../casampi/src/casampi/tests/test_casampi.py:1212: TypeError