Skip to content
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

Fix tests failing on conda #69

Open
noexec opened this issue Dec 10, 2023 · 2 comments
Open

Fix tests failing on conda #69

noexec opened this issue Dec 10, 2023 · 2 comments
Assignees
Labels
bug Something isn't working integration Continuous integration and deployment testing Test code
Milestone

Comments

@noexec
Copy link
Owner

noexec commented Dec 10, 2023

Since Dec 8, 2023, conda tests in CI/CD fail at least for Ubuntu with Python 3.8 and 3.11.
Seems unrelated to PycURL package version, which is 7.45.1 before and after the tests started failing.

@noexec noexec added bug Something isn't working testing Test code integration Continuous integration and deployment labels Dec 10, 2023
@noexec noexec added this to the v1.1.0 milestone Dec 10, 2023
@noexec noexec self-assigned this Dec 10, 2023
@noexec
Copy link
Owner Author

noexec commented Oct 16, 2024

The issue is with partial download failing because HTTP 416 does not result in pycurl.error exception, only on conda. The test is disabled in commit 54eec40.

@noexec
Copy link
Owner Author

noexec commented Oct 18, 2024

Looks like test failures depend on the specific pycurl/libcurl builds used.

Failing images:

  • all windows
  • all miniconda
  • ubuntu-24.04 platform

Success:

  • all ubuntu venv
  • ubuntu-22.04 platform

Same 12 iterations fail:

  • verify_file=True
  • size=51, part_size=51 → Failed: DID NOT RAISE <class 'pycurl.error'>
  • size=150, part_size=200 → ValueError: Size mismatch for …file.bin.part: 200 instead of 150 B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working integration Continuous integration and deployment testing Test code
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant