fio
fio copied to clipboard
fio: double CPU clock wrap in output file not in STDERR
Please acknowledge the following before creating a ticket
- [x ] I have read the GitHub issues section of REPORTING-BUGS.
Description of the bug:
In my json output I have fio: double CPU clock wrap in my output file and not in STDERR
It does not belong in my output and gives me breakage upon trying to use the resulting json. This sort of thing belongs in STDERR.
Environment: arch linux
uname -r
5.13.10-arch1-1
fio version:
fio --version
fio-3.27
Reproduction steps
This is an intermittent issue that I only see every now and then, my automation fails and I hunt down the reason why and it is this errant line in the json. The command for reference looks like:
fio --output=output.json --output-format=json readtest.fio 1>/tmp/fio.log 2>/tmp/fio.err
readtest.fio:
[global]
bs=4K
iodepth=1
direct=1
ioengine=libaio
group_reporting
time_based
runtime=5
numjobs=1
name=read-test-job
rw=randread
size=10M
[job1]
filename=/test/testfile
an acceptable alternative would be to have that inserted into the json itself
{
error_messages: [ "fio: double CPU clock wrap" ]
}
This sounds like a dupe of #731 ...