Report disk IO in resiliency gate

This is to help monitor disk performance in the gate.

Change-Id: I9db1c35ac6df8200deefde04d54144396e0218be
This commit is contained in:
Mark Burnett 2018-02-13 11:11:10 -06:00
parent 9e0ab1871a
commit a1388dd40e
4 changed files with 28 additions and 0 deletions

3
.gitignore vendored
View File

@ -23,3 +23,6 @@ __pycache__
/docs/*/_static/
/AUTHORS
/ChangeLog
# Additional gate artifacts
/.fiotest

View File

@ -4,6 +4,10 @@
"promenade/schemas"
],
"stages": [
{
"name": "Report Disk IO",
"script": "report-disk-io.sh"
},
{
"name": "Gate Setup",
"script": "gate-setup.sh"

View File

@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -eu
source "${GATE_UTILS}"
log Testing disk IO
fio \
--randrepeat=1 \
--ioengine=libaio \
--direct=1 \
--gtod_reduce=1 \
--name=test \
--filename=.fiotest \
--bs=4k \
--iodepth=64 \
--size=1G \
--readwrite=randrw \
--rwmixread=50

View File

@ -22,6 +22,7 @@ sudo apt-get update -qq
sudo apt-get install -q -y --no-install-recommends \
curl \
docker.io \
fio \
genisoimage \
jq \
libstring-shellquote-perl \