Skip to content

blktests zbd/009 failure #150

@yizhanglinux

Description

@yizhanglinux

Recently I found zbd/009 always failed, and after reverting commit[1], the test can pass.
The tests failed with "No space left on device", but from df -h, there still has much space on the disk, could you help check it when you have a chance, thanks.

[1]
951ad82

[2]

zbd/009 (test gap zone support with BTRFS)                   [failed]
    runtime  9.681s  ...  9.705s
    --- tests/zbd/009.out	2024-11-19 02:15:02.202488258 +0000
    +++ /root/blktests/results/nodev/zbd/009.out.bad	2024-11-19 05:59:26.815119782 +0000
    @@ -1,2 +1,2 @@
     Running zbd/009
    -Test complete
    +Test failed

# cat results/nodev/zbd/009.full
btrfs-progs v6.11
See https://btrfs.readthedocs.io for more information.

Resetting device zones /dev/sda (256 zones) ...
NOTE: several default settings have changed in version 5.15, please make sure
      this does not affect your deployments:
      - DUP for metadata (-m dup)
      - enabled no-holes (-O no-holes)
      - enabled free-space-tree (-R free-space-tree)

Label:              (null)
UUID:               88a4aefd-8be9-4e0c-9ee2-ad1a3f20bee6
Node size:          16384
Sector size:        4096	(CPU page size: 4096)
Filesystem size:    1.00GiB
Block group profiles:
  Data:             single            4.00MiB
  Metadata:         DUP               4.00MiB
  System:           DUP               4.00MiB
SSD detected:       yes
Zoned device:       yes
  Zone size:        4.00MiB
Features:           extref, skinny-metadata, no-holes, free-space-tree, zoned
Checksum:           crc32c
Number of devices:  1
Devices:
   ID        SIZE  ZONES  PATH
    1     1.00GiB    256  /dev/sda

fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=901120, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=860160, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=425984, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=131072, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=61440, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=331776, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=77824, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=163840, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=69632, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=999424, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=548864, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=278528, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=770048, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=311296, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=327680, buflen=4096
fio: io_u error on file /root/blktests/results/tmpdir.zbd.009.vr4/mnt/verify.0.0: No space left on device: write offset=1003520, buflen=4096
fio exited with status 1
fio: verification read phase will never start because write phase uses all of runtime
4;fio-3.37;verify;0;28;715776;353819;88454;2023;3;531;9.074568;5.894974;1;1885;164.221348;60.053806;1.000000%=28;5.000000%=87;10.000000%=99;20.000000%=116;30.000000%=136;40.000000%=158;50.000000%=183;60.000000%=191;70.000000%=191;80.000000%=193;90.000000%=199;95.000000%=207;99.000000%=305;99.500000%=452;99.900000%=815;99.950000%=897;99.990000%=1335;0%=0;0%=0;0%=0;12;1889;173.295916;61.492700;0;0;0.000000%;0.000000;0.000000;716160;120140;30037;5961;5;11722;26.838560;62.466622;0;12975;486.421405;275.659557;1.000000%=87;5.000000%=175;10.000000%=218;20.000000%=309;30.000000%=374;40.000000%=403;50.000000%=456;60.000000%=514;70.000000%=552;80.000000%=610;90.000000%=741;95.000000%=905;99.000000%=1302;99.500000%=1531;99.900000%=2244;99.950000%=2539;99.990000%=8716;0%=0;0%=0;0%=0;18;12982;513.208844;280.993445;71152;93453;74.503340%;89508.312500;5379.433821;0;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;1.000000%=0;5.000000%=0;10.000000%=0;20.000000%=0;30.000000%=0;40.000000%=0;50.000000%=0;60.000000%=0;70.000000%=0;80.000000%=0;90.000000%=0;95.000000%=0;99.000000%=0;99.500000%=0;99.900000%=0;99.950000%=0;99.990000%=0;0%=0;0%=0;0%=0;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;8.401152%;33.078753%;248378;0;21;0.4%;0.8%;1.6%;3.1%;94.1%;0.0%;0.0%;0.18%;0.04%;0.01%;0.18%;0.69%;4.46%;49.69%;23.09%;16.71%;3.18%;1.69%;0.06%;0.01%;0.01%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%

# df -h
Filesystem                                            Size  Used Avail Use% Mounted on
/dev/sda                                              1.0G  7.1M  982M   1% /root/blktests/results/tmpdir.zbd.009.pAG/mnt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions