Skip to content

Commit 99c7319

Browse files
committed
CI: improve nightly blktests
Improving nightly blktests by: 1. Remove any preinstalled nvme-cli and libnvme packages 2. Output nvme-cli version information to artifacts 3. Run only tests that utilized nvme-cli Signed-off-by: Dennis Maisenbacher <[email protected]>
1 parent 3bb41bd commit 99c7319

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/run-nightly-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
set -x
2727
uname -a
2828
29+
sudo dnf remove -y nvme-cli libnvme
30+
2931
sudo dnf install -y gcc clang make util-linux llvm gawk fio udev \
3032
kmod coreutils g++ gzip e2fsprogs xfsprogs f2fs-tools btrfs-progs \
3133
device-mapper-multipath blktrace kernel-headers liburing \
@@ -58,13 +60,17 @@ jobs:
5860
5961
cd blktests
6062
make
63+
mkdir -p results
64+
nvme --version | tee -a results/nvme-cli.version
65+
sudo nvme --version | tee -a results/nvme-cli.version
6166
6267
# Run blktests nvme and md group
6368
cat > config << EF
6469
TEST_DEVS=(${BDEV0})
6570
NVMET_TRTYPES="loop rdma tcp"
71+
EXCLUDE=(nvme/010 nvme/012 nvme/034 nvme/035)
6672
EF
67-
sudo ./check nvme md
73+
sudo ./check nvme md/001
6874
- name: Run nvme-cli tests in VM
6975
uses: ./.github/actions/kubevirt-action
7076
with:

0 commit comments

Comments
 (0)