From owner-svn-src-user@freebsd.org Fri Feb 10 11:17:47 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 47EA7CD9C43 for ; Fri, 10 Feb 2017 11:17:47 +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 E47C8C1E; Fri, 10 Feb 2017 11:17: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 v1ABHjAt018336; Fri, 10 Feb 2017 11:17:45 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1ABHjUc018334; Fri, 10 Feb 2017 11:17:45 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201702101117.v1ABHjUc018334@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Fri, 10 Feb 2017 11:17:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r313546 - user/pho/stress2/misc X-SVN-Group: user 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: Fri, 10 Feb 2017 11:17:47 -0000 Author: pho Date: Fri Feb 10 11:17:45 2017 New Revision: 313546 URL: https://svnweb.freebsd.org/changeset/base/313546 Log: Removed test from the no-run list after trimming the run time. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/all.sh user/pho/stress2/misc/marcus4.sh Modified: user/pho/stress2/misc/all.sh ============================================================================== --- user/pho/stress2/misc/all.sh Fri Feb 10 11:15:12 2017 (r313545) +++ user/pho/stress2/misc/all.sh Fri Feb 10 11:17:45 2017 (r313546) @@ -95,7 +95,6 @@ # fuzz.sh A know issue # marcus3.sh OK, but runs for a long time -# marcus4.sh OK, but runs for a long time # statfs.sh Not very interesting # vunref.sh No problems ever seen # vunref2.sh No problems ever seen Modified: user/pho/stress2/misc/marcus4.sh ============================================================================== --- user/pho/stress2/misc/marcus4.sh Fri Feb 10 11:15:12 2017 (r313545) +++ user/pho/stress2/misc/marcus4.sh Fri Feb 10 11:17:45 2017 (r313546) @@ -34,19 +34,23 @@ # Deadlock and "panic: smp_targeted_tlb_shootdown: interrupts disabled" # https://people.freebsd.org/~pho/stress/log/marcus4.txt +# "panic: spin lock held too long" seen. +# Fixed in r313472. + . ../default.cfg -pgrep -q watchdogd && exit 0 +pgrep -q watchdogd && { service watchdogd stop > /dev/null && restart=1; } dev=$(df -h `dirname $RUNDIR` | tail -1 | awk '{print $1}') mount | grep $dev | grep -q journaled && exit 0 size=$((`sysctl -n hw.physmem` / 1024 / 1024)) [ $size -gt $((4 * 1024)) ] && - { echo "RAM must be capped to 4GB for this test."; exit 0; } + { echo "RAM should be capped to 4GB for this test."; } [ "`sysctl -n debug.deadlkres.sleepfreq 2>/dev/null`" = "3" ] && { echo "deadlkres must be disabled for this test."; exit 0; } n=`find ../testcases -perm -1 -type f | wc -l` m=`su $testuser -c "limits | grep maxprocesses | awk '{print \\$NF}'"` +m=$((m / 2)) export INCARNATIONS=$((m / n)) export runRUNTIME=15m @@ -67,4 +71,12 @@ testcases/rename/rename testcases/mkfifo/mkfifo " -su $testuser -c 'cd ..; ./testcases/run/run $TESTPROGS' +su $testuser -c 'cd ..; ./testcases/run/run $TESTPROGS' & + +sleep $((16 * 60)) +../tools/killall.sh +wait +./cleanup.sh + +[ $restart ] && service watchdogd start > /dev/null +exit 0