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

Bug 1552199

Summary: Timeout in extracting archive via http://
Product: [Retired] Restraint Reporter: Vimal Patel <vipatel>
Component: generalAssignee: Martin Styk <mastyk>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: masterCC: asavkov, bpeck, jhutar, mastyk, rywillia
Target Milestone: 0.1.39   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-30 09:51:59 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 Vimal Patel 2018-03-06 16:38:21 UTC
Description of problem:
Timeout in extracting archive via http://


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

How reproducible:
can reproduce 100% of the time

Example:
defined in the xml:

<task name="/CoreOS/RHN-Satellite/Compose/Sanity/upgrade-system/per-global-config" role="STANDALONE">
   <fetch ssl_verify="off" url="https://gitlab.cee.redhat.com/satellite5qe/RHN-Satellite/repository/archive.tar.gz?ref=master#Compose/Sanity/upgrade-system/per-global-config"/>

The extraction does not complete, and then nothing can be run, an error in the restraint logs shows:
 ** (restraintd:28274): WARNING **: Failed to chdir() to /mnt/tests/gitlab.cee.redhat.com/satellite5qe/RHN-Satellite/repository/archive.tar.gz/Compose/Sanity/upgrade-system/per-global-config: No such file or directory


Actual results:
Restraint just has a flat output under archive.tar.gz instead of a directory structure, since extraction was not complete

Expected results:
directory structure of the git under /mnt/tests/...repository/archive.tar.gz/RHN-Satellite-master-eca72e2660ec3943a1242da5282058ebcd6e9957/Config/..

Additional info:

Comment 1 Vimal Patel 2019-01-16 21:22:32 UTC
Any update on this issue?

Comment 2 Martin Styk 2019-01-25 16:15:51 UTC
Beaker currently does not support ssl_verify="off" to be part of <fetch/>
Created RFE https://bugzilla.redhat.com/show_bug.cgi?id=1669548

Comment 3 Martin Styk 2019-01-25 16:17:04 UTC
Patch for Restraint Client https://gerrit.beaker-project.org/#/c/restraint/+/6398/
Default timeout increased.
A new option introduced to allow user tweak timeout time.

Comment 4 Martin Styk 2019-02-28 07:59:04 UTC
Restraint 0.1.39 has been released.