pulp / pulp/pulpcore

pulpcore-content is sending corrupted content when REDIRECT_TO_OBJECT_STORAGE=false

Open
#3,336 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.