Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fio exit code 4 from basic test #309

Open
P-n-I opened this issue Oct 9, 2024 · 1 comment
Open

fio exit code 4 from basic test #309

P-n-I opened this issue Oct 9, 2024 · 1 comment

Comments

@P-n-I
Copy link

P-n-I commented Oct 9, 2024

./kubestr fio -s walk
PVC created kubestr-fio-pvc-ss2tb
Pod created kubestr-fio-pod-wkxfp
Running FIO test (default-fio) on StorageClass (walk) with a PVC of Size (100Gi)
Elapsed time- 14.620019328s
FIO test results:
  Failed while running FIO test.: Error running command:([fio --directory /dataset /etc/fio-config/default-fio --output-format=json]), stderr:(): Failed to exec command in pod: command terminated with exit code 4.
stdout: "write_sectors" : 0,
"read_merges" : 0,
"write_merges" : 0,
"read_ticks" : 0,
"write_ticks" : 0,
"in_queue" : 0,
"util" : 0.000000
}
]
}

Issue with libaio on one Ceph 1.15 cluster:

/ # fio --name=random-writers --ioengine=libaio --iodepth=4 --rw=randwrite --bs=32k --direct=0 --size=64m --numjobs=4
random-writers: (g=0): rw=randwrite, bs=(R) 32.0KiB-32.0KiB, (W) 32.0KiB-32.0KiB, (T) 32.0KiB-32.0KiB, ioengine=libaio, iodepth=4
...
fio-3.36
Starting 4 processes
random-writers: Laying out IO file (1 file / 64MiB)
random-writers: Laying out IO file (1 file / 64MiB)
random-writers: Laying out IO file (1 file / 64MiB)
random-writers: Laying out IO file (1 file / 64MiB)
fio: pid=112, err=11/file:engines/libaio.c:407, func=io_queue_init, error=Resource temporarily unavailable
fio: pid=111, err=11/file:engines/libaio.c:407, func=io_queue_init, error=Resource temporarily unavailable
fio: pid=110, err=11/file:engines/libaio.c:407, func=io_queue_init, error=Resource temporarily unavailable
fio: pid=113, err=11/file:engines/libaio.c:407, func=io_queue_init, error=Resource temporarily unavailable

remove the use of libaio and the test works.

@fad3t
Copy link

fad3t commented Oct 18, 2024

Got the same issues with v0.4.46, rolled back to v0.4.44 and it's fine.

My command was slightly different though:

PVC created kubestr-fio-pvc-mkbfk
Pod created kubestr-fio-pod-dxl2c
Running FIO test (fio.conf) on StorageClass (nutanix-volume) with a PVC of Size (100Gi)
Elapsed time- 3m35.31983425s
FIO test results:
  Failed while running FIO test.: Error running command:([fio --directory /dataset /etc/fio-config/fio.conf --output-format=json]), stderr:(): Failed to exec command in pod: context deadline exceeded.
stdout:
stderr:   -  Error
Error: Failed while running FIO test.: Error running command:([fio --directory /dataset /etc/fio-config/fio.conf --output-format=json]), stderr:(): Failed to exec command in pod: context deadline exceeded.
stdout:
stderr:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants