Bug 1327474

Summary: don't install task dependencies one by one in rhts_legacy mode
Product: [Retired] Restraint Reporter: Jan Stancek <jstancek>
Component: generalAssignee: Artem Savkov <asavkov>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.1.24CC: asavkov, bpeck, dcallagh, jburke, mjia, omoris, rjoost
Target Milestone: 0.1.25   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-27 08:16:48 UTC 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 Jan Stancek 2016-04-15 08:28:28 UTC
Description of problem:
A task with 160 dependencies (most of which are arch specific) on s390x spends ~20 minutes by running yum commands, even though all packages have been installed via kickstart.

~7-8 seconds per package amounts to ~20 minutes total.

Version-Release number of selected component (if applicable):
0.1.24-1.el7_2

How reproducible:
100%

Steps to Reproduce:
run task with many dependencies on s390x in beaker job that is using restraint as harness

Actual results:
20 minutes are spent by running yum commands that have no effect

Expected results:
faster setup phase of task

Additional info:

Comment 1 Artem Savkov 2016-06-22 14:12:50 UTC
Proposed fix for this issue: https://gerrit.beaker-project.org/#/c/5004/