From owner-svn-src-user@freebsd.org Wed Sep 20 10:24:46 2017 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B3B1E074B0 for ; Wed, 20 Sep 2017 10:24:46 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 495AE6595F; Wed, 20 Sep 2017 10:24:46 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8KAOjoI081374; Wed, 20 Sep 2017 10:24:45 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8KAOj5h081373; Wed, 20 Sep 2017 10:24:45 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201709201024.v8KAOj5h081373@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Wed, 20 Sep 2017 10:24:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r323807 - user/pho/stress2/misc X-SVN-Group: user X-SVN-Commit-Author: pho X-SVN-Commit-Paths: user/pho/stress2/misc X-SVN-Commit-Revision: 323807 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2017 10:24:46 -0000 Author: pho Date: Wed Sep 20 10:24:45 2017 New Revision: 323807 URL: https://svnweb.freebsd.org/changeset/base/323807 Log: Added problem found. Return fsck status and limit runtime. Style fix. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/msdos4.sh Modified: user/pho/stress2/misc/msdos4.sh ============================================================================== --- user/pho/stress2/misc/msdos4.sh Wed Sep 20 10:22:03 2017 (r323806) +++ user/pho/stress2/misc/msdos4.sh Wed Sep 20 10:24:45 2017 (r323807) @@ -32,19 +32,23 @@ # "panic: leaf should be empty" seen +# "panic: Assertion sq->sq_wchan != NULL" seen: +# https://people.freebsd.org/~pho/stress/log/msdos4.txt + . ../default.cfg [ -x /sbin/mount_msdosfs ] || exit -mount | grep "$mntpoint" | grep -q md$mdstart && umount -f ${mntpoint} -mdconfig -l | grep -q ${mdstart} && mdconfig -d -u $mdstart +log=/tmp/msdos4.sh.log +mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint +mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart mdconfig -a -t swap -s 1g -u $mdstart -bsdlabel -w md${mdstart} auto +bsdlabel -w md$mdstart auto newfs_msdos /dev/md${mdstart}$part > /dev/null mount -t msdosfs /dev/md${mdstart}$part $mntpoint || exit 1 export RUNDIR=$mntpoint/stressX -export runRUNTIME=20m +export runRUNTIME=10m export TESTPROGS=' testcases/lockf2/lockf2 testcases/openat/openat @@ -62,5 +66,12 @@ testcases/swap/swap while mount | grep "$mntpoint" | grep -q md$mdstart; do umount $mntpoint || sleep 1 done -fsck -t msdosfs -y /dev/md${mdstart}$part +fsck -t msdosfs -y /dev/md${mdstart}$part > $log 2>&1 +s=0 +if egrep -q "BAD|INCONSISTENCY|MODIFIED" $log; then + cat $log + rm $log + s=1 +fi mdconfig -d -u $mdstart +exit $s