Bug 1383152

Summary: Trigger is ignoring HTTP error codes
Product: [Community] rpm-test-trigger Reporter: Roman Joost <rjoost>
Component: generalAssignee: beaker-dev-list
Status: MODIFIED --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unreleased   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Roman Joost 2016-10-10 04:34:12 UTC
The download code for downloading packages does not check the response from the server leading to invalid downloaded packages. By invalid I mean non-rpm files like HTML.

What we want is:

a) Stop downloading packages where the server responded with an error code
b) Propagate the problem and fail the entire test run with an infrastructure error.

In regards of the motivation of an infrastructure error, check the discussion on Bug 1347460

Comment 1 Tyrone Abdy 2016-10-13 22:41:56 UTC
https://gerrit.beaker-project.org/#/c/5314/