From 7521473bdddc20f8c0756b3b10556403bbce8a55 Mon Sep 17 00:00:00 2001 From: Mr NeilBrown Date: Mon, 12 Dec 2022 15:51:59 +1100 Subject: [PATCH] LU-16382 spec: add more dependencies for lustre-tests 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 Change-Id: Ib30731cdb11525e4f8875734314cc955f8fe1ae4 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49368 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin Reviewed-by: Aurelien Degremont --- lustre.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lustre.spec.in b/lustre.spec.in index c7cd213..05547e4 100644 --- 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 -- 1.8.3.1