Skip to content

Conversation

@PProfizi
Copy link
Contributor

No description provided.

@PProfizi PProfizi self-assigned this Dec 11, 2025
@PProfizi PProfizi added the documentation Improvements or additions to documentation label Dec 11, 2025
@codecov
Copy link

codecov bot commented Dec 11, 2025

❌ 12 Tests Failed:

Tests completed Failed Passed Skipped
1781 12 1769 385
View the top 3 failed test(s) by shortest run time
src.ansys.dpf.core.label_space::core.label_space.LabelSpace.__dict__
Stack Traces | 0.001s run time
195         Returns
196         -------
197         dict
198             A dictionary where keys are label names (str) and values are label indices (int).
199 
200         Examples
201         --------
202         >>> label_space = LabelSpace(label_space={"time": 1, "node": 42})
203         >>> d = label_space.__dict__()
204         >>> print(d)
Expected:
    {'time': 1, 'node': 42}
Got:
    {'node': 42, 'time': 1}

.../dpf/core/label_space.py:204: DocTestFailure
src.ansys.dpf.core.label_space::core.label_space.LabelSpace.__init__
Stack Traces | 0.001s run time
079         obj:
080             Internal object used for advanced initialization (rarely needed by users).
081         server:
082             DPF server instance to associate with this label space.
083 
084         Examples
085         --------
086         >>> # Create a LabelSpace from a dictionary
087         >>> ls = LabelSpace(label_space={"time": 1, "zone": 2})
088         >>> print(dict(ls))
Expected:
    {'time': 1, 'zone': 2}
Got:
    {'zone': 2, 'time': 1}

.../dpf/core/label_space.py:88: DocTestFailure
src.ansys.dpf.core.label_space::core.label_space.LabelSpace.__iter__
Stack Traces | 0.001s run time
169 
170         Yields
171         ------
172         tuple
173             A tuple of (key, value) for each label in the label space.
174 
175         Examples
176         --------
177         >>> label_space = LabelSpace(label_space={"time": 1, "node": 42})
178         >>> for key, value in label_space:
Expected:
    time 1
    node 42
Got:
    node 42
    time 1

.../dpf/core/label_space.py:178: DocTestFailure
src.ansys.dpf.core.label_space::core.label_space.LabelSpace.__str__
Stack Traces | 0.001s run time
152 
153         Returns
154         -------
155         str
156             A string representation of the label space, formatted as a dictionary.
157 
158         Examples
159         --------
160         >>> label_space = LabelSpace(label_space={"time": 1, "node": 42})
161         >>> print(str(label_space))
Expected:
    "{'time': 1, 'node': 42}"
Got:
    {'node': 42, 'time': 1}

.../dpf/core/label_space.py:161: DocTestFailure
src.ansys.dpf.core.label_space::core.label_space.LabelSpace.fill
Stack Traces | 0.001s run time
134         Parameters
135         ----------
136         label_space : dict
137             A dictionary where keys are labels (str) and values are indices (int) to be added to the label space.
138 
139         Examples
140         --------
141         >>> label_space = LabelSpace()
142         >>> label_space.fill({"time": 1, "node": 42})
143         >>> print(dict(label_space))
Expected:
    {'time': 1, 'node': 42}
Got:
    {'node': 42, 'time': 1}

