Skip to content

--warnings-fatal swallows the error #1977

@jlevon

Description

@jlevon

Please acknowledge the following before creating a ticket

Description of the bug:

Compare

[john.levon@john-levon-1 ansible]$ ../benchmark/fio/fio --client=10.117.29.229 --warnings-fatal ./jobfile_sequential_conditioning 
hostname=localhost.localdomain, be=0, 64-bit, os=Linux, arch=x86-64, fio=fio-3.39, flags=1
client: host=10.117.29.229 disconnected

with

[john.levon@john-levon-1 ansible]$ ../benchmark/fio/fio --client=10.117.29.229 ./jobfile_sequential_conditioning 
hostname=localhost.localdomain, be=0, 64-bit, os=Linux, arch=x86-64, fio=fio-3.39, flags=1
<localhost.localdomain> fio: time_based requires a runtime/timeout setting
<localhost.localdomain> sequential_conditioning: (g=0): rw=write, bs=(R) 65.5kB-65.5kB, (W) 65.5kB-65.5kB, (T) 65.5kB-65.5kB, ioengine=libaio, iodepth=64
<localhost.localdomain> Starting 1 thread

There appears to be no way to get the actual warning text above when specifying --warnings-fatal

Environment: client side: Centos 7; server side: Centos 8 Stream

fio version: fio-3.39

Reproduction steps

jobfile like this will be sufficient to demonstrate:

[sequential_conditioning]
filename=/dev/nvme0n1
readwrite=write
time_based=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions