From owner-svn-src-user@freebsd.org Wed Apr 13 11:55:16 2016 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 93142B0E99D for ; Wed, 13 Apr 2016 11:55:16 +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 610F312D0; Wed, 13 Apr 2016 11:55:16 +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 u3DBtFqD024668; Wed, 13 Apr 2016 11:55:15 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3DBtFEs024666; Wed, 13 Apr 2016 11:55:15 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201604131155.u3DBtFEs024666@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Wed, 13 Apr 2016 11:55:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r297918 - 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.21 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, 13 Apr 2016 11:55:16 -0000 Author: pho Date: Wed Apr 13 11:55:15 2016 New Revision: 297918 URL: https://svnweb.freebsd.org/changeset/base/297918 Log: Added problem seen, added exit code and added failure checks. Sponsored by: EMC / Isilon Storage Division Modified: user/pho/stress2/misc/zfs5.sh user/pho/stress2/misc/zfs6.sh Modified: user/pho/stress2/misc/zfs5.sh ============================================================================== --- user/pho/stress2/misc/zfs5.sh Wed Apr 13 11:43:03 2016 (r297917) +++ user/pho/stress2/misc/zfs5.sh Wed Apr 13 11:55:15 2016 (r297918) @@ -67,3 +67,4 @@ zpool destroy tank rm -rf $d1 $d2 [ -n "$loaded" ] && kldunload zfs.ko +exit 0 Modified: user/pho/stress2/misc/zfs6.sh ============================================================================== --- user/pho/stress2/misc/zfs6.sh Wed Apr 13 11:43:03 2016 (r297917) +++ user/pho/stress2/misc/zfs6.sh Wed Apr 13 11:55:15 2016 (r297918) @@ -28,7 +28,8 @@ # $FreeBSD$ # -# Parallel mount / umount and snapshots. No problems seen. +# Parallel mount / umount and snapshots. zpool hang seen: +# https://people.freebsd.org/~pho/stress/log/zfs6.txt [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 [ $((`sysctl -n hw.usermem` / 1024 / 1024 / 1024)) -le 3 ] && exit 0 @@ -49,9 +50,10 @@ mdconfig -s 512m -u $u1 mdconfig -s 512m -u $u2 mdconfig -s 512m -u $u3 +zpool list | grep -q tank && zpool destroy tank [ -d /tank ] && rm -rf /tank -zpool create tank raidz md$u1 md$u2 md$u3 -zfs create tank/test +zpool create tank raidz md$u1 md$u2 md$u3 || exit 1 +zfs create tank/test || exit 1 while true; do zfs umount tank/test @@ -74,3 +76,4 @@ mdconfig -d -u $u1 mdconfig -d -u $u2 mdconfig -d -u $u3 [ -n "$loaded" ] && kldunload zfs.ko +exit 0 From owner-svn-src-user@freebsd.org Wed Apr 13 11:58:15 2016 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 6561FB0EA55 for ; Wed, 13 Apr 2016 11:58:15 +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 305781470; Wed, 13 Apr 2016 11:58:15 +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 u3DBwExi024805; Wed, 13 Apr 2016 11:58:14 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3DBwE27024804; Wed, 13 Apr 2016 11:58:14 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201604131158.u3DBwE27024804@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Wed, 13 Apr 2016 11:58:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r297919 - 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.21 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, 13 Apr 2016 11:58:15 -0000 Author: pho Date: Wed Apr 13 11:58:14 2016 New Revision: 297919 URL: https://svnweb.freebsd.org/changeset/base/297919 Log: Just ignore test if mke2fs is not found and added work around unrelated OOM issue. Sponsored by: EMC / Isilon Storage Division Modified: user/pho/stress2/misc/ext2fs.sh Modified: user/pho/stress2/misc/ext2fs.sh ============================================================================== --- user/pho/stress2/misc/ext2fs.sh Wed Apr 13 11:55:15 2016 (r297918) +++ user/pho/stress2/misc/ext2fs.sh Wed Apr 13 11:58:14 2016 (r297919) @@ -35,7 +35,7 @@ . ../default.cfg # Uses mke2fs from sysutils/e2fsprogs -[ -z "`type mke2fs 2>/dev/null`" ] && echo "mke2fs not found" && exit 1 +[ -z "`type mke2fs 2>/dev/null`" ] && echo "mke2fs not found" && exit 0 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart @@ -47,6 +47,7 @@ mount -t ext2fs /dev/md$mdstart /mnt chmod 777 $mntpoint export runRUNTIME=10m +export swapLOAD=0 # Temp workaround for unrelated OOM issue. export RUNDIR=$mntpoint/stressX su $testuser -c 'cd ..; ./run.sh marcus.cfg' From owner-svn-src-user@freebsd.org Wed Apr 13 12:05:02 2016 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 38019B0D3E1 for ; Wed, 13 Apr 2016 12:05:02 +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 129941BFD; Wed, 13 Apr 2016 12:05:02 +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 u3DC51rO027674; Wed, 13 Apr 2016 12:05:01 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3DC510M027673; Wed, 13 Apr 2016 12:05:01 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201604131205.u3DC510M027673@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Wed, 13 Apr 2016 12:05:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r297920 - user/pho/stress2 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.21 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, 13 Apr 2016 12:05:02 -0000 Author: pho Date: Wed Apr 13 12:05:01 2016 New Revision: 297920 URL: https://svnweb.freebsd.org/changeset/base/297920 Log: Do not overwrite pre-defined shell variables. Make sure the test user is defined. Sponsored by: EMC / Isilon Storage Division Modified: user/pho/stress2/default.cfg Modified: user/pho/stress2/default.cfg ============================================================================== --- user/pho/stress2/default.cfg Wed Apr 13 11:58:14 2016 (r297919) +++ user/pho/stress2/default.cfg Wed Apr 13 12:05:01 2016 (r297920) @@ -1,47 +1,46 @@ # $FreeBSD$ -# Stress Test Suite Configuration +# Stress Test Suite Configuration. + +# Changes should be added to a `hostname` file in this directory. +# As a minimum you must updated "testuser". + +hostname=`hostname` # Name of the local configuration file # Default values export RUNDIR=${RUNDIR:-/tmp/stressX} export RUNTIME=${RUNTIME:-2m} export VERBOSE=${VERBOSE:-1} -export LOAD=20 +export LOAD=${LOAD:-20} -# The INCARNATIONS variable should be set to match the number of CPUs and +# The INCARNATIONS variable may be set to match the number of CPUs and # the amount of RAM in the test box. -# 10 for a 1,8 GHz Celeron with 256 Mb of RAM -# 100 for a dual Xeon 1,8 GHz with 1024 Gb of RAM - export INCARNATIONS=${INCARNATIONS:-20} -# Change hostname! -#export BLASTHOST=192.168.1.2 # host with udp discard enabled in inetd.conf -export BLASTHOST=192.168.1.3 # host with udp discard enabled in inetd.conf -#export nfs_export=somehost:mount # Used by nfs tests +export BLASTHOST=192.168.1.1 # host with udp discard enabled in inetd.conf +#export nfs_export=somehost:mount # Used by the NFS tests # Run all test cases: -export runRUNTIME=${runRUNTIME:-3d} # Run tests for three days +export runRUNTIME=${runRUNTIME:-3d} # Run tests for three days export runINCARNATIONS=1 export runLOAD=100 export swapINCARNATIONS=${swapINCARNATIONS:-$((2 * INCARNATIONS))} -export swapLOAD=80 +export swapLOAD=${swapLOAD:-80} export syscallKILL=1 -export swapKILL=1 # May takes a long time to stop +export swapKILL=1 # May takes a long time to stop -export rwLOAD=70 -export mkdirLOAD=80 -export creatLOAD=80 +export rwLOAD=${rwLOAD:-70} +export mkdirLOAD=${mkdirLOAD:-80} +export creatLOAD=${creatLOAD:-80} -export symlinkLOAD=20 +export symlinkLOAD=20} export tcpKILL=1 -#export shmKILL=1 -export shmINCARNATIONS=5 +export shmINCARNATIONS=${shmINCARNATIONS:-5} -export TESTPROGS=" +[ -z "$TESTPROGS" ] && export TESTPROGS=" testcases/rw/rw testcases/swap/swap testcases/creat/creat @@ -55,13 +54,14 @@ testcases/tcp/tcp # Defaults for ./misc tests # -diskimage=/var/tmp/diskimage # Location of 1G disk image -mntpoint=/mnt # Disk image mount point -testuser=pho # Name of non root test user -mdstart=5 # Start of free md units -part=a # partition to use on a md FS -newfs_flags="-U" # default file system flags +export diskimage=${diskimage:-/tmp/diskimage} # Location of 1G disk image +export mntpoint=${mntpoint:-/mnt} # Disk image mount point +export testuser=${testuser:-TBD} # Name of non root test user +export mdstart=${mdstart:-5} # Start of free md units +export part=${part:-a} # Partition to use on a md FS +export newfs_flags=${newfs_flags:-"-U"} # Default file system flags export stress2origin=${stress2origin:-`pwd`} +export stress2tools=`dirname $stress2origin`/tools # Wrapper for dd dede () { # file, blocksize, count @@ -102,7 +102,7 @@ CC=${CC:-cc} top=`dirname $(pwd)` # cwd for the all.sh script STRESS2BIN=${STRESS2BIN:-$top/bin} mycc () { # "-o" must be first argument - local file; + local file [ "$1" = "-o" ] && file=`basename $2` if [ "$BMODE" = "1" ]; then @@ -126,5 +126,9 @@ mycc () { # "-o" must be first argument fi } -[ -f "./`hostname`" ] && . "./`hostname`" # source in local configuration -[ -f "../`hostname`" ] && . "../`hostname`" # source in local configuration +[ -f "./$hostname" ] && . "./$hostname" # Source in local configuration +[ -f "../$hostname" ] && . "../$hostname" # Source in local configuration + +id $testuser > /dev/null 2>&1 || + { echo "Non-root \$testuser \"$testuser\" not found." \ + "Defined in stress2/default.cfg."; exit 1; } From owner-svn-src-user@freebsd.org Thu Apr 14 07:23:39 2016 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 2E6BDB0FACB for ; Thu, 14 Apr 2016 07:23:39 +0000 (UTC) (envelope-from des@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 F05B91CD3; Thu, 14 Apr 2016 07:23:38 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3E7NcbB082997; Thu, 14 Apr 2016 07:23:38 GMT (envelope-from des@FreeBSD.org) Received: (from des@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3E7NcNS082996; Thu, 14 Apr 2016 07:23:38 GMT (envelope-from des@FreeBSD.org) Message-Id: <201604140723.u3E7NcNS082996@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: des set sender to des@FreeBSD.org using -f From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= Date: Thu, 14 Apr 2016 07:23:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r297956 - user/des/fbce 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.21 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: Thu, 14 Apr 2016 07:23:39 -0000 Author: des Date: Thu Apr 14 07:23:37 2016 New Revision: 297956 URL: https://svnweb.freebsd.org/changeset/base/297956 Log: Missing dependency Modified: user/des/fbce/Makefile.PL Modified: user/des/fbce/Makefile.PL ============================================================================== --- user/des/fbce/Makefile.PL Thu Apr 14 05:10:41 2016 (r297955) +++ user/des/fbce/Makefile.PL Thu Apr 14 07:23:37 2016 (r297956) @@ -17,6 +17,7 @@ requires 'Catalyst::Plugin::ConfigLoader requires 'Config::General'; requires 'Catalyst::Plugin::DateTime'; requires 'MooseX::Types::DateTime::MoreCoercions'; +requires 'MooseX::Types::Common::Numeric'; requires 'Catalyst::Plugin::Session'; requires 'Catalyst::Plugin::Session::State::Cookie'; requires 'Catalyst::Plugin::Session::Store::FastMmap';