.../dpf/core/label_space.py:143: DocTestFailure
src.ansys.dpf.core.dpf_operator::core.dpf_operator.Operator.connect
Stack Traces | 2.08s run time
296         pin_out : int, optional
297             If the input is an operator, the output pin of the input operator. The default is ``0``.
298 
299         Examples
300         --------
301         Compute the minimum of displacement by chaining the ``"U"`` and ``"min_max_fc"`` operators.
302 
303         >>> from ansys.dpf import core as dpf
304         >>> from ansys.dpf.core import examples
305         >>> data_src = dpf.DataSources(examples.find_multishells_rst())
UNEXPECTED EXCEPTION: <HTTPError 503: 'Service Unavailable'>
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/doctest.py", line 1350, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest core.dpf_operator.Operator.connect[2]>", line 1, in <module>
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 1772, in find_multishells_rst
    return _download_file(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 116, in _download_file
    local_path = _retrieve_file(url, filename, directory)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 110, in _retrieve_file
    _, resp = urlretrieve(url, local_path)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
.../dpf/core/dpf_operator.py:305: UnexpectedException
src.ansys.dpf.core.elements::core.elements.Elements.mapping_id_to_index
Stack Traces | 2.16s run time
643 
644         Mapping between the IDs and indices of the entity.
645 
646         This property is useful for mapping scalar results from a field to the meshed region.
647 
648         Examples
649         --------
650         >>> import ansys.dpf.core as dpf
651         >>> from ansys.dpf.core import examples
652         >>> model = dpf.Model(examples.find_simple_bar())
UNEXPECTED EXCEPTION: <HTTPError 503: 'Service Unavailable'>
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/doctest.py", line 1350, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest core.elements.Elements.mapping_id_to_index[2]>", line 1, in <module>
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 1680, in find_simple_bar
    return _download_file(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 116, in _download_file
    local_path = _retrieve_file(url, filename, directory)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 110, in _retrieve_file
    _, resp = urlretrieve(url, local_path)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
.../dpf/core/elements.py:652: UnexpectedException
src.ansys.dpf.core.plotter::core.plotter.DpfPlotter.add_scoping
Stack Traces | 2.17s run time
777             Whether to show the mesh along with the scoping entities.
778         **kwargs : optional
779             Additional keyword arguments for the plotter. More information
780             are available at :func:`pyvista.plot`.
781 
782         Examples
783         --------
784         >>> from ansys.dpf import core as dpf
785         >>> from ansys.dpf.core import examples
786         >>> model = dpf.Model(examples.download_cfx_mixing_elbow())
UNEXPECTED EXCEPTION: <HTTPError 503: 'Service Unavailable'>
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/doctest.py", line 1350, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest core.plotter.DpfPlotter.add_scoping[2]>", line 1, in <module>
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 1644, in download_cfx_mixing_elbow
    return _download_file(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 116, in _download_file
    local_path = _retrieve_file(url, filename, directory)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 110, in _retrieve_file
    _, resp = urlretrieve(url, local_path)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
.../dpf/core/plotter.py:786: UnexpectedException
src.ansys.dpf.core.data_sources::core.data_sources.DataSources.add_upstream
Stack Traces | 2.21s run time
456 
457         Examples
458         --------
459         Add upstream data to the main DataSources object of an expansion analysis.
460 
461         >>> from ansys.dpf import core as dpf
462         >>> from ansys.dpf.core import examples
463         >>>
464         >>> # Download the result files
465         >>> paths = examples.download_msup_files_to_dict()
UNEXPECTED EXCEPTION: <HTTPError 503: 'Service Unavailable'>
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/doctest.py", line 1350, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest core.data_sources.DataSources.add_upstream[2]>", line 1, in <module>
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 455, in download_msup_files_to_dict
    "rfrq": _download_file(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 116, in _download_file
    local_path = _retrieve_file(url, filename, directory)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 110, in _retrieve_file
    _, resp = urlretrieve(url, local_path)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
.../dpf/core/data_sources.py:465: UnexpectedException
src.ansys.dpf.core.mesh_info::core.mesh_info.MeshInfo
Stack Traces | 4.45s run time
042      mesh_info : optional
043         Hold the information of the mesh region into a generic data container.
044 
045     Examples
046     --------
047     Explore the mesh info from the model
048 
049     >>> from ansys.dpf import core as dpf
050     >>> from ansys.dpf.core import examples
051     >>> fluent = examples.fluid_axial_model()
UNEXPECTED EXCEPTION: <HTTPError 503: 'Service Unavailable'>
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10/doctest.py", line 1350, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest core.mesh_info.MeshInfo[2]>", line 1, in <module>
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10.../core/examples/examples.py", line 116, in fluid_axial_model
    aux = download_fluent_axial_comp()
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10.../core/examples/downloads.py", line 1269, in download_fluent_axial_comp
    _download_file(
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10.../core/examples/downloads.py", line 116, in _download_file
    local_path = _retrieve_file(url, filename, directory)
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10.../core/examples/downloads.py", line 110, in _retrieve_file
    _, resp = urlretrieve(url, local_path)
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File ".../hostedtoolcache/Python/3.10.19..................................../x64/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
.../dpf/core/mesh_info.py:51: UnexpectedException
src.ansys.dpf.core.model::core.model.Model.results
Stack Traces | 5.26s run time
158             >>> v = model.results.electric_potential
159             >>> dissip = model.results.thermal_dissipation_energy
160 
161         Examples
162         --------
163         Extract the result object from a model.
164 
165         >>> from ansys.dpf import core as dpf
166         >>> from ansys.dpf.core import examples
167         >>> model = dpf.Model(examples.find_simple_bar())
UNEXPECTED EXCEPTION: <HTTPError 503: 'Service Unavailable'>
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/doctest.py", line 1350, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest core.model.Model.results[7]>", line 1, in <module>
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 1680, in find_simple_bar
    return _download_file(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 116, in _download_file
    local_path = _retrieve_file(url, filename, directory)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 110, in _retrieve_file
    _, resp = urlretrieve(url, local_path)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
.../dpf/core/model.py:167: UnexpectedException
tests/test_plotter.py::test_scopings_container_plot
Stack Traces | 6.26s run time
fluent_mixing_elbow_steady_state = <function fluent_mixing_elbow_steady_state.<locals>.return_ds at 0x7fae68292b00>

    @pytest.mark.skipif(not HAS_PYVISTA, reason="This test requires pyvista")
    @pytest.mark.skipif(
        not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
        reason="cff::cas::meshes_provider requires DPF 24R1",
    )
    def test_scopings_container_plot(fluent_mixing_elbow_steady_state):
        mesh: core.MeshedRegion = core.operators.mesh.mesh_provider(
>           data_sources=fluent_mixing_elbow_steady_state()
        ).eval()

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

self = <urllib.request.HTTPDefaultErrorHandler object at 0x7faefd046fe0>
req = <urllib.request.Request object at 0x7faefcf78d90>
fp = <http.client.HTTPResponse object at 0x7faefcf7bee0>, code = 503
msg = 'Service Unavailable'
hdrs = <http.client.HTTPMessage object at 0x7faefcf7b280>

    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 503: Service Unavailable

.../hostedtoolcache/Python/3.10.19...................../x64/lib/python3.10/urllib/request.py:643: HTTPError
src.ansys.dpf.core.data_sources::core.data_sources.DataSources.guess_second_key
Stack Traces | 7.95s run time
235 
236         Examples
237         --------
238         Find the first extension key of a result file with multiple extensions keys.
239 
240         >>> from ansys.dpf import core as dpf
241         >>> from ansys.dpf.core import examples
242         >>>
243         >>> # Download the result files
244         >>> paths = examples.download_fluent_axial_comp()
UNEXPECTED EXCEPTION: <HTTPError 503: 'Service Unavailable'>
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/doctest.py", line 1350, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest core.data_sources.DataSources.guess_second_key[2]>", line 1, in <module>
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 1262, in download_fluent_axial_comp
    _download_file(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 116, in _download_file
    local_path = _retrieve_file(url, filename, directory)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 110, in _retrieve_file
    _, resp = urlretrieve(url, local_path)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
.../dpf/core/data_sources.py:244: UnexpectedException
src.ansys.dpf.core.plotter::core.plotter.DpfPlotter.add_streamlines
Stack Traces | 10.6s run time
644             avoid throwing if computed streamlines are empty. See
645             ``Examples`` section for more information.
646 
647         Examples
648         --------
649         >>> from ansys.dpf import core as dpf
650         >>> from ansys.dpf.core import examples
651         >>> from ansys.dpf.core.helpers.streamlines import compute_streamlines
652         >>> # Get model and meshed region
653         >>> files = examples.download_fluent_mixing_elbow_steady_state()
UNEXPECTED EXCEPTION: <HTTPError 503: 'Service Unavailable'>
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/doctest.py", line 1350, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest core.plotter.DpfPlotter.add_streamlines[3]>", line 1, in <module>
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 1380, in download_fluent_mixing_elbow_steady_state
    _download_file(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 116, in _download_file
    local_path = _retrieve_file(url, filename, directory)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 110, in _retrieve_file
    _, resp = urlretrieve(url, local_path)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
.../dpf/core/plotter.py:653: UnexpectedException
src.ansys.dpf.core.data_sources::core.data_sources.DataSources.add_upstream_for_domain
Stack Traces | 13.3s run time
503         --------
504         Add an upstream data to the main DataSources object of an expansion distributed analysis.
505 
506         >>> import os
507         >>>
508         >>> from ansys.dpf import core as dpf
509         >>> from ansys.dpf.core import examples
510         >>>
511         >>> # Download the result files
512         >>> paths = examples.find_distributed_msup_folder()
UNEXPECTED EXCEPTION: <HTTPError 503: 'Service Unavailable'>
Traceback (most recent call last):
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/doctest.py", line 1350, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest core.data_sources.DataSources.add_upstream_for_domain[3]>", line 1, in <module>
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 1979, in find_distributed_msup_folder
    _download_file(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 116, in _download_file
    local_path = _retrieve_file(url, filename, directory)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10.../core/examples/downloads.py", line 110, in _retrieve_file
    _, resp = urlretrieve(url, local_path)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File ".../hostedtoolcache/Python/3.10.19................................./x64/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 503: Service Unavailable
.../dpf/core/data_sources.py:512: UnexpectedException
tests\test_plotter.py::test_plotter::test_plotter_add_scoping
Stack Traces | 13.6s run time
fluent_mixing_elbow_steady_state = <function fluent_mixing_elbow_steady_state.<locals>.return_ds at 0x0000021AB4C32560>

    @pytest.mark.skipif(not HAS_PYVISTA, reason="This test requires pyvista")
    @pytest.mark.skipif(
        not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
        reason="cff::cas::meshes_provider requires DPF 24R1",
    )
    def test_plotter_add_scoping(fluent_mixing_elbow_steady_state):
        mesh: core.MeshedRegion = core.operators.mesh.mesh_provider(
>           data_sources=fluent_mixing_elbow_steady_state()
        ).eval()

tests\test_plotter.py:971: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\conftest.py:278: in return_ds
    files = examples.download_fluent_mixing_elbow_steady_state(server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\examples\downloads.py:1373: in download_fluent_mixing_elbow_steady_state
    _download_file(
.tox\test-api\lib\site-packages\ansys\dpf\core\examples\downloads.py:116: in _download_file
    local_path = _retrieve_file(url, filename, directory)
.tox\test-api\lib\site-packages\ansys\dpf\core\examples\downloads.py:110: in _retrieve_file
    _, resp = urlretrieve(url, local_path)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:241: in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:216: in urlopen
    return opener.open(url, data, timeout)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:525: in open
    response = meth(req, response)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:634: in http_response
    response = self.parent.error(
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:563: in error
    return self._call_chain(*args)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:496: in _call_chain
    result = func(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <urllib.request.HTTPDefaultErrorHandler object at 0x0000021AA8D0D870>
req = <urllib.request.Request object at 0x0000021AB4A32C20>
fp = <http.client.HTTPResponse object at 0x0000021AB4A30730>, code = 503
msg = 'Service Unavailable'
hdrs = <http.client.HTTPMessage object at 0x0000021AB4A31540>

    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 503: Service Unavailable

C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:643: HTTPError
tests\test_plotter.py::test_plotter::test_scoping_plot
Stack Traces | 32.5s run time
fluent_mixing_elbow_steady_state = <function fluent_mixing_elbow_steady_state.<locals>.return_ds at 0x0000021AB4BDBD00>

    @pytest.mark.skipif(not HAS_PYVISTA, reason="This test requires pyvista")
    @pytest.mark.skipif(
        not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_7_0,
        reason="cff::cas::meshes_provider requires DPF 24R1",
    )
    def test_scoping_plot(fluent_mixing_elbow_steady_state):
        mesh: core.MeshedRegion = core.operators.mesh.mesh_provider(
>           data_sources=fluent_mixing_elbow_steady_state()
        ).eval()

tests\test_plotter.py:994: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\conftest.py:278: in return_ds
    files = examples.download_fluent_mixing_elbow_steady_state(server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\examples\downloads.py:1429: in download_fluent_mixing_elbow_steady_state
    _download_file(
.tox\test-api\lib\site-packages\ansys\dpf\core\examples\downloads.py:116: in _download_file
    local_path = _retrieve_file(url, filename, directory)
.tox\test-api\lib\site-packages\ansys\dpf\core\examples\downloads.py:110: in _retrieve_file
    _, resp = urlretrieve(url, local_path)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:241: in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:216: in urlopen
    return opener.open(url, data, timeout)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:525: in open
    response = meth(req, response)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:634: in http_response
    response = self.parent.error(
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:563: in error
    return self._call_chain(*args)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\urllib\request.py:496: in _call_chain
    result = func(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <urllib.request.HTTPDefaultErrorHandler object at 0x0000021AA8D0D870>
req = <urllib.request.Request object at 0x0000021AB90B9300>
fp = <http.client.HTTPResponse object at 0x0000021AB90B8160>, code = 503
msg = 'Service Unavailable'
hdrs = <http.client.HTTPMessage object at 0x0000021AB90BAF50>

    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 503: Service Unavailable

C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\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.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 11, 2025

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

  • PyDPF-Post docstring tests on ubuntu-latest

  • PyDPF-Post docstring tests on windows-latest

    Created by continue-on-error-comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants