Skip to content

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 March 21, 2025 13:59
@pyansys-ci-bot pyansys-ci-bot added the server-sync DO NOT USE, Related to automatic synchronization with the server label Mar 21, 2025
@codecov
Copy link

codecov bot commented Mar 21, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
26091 1 26090 3459
View the top 1 failed test(s) by shortest run time
test_remote_operator/test_remote_operator.py::test_connect_remote_data_to_operator
Stack Traces | 1.26s run time
simple_bar = '.../pydpf-core/pydpf-core/.tox.../test-remote_operator/lib/python3.9.../examples/result_files/ASimpleBar.rst'

    @pytest.mark.skipif(
        not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_4_0,
        reason="Connecting data from different servers is " "supported starting server version 4.0",
    )
    def test_connect_remote_data_to_operator(simple_bar):
        data_sources1 = core.DataSources(simple_bar)
>       op2 = ops.result.displacement(data_sources=data_sources1, server=local_servers[0])

test_remote_operator/test_remote_operator.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox.../test-remote_operator/lib/python3.9.../operators/result/displacement.py:118: in __init__
    super().__init__(name="U", config=config, server=server)
.tox.../test-remote_operator/lib/python3.9.../dpf/core/dpf_operator.py:154: in __init__
    self._internal_obj = self._api.operator_new_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

operatorName = 'U'
client = <ansys.dpf.core.server_types.GrpcClient object at 0x7fdf88f35cd0>

    @staticmethod
    def operator_new_on_client(operatorName, client):
    	errorSize = ctypes.c_int(0)
    	sError = ctypes.c_wchar_p()
    	res = capi.dll.Operator_new_on_client(utils.to_char_ptr(operatorName), client._internal_obj if client is not None else None, ctypes.byref(utils.to_int32(errorSize)), ctypes.byref(sError))
    	if errorSize.value != 0:
>   		raise errors.DPFServerException(sError.value)
E     ansys.dpf.gate.errors.DPFServerException: a 'service is currently unavailable' error occurred: failed to connect to all addresses

.tox.../test-remote_operator/lib/python3.9.../gate/generated/operator_capi.py:781: 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.

@rafacanton rafacanton closed this Mar 29, 2025
@rafacanton rafacanton deleted the maint/update_code_for_252_test_pin_hidden_commented_on_master branch March 29, 2025 14:30
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.

4 participants