pulpcore-content is sending corrupted content when REDIRECT_TO_OBJECT_STORAGE=false
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
The test_download_policy tests fail intermittently for the 'streamed' tests in CI. These tests assure that pulp works with a storage backend such as sftp server. It's possible we just need to add asyncio.shield() around here[0].
[0] https://github.com/pulp/pulpcore/blob/main/pulpcore/responses.py#L154
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the streamed cases in the test_download_policy tests and inspect pulpcore/responses.py at line 154. Reproduce the intermittent CI failure with REDIRECT_TO_OBJECT_STORAGE=false and compare behavior for the storage-backend scenario. Done means the streamed tests no longer intermittently return corrupted content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100