From owner-svn-src-user@FreeBSD.ORG Sun Aug 3 05:53:53 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D510A373; Sun, 3 Aug 2014 05:53:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 B7A6E2FA3; Sun, 3 Aug 2014 05:53:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s735rrlc022003; Sun, 3 Aug 2014 05:53:53 GMT (envelope-from pho@svn.freebsd.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s735rrrn022002; Sun, 3 Aug 2014 05:53:53 GMT (envelope-from pho@svn.freebsd.org) Message-Id: <201408030553.s735rrrn022002@svn.freebsd.org> From: Peter Holm Date: Sun, 3 Aug 2014 05:53:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r269461 - 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.18 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: Sun, 03 Aug 2014 05:53:54 -0000 Author: pho Date: Sun Aug 3 05:53:53 2014 New Revision: 269461 URL: http://svnweb.freebsd.org/changeset/base/269461 Log: Added a new tmpfs test scenario. Sponsored by: EMC / Isilon storage division Added: user/pho/stress2/misc/tmpfs13.sh (contents, props changed) Added: user/pho/stress2/misc/tmpfs13.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/tmpfs13.sh Sun Aug 3 05:53:53 2014 (r269461) @@ -0,0 +1,88 @@ +#!/bin/sh + +# +# Copyright (c) 2014 EMC Corp. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# +# $FreeBSD$ +# + +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +# umount -f test scenario + +# "panic: deadlkres: possible deadlock detected..." seen. +# http://people.freebsd.org/~pho/stress/log/tmpfs13.txt +# Fixed by r269457. + +. ../default.cfg + +N=`sysctl -n hw.ncpu` +size=$((`sysctl -n hw.usermem` / 1024 / 1024 / N)) + +export runRUNTIME=15m +export RUNDIR=$mp1/stressX +export CTRLDIR=$mp1/stressX.control +export LOAD=80 +export symlinkLOAD=80 +export rwLOAD=80 +export TESTPROGS=" +testcases/lockf2/lockf2 +testcases/symlink/symlink +testcases/openat/openat +testcases/rw/rw +testcases/fts/fts +testcases/link/link +testcases/lockf/lockf +testcases/creat/creat +testcases/mkdir/mkdir +testcases/rename/rename +testcases/mkfifo/mkfifo +" + +for i in `jot $N 1`; do + eval mp$i=${mntpoint}$i +done + +for i in `jot $N 1`; do + eval mp=\$mp$i + [ -d $mp ] || mkdir -p $mp + mount | grep $mp | grep -q tmpfs && umount -f $mp + mount -o size=${size}m -t tmpfs tmpfs $mp + chmod 777 $mp + export RUNDIR=$mp/stressX + export CTRLDIR=$mp/stressX.control + su $testuser -c 'cd ..; ./testcases/run/run $TESTPROGS' > \ + /dev/null 2>&1 & +done + +sleep 60 + +for i in `jot $N 1`; do + eval mp=\$mp$i + while mount | grep "$mp " | grep -q tmpfs; do + umount -f $mp || sleep 1 + done +done +../tools/killall.sh From owner-svn-src-user@FreeBSD.ORG Mon Aug 4 12:23:35 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49EBEE0A for ; Mon, 4 Aug 2014 12:23:35 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 26BBE24F6 for ; Mon, 4 Aug 2014 12:23:35 +0000 (UTC) Received: from pho (uid 788) (envelope-from pho@FreeBSD.org) id 5d2f by svn.freebsd.org (DragonFly Mail Agent v0.9+); Mon, 04 Aug 2014 12:23:35 +0000 From: Peter Holm Date: Mon, 4 Aug 2014 12:23:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r269516 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53df7b47.5d2f.b1289d0@svn.freebsd.org> X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 04 Aug 2014 12:23:35 -0000 Author: pho Date: Mon Aug 4 12:23:34 2014 New Revision: 269516 URL: http://svnweb.freebsd.org/changeset/base/269516 Log: Added a new cross mount point test scenario. Sponsored by: EMC / Isilon storage division Added: user/pho/stress2/misc/crossmp3.sh (contents, props changed) Added: user/pho/stress2/misc/crossmp3.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/crossmp3.sh Mon Aug 4 12:23:34 2014 (r269516) @@ -0,0 +1,99 @@ +#!/bin/sh + +# +# Copyright (c) 2014 EMC Corp. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# +# $FreeBSD$ +# + +# Parallel mount and umount of file systems +# No problems seen. + +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +. ../default.cfg + +N=`sysctl -n hw.ncpu` +size=$((`sysctl -n hw.usermem` / 1024 / 1024 / N)) + +mounts=$N # Number of parallel scripts +mdstart=$mdstart # Use md unit numbers from this point + +if [ $# -eq 0 ]; then + for i in `jot $mounts`; do + m=$(( i + mdstart - 1 )) + [ ! -d ${mntpoint}$m ] && mkdir ${mntpoint}$m + mount | grep "$mntpoint" | grep -q md$m && umount ${mntpoint}$m + mdconfig -l | grep -q md$m && mdconfig -d -u $m + + mdconfig -a -t swap -s ${size}m -u $m + bsdlabel -w md$m auto + newfs $newfs_flags md${m}$part > /dev/null 2>&1 + done + + # start the parallel tests + for i in `jot $mounts`; do + m=$(( i + mdstart - 1 )) + ./$0 $m & + ./$0 find & + done + + for i in `jot $mounts`; do + wait; wait + done + + for i in `jot $mounts`; do + m=$(( i + mdstart - 1 )) + mdconfig -d -u $m + rm -f $D$m + done + +else + touch /tmp/crossmp.continue + if [ $1 = find ]; then + while [ -f /tmp/crossmp.continue ]; do + find ${mntpoint}* -type f > /dev/null 2>&1 + done + else + export runRUNTIME=20s + # The test: Parallel mount and unmounts + for i in `jot 3`; do + m=$1 + mount /dev/md${m}${part} ${mntpoint}$m + chmod 777 ${mntpoint}$m + export RUNDIR=${mntpoint}$m/stressX + export CTRLDIR=${mntpoint}$m/stressX.control + (cd ${mntpoint}$m; find . -delete) + su $testuser -c 'cd ..; ./run.sh disk.cfg' > \ + /dev/null 2>&1 + + while mount | grep -q "on ${mntpoint}$m "; do + opt=$([ $((`date '+%s'` % 2)) -eq 0 ] && echo "-f") + umount $opt ${mntpoint}$m > /dev/null 2>&1 + done + done + rm -f /tmp/crossmp.continue + fi +fi From owner-svn-src-user@FreeBSD.ORG Mon Aug 4 12:24:17 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CFADDFE1 for ; Mon, 4 Aug 2014 12:24:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A69FA2505 for ; Mon, 4 Aug 2014 12:24:17 +0000 (UTC) Received: from pho (uid 788) (envelope-from pho@FreeBSD.org) id 5d5f by svn.freebsd.org (DragonFly Mail Agent v0.9+); Mon, 04 Aug 2014 12:24:17 +0000 From: Peter Holm Date: Mon, 4 Aug 2014 12:24:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r269517 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53df7b71.5d5f.17154598@svn.freebsd.org> X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 04 Aug 2014 12:24:17 -0000 Author: pho Date: Mon Aug 4 12:24:17 2014 New Revision: 269517 URL: http://svnweb.freebsd.org/changeset/base/269517 Log: Fixed a typo. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/tmpfs12.sh Modified: user/pho/stress2/misc/tmpfs12.sh ============================================================================== --- user/pho/stress2/misc/tmpfs12.sh Mon Aug 4 12:23:34 2014 (r269516) +++ user/pho/stress2/misc/tmpfs12.sh Mon Aug 4 12:24:17 2014 (r269517) @@ -80,7 +80,7 @@ for i in `jot $N 1`; do /dev/null 2>&1 & done daemon sh -c '(cd ../testcases/swap; ./swap -t 5m -i 20 -h -l 100)' > \ - /dev/null 2>&! + /dev/null 2>&1 sleep 60 From owner-svn-src-user@FreeBSD.ORG Mon Aug 4 12:25:37 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 098E2169 for ; Mon, 4 Aug 2014 12:25:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D48D72518 for ; Mon, 4 Aug 2014 12:25:36 +0000 (UTC) Received: from pho (uid 788) (envelope-from pho@FreeBSD.org) id 5d6f by svn.freebsd.org (DragonFly Mail Agent v0.9+); Mon, 04 Aug 2014 12:25:36 +0000 From: Peter Holm Date: Mon, 4 Aug 2014 12:25:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r269518 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53df7bc0.5d6f.38d3bfd5@svn.freebsd.org> X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 04 Aug 2014 12:25:37 -0000 Author: pho Date: Mon Aug 4 12:25:36 2014 New Revision: 269518 URL: http://svnweb.freebsd.org/changeset/base/269518 Log: Added a ext2fs test scenario. Sponsored by: EMC / Isilon storage division Added: user/pho/stress2/misc/ext2fs2.sh (contents, props changed) Added: user/pho/stress2/misc/ext2fs2.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/ext2fs2.sh Mon Aug 4 12:25:36 2014 (r269518) @@ -0,0 +1,57 @@ +#!/bin/sh + +# +# Copyright (c) 2014 EMC Corp. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# +# $FreeBSD$ +# + +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +# "panic: ext2_dirbad: /mnt: bad dir ino ...: mangled entry" seen. +# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191895 + +. ../default.cfg + +# Uses mke2fs from sysutils/e2fsprogs +[ -x /usr/local/sbin/mke2fs ] || exit 0 +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 +mke2fs /dev/md${mdstart}a +# No panic seen when disabling hashed b-tree lookup for large directories +# tune2fs -O ^dir_index /dev/md${mdstart}$part +mount -t ext2fs /dev/md${mdstart}$part $mntpoint + +export RUNDIR=$mntpoint/stressX +export runRUNTIME=10m # Run tests for 10 minutes +(cd ..; ./run.sh disk.cfg) + +while mount | grep "$mntpoint " | grep -q md$mdstart; do + umount $mntpoint || sleep 1 +done +mdconfig -d -u $mdstart From owner-svn-src-user@FreeBSD.ORG Mon Aug 4 22:27:22 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AC5C497 for ; Mon, 4 Aug 2014 22:27:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D6CB724EB for ; Mon, 4 Aug 2014 22:27:21 +0000 (UTC) Received: from ngie (uid 1347) (envelope-from ngie@FreeBSD.org) id 5c53 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Mon, 04 Aug 2014 22:27:21 +0000 From: Garrett Cooper Date: Mon, 4 Aug 2014 22:27:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r269535 - user/ngie X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e008c9.5c53.272a05ef@svn.freebsd.org> X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 04 Aug 2014 22:27:22 -0000 Author: ngie Date: Mon Aug 4 22:27:21 2014 New Revision: 269535 URL: http://svnweb.freebsd.org/changeset/base/269535 Log: Create my user directory Added: user/ngie/ From owner-svn-src-user@FreeBSD.ORG Mon Aug 4 22:31:09 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C88385A7 for ; Mon, 4 Aug 2014 22:31:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F83F250C for ; Mon, 4 Aug 2014 22:31:09 +0000 (UTC) Received: from ngie (uid 1347) (envelope-from ngie@FreeBSD.org) id 5f97 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Mon, 04 Aug 2014 22:31:09 +0000 From: Garrett Cooper Date: Mon, 4 Aug 2014 22:31:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r269536 - user/ngie/github-test-cherrypicks X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e009ad.5f97.685064ec@svn.freebsd.org> X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 04 Aug 2014 22:31:09 -0000 Author: ngie Date: Mon Aug 4 22:31:09 2014 New Revision: 269536 URL: http://svnweb.freebsd.org/changeset/base/269536 Log: Create a branch for cherrypicking larger batches of test-related changes from my GitHub fork Added: - copied from r269535, head/ Directory Properties: user/ngie/github-test-cherrypicks/ (props changed) From owner-svn-src-user@FreeBSD.ORG Thu Aug 7 17:19:10 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6BBA459 for ; Thu, 7 Aug 2014 17:19:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7BC2F2A84 for ; Thu, 7 Aug 2014 17:19:10 +0000 (UTC) Received: from gjb (uid 1237) (envelope-from gjb@FreeBSD.org) id 2ddd by svn.freebsd.org (DragonFly Mail Agent v0.9+); Thu, 07 Aug 2014 17:19:10 +0000 From: Glen Barber Date: Thu, 7 Aug 2014 17:19:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r269677 - user/gjb/thermite X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e3b50e.2ddd.798713ec@svn.freebsd.org> X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 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, 07 Aug 2014 17:19:10 -0000 Author: gjb Date: Thu Aug 7 17:19:10 2014 New Revision: 269677 URL: http://svnweb.freebsd.org/changeset/base/269677 Log: Syncronize local changes to thermite.sh: - In build_release(), use source_config() instead of continuing if the configuration file exists to prevent erroneous output from printenv(1). - In truncate_logs(), only create the log file if there is a corresponding configuration file for the build, otherwise log files that will never be used are created (such as 11-amd64-GENERIC64-snap.log). Sponsored by: The FreeBSD Foundation Modified: user/gjb/thermite/thermite.sh Modified: user/gjb/thermite/thermite.sh ============================================================================== --- user/gjb/thermite/thermite.sh Thu Aug 7 17:05:25 2014 (r269676) +++ user/gjb/thermite/thermite.sh Thu Aug 7 17:19:10 2014 (r269677) @@ -118,6 +118,7 @@ check_use_zfs() { } truncate_logs() { + source_config || return 0 echo > ${logdir}/${rev}-${arch}-${kernel}-${type}.log return 0 } @@ -241,7 +242,7 @@ send_logmail() { build_release() { _build="${rev}-${arch}-${kernel}-${type}" _conf="${scriptdir}/${_build}.conf" - [ ! -e ${_conf} ] && return 0 + source_config || return 0 info "Building release: ${_build}" printenv >> ${logdir}/${_build}.log env -i /bin/sh ${srcdir}/release.sh -c ${_conf} \ From owner-svn-src-user@FreeBSD.ORG Thu Aug 7 17:40:46 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CBD0DA1F for ; Thu, 7 Aug 2014 17:40:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A27BF2D32 for ; Thu, 7 Aug 2014 17:40:46 +0000 (UTC) Received: from ngie (uid 1347) (envelope-from ngie@FreeBSD.org) id 2786 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Thu, 07 Aug 2014 17:40:46 +0000 From: Garrett Cooper Date: Thu, 7 Aug 2014 17:40:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r269678 - user/jmmv/autotest/node X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e3ba1e.2786.4b35f606@svn.freebsd.org> X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 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, 07 Aug 2014 17:40:46 -0000 Author: ngie Date: Thu Aug 7 17:40:46 2014 New Revision: 269678 URL: http://svnweb.freebsd.org/changeset/base/269678 Log: Remove chrootdir (DESTDIR) before running release.sh This will ensure that the next run has a clean install directory This should fix release.sh with the kyua.nyi.net post-r267679 and before r267842. Phabric: D556 Reviewed by: jmmv Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division Modified: user/jmmv/autotest/node/iterate.sh Modified: user/jmmv/autotest/node/iterate.sh ============================================================================== --- user/jmmv/autotest/node/iterate.sh Thu Aug 7 17:19:10 2014 (r269677) +++ user/jmmv/autotest/node/iterate.sh Thu Aug 7 17:40:46 2014 (r269678) @@ -130,6 +130,13 @@ EOF || shtk_cli_error "Fetch of release.sh failed" chmod +x "${release_sh}" + local chrootdir="$(shtk_config_get CHROOTDIR)" + + shtk_cli_info "Cleaning up ${chrootdir}" + rm -Rf "${chrootdir}" + chflags -R 0 "${chrootdir}" + rm -Rf "${chrootdir}" + local ret=0 shtk_process_run "${release_sh}" -c "${release_conf}" || ret=${?} rm -rf "${tmpdir}"; eval "remove_tmpdir() { true; }" From owner-svn-src-user@FreeBSD.ORG Fri Aug 8 13:37:32 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7129A63D for ; Fri, 8 Aug 2014 13:37:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51F7D2477 for ; Fri, 8 Aug 2014 13:37:32 +0000 (UTC) Received: from pho (uid 788) (envelope-from pho@FreeBSD.org) id 2269 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Fri, 08 Aug 2014 13:37:32 +0000 From: Peter Holm Date: Fri, 8 Aug 2014 13:37:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r269715 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e4d29c.2269.13261559@svn.freebsd.org> X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 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, 08 Aug 2014 13:37:32 -0000 Author: pho Date: Fri Aug 8 13:37:31 2014 New Revision: 269715 URL: http://svnweb.freebsd.org/changeset/base/269715 Log: Added a new nullfs test scenario. Sponsored by: EMC / Isilon storage division Added: user/pho/stress2/misc/crossmp4.sh (contents, props changed) Added: user/pho/stress2/misc/crossmp4.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/crossmp4.sh Fri Aug 8 13:37:31 2014 (r269715) @@ -0,0 +1,107 @@ +#!/bin/sh + +# +# Copyright (c) 2014 EMC Corp. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# +# $FreeBSD$ +# + +# Parallel mount and umount of file systems +# "panic: Lock (lockmgr) null not locked @ kern/vfs_default.c:523." seen. +# http://people.freebsd.org/~pho/stress/log/kostik698.txt +# Fixed by r269708. + +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +. ../default.cfg + +N=`sysctl -n hw.ncpu` +size=$((`sysctl -n hw.usermem` / 1024 / 1024)) + +mounts=$N # Number of parallel scripts + +if [ $# -eq 0 ]; then + mount | grep "$mntpoint" | grep -q md && umount ${mntpoint} + mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart + + mdconfig -a -t swap -s ${size}m -u $mdstart + bsdlabel -w md$mdstart auto + newfs $newfs_flags md${mdstart}$part > /dev/null 2>&1 + mount /dev/md${mdstart}$part $mntpoint + + # start the parallel tests + for i in `jot $mounts`; do + m=$(( i + mdstart - 1 )) + ./$0 $m & + ./$0 find & + done + + for i in `jot $mounts`; do + wait; wait + done + + for i in `jot $mounts`; do + rm -f $D$m + done + while mount | grep -q "on $mntpoint "; do + umount $mntpoint > /dev/null 2>&1 || sleep 1 + done + mdconfig -d -u $mdstart + +else + touch /tmp/crossmp.continue + if [ $1 = find ]; then + while [ -f /tmp/crossmp.continue ]; do + find ${mntpoint}* -type f > /dev/null 2>&1 + done + else + m=$1 + set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'` + export KBLOCKS=$(($1 / N)) + export INODES=$(($2 / N)) + export runRUNTIME=1m + export INCARNATIONS=4 + # The test: Parallel mount and unmounts + for i in `jot 4`; do + [ ! -d ${mntpoint}$m ] && mkdir ${mntpoint}$m + mount -t nullfs $mntpoint ${mntpoint}$m + mkdir -p ${mntpoint}$m/$m + chmod 777 ${mntpoint}$m/$m + export RUNDIR=${mntpoint}$m/$m/stressX + export CTRLDIR=${mntpoint}$m/$m/stressX.control + (cd ${mntpoint}$m/$m && find . -delete) + su $testuser -c 'cd ..; ./run.sh disk.cfg' > \ + /dev/null 2>&1 & + sleep 30 + + while mount | grep -q "on ${mntpoint}$m "; do + opt=$([ $((`date '+%s'` % 2)) -eq 0 ] && echo "-f") + umount $opt ${mntpoint}$m > /dev/null 2>&1 + done + wait + done + rm -f /tmp/crossmp.continue + fi +fi