Help with lvm2 tests.
"Bruce Dubbs" ([email protected] via blfs-dev Mailing List) <[email protected]> Mon, 27 Oct 2025 14:36:48 -0500
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
I was trying to update to lvm2-LVM2.2.03.36 today but I got a lot of test errors that
I can't figure out:
# 443 tests: 6 passed, 236 skipped, 0 timed out, 0 warned, 201 failed in 1:38.219
Can I get someone else to check this out please.
-- Bruce
Here is an example of the output for one failure:
### running: [ndev-vanilla] shell/zero-usage.sh 0:00.180
| [ 0:00.016] Library version: 1.02.210 (2025-10-24)
| [ 0:00.016] Driver version: 4.50.0
| [ 0:00.016] Kernel is Linux samwise124 6.16.1 #2 SMP PREEMPT_DYNAMIC Sun Aug 24
17:26:19 CDT 2025 x86_64 GNU/Linux
| [ 0:00.018] Selinux mode is not installed.
| [ 0:00.019] total used free shared buff/cache
available
| [ 0:00.019] Mem: 64049 1113 56991 12 6567
62936
| [ 0:00.019] Swap: 2047 0 2047
| [ 0:00.019] Filesystem Size Used Avail Use% Mounted on
| [ 0:00.022] /dev/root 40G 27G 11G 72% /
| [ 0:00.022] devtmpfs 32G 0 32G 0% /dev
| [ 0:00.022] tmpfs 32G 1.6M 32G 1% /run
| [ 0:00.022] tmpfs 32G 0 32G 0% /dev/shm
| [ 0:00.022] /dev/nvme0n1p2 452M 301M 117M 73% /boot
| [ 0:00.022] /dev/nvme0n1p6 49G 7.5G 39G 17% /home
| [ 0:00.022] /dev/nvme0n1p7 246G 207G 27G 89% /build
| [ 0:00.022] lfs11:/srv/src 421G 399G 3.1G 100% /usr/src
| [ 0:00.022] /dev/sda5 40G 6.2G 31G 17% /mnt/lfs
| [ 0:00.022] run 32G 0 32G 0% /mnt/lfs/run
| [ 0:00.022] tmpfs 32G 0 32G 0% /mnt/lfs/dev/shm
| [ 0:00.022] /dev/sda3 467M 33M 410M 8% /mnt/lfs/boot
| [ 0:00.022] /dev/sda6 40G 2.1M 38G 1% /mnt/lfs/home
| [ 0:00.022] /dev/sda1 10M 278K 9.7M 3% /mnt/lfs/mnt
| [ 0:00.022] @TESTDIR=/tmp/LVMTEST14877.1tbYrPq0bt
| [ 0:00.022] @PREFIX=LVMTEST14877
| [ 0:00.022] ## DATE: Mon Oct 27 19:07:32 UTC 2025
| [ 0:00.023] ## HOST: samwise124
| [ 0:00.024] ## LVMCONF: activation {
| [ 0:00.031] ## LVMCONF: checks = 1
| [ 0:00.031] ## LVMCONF: monitoring = 0
| [ 0:00.031] ## LVMCONF: polling_interval = 1
| [ 0:00.031] ## LVMCONF: raid_region_size = 512
| [ 0:00.031] ## LVMCONF: retry_deactivation = 1
| [ 0:00.031] ## LVMCONF: snapshot_autoextend_percent = 50
| [ 0:00.031] ## LVMCONF: snapshot_autoextend_threshold = 50
| [ 0:00.031] ## LVMCONF: udev_rules = 1
| [ 0:00.031] ## LVMCONF: udev_sync = 1
| [ 0:00.031] ## LVMCONF: verify_udev_operations = 1
| [ 0:00.031] ## LVMCONF: }
| [ 0:00.031] ## LVMCONF: allocation {
| [ 0:00.031] ## LVMCONF: vdo_slab_size_mb = 128
| [ 0:00.031] ## LVMCONF: wipe_signatures_when_zeroing_new_lvs = 0
| [ 0:00.031] ## LVMCONF: zero_metadata = 0
| [ 0:00.031] ## LVMCONF: }
| [ 0:00.031] ## LVMCONF: backup {
| [ 0:00.031] ## LVMCONF: archive = 0
| [ 0:00.031] ## LVMCONF: backup = 0
| [ 0:00.031] ## LVMCONF: }
| [ 0:00.031] ## LVMCONF: devices {
| [ 0:00.031] ## LVMCONF: cache_dir = "/tmp/LVMTEST14877.1tbYrPq0bt/etc"
| [ 0:00.031] ## LVMCONF: default_data_alignment = 1
| [ 0:00.031] ## LVMCONF: dir = "/tmp/LVMTEST14877.1tbYrPq0bt/dev"
| [ 0:00.031] ## LVMCONF: filter = "a|.*|"
| [ 0:00.031] ## LVMCONF: global_filter = [
"a|/tmp/LVMTEST14877.1tbYrPq0bt/dev/mapper/LVMTEST14877.*pv[0-9_]*$|", "r|.*|" ]
| [ 0:00.031] ## LVMCONF: md_component_detection = 0
| [ 0:00.031] ## LVMCONF: scan = "/tmp/LVMTEST14877.1tbYrPq0bt/dev"
| [ 0:00.031] ## LVMCONF: sysfs_scan = 1
| [ 0:00.031] ## LVMCONF: use_devicesfile = 0
| [ 0:00.031] ## LVMCONF: write_cache_state = 0
| [ 0:00.031] ## LVMCONF: }
| [ 0:00.031] ## LVMCONF: dmeventd {
| [ 0:00.031] ## LVMCONF: executable = "/build/lvm2/LVM2.2.03.36/test/lib/dmeventd"
| [ 0:00.031] ## LVMCONF: }
| [ 0:00.031] ## LVMCONF: global {
| [ 0:00.031] ## LVMCONF: abort_on_internal_errors = 1
| [ 0:00.031] ## LVMCONF: cache_check_executable = ""
| [ 0:00.031] ## LVMCONF: cache_dump_executable = ""
| [ 0:00.031] ## LVMCONF: cache_repair_executable = ""
| [ 0:00.031] ## LVMCONF: cache_restore_executable = ""
| [ 0:00.031] ## LVMCONF: detect_internal_vg_cache_corruption = 1
| [ 0:00.031] ## LVMCONF: etc = "/tmp/LVMTEST14877.1tbYrPq0bt/etc"
| [ 0:00.031] ## LVMCONF: event_activation = 1
| [ 0:00.031] ## LVMCONF: fallback_to_local_locking = 0
| [ 0:00.031] ## LVMCONF: fsadm_executable =
"/build/lvm2/LVM2.2.03.36/test/lib/fsadm"
| [ 0:00.031] ## LVMCONF: library_dir = "/tmp/LVMTEST14877.1tbYrPq0bt/lib"
| [ 0:00.031] ## LVMCONF: locking_dir = "/tmp/LVMTEST14877.1tbYrPq0bt/var/lock/lvm"
| [ 0:00.031] ## LVMCONF: locking_type=1
| [ 0:00.031] ## LVMCONF: lvresize_fs_helper_executable =
"/build/lvm2/LVM2.2.03.36/test/lib/lvresize_fs_helper"
| [ 0:00.031] ## LVMCONF: notify_dbus = 0
| [ 0:00.031] ## LVMCONF: si_unit_consistency = 1
| [ 0:00.031] ## LVMCONF: thin_check_executable = ""
| [ 0:00.031] ## LVMCONF: thin_dump_executable = ""
| [ 0:00.031] ## LVMCONF: thin_repair_executable = ""
| [ 0:00.031] ## LVMCONF: thin_restore_executable = ""
| [ 0:00.031] ## LVMCONF: use_lvmlockd = 0
| [ 0:00.031] ## LVMCONF: use_lvmpolld = 0
| [ 0:00.031] ## LVMCONF: }
| [ 0:00.031] ## LVMCONF: log {
| [ 0:00.031] ## LVMCONF: activation = 1
| [ 0:00.031] ## LVMCONF: file = "/tmp/LVMTEST14877.1tbYrPq0bt/debug.log"
| [ 0:00.031] ## LVMCONF: indent = 1
| [ 0:00.031] ## LVMCONF: level = 9
| [ 0:00.031] ## LVMCONF: overwrite = 1
| [ 0:00.031] ## LVMCONF: syslog = 0
| [ 0:00.031] ## LVMCONF: verbose = 0
| [ 0:00.031] ## LVMCONF: }
| [ 0:00.031] <======== Processing test: "zero-usage.sh" ========>
| [ 0:00.032]
| [ 0:00.032] which md5sum || skip
| [ 0:00.032] #zero-usage.sh:18+ which md5sum
| [ 0:00.032] /usr/bin/md5sum
| [ 0:00.032]
| [ 0:00.032] aux prepare_vg 1
| [ 0:00.032] #zero-usage.sh:20+ aux prepare_vg 1
| [ 0:00.032] modprobe: FATAL: Module brd not found.
| [ 0:00.040] /build/lvm2/LVM2.2.03.36/test/lib/aux: line 1080: BACKING_DEV: unbound
variable
| [ 0:00.040] set +vx; STACKTRACE; set -vx
| [ 0:00.040] ##zero-usage.sh:20+ set +vx
| [ 0:00.040] ## - /build/lvm2/LVM2.2.03.36/test/shell/zero-usage.sh:20
| [ 0:00.040] ## 1 STACKTRACE() called from
/build/lvm2/LVM2.2.03.36/test/shell/zero-usage.sh:20
| [ 0:00.040] <======== Free space ========>
| [ 0:00.072] ## DF_H: Filesystem Size Used Avail Use% Mounted on
| [ 0:00.076] ## DF_H: /dev/root 40G 27G 11G 72% /
| [ 0:00.076] ## DF_H: devtmpfs 32G 0 32G 0% /dev
| [ 0:00.076] ## DF_H: tmpfs 32G 1.6M 32G 1% /run
| [ 0:00.076] ## DF_H: tmpfs 32G 0 32G 0% /dev/shm
| [ 0:00.076] ## DF_H: /dev/nvme0n1p2 452M 301M 117M 73% /boot
| [ 0:00.076] ## DF_H: /dev/nvme0n1p6 49G 7.5G 39G 17% /home
| [ 0:00.076] ## DF_H: /dev/nvme0n1p7 246G 207G 27G 89% /build
| [ 0:00.076] ## DF_H: lfs11:/srv/src 421G 399G 3.1G 100% /usr/src
| [ 0:00.076] ## DF_H: /dev/sda5 40G 6.2G 31G 17% /mnt/lfs
| [ 0:00.076] ## DF_H: run 32G 0 32G 0% /mnt/lfs/run
| [ 0:00.076] ## DF_H: tmpfs 32G 0 32G 0% /mnt/lfs/dev/shm
| [ 0:00.076] ## DF_H: /dev/sda3 467M 33M 410M 8% /mnt/lfs/boot
| [ 0:00.076] ## DF_H: /dev/sda6 40G 2.1M 38G 1% /mnt/lfs/home
| [ 0:00.076] ## DF_H: /dev/sda1 10M 278K 9.7M 3% /mnt/lfs/mnt
| [ 0:00.076] <======== Script file "zero-usage.sh" ========>
| [ 0:00.076] ## Line: 1 #!/bin/bash
| [ 0:00.077] ## Line: 2 # Copyright (C) 2014 Red Hat, Inc. All rights reserved.
| [ 0:00.077] ## Line: 3 #
| [ 0:00.077] ## Line: 4 # This copyrighted material is made available to
anyone wishing to use,
| [ 0:00.077] ## Line: 5 # modify, copy, or redistribute it subject to the
terms and conditions
| [ 0:00.077] ## Line: 6 # of the GNU General Public License v.2.
| [ 0:00.077] ## Line: 7 #
| [ 0:00.077] ## Line: 8 # You should have received a copy of the GNU General
Public License
| [ 0:00.077] ## Line: 9 # along with this program; if not, write to the Free
Software Foundation,
| [ 0:00.077] ## Line: 10 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA
| [ 0:00.077] ## Line: 11
| [ 0:00.077] ## Line: 12 # Basic usage of zero target
| [ 0:00.077] ## Line: 13
| [ 0:00.077] ## Line: 14
| [ 0:00.077] ## Line: 15
| [ 0:00.077] ## Line: 16 . lib/inittest --skip-with-lvmpolld
| [ 0:00.077] ## Line: 17
| [ 0:00.077] ## Line: 18 which md5sum || skip
| [ 0:00.077] ## Line: 19
| [ 0:00.077] ## Line: 20 aux prepare_vg 1
| [ 0:00.077] ## Line: 21
| [ 0:00.077] ## Line: 22 lvcreate --type zero -L1 -n $lv1 $vg
| [ 0:00.077] ## Line: 23 lvextend -L+1 $vg/$lv1
| [ 0:00.077] ## Line: 24
| [ 0:00.077] ## Line: 25 sum1=$(dd if=/dev/zero bs=2M count=1 | md5sum | cut
-f1 -d' ')
| [ 0:00.077] ## Line: 26 sum2=$(dd if="$DM_DEV_DIR/$vg/$lv1" bs=2M count=1 |
md5sum | cut -f1 -d' ')
| [ 0:00.077] ## Line: 27
| [ 0:00.077] ## Line: 28 # has to match
| [ 0:00.077] ## Line: 29 test "$sum1" = "$sum2"
| [ 0:00.077] ## Line: 30
| [ 0:00.077] ## Line: 31 check lv_field $vg/$lv1 lv_modules "zero"
| [ 0:00.077] ## Line: 32 check lv_field $vg/$lv1 segtype "zero"
| [ 0:00.077] ## Line: 33 check lv_field $vg/$lv1 seg_count "1"
| [ 0:00.077] ## Line: 34 check lv_field $vg/$lv1 seg_size_pe "4" # 4 * 512
| [ 0:00.077] ## Line: 35
| [ 0:00.077] ## Line: 36 lvextend -L+1 --type error $vg/$lv1
| [ 0:00.077] ## Line: 37 lvextend -L+1 --type linear $vg/$lv1
| [ 0:00.077] ## Line: 38 lvextend -L+1 --type striped $vg/$lv1
| [ 0:00.077] ## Line: 39 lvextend -L+1 --type zero $vg/$lv1
| [ 0:00.077] ## Line: 40
| [ 0:00.077] ## Line: 41 lvs -o+segtype,seg_size,layout,role $vg
| [ 0:00.077] ## Line: 42 check lv_field $vg/$lv1 seg_count "4"
| [ 0:00.077] ## Line: 43 check lv_field $vg/$lv1 size "6.00m"
| [ 0:00.077] ## Line: 44 check lv_field $vg/$lv1 layout "linear,error,zero"
| [ 0:00.077] ## Line: 45 check lv_field $vg/$lv1 role "public"
| [ 0:00.077] ## Line: 46
| [ 0:00.077] ## Line: 47 vgremove -ff $vg
| [ 0:00.077] aux teardown
| [ 0:00.077] #zero-usage.sh:1+ aux teardown
| [ 0:00.077] ## teardown.......ok
### failed: [ndev-vanilla] shell/zero-usage.sh
### skipped: [ndev-vanilla] shell/zz-lvmlockd-dlm-remove.sh 0:00.122
### skipped: [ndev-vanilla] shell/zz-lvmlockd-idm-remove.sh 0:00.125
### passed: [ndev-vanilla] unit/unit-test.sh 0:01.445
--
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page