Hello Zdenek, Please check the compressed file in attachment. my env: suse tumbleweed, running in qemu virtual machine (4 vcpu 5g mem). uname -a: Linux tb-base40g 5.3.8-1-default #1 SMP Wed Oct 30 07:12:05 UTC 2019 (ea4c828) x86_64 x86_64 x86_64 GNU/Linu lvm2 version: # ./tools/lvm version LVM version: 2.03.08(2)-git (2019-11-30) Library version: 1.02.169-git (2019-11-30) Driver version: 4.40.0 Configuration: ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --enable-dmeventd --enable-cmdlib --enable-udev_rules --enable-udev_sync --with-udev-prefix=/usr/ --enable-selinux --enable-pkgconfig --with-usrlibdir=/usr/lib64 --with-usrsbindir=/usr/sbin --with-default-dm-run-dir=/run --with-tmpfilesdir=/usr/lib/tmpfiles.d --with-thin=internal --with-device-gid=6 --with-device-mode=0640 --with-device-uid=0 --with-dmeventd-path=/usr/sbin/dmeventd --with-thin-check=/usr/sbin/thin_check --with-thin-dump=/usr/sbin/thin_dump --with-thin-repair=/usr/sbin/thin_repair --enable-blkid_wiping --enable-lvmpolld --enable-realtime --with-cache=internal --with-default-locking-dir=/run/lock/lvm --with-default-pid-dir=/run --with-default-run-dir=/run/lvm --enable-cmirrord --enable-fsadm --disable-silent-rules --enable-write_install --with-vdo=internal --with-vdo-format=/usr/bin/vdoformat --enable-debug --enable-dbus-service --with-writecache=internal On 12/9/19 5:40 PM, Zdenek Kabelac wrote: > Dne 09. 12. 19 v 10:20 Heming Zhao napsal(a): >> Hello List, >> >> The lvm test default timeout (--timeout) default value is 180. >> But I met below condition when running testcase (in virtual machine): >> ``` >> make check_local T=shell/snapshot-merge.sh >> ... ... >> ### passed: [ndev-vanilla] shell/snapshot-merge.sh 665 >> ... ... >> ``` >> >> Obviously, the timeout doesn't work normally. >> If I change below code, the timeout work as expected. (in lib/brick-shelltest.h) >> ``` >> if ( select( nfds, &set, NULL, NULL, &wait ) > 0 ) { >> silent_start = end; /* something happened */ >> io.sync( false ); >> } > > > Hi > > > Can you please provide (compressed) output of: > > 'make check_local T=snapshot-merge.sh VERBOSE=1 LVM_TEST_AUX_TRACE=1' > > Thanks > > Zdenek > > > >
Attachment:
snapshot-merge.sh.txt.tgz
Description: snapshot-merge.sh.txt.tgz
_______________________________________________ linux-lvm mailing list linux-lvm@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/