Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1782422

Summary: Fetch https Operation noisy in harness.log file
Product: [Retired] Restraint Reporter: Carol Bouchard <cbouchar>
Component: generalAssignee: Carol Bouchard <cbouchar>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.1.39CC: asavkov, bpeck, breilly, cbeer, jbastian, mastyk, olichtne, pbunyan, rasibley
Target Milestone: 0.1.44   
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: 2020-01-21 19:53:26 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:
Embargoed:

Description Carol Bouchard 2019-12-11 15:41:16 UTC
Description of problem:
When using <fetch url="https://github.com.<snip> in task, it reports
everything contained in the repo instead of just reporting the requested
directory.  When the repo is large, this affects performance since each
line is reported back to the Line Controller.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  Create a job with a task using <fetch url="https://github.com.<snip> 
2.  Run job.
3.  The following is an example of what was used in original test system.
<fetch url="https://github.com/CKI-project/tests-beaker/archive/master.zip#test/misc/machineinfo"/>

Actual results:
Reports all files/directories beneath the repo
https://github.com/CKI-project/tests-beaker

Expected results:
Report only the requested directory  "test/misc/machineinfo"

Additional info:

Comment 1 Jeff Bastian 2020-01-15 20:09:56 UTC
Is there a reason restraint needs to send each "** Extracting $FILENAME" message one at a time to the lab controller?  What if restraint just buffered all of those messages internally and then sent one big update after the full zip file is extracted?  That should also cut down significantly on the chattiness.

Comment 3 Rachel Sibley 2020-01-15 20:25:51 UTC
*** Bug 1791407 has been marked as a duplicate of this bug. ***

Comment 5 PaulB 2020-01-16 03:42:47 UTC
pbnyan adds Beaker God mastyk to BZ so he is aware..