Skip to content

Commit

Permalink
initial bdevperf test
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Indenbaum <[email protected]>
  • Loading branch information
Alexander Indenbaum committed Aug 16, 2023
1 parent f63558f commit f4f7038
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,15 @@ jobs:
eval $(make alias)
nvmeof-cli get_subsystems
- name: run bdevperf
run: |
# see https://spdk.io/doc/nvmf_multipath_howto.html
. .env
bdevperf_container=$(DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker-compose run --detach --entrypoint=./build/examples/bdevperf spdk-build -m 0x4 -z -r /tmp/bdevperf.sock -q 128 -o 4096 -w verify -t 90)
docker exec $bdevperf_container ./scripts/rpc.py -v -s /tmp/bdevperf.sock bdev_nvme_set_options -r -1
docker exec $bdevperf_container ./scripts/rpc.py -v -s /tmp/bdevperf.sock bdev_nvme_attach_controller -b Nvme0 -t tcp -a $NVMEOF_IP_ADDRESS -s $NVMEOF_IO_PORT -f ipv4 -n $NQN -l -1 -o 10
docker exec $bdevperf_container bash -c "PYTHONPATH=$PYTHONPATH:/root/src/spdk/python ./examples/bdev/bdevperf/bdevperf.py -t 1 -s /tmp/bdevperf.sock perform_tests"
#- name: Test mounting nvmeof device locally
# run: |
# . .env
Expand Down

0 comments on commit f4f7038

Please sign in to comment.