Skip to content

GitHub CI

GitHub CI #5387

GitHub Actions / Launch Test Report 3.10 failed Jan 22, 2025 in 0s

35 tests run, 34 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 541 in tests/test_mechanical.py

See this annotation in the file changed.

@github-actions github-actions / Launch Test Report 3.10

test_mechanical.test_pim_install

assert 'Starting Mechanical remotely. The startup configuration will be ignored.' in "INFO     pymechanical_global:launcher.py:94 Starting the process using ['/install/ansys_inc/v251/aisol/.workbench', '-DSApplet', '-b', '-AppModeMech', '-grpc', '10003'].\nINFO     pymechanical_global:launcher.py:104 Started the process:<Popen: returncode: None args: ['/install/ansys_inc/v251/aisol/.workbench', ...> using ['/install/ansys_inc/v251/aisol/.workbench', '-DSApplet', '-b', '-AppModeMech', '-grpc', '10003'].\n"
 +  where "INFO     pymechanical_global:launcher.py:94 Starting the process using ['/install/ansys_inc/v251/aisol/.workbench', '-DSApplet', '-b', '-AppModeMech', '-grpc', '10003'].\nINFO     pymechanical_global:launcher.py:104 Started the process:<Popen: returncode: None args: ['/install/ansys_inc/v251/aisol/.workbench', ...> using ['/install/ansys_inc/v251/aisol/.workbench', '-DSApplet', '-b', '-AppModeMech', '-grpc', '10003'].\n" = <_pytest.logging.LogCaptureFixture object at 0x7f6e4d083650>.text
Raw output
caplog = <_pytest.logging.LogCaptureFixture object at 0x7f6e4d083650>

    @pytest.mark.remote_session_launch
    def test_pim_install(caplog):
        # Set the logging level to capture
        caplog.set_level(logging.INFO)
    
        # Assert Mechanical starts with PyPIM if the environment is configured for it
        # and a directive on how to launch Mechanical was not passed.
        pymechanical.launch_mechanical(start_instance=True)
    
>       assert "Starting Mechanical remotely. The startup configuration will be ignored." in caplog.text
E       assert 'Starting Mechanical remotely. The startup configuration will be ignored.' in "INFO     pymechanical_global:launcher.py:94 Starting the process using ['/install/ansys_inc/v251/aisol/.workbench', '-DSApplet', '-b', '-AppModeMech', '-grpc', '10003'].\nINFO     pymechanical_global:launcher.py:104 Started the process:<Popen: returncode: None args: ['/install/ansys_inc/v251/aisol/.workbench', ...> using ['/install/ansys_inc/v251/aisol/.workbench', '-DSApplet', '-b', '-AppModeMech', '-grpc', '10003'].\n"
E        +  where "INFO     pymechanical_global:launcher.py:94 Starting the process using ['/install/ansys_inc/v251/aisol/.workbench', '-DSApplet', '-b', '-AppModeMech', '-grpc', '10003'].\nINFO     pymechanical_global:launcher.py:104 Started the process:<Popen: returncode: None args: ['/install/ansys_inc/v251/aisol/.workbench', ...> using ['/install/ansys_inc/v251/aisol/.workbench', '-DSApplet', '-b', '-AppModeMech', '-grpc', '10003'].\n" = <_pytest.logging.LogCaptureFixture object at 0x7f6e4d083650>.text

tests/test_mechanical.py:541: AssertionError