Bug 1391969

Summary: [rfe] Make beakerlib depend on internally used binaries
Product: [Fedora] Fedora Reporter: Lukáš Zachar <lzachar>
Component: beakerlibAssignee: Dalibor Pospíšil <dapospis>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: high    
Version: rawhideCC: azelinka, dapospis, jprokes, lzachar, mkyral, muller
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: beakerlib-1.13-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-16 08:48:03 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 Lukáš Zachar 2016-11-04 14:10:32 UTC
Description of problem:

Please add dependencies on all binaries which are used inside beakerlib functions. If I install beakerlib package I expect all function to be working.

On minimal rhel install, beakerlib installed without any --force or --nodeps magic:

/usr/share/beakerlib/synchronisation.sh: line 190: netstat: command not found

I suspect there will be more hidden dependencies.

Comment 1 Dalibor Pospíšil 2016-11-04 14:47:16 UTC
It looks like netstat was moved from net-tools so we need to update it too.

Comment 2 Dalibor Pospíšil 2016-12-05 10:51:34 UTC
Actually, when I checked what rpm provides netstat, right now I found out it is still provided by net-tools package. Is it possible it was fixed at the package side in the meanwhile? Could you check it again and eventually provide the package which needs to be installed?

Comment 3 Lukáš Zachar 2016-12-05 12:24:08 UTC
I guess the issue is with version of beakerlib - beakerlib-1.10-2.el7eso installed from beaker repository. 
That version does not contain net-tools dependency. Newer beakerlib-1.11-1.el7 does.

As I was using old version - closing the bug. Sorry for the noise.

Comment 4 Dalibor Pospíšil 2016-12-05 14:55:16 UTC
Anyway I've added some more required packaged regarding to tools used.
Fixed by http://pkgs.fedoraproject.org/cgit/rpms/beakerlib.git/commit/?id=f1abf2a80b20061aa614c6021111c44799018577