Bug 1208586

Summary: reimplement rlWaitForSocket not to use netstat if possible
Product: [Fedora] Fedora Reporter: Dalibor Pospíšil <dapospis>
Component: beakerlibAssignee: Jakub Prokes <jprokes>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: azelinka, dapospis, hkario, jprokes, mkyral, pmuller, psplicha
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1205330 Environment:
Last Closed: 2015-04-16 08:24:01 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:
Bug Depends On:    
Bug Blocks: 1173652, 1173650    

Description Dalibor Pospíšil 2015-04-02 15:16:46 UTC
+++ This bug was initially created as a clone of Bug #1205330 +++

Description of problem:
SSA - if there is not net-tools package installed, rlWaitForSocket fails; it does not get installed on RHEL-7 unless it is explicitly required by some beaker test

Version-Release number of selected component (if applicable):
beakerlib-1.10-2.el7eso.noarch

How reproducible:
always

Steps to Reproduce:
1. create test using rlWaitForSocket
2. run it on clean RHEL-7 machine

Actual results:
:: [ 13:20:20 ] :: [ INFO    ] :: rlWaitForSocket: Waiting max 20s for socket `6608' to start listening
/usr/share/beakerlib/synchronisation.sh: line 190: netstat: command not found

Expected results:
rlWaitForSocket works as expected

Additional info:
I suggest to consider adding net-tools package to beakerlib dependencies

Comment 1 Hubert Kario 2015-04-15 16:10:47 UTC
I'd say this is exact duplicate of bug 1205330, vote for close