Skip to content

Data transfer failure while running Tox on Windows #647

@saimanikant

Description

@saimanikant

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

While running tox, there are a lot of data transfer-related failures on Windows:
FAILED tests/jms/test_files.py::test_files - ansys.hps.client.exceptions.HPSError: Error occurred when starting Data Transfer client. FAILED tests/jms/test_files.py::test_download_file_in_subdir - ansys.hps.client.exceptions.HPSError: Error occurred when starting Data Transfer client. FAILED tests/jms/test_files.py::test_file_download_progress - ansys.hps.client.exceptions.HPSError: Error occurred when starting Data Transfer client. FAILED tests/jms/test_jms_api.py::test_fields_query_parameter - ansys.hps.client.exceptions.HPSError: Error occurred when starting Data Transfer client. FAILED tests/jms/test_job_definitions.py::test_task_and_job_definition_copy - ansys.hps.client.exceptions.HPSError: Error occurred when starting Data Transfer client.

This is what you see in test_results-py310-coverage.xml:

Image

These are the recent changes:
ed88741

Don't think this introduced the issue

📝 Steps to reproduce

  1. python -m pip install --upgrade pip setuptools tox tox-gh-actions

  2. tox -e py310-coverage

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

2025 R2

🐍 Which Python version are you using?

3.10

📦 Installed packages

python -m pip freeze                                                          
annotated-types==0.7.0
-e git+https://github.com/ansys/pyhps.git@af4c92329f116aa9075ea59d9402b11deb6aa050#egg=ansys_hps_client
ansys-hps-data-transfer-client @ git+https://github.com/ansys/pyhps-data-transfer.git@f07dfae7c95947aa04afce14281e7ce76b40921c
anyio==4.10.0
asyncio-atexit==1.0.1
backoff==2.2.1
backports-datetime-fromisoformat==2.0.3
cachetools==6.1.0
certifi==2025.8.3
cffi==1.17.1
chardet==5.2.0
charset-normalizer==3.4.3
colorama==0.4.6
coverage==7.10.3
cryptography==45.0.6
deprecation==2.1.0
distlib==0.4.0
exceptiongroup==1.3.0
filelock==3.19.1
h11==0.16.0
httpcore==1.0.9
httpx==0.27.2
humanfriendly==10.0
idna==3.10
iniconfig==2.1.0
jaraco.functools==4.2.1
jwcrypto==1.5.6
marshmallow==4.0.0
marshmallow-oneofschema==3.2.0
more-itertools==10.7.0
packaging==25.0
platformdirs==4.3.8
pluggy==1.6.0
portend==3.2.1
psutil==7.0.0
pycparser==2.22
pydantic==2.11.7
pydantic_core==2.33.2
Pygments==2.19.2
PyJWT==2.10.1
pyproject-api==1.9.1
pyreadline3==3.5.4
pytest==8.4.1
python-dateutil==2.9.0.post0
python-keycloak==3.12.0
requests==2.32.4
requests-toolbelt==1.0.0
six==1.17.0
sniffio==1.3.1
tempora==5.8.1
tomli==2.2.1
tox==4.28.4
tox-gh-actions==3.3.0
typing-inspection==0.4.1
typing_extensions==4.14.1
urllib3==2.5.0
virtualenv==20.34.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions