Skip to content

Update generated code for DPF 252_daily on master #2267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyansys-ci-bot
Copy link
Collaborator

An update of generated code has been triggered either manually or by an update in the dpf-standalone repository.

@pyansys-ci-bot pyansys-ci-bot requested a review from a team as a code owner May 9, 2025 13:05
@pyansys-ci-bot pyansys-ci-bot added the server-sync DO NOT USE, Related to automatic synchronization with the server label May 9, 2025
Copy link

codecov bot commented May 9, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
26180 1 26179 3495
View the top 1 failed test(s) by shortest run time
test_remote_workflow/test_remote_workflow.py::test_multi_process_local_remote_local_remote_workflow[ansys-grpc-dpf]
Stack Traces | 2.23s run time
server_type_remote_process = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x7faf815d73d0>

    @pytest.mark.slow
    @pytest.mark.xfail(raises=ServerTypeError)
    @pytest.mark.skipif(
        not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_3_0,
        reason="Connecting data from different servers is " "supported starting server version 3.0",
    )
    @pytest.mark.skipif(running_docker, reason="Currently hanging on Docker, under investigation.")
    def test_multi_process_local_remote_local_remote_workflow(server_type_remote_process):
        files = examples.download_distributed_files(server=server_type_remote_process)
>       wf = core.Workflow(server=server_type_remote_process)

test_remote_workflow/test_remote_workflow.py:371: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
..../test-remote_workflow/lib/python3.10.../dpf/core/workflow.py:114: in __init__
    self._internal_obj = self._api.work_flow_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x7faf815d73d0>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:50058: Failed to connect to remote host: connect: Connection refused (111)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:50058: Failed to connect to remote host: connect: Connection refused (111)

..../test-remote_workflow/lib/python3.10.../dpf/gate/errors.py:46: DPFServerException

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@pyansys-ci-bot pyansys-ci-bot force-pushed the maint/update_code_for_252_daily_on_master branch from a1d3382 to e81b182 Compare May 10, 2025 13:03
@pyansys-ci-bot pyansys-ci-bot force-pushed the maint/update_code_for_252_daily_on_master branch from e81b182 to 837d3e2 Compare May 11, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server-sync DO NOT USE, Related to automatic synchronization with the server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants