Project

Profile

Help

Issue #3909

closed

auto_decompress of Downloaders modifies binary data downloaded

Added by bmbouter over 6 years ago. Updated over 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 41
Quarter:

Description

If you use the auto_decompress=False option, the file saved by the downloader to the temporary area is expected to be byte-for-byte idential binary data as the remote source. Due to a bug in aiohttp, this is not the case.

This causes DigestValidationErrors to be raised when downloading with DeclarativeVersion because the ArtifactDownloader specifies auto_decompress=False.

This issue is reproduced outside of Pulp and is tracked in upstream aiohttp here: https://github.com/aio-libs/aiohttp/issues/3182

I'm advocating to temporarily disable digest/size validation used by ArtifactDownloader until this issue is resolved.

Also available in: Atom PDF