Skip to content

increase conda timeouts#2310

Closed
lauramurgatroyd wants to merge 3 commits intomasterfrom
conda_timeout
Closed

increase conda timeouts#2310
lauramurgatroyd wants to merge 3 commits intomasterfrom
conda_timeout

Conversation

@lauramurgatroyd
Copy link
Copy Markdown
Member

@lauramurgatroyd lauramurgatroyd commented Apr 16, 2026

Description

Testing to see if this helps with: #2308

Example Usage

Contribution Notes

  • The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License
  • I confirm that the contribution does not violate any intellectual property rights of third parties

❤️ Thanks for your contribution!

@lauramurgatroyd
Copy link
Copy Markdown
Member Author

I tried:

conda config --set remote_connect_timeout_secs 60
conda config --set remote_max_retries 5
conda config --set remote_read_timeout_secs 120
conda config --set remote_backoff_factor 5

But still get an error:
RuntimeError: Download error (28) Timeout was reached [https://tomography.stfc.ac.uk/conda/noarch/repodata.json]
Connection timed out after 30000 milliseconds

So somewhere we still have a 30s timeout

https://github.com/TomographicImaging/CIL/actions/runs/24500928710/job/71607223624?pr=2310

@lauramurgatroyd
Copy link
Copy Markdown
Member Author

@lauramurgatroyd
Copy link
Copy Markdown
Member Author

https://github.com/TomographicImaging/CIL/actions/runs/24507146781/job/71629610105

TEST START: dist/linux-64/cil-25.0.0-py311h2bc3f7f_34.tar.bz2
Adding in variants from internal_defaults
Adding in variants from /tmp/tmp9m7ph4db/info/recipe/conda_build_config.yaml
Adding in variants from config.variant
warning libmamba Could not parse mod/etag header
warning libmamba Could not parse mod/etag header

Leaving build/test directories:
Work:
/usr/share/miniconda/envs/test/conda-bld/work
Test:
/usr/share/miniconda/envs/test/conda-bld/test_tmp
Leaving build/test environments:
Test:
source activate /usr/share/miniconda/envs/test/conda-bld/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl
Build:
source activate /usr/share/miniconda/envs/test/conda-bld/_build_env

Failed recipes:

  • dist/linux-64/cil-25.0.0-py311h2bc3f7f_34.tar.bz2
    Error: Process completed with exit code 1.

@lauramurgatroyd
Copy link
Copy Markdown
Member Author

lauramurgatroyd commented Apr 16, 2026

On the third attempt 'all tests' passed: https://github.com/TomographicImaging/CIL/actions/runs/24507146781

However I am not sure if that had anything to do with my changes especially as I saw a timeout of 30s in one of the runs;
#2310 (comment)

@lauramurgatroyd
Copy link
Copy Markdown
Member Author

lauramurgatroyd commented Apr 17, 2026

Used this approach instead: #2311

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant