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 August 6, 2025 14:06
@pyansys-ci-bot pyansys-ci-bot added the server-sync DO NOT USE, Related to automatic synchronization with the server label Aug 6, 2025
@PProfizi PProfizi closed this Aug 6, 2025
@PProfizi PProfizi reopened this Aug 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 6, 2025

Some tests with 'continue-on-error: true' have failed:

  • PyDPF-Post docstring tests on ubuntu-latest

  • PyDPF-Post API tests on ubuntu-latest

  • PyDPF-Post docstring tests on windows-latest

  • PyDPF-Post API tests on windows-latest

    Created by continue-on-error-comment

@codecov
Copy link

codecov bot commented Aug 6, 2025

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
30313 2 30311 3920
View the top 2 failed test(s) by shortest run time
test_remote_operator/test_remote_operator.py::test_connect_remote_data_to_operator
Stack Traces | 0.004s run time
simple_bar = '.../pydpf-core/pydpf-core/.tox.../test-remote_operator/lib/python3.10.../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.10.../operators/result/displacement.py:118: in __init__
    super().__init__(name="U", config=config, server=server)
.tox.../test-remote_operator/lib/python3.10.../dpf/core/dpf_operator.py:156: in __init__
    self._internal_obj = self._api.operator_new_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

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

    @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.10.../gate/generated/operator_capi.py:781: DPFServerException
test_remote_operator/test_remote_operator.py::test_connect_3remote_operators
Stack Traces | 4s run time
simple_bar = '.../pydpf-core/pydpf-core/.tox.../test-remote_operator/lib/python3.10.../examples/result_files/ASimpleBar.rst'

    @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",
    )
    def test_connect_3remote_operators(simple_bar):
        data_sources1 = core.DataSources(simple_bar)
        op1 = ops.result.displacement(data_sources=data_sources1)
>       data_sources2 = core.DataSources(simple_bar, server=local_servers[0])

test_remote_operator/test_remote_operator.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox.../test-remote_operator/lib/python3.10.../dpf/core/data_sources.py:125: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

client = <ansys.dpf.core.server_types.GrpcClient object at 0x7f4adba91b10>

    @staticmethod
    def data_sources_new_on_client(client):
    	errorSize = ctypes.c_int(0)
    	sError = ctypes.c_wchar_p()
    	res = capi.dll.DataSources_new_on_client(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.10.../gate/generated/data_sources_capi.py:337: 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.

@PProfizi PProfizi merged commit 9aaff16 into main Aug 6, 2025
69 of 103 checks passed
@PProfizi PProfizi deleted the maint/update_code_for_261.pre0_on_main branch August 6, 2025 14:50
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.

3 participants