Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2de1dbd
)
LU-16382 spec: add more dependencies for lustre-tests
68/49368/9
author
Mr NeilBrown
<neilb@suse.de>
Mon, 12 Dec 2022 04:51:59 +0000
(15:51 +1100)
committer
Oleg Drokin
<green@whamcloud.com>
Tue, 11 Apr 2023 20:06:57 +0000
(20:06 +0000)
Without these packages/tools, the lustre sanity.sh test suite can fail
unexpectedly.
If dbench or iozone are absent the relevant tests are skipped rather
than failing, so that can be Recommends.
Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ib30731cdb11525e4f8875734314cc955f8fe1ae4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49368
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Aurelien Degremont <adegremont@nvidia.com>
lustre.spec.in
patch
|
blob
|
history
diff --git
a/lustre.spec.in
b/lustre.spec.in
index
c7cd213
..
05547e4
100644
(file)
--- a/
lustre.spec.in
+++ b/
lustre.spec.in
@@
-391,6
+391,13
@@
Requires: %{requires_kmod_tests_name} = %{requires_kmod_version}
Requires: python3 >= 3.6.0
%endif
Requires: attr, rsync, perl, lsof, /usr/bin/getconf
+Requires: /usr/sbin/getenforce, /usr/bin/netstat, acl, /usr/bin/killall, /usr/bin/ping, bc
+# Of the supported targets, only rhel7 doesn't support Recommends.
+%if 0%{?rhel} > 7 || 0%{?rhel} < 1
+Recommends: dbench, iozone
+# Either of these is sufficient
+Suggests: pdsh, clush
+%endif
%if %{with mpi}
%if "%{mpi_name}" == "mpich"
BuildRequires: mpich-devel