Skip to content

test: retry integration tests on CI #2751

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

Closed

Conversation

Hofer-Julian
Copy link
Contributor

We often have errors when downloading repodata.
Since these errors tend to not occur when retrying, the hope is that a simple automatic retry will help with our flaky tests.

Example of such an error:

FAILED tests/integration_python/test_main_cli.py::test_upgrade_pypi_and_conda_package - AssertionError: Return code was 1, expected 0, stderr: ERROR get_or_create_subdir{platform=NoArch channel=https://prefix.dev/conda-forge/}: error=error sending request for url (https://prefix.dev/conda-forge/noarch/repodata_shards.msgpack.zst)
error sending request for url (https://prefix.dev/conda-forge/noarch/repodata_shards.msgpack.zst)
    Diagnostic severity: error
    Caused by: client error (Connect)
    Caused by: An existing connection was forcibly closed by the remote host. (os error 10054)

Unverified

This user has not yet uploaded their public signing key.
We often have errors when downloading repodata.
Since these errors tend to not occur when retrying, the hope is that a simple automatic retry will help with our flaky tests.

Example of such an error:

```
FAILED tests/integration_python/test_main_cli.py::test_upgrade_pypi_and_conda_package - AssertionError: Return code was 1, expected 0, stderr: ERROR get_or_create_subdir{platform=NoArch channel=https://prefix.dev/conda-forge/}: error=error sending request for url (https://prefix.dev/conda-forge/noarch/repodata_shards.msgpack.zst)
error sending request for url (https://prefix.dev/conda-forge/noarch/repodata_shards.msgpack.zst)
    Diagnostic severity: error
    Caused by: client error (Connect)
    Caused by: An existing connection was forcibly closed by the remote host. (os error 10054)
```
@Hofer-Julian
Copy link
Contributor Author

Closing in favor of #2755

@Hofer-Julian Hofer-Julian deleted the test/retry-integration branch December 20, 2024 14:04
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.

None yet

1 participant