On GitHub Actions we cannot insert kernel modules, so skip this script
on tests that run with pull requests and after every push. Instead run
this test with our nightly tests that run in a QEMU environment.
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
-device nvme-ns,id=nvm-1,drive=nvm-1,bus=nvme0,nsid=1,logical_block_size=4096,physical_block_size=4096,fdp.ruhs=0-63
test_cmd: "nvme fdp status /dev/ng0n1 && python3 t/nvmept_fdp.py --fio ./fio --dut /dev/ng0n1"
extra_pkgs: "nvme-cli"
+ - config: verify-trim
+ device:
+ test_cmd: "python3 t/verify-trim.py"
+ extra_pkgs: sg3-utils
- config: ZBD
device:
test_cmd: "./t/zbd/run-tests-against-nullb"
echo "Running long running tests..."
export PYTHONUNBUFFERED="TRUE"
+ # We can't load modules so skip 1018 which requires null_blk
skip=(
6
1007
1008
+ 1018
)
args=(
--debug
'success': SUCCESS_LONG,
'requirements': [],
},
+ {
+ 'test_id': 1018,
+ 'test_class': FioExeTest,
+ 'exe': 't/verify-trim.py',
+ 'parameters': ['-f', '{fio_path}'],
+ 'success': SUCCESS_DEFAULT,
+ 'requirements': [Requirements.linux],
+ },
]