Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* btrfs-6.9 misc-tests.sh failures
@ 2024-06-10 19:38 Bruce Dubbs
  2024-06-10 21:49 ` Qu Wenruo
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Dubbs @ 2024-06-10 19:38 UTC (permalink / raw)
  To: linux-btrfs

failed: /build/btrfs/btrfs-progs-v6.9/btrfs balance start -mconvert=single 
-sconvert=single -f /build/btrfs/btrfs-progs-v6.9/tests/mnt
test failed for case 004-shrink-fs

The misc-tests-results.txt gives:

====== RUN CHECK /build/btrfs/btrfs-progs-v6.9/btrfs filesystem resize 8091860992 
/build/btrfs/btrfs-progs-v6.9/tests/mnt
Resize device id 1 (/dev/loop0) from 7.54GiB to 7.54GiB
====== RUN CHECK /build/btrfs/btrfs-progs-v6.9/btrfs balance start -mconvert=single 
-sconvert=single -f /build/btrfs/btrfs-progs-v6.9/tests/mnt
ERROR: error during balancing '/build/btrfs/btrfs-progs-v6.9/tests/mnt': No space 
left on device
There may be more info in syslog - try dmesg | tail
failed: /build/btrfs/btrfs-progs-v6.9/btrfs balance start -mconvert=single 
-sconvert=single -f /build/btrfs/btrfs-progs-v6.9/tests/mnt
test failed for case 004-shrink-fs

How much space is needed?  On my /build partition:

SOURCE         TARGET    FSTYPE     SIZE   USED AVAIL USE%
/dev/nvme0n1p7 /build    ext4       245G 141.2G 91.3G  58%

Disabling case 004-shrink-fs the next issue is

====== RUN MUSTFAIL /build/btrfs/btrfs-progs-v6.9/btrfs subvolume delete 
/build/btrfs/btrfs-progs-v6.9/tests/mnt/snap1
Delete subvolume 257 (no-commit): '/build/btrfs/btrfs-progs-v6.9/tests/mnt/snap1'
succeeded (unexpected!): /build/btrfs/btrfs-progs-v6.9/btrfs subvolume delete 
/build/btrfs/btrfs-progs-v6.9/tests/mnt/snap1
unexpected success: deleting default subvolume by path succeeded
test failed for case 041-subvolume-delete-during-send

I do not have any insight into this issue.

After disabling 041-subvolume-delete-during-send all other tests pass.

-----

Note, the reason we run tests in linuxfromscratch it to give users confidence in the 
packages built.  We can just disable some tests and label them as known errors,
but it seems that an important package like btrfs should test clean.   If the test 
failures are something we have done wrong, we would like to fix it.

   -- Bruce Dubbs
      linuxfromscratch.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: btrfs-6.9 misc-tests.sh failures
  2024-06-10 19:38 btrfs-6.9 misc-tests.sh failures Bruce Dubbs
@ 2024-06-10 21:49 ` Qu Wenruo
  0 siblings, 0 replies; 2+ messages in thread
From: Qu Wenruo @ 2024-06-10 21:49 UTC (permalink / raw)
  To: Bruce Dubbs, linux-btrfs



在 2024/6/11 05:08, Bruce Dubbs 写道:
> failed: /build/btrfs/btrfs-progs-v6.9/btrfs balance start
> -mconvert=single -sconvert=single -f
> /build/btrfs/btrfs-progs-v6.9/tests/mnt
> test failed for case 004-shrink-fs

This is a known bug and would be fixed by this patch:

https://lore.kernel.org/linux-btrfs/5a292583be11ae383e79aaca0fa79be2141ef6ca.1717732459.git.wqu@suse.com/T/#u

Thanks,
Qu
>
> The misc-tests-results.txt gives:
>
> ====== RUN CHECK /build/btrfs/btrfs-progs-v6.9/btrfs filesystem resize
> 8091860992 /build/btrfs/btrfs-progs-v6.9/tests/mnt
> Resize device id 1 (/dev/loop0) from 7.54GiB to 7.54GiB
> ====== RUN CHECK /build/btrfs/btrfs-progs-v6.9/btrfs balance start
> -mconvert=single -sconvert=single -f
> /build/btrfs/btrfs-progs-v6.9/tests/mnt
> ERROR: error during balancing '/build/btrfs/btrfs-progs-v6.9/tests/mnt':
> No space left on device
> There may be more info in syslog - try dmesg | tail
> failed: /build/btrfs/btrfs-progs-v6.9/btrfs balance start
> -mconvert=single -sconvert=single -f
> /build/btrfs/btrfs-progs-v6.9/tests/mnt
> test failed for case 004-shrink-fs
>
> How much space is needed?  On my /build partition:
>
> SOURCE         TARGET    FSTYPE     SIZE   USED AVAIL USE%
> /dev/nvme0n1p7 /build    ext4       245G 141.2G 91.3G  58%
>
> Disabling case 004-shrink-fs the next issue is
>
> ====== RUN MUSTFAIL /build/btrfs/btrfs-progs-v6.9/btrfs subvolume delete
> /build/btrfs/btrfs-progs-v6.9/tests/mnt/snap1
> Delete subvolume 257 (no-commit):
> '/build/btrfs/btrfs-progs-v6.9/tests/mnt/snap1'
> succeeded (unexpected!): /build/btrfs/btrfs-progs-v6.9/btrfs subvolume
> delete /build/btrfs/btrfs-progs-v6.9/tests/mnt/snap1
> unexpected success: deleting default subvolume by path succeeded
> test failed for case 041-subvolume-delete-during-send
>
> I do not have any insight into this issue.
>
> After disabling 041-subvolume-delete-during-send all other tests pass.
>
> -----
>
> Note, the reason we run tests in linuxfromscratch it to give users
> confidence in the packages built.  We can just disable some tests and
> label them as known errors,
> but it seems that an important package like btrfs should test clean.
> If the test failures are something we have done wrong, we would like to
> fix it.
>
>    -- Bruce Dubbs
>       linuxfromscratch.org
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-10 21:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-10 19:38 btrfs-6.9 misc-tests.sh failures Bruce Dubbs
2024-06-10 21:49 ` Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox