Skip to content

Update generated code for DPF 252_bclappe_load_plugin_in_core on master #2282

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 13, 2025 14:05
@pyansys-ci-bot pyansys-ci-bot added the server-sync DO NOT USE, Related to automatic synchronization with the server label May 13, 2025
Copy link

codecov bot commented May 13, 2025

❌ 4 Tests Failed:

Tests completed Failed Passed Skipped
22389 4 22385 3352
View the top 3 failed test(s) by shortest run time
tests/test_cff.py::test_results_fluent[in Process CLayer]
Stack Traces | 0.547s run time
fluent_mixing_elbow_steady_state = <function fluent_mixing_elbow_steady_state.<locals>.return_ds at 0x7fb3137f0310>
server_type = <ansys.dpf.core.server_types.InProcessServer object at 0x7fb3366d8b20>

    @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_fluent(fluent_mixing_elbow_steady_state, server_type):
>       model = dpf.Model(fluent_mixing_elbow_steady_state(server=server_type), server=server_type)

tests/test_cff.py:79: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/conftest.py:264: in return_ds
    files = examples.download_fluent_mixing_elbow_steady_state(server=server)
..../test-api/lib/python3.10.../core/examples/downloads.py:1386: in download_fluent_mixing_elbow_steady_state
    _download_file(
..../test-api/lib/python3.10.../core/examples/downloads.py:115: in _download_file
    local_path = _retrieve_file(url, filename, directory)
..../test-api/lib/python3.10.../core/examples/downloads.py:109: in _retrieve_file
    _, resp = urlretrieve(url, local_path)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:241: in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:216: in urlopen
    return opener.open(url, data, timeout)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:525: in open
    response = meth(req, response)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:634: in http_response
    response = self.parent.error(
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:563: in error
    return self._call_chain(*args)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:496: in _call_chain
    result = func(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <urllib.request.HTTPDefaultErrorHandler object at 0x7fb315d269b0>
req = <urllib.request.Request object at 0x7fb34ddd1750>
fp = <http.client.HTTPResponse object at 0x7fb34ddd07f0>, code = 504
msg = 'Gateway Time-out'
hdrs = <http.client.HTTPMessage object at 0x7fb34ddd10c0>

    def http_error_default(self, req, fp, code, msg, hdrs):
>       raise HTTPError(req.full_url, code, msg, hdrs, fp)
E       urllib.error.HTTPError: HTTP Error 504: Gateway Time-out

.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:643: HTTPError
tests/test_cff.py::test_results_fluent[gRPC CLayer]
Stack Traces | 0.552s run time
fluent_mixing_elbow_steady_state = <function fluent_mixing_elbow_steady_state.<locals>.return_ds at 0x7fb30c617d90>
server_type = <ansys.dpf.core.server_types.GrpcServer object at 0x7fb34dc82560>

    @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_fluent(fluent_mixing_elbow_steady_state, server_type):
>       model = dpf.Model(fluent_mixing_elbow_steady_state(server=server_type), server=server_type)

tests/test_cff.py:79: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/conftest.py:264: in return_ds
    files = examples.download_fluent_mixing_elbow_steady_state(server=server)
..../test-api/lib/python3.10.../core/examples/downloads.py:1386: in download_fluent_mixing_elbow_steady_state
    _download_file(
..../test-api/lib/python3.10.../core/examples/downloads.py:115: in _download_file
    local_path = _retrieve_file(url, filename, directory)
..../test-api/lib/python3.10.../core/examples/downloads.py:109: in _retrieve_file
    _, resp = urlretrieve(url, local_path)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:241: in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:216: in urlopen
    return opener.open(url, data, timeout)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:525: in open
    response = meth(req, response)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:634: in http_response
    response = self.parent.error(
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:563: in error
    return self._call_chain(*args)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:496: in _call_chain
    result = func(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <urllib.request.HTTPDefaultErrorHandler object at 0x7fb315d269b0>
req = <urllib.request.Request object at 0x7fb30c65c250>
fp = <http.client.HTTPResponse object at 0x7fb30c65c280>, code = 504
msg = 'Gateway Time-out'
hdrs = <http.client.HTTPMessage object at 0x7fb30c65c6a0>

    def http_error_default(self, req, fp, code, msg, hdrs):
>       raise HTTPError(req.full_url, code, msg, hdrs, fp)
E       urllib.error.HTTPError: HTTP Error 504: Gateway Time-out

.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:643: HTTPError
tests/test_vtk_translate.py::test_dpf_field_to_vtk[in Process CLayer]
Stack Traces | 2.14s run time
simple_rst = '.../testfiles/rst_operators/simpleModel.rst'
fluent_mixing_elbow_steady_state = <function fluent_mixing_elbow_steady_state.<locals>.return_ds at 0x7fb3145832e0>
server_type = <ansys.dpf.core.server_types.InProcessServer object at 0x7fb3366d8b20>

    @pytest.mark.skipif(
        not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
        reason="CFF source operators where not supported before 7.0,",
    )
    @pytest.mark.skipif(not HAS_PYVISTA, reason="Please install pyvista")
    def test_dpf_field_to_vtk(simple_rst, fluent_mixing_elbow_steady_state, server_type):
        model = dpf.Model(simple_rst, server=server_type)
        mesh = model.metadata.meshed_region
        field = model.results.displacement.on_last_time_freq().eval()[0]
        # Nodal Field to VTK
        ug = dpf_field_to_vtk(field=field, field_name="disp")
        assert isinstance(ug, pv.UnstructuredGrid)
        assert "disp" in ug.point_data.keys()
        pv.plot(ug)
        # With deformation
        initial_coord = mesh.nodes.coordinates_field
        updated_coord = (initial_coord + field).eval()
        ug = dpf_field_to_vtk(field=field, nodes=updated_coord)
        assert isinstance(ug, pv.UnstructuredGrid)
        pv.plot(ug)
        # As linear
        ug = dpf_field_to_vtk(field=field, as_linear=True)
        assert isinstance(ug, pv.UnstructuredGrid)
        pv.plot(ug)
        # Elemental Field to VTK
>       model = dpf.Model(fluent_mixing_elbow_steady_state(server=server_type), server=server_type)

tests/test_vtk_translate.py:92: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/conftest.py:264: in return_ds
    files = examples.download_fluent_mixing_elbow_steady_state(server=server)
..../test-api/lib/python3.10.../core/examples/downloads.py:1386: in download_fluent_mixing_elbow_steady_state
    _download_file(
..../test-api/lib/python3.10.../core/examples/downloads.py:115: in _download_file
    local_path = _retrieve_file(url, filename, directory)
..../test-api/lib/python3.10.../core/examples/downloads.py:109: in _retrieve_file
    _, resp = urlretrieve(url, local_path)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:241: in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:216: in urlopen
    return opener.open(url, data, timeout)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:525: in open
    response = meth(req, response)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:634: in http_response
    response = self.parent.error(
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:563: in error
    return self._call_chain(*args)
.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:496: in _call_chain
    result = func(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <urllib.request.HTTPDefaultErrorHandler object at 0x7fb315d269b0>
req = <urllib.request.Request object at 0x7fb30c6bb6d0>
fp = <http.client.HTTPResponse object at 0x7fb30c6b9210>, code = 504
msg = 'Gateway Time-out'
hdrs = <http.client.HTTPMessage object at 0x7fb30c6ba500>

    def http_error_default(self, req, fp, code, msg, hdrs):
>       raise HTTPError(req.full_url, code, msg, hdrs, fp)
E       urllib.error.HTTPError: HTTP Error 504: Gateway Time-out

.../hostedtoolcache/Python/3.10.17...................../x64/lib/python3.10/urllib/request.py:643: HTTPError

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

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