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

codecov bot commented Oct 29, 2025

❌ 5 Tests Failed:

Tests completed Failed Passed Skipped
1928 5 1923 228
View the top 3 failed test(s) by shortest run time
tests/test_cff.py::test_results_cfx[ansys-grpc-dpf]
Stack Traces | 0.006s run time
cfx_heating_coil = <function cfx_heating_coil.<locals>.return_ds at 0x7fa27b2f23b0>
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x7fa248ff3130>

    @pytest.mark.skipif(
        not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
        reason="CFF source operators where not supported before 7.0,",
    )
    def test_results_cfx(cfx_heating_coil, server_type):
>       model = dpf.Model(cfx_heating_coil(server=server_type), server=server_type)

tests/test_cff.py:47: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/conftest.py:308: in return_ds
    ds = core.DataSources(server=server)
..../test-api/lib/python3.10.../dpf/core/data_sources.py:125: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x7fa248ff3130>,)
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:50055: Failed to connect to remote host: getsockopt(SO_ERROR): Connection reset by peer (104)'

    @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:50055: Failed to connect to remote host: getsockopt(SO_ERROR): Connection reset by peer (104)

..../test-api/lib/python3.10.../dpf/gate/errors.py:60: DPFServerException
src.ansys.dpf.core.result_info::core.result_info.ResultInfo
Stack Traces | 0.012s run time
104     --------
105     Explore the result info from the model
106 
107     >>> from ansys.dpf import core as dpf
108     >>> from ansys.dpf.core import examples
109     >>> transient = examples.download_transient_result()
110     >>> model = dpf.Model(transient)
111     >>> result_info = model.metadata.result_info # printable result_info
112 
113     >>> result_info.available_results[0].name
Expected:
    'displacement'
Got:
    'node_orientations'

D:\a\pydpf-core\pydpf-core\src\ansys\dpf\core\result_info.py:113: DocTestFailure
tests\test_resultinfo.py::test_resultinfo::test_get_result_resultinfo_from_index[in Process CLayer]
Stack Traces | 0.016s run time
model = <ansys.dpf.core.model.Model object at 0x000001C87A834CA0>

    def test_get_result_resultinfo_from_index(model):
        res = model.metadata.result_info[3]
>       assert res.name == "acceleration"
E       AssertionError: assert 'reaction_force' == 'acceleration'
E         
E         - acceleration
E         + reaction_force

tests\test_resultinfo.py:142: AssertionError
tests/test_data_tree.py::test_read_from_txt_data_tree[ansys-grpc-dpf]
Stack Traces | 0.025s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x7fa014fde950>

    @conftest.raises_for_servers_version_under("4.0")
    def test_read_from_txt_data_tree(server_type):
        data_tree = dpf.DataTree(server=server_type)
        with data_tree.to_fill() as to_fill:
            to_fill.int = 1
            to_fill.double = 1.0
            to_fill.string = "hello"
            to_fill.list_int = [1, 2]
            to_fill.list_double = [1.5, 2.5]
            to_fill.add(list_string=["hello", "bye"])
>       txt = data_tree.write_to_txt()

tests/test_data_tree.py:243: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
..../test-api/lib/python3.10.../dpf/core/data_tree.py:300: in write_to_txt
    return self._serialize(path, op)
..../test-api/lib/python3.10.../dpf/core/data_tree.py:269: in _serialize
    return operator.get_output(0, core.types.string)
..../test-api/lib/python3.10.../dpf/core/dpf_operator.py:603: in get_output
    internal_obj = type_tuple[1](self, pin)
..../test-api/lib/python3.10.../dpf/core/dpf_operator.py:325: in _getoutput_string
    out = Operator._getoutput_string_as_bytes(self, pin)
..../test-api/lib/python3.10.../dpf/core/dpf_operator.py:340: in _getoutput_string_as_bytes
    return self._api.operator_getoutput_string(self, pin)
..../test-api/lib/python3.10.../dpf/gate/errors.py:52: in wrapper
    out = func(*args, **kwargs)
..../test-api/lib/python3.10.../dpf/gate/operator_grpcapi.py:351: in operator_getoutput_string
    return OperatorGRPCAPI.get_output_finish(op, request, stype, subtype)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<ansys.dpf.core.operators.serialization.data_tree_to_txt.data_tree_to_txt object at 0x7fa048317700>, op {
  id {
    id: 87
    server_address: "127.0.0.1:50060"
  }
  name: "data_tree_to_txt"
}
, 'string', '')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'DPF issue due to licensing context: execution stopped. Apply Premium context to unlock this capability.'

    @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: DPF issue due to licensing context: execution stopped. Apply Premium context to unlock this capability.

..../test-api/lib/python3.10.../dpf/gate/errors.py:60: DPFServerException
tests/test_data_tree.py::test_write_to_file_data_tree[ansys-grpc-dpf]
Stack Traces | 0.032s run time
tmpdir = local('.../pydpf-core/pydpf-core/.tox.../pytest-of-runner/pytest-0/test_write_to_file_data_tree_a2')
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x7fa014fde950>

    @conftest.raises_for_servers_version_under("4.0")
    def test_write_to_file_data_tree(tmpdir, server_type):
        data_tree = dpf.DataTree(server=server_type)
        with data_tree.to_fill() as to_fill:
            to_fill.int = 1
            to_fill.double = 1.0
            to_fill.string = "hello"
            to_fill.list_int = [1, 2]
            to_fill.list_double = [1.5, 2.5]
            to_fill.list_string = ["hello", "bye"]
>       data_tree.write_to_txt(str(Path(tmpdir) / "file.txt"))

tests/test_data_tree.py:180: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
..../test-api/lib/python3.10.../dpf/core/data_tree.py:300: in write_to_txt
    return self._serialize(path, op)
..../test-api/lib/python3.10.../dpf/core/data_tree.py:260: in _serialize
    operator.run()
..../test-api/lib/python3.10.../dpf/core/dpf_operator.py:780: in run
    self.get_output()
..../test-api/lib/python3.10.../dpf/core/dpf_operator.py:588: in get_output
    return self._api.operator_run(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<ansys.dpf.core.operators.serialization.data_tree_to_txt.data_tree_to_txt object at 0x7fa048080640>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'DPF issue due to licensing context: execution stopped. Apply Premium context to unlock this capability.'

    @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: DPF issue due to licensing context: execution stopped. Apply Premium context to unlock this capability.

..../test-api/lib/python3.10.../dpf/gate/errors.py:60: DPFServerException
tests\test_resultinfo.py::test_resultinfo::test_get_result_resultinfo_from_index[ansys-grpc-dpf]
Stack Traces | 0.034s run time
model = <ansys.dpf.core.model.Model object at 0x000001C87D111E70>

    def test_get_result_resultinfo_from_index(model):
        res = model.metadata.result_info[3]
>       assert res.name == "acceleration"
E       AssertionError: assert 'reaction_force' == 'acceleration'
E         
E         - acceleration
E         + reaction_force

tests\test_resultinfo.py:142: AssertionError
tests\test_resultinfo.py::test_resultinfo::test_get_result_resultinfo_from_index[gRPC CLayer]
Stack Traces | 0.04s run time
model = <ansys.dpf.core.model.Model object at 0x000001C87A7DE7A0>

    def test_get_result_resultinfo_from_index(model):
        res = model.metadata.result_info[3]
>       assert res.name == "acceleration"
E       AssertionError: assert 'reaction_force' == 'acceleration'
E         
E         - acceleration
E         + reaction_force

tests\test_resultinfo.py:142: AssertionError
src.ansys.dpf.core.available_result::core.available_result.AvailableResult
Stack Traces | 1.8s run time
120     --------
121     Explore an available result from the model.
122 
123     >>> from ansys.dpf import core as dpf
124     >>> from ansys.dpf.core import examples
125     >>> transient = examples.download_transient_result()
126     >>> model = dpf.Model(transient)
127     >>> result_info = model.metadata.result_info
128     >>> res = result_info.available_results[0]
129     >>> res.name
Expected:
    'displacement'
Got:
    'node_orientations'

D:\a\pydpf-core\pydpf-core\src\ansys\dpf\core\available_result.py:129: DocTestFailure
tests/test_cff.py::test_cff_model[ansys-grpc-dpf]
Stack Traces | 3.94s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x7fa248ff3130>
fluent_multi_species = <function fluent_multi_species.<locals>.return_ds at 0x7fa27b2f1990>

    @pytest.mark.skipif(
        not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
        reason="CFF source operators where not supported before 7.0,",
    )
    def test_cff_model(server_type, fluent_multi_species):
>       ds = fluent_multi_species(server_type)

tests/test_cff.py:34: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/conftest.py:187: in return_ds
    ds = core.DataSources(server=server)
..../test-api/lib/python3.10.../dpf/core/data_sources.py:125: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x7fa248ff3130>,)
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:50055: Failed to connect to remote host: getsockopt(SO_ERROR): Connection reset by peer (104)'

    @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:50055: Failed to connect to remote host: getsockopt(SO_ERROR): Connection reset by peer (104)

..../test-api/lib/python3.10.../dpf/gate/errors.py:60: 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.

@github-actions
Copy link
Contributor

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

  • PyDPF-Post API tests on ubuntu-latest

Created by continue-on-error-comment

@oparreno oparreno closed this Oct 30, 2025
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