kdevops.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
To: kdevops@lists.linux.dev
Cc: Luis Chamberlain <mcgrof@kernel.org>,
	Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Subject: [PATCH] blktests: add dependencies to run on Fedora Vagrant Box
Date: Fri, 27 Oct 2023 08:17:43 +0900	[thread overview]
Message-ID: <20231026231743.1106547-1-shinichiro.kawasaki@wdc.com> (raw)

When we choose Fedora Vagrant Box, kdevops has a few issues to run
blktests due to missing package dependencies. Firstly, 'make blktests'
for Fedora Vagrant Box fails with the messages like,

    fatal: [fedora-loop]: FAILED! => {"changed": false, "msg": "Could not find the requested service multipathd: host"}
    fatal: [fedora-nbd]: FAILED! => {"changed": false, "cmd": "/usr/bin/gmake -j 8", "msg": "gmake[1]: g++: No such file or directory\n...

The failure causes are missing multipathd service and g++ command. To
avoid the failures, add mapper-multipath and gcc-c++ packagers to the
dependency list.

Secondly, the test case block/011 uses setpci command. Not to skip the
test case, add pciutils package to the dependency list.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
---
 playbooks/roles/blktests/tasks/install-deps/redhat/main.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/playbooks/roles/blktests/tasks/install-deps/redhat/main.yml b/playbooks/roles/blktests/tasks/install-deps/redhat/main.yml
index fad72f41..3b321e73 100644
--- a/playbooks/roles/blktests/tasks/install-deps/redhat/main.yml
+++ b/playbooks/roles/blktests/tasks/install-deps/redhat/main.yml
@@ -12,6 +12,7 @@
       - git-core
       - automake
       - gcc
+      - gcc-c++
       - libuuid
       - libuuid-devel
       - quota
@@ -45,3 +46,5 @@
       - gdbm-libs
       - fio
       - dbench
+      - device-mapper-multipath
+      - pciutils
-- 
2.41.0


             reply	other threads:[~2023-10-26 23:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-26 23:17 Shin'ichiro Kawasaki [this message]
2023-10-26 23:21 ` [PATCH] blktests: add dependencies to run on Fedora Vagrant Box Luis Chamberlain
2023-10-26 23:58   ` Shinichiro Kawasaki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231026231743.1106547-1-shinichiro.kawasaki@wdc.com \
    --to=shinichiro.kawasaki@wdc.com \
    --cc=kdevops@lists.linux.dev \
    --cc=mcgrof@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).