From owner-svn-src-user@freebsd.org Tue Jan 14 10:13:44 2020 Return-Path: Delivered-To: svn-src-user@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D85B7224250 for ; Tue, 14 Jan 2020 10:13:44 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47xmWX5NDjz3Qnh; Tue, 14 Jan 2020 10:13:44 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9B1501C02D; Tue, 14 Jan 2020 10:13:44 +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 00EADi49091426; Tue, 14 Jan 2020 10:13:44 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00EADi2A091425; Tue, 14 Jan 2020 10:13:44 GMT (envelope-from pho@FreeBSD.org) Message-Id: <202001141013.00EADi2A091425@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Tue, 14 Jan 2020 10:13:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r356726 - 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: 356726 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.29 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: Tue, 14 Jan 2020 10:13:44 -0000 Author: pho Date: Tue Jan 14 10:13:44 2020 New Revision: 356726 URL: https://svnweb.freebsd.org/changeset/base/356726 Log: Update the no-run list. Change the trim of the runtime log file. Added a new environment variable to enable timeout for one test. Added option to flush the swap disk. Modified: user/pho/stress2/misc/all.sh Modified: user/pho/stress2/misc/all.sh ============================================================================== --- user/pho/stress2/misc/all.sh Tue Jan 14 08:22:28 2020 (r356725) +++ user/pho/stress2/misc/all.sh Tue Jan 14 10:13:44 2020 (r356726) @@ -39,6 +39,8 @@ # panic: 43 vncache entries remaining 20111220 # backingstore3.sh # g_vfs_done():md6a[WRITE(offset=...)]error = 28 20111230 +# collapse.sh panic: freeing mapped page 0xfffffe0028ed1d50 20200106 +# contigmalloc2.sh CAM stuck in wmwait seen 20200112 # devfs4.sh WiP 20181031 # fexecve.sh WiP # fsync.sh panic: Journal overflow 20190208 @@ -76,7 +78,6 @@ # quota3.sh panic: softdep_deallocate_dependencies: unrecovered ... 20111222 # quota6.sh panic: softdep_deallocate_dependencies: unrecovered ... 20130206 # quota7.sh panic: dqflush: stray dquot 20120221 -# rename14.sh WiP 20190616 # sctp.sh WiP 20190809 # sctp2.sh WiP 20190809 # sctp3.sh WiP 20190809 @@ -143,7 +144,7 @@ alllist=$sdir/list # -o list alllog=$sdir/log # Tests run alloutput=$sdir/output # Output from current test allexcess=$sdir/excessive # Tests with excessive runtime -allelapsed=$sdir/elapsed # Test runtime +allelapsed=$sdir/elapsed # Test runtime loops=0 # Times to run the tests rev=`uname -a | awk '{print $7}' | sed 's/://'` rev="`uname -a | sed 's#.*/compile/##; s/ .*//'` $rev" @@ -222,7 +223,8 @@ touch $alllast $alllog chmod 640 $alllast $alllog find ../testcases -perm -1 \( -name "*.debug" -o -name "*.full" \) -delete tail -2000 $alllog > ${alllog}.new; mv ${alllog}.new $alllog -tail -5000 $allelapsed > ${allelapsed}.new; mv ${allelapsed}.new $allelapsed +touch $allelapsed +tail -10000 $allelapsed > ${allelapsed}.new; mv ${allelapsed}.new $allelapsed console=/dev/console printf "\r\n" > $console & @@ -304,15 +306,18 @@ while true; do [ $all_debug ] && pre_debug [ -f $i ] || loops=1 # break sync; sleep .5; sync; sleep .5 + grep -E "^USE_TIMEOUT=1" $i && TIMEOUT_ONE=1 || unset TIMEOUT_ONE start=`date '+%s'` ( - [ $USE_TIMEOUT ] && - timeout -k 1m 1h ./$i 2>&1 || - ./$i 2>&1 + if [ $USE_TIMEOUT ] || [ $TIMEOUT_ONE ]; then + timeout -k 1m 1h ./$i + else + ./$i + fi e=$? [ $e -ne 0 ] && echo "FAIL $i exit code $e" - ) | tee $alloutput + ) 2>&1 | tee $alloutput ts=`date '+%Y%m%d %T'` grep -qw FAIL $alloutput && echo "$ts $rev $i" >> $allfaillog && @@ -331,6 +336,7 @@ while true; do echo "swap still running" sleep 2 done + [ $USE_SWAPOFF ] && { swapoff -a; swapon -a; } [ $all_debug ] && post_debug [ $minutes ] && [ $((`date +%s` - s1)) -ge $minutes ] && break 2 done