linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Heming Zhao <heming.zhao@suse.com>
To: Zdenek Kabelac <zkabelac@redhat.com>,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] It looks wrong for the timeout when lvm test running
Date: Mon, 9 Dec 2019 10:58:52 +0000	[thread overview]
Message-ID: <efb74841-6424-aa2d-0067-019b31240bd8@suse.com> (raw)
In-Reply-To: <b43b63a0-440f-3270-aeb5-dd8cf99ffcf0@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 2698 bytes --]

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 #2: snapshot-merge.sh.txt.tgz --]
[-- Type: application/x-compressed-tar, Size: 12430 bytes --]

  reply	other threads:[~2019-12-09 10:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-09  9:20 [linux-lvm] It looks wrong for the timeout when lvm test running Heming Zhao
2019-12-09  9:40 ` Zdenek Kabelac
2019-12-09 10:58   ` Heming Zhao [this message]
2019-12-09 11:36     ` Zdenek Kabelac
2019-12-10  3:23       ` Heming Zhao
2019-12-10  9:03         ` Zdenek Kabelac
2019-12-10  9:11           ` Heming Zhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=efb74841-6424-aa2d-0067-019b31240bd8@suse.com \
    --to=heming.zhao@suse.com \
    --cc=linux-lvm@redhat.com \
    --cc=zkabelac@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).