From owner-svn-src-user@freebsd.org Thu Jun 6 06:38:30 2019 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DC7F15C7841 for ; Thu, 6 Jun 2019 06:38:30 +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 00B3587AB3; Thu, 6 Jun 2019 06:38:30 +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 DA35B18B28; Thu, 6 Jun 2019 06:38:29 +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 x566cT5n068477; Thu, 6 Jun 2019 06:38:29 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x566cTjM068476; Thu, 6 Jun 2019 06:38:29 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201906060638.x566cTjM068476@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Thu, 6 Jun 2019 06:38:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r348727 - 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: 348727 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 00B3587AB3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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: Thu, 06 Jun 2019 06:38:30 -0000 Author: pho Date: Thu Jun 6 06:38:29 2019 New Revision: 348727 URL: https://svnweb.freebsd.org/changeset/base/348727 Log: Added two regression tests. Sponsored by: Dell EMC Isilon Added: user/pho/stress2/misc/umountf11.sh (contents, props changed) user/pho/stress2/misc/umountf12.sh (contents, props changed) Added: user/pho/stress2/misc/umountf11.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/umountf11.sh Thu Jun 6 06:38:29 2019 (r348727) @@ -0,0 +1,52 @@ +#!/bin/sh + +# +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# +# Copyright (c) 2019 Dell EMC Isilon +# +# 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$ +# + +# "panic: vm_map_entry_set_vnode_text: wrong object type, ..." seen: +# https://people.freebsd.org/~pho/stress/log/kostik1205.txt +# Fixed by r348701 + +# Test scenario suggestion by kib@ + +. ../default.cfg +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +mount | grep -q "on $mntpoint " && umount -f $mntpoint +mount -o size=1g -t tmpfs null $mntpoint || exit 1 + +for i in `jot 10 1`; do + cp /bin/sleep $mntpoint/sleep$i + $mntpoint/sleep$i .2 + rm $mntpoint/sleep$i +done +cp /bin/sleep $mntpoint/sleep +$mntpoint/sleep 10 & +umount -f $mntpoint +wait Added: user/pho/stress2/misc/umountf12.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/pho/stress2/misc/umountf12.sh Thu Jun 6 06:38:29 2019 (r348727) @@ -0,0 +1,70 @@ +#!/bin/sh + +# +# SPDX-License-Identifier: BSD-2-Clause-FreeBSD +# +# Copyright (c) 2019 Dell EMC Isilon +# +# 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$ +# + +# acquiring duplicate lock of same type: "vnode interlock" +# 1st vnode interlock @ /usr/src/sys/fs/nullfs/null_vnops.c:342 +# 2nd vnode interlock @ kern/vfs_default.c:1116 +# seen. +# Fixed by r348698 + +# Test scenario suggestion by kib@ + +. ../default.cfg +[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 + +log=/tmp/umountf13.log +tail -F -n 0 /var/log/messages > $log & lpid=$! +set -e +mount | grep -q "on $mntpoint " && umount -f $mntpoint +mount -o size=1g -t tmpfs null $mntpoint +mp2=$mntpoint$((mdstart + 1)) +mkdir -p $mp2 +mount | grep -q "on $mp2 " && umount -f $mp2 + +mount -t nullfs $mntpoint $mp2 +set +e + +for i in `jot 10 1`; do + cp /bin/sleep $mp2/sleep$i + $mp2/sleep$i .2 + rm $mp2/sleep$i +done +cp /bin/sleep $mp2/sleep +$mp2/sleep 10 & spid=$! +umount -f $mp2 +wait $spid +grep -A2 "acquiring duplicate lock of same type" $log && s=1 || s=0 +kill $lpid +rm $log +wait + +umount $mntpoint +exit $s From owner-svn-src-user@freebsd.org Fri Jun 7 20:43:36 2019 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C53F15B664C for ; Fri, 7 Jun 2019 20:43:36 +0000 (UTC) (envelope-from gordon@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 C7DB08911A; Fri, 7 Jun 2019 20:43:35 +0000 (UTC) (envelope-from gordon@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 A1FFB9433; Fri, 7 Jun 2019 20:43:35 +0000 (UTC) (envelope-from gordon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x57KhZVw071747; Fri, 7 Jun 2019 20:43:35 GMT (envelope-from gordon@FreeBSD.org) Received: (from gordon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x57KhYCZ071743; Fri, 7 Jun 2019 20:43:34 GMT (envelope-from gordon@FreeBSD.org) Message-Id: <201906072043.x57KhYCZ071743@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gordon set sender to gordon@FreeBSD.org using -f From: Gordon Tetlow Date: Fri, 7 Jun 2019 20:43:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r348789 - in user/cperciva/freebsd-update-build/scripts: 11.3-BETA1 11.3-BETA1/amd64 11.3-BETA1/i386 11.3-BETA3 11.3-BETA3/amd64 11.3-BETA3/i386 X-SVN-Group: user X-SVN-Commit-Author: gordon X-SVN-Commit-Paths: in user/cperciva/freebsd-update-build/scripts: 11.3-BETA1 11.3-BETA1/amd64 11.3-BETA1/i386 11.3-BETA3 11.3-BETA3/amd64 11.3-BETA3/i386 X-SVN-Commit-Revision: 348789 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C7DB08911A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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: Fri, 07 Jun 2019 20:43:36 -0000 Author: gordon Date: Fri Jun 7 20:43:34 2019 New Revision: 348789 URL: https://svnweb.freebsd.org/changeset/base/348789 Log: Add 11.3-BETA1/3. Added: user/cperciva/freebsd-update-build/scripts/11.3-BETA1/ user/cperciva/freebsd-update-build/scripts/11.3-BETA1/amd64/ user/cperciva/freebsd-update-build/scripts/11.3-BETA1/amd64/build.conf (contents, props changed) user/cperciva/freebsd-update-build/scripts/11.3-BETA1/i386/ user/cperciva/freebsd-update-build/scripts/11.3-BETA1/i386/build.conf (contents, props changed) user/cperciva/freebsd-update-build/scripts/11.3-BETA3/ user/cperciva/freebsd-update-build/scripts/11.3-BETA3/amd64/ user/cperciva/freebsd-update-build/scripts/11.3-BETA3/amd64/build.conf (contents, props changed) user/cperciva/freebsd-update-build/scripts/11.3-BETA3/i386/ user/cperciva/freebsd-update-build/scripts/11.3-BETA3/i386/build.conf (contents, props changed) Added: user/cperciva/freebsd-update-build/scripts/11.3-BETA1/amd64/build.conf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/cperciva/freebsd-update-build/scripts/11.3-BETA1/amd64/build.conf Fri Jun 7 20:43:34 2019 (r348789) @@ -0,0 +1,10 @@ +export RELH=aa7336ae9b79e9992f6dd588ff4774c3c8db5db0d6e7e485dfa6dbdc2b7b7b02f9e153f43ae711f16774a17062b94f4644929a5756395896f7cea737d7bd71e9 +export FTP=https://people.freebsd.org/~gjb/11.3-BETA1/ + +# Components of the world, source, and kernels +export WORLDPARTS="base base-dbg doc lib32 lib32-dbg" +export SOURCEPARTS="src" +export KERNELPARTS="kernel kernel-dbg" + +# EOL date +export EOL=1560038400 Added: user/cperciva/freebsd-update-build/scripts/11.3-BETA1/i386/build.conf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/cperciva/freebsd-update-build/scripts/11.3-BETA1/i386/build.conf Fri Jun 7 20:43:34 2019 (r348789) @@ -0,0 +1,10 @@ +export RELH=ad3fca12f0c4ec690553f100137551c79578a2c715139b9dfa0ede1af334414cce2a70b5c990ead21e7bc5d06e26f4433b475fd9e269098ef74dd34ea25772ba +export FTP=https://people.freebsd.org/~gjb/11.3-BETA1/ + +# Components of the world, source, and kernels +export WORLDPARTS="base base-dbg doc" +export SOURCEPARTS="src" +export KERNELPARTS="kernel kernel-dbg" + +# EOL date +export EOL=1560038400 Added: user/cperciva/freebsd-update-build/scripts/11.3-BETA3/amd64/build.conf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/cperciva/freebsd-update-build/scripts/11.3-BETA3/amd64/build.conf Fri Jun 7 20:43:34 2019 (r348789) @@ -0,0 +1,10 @@ +export RELH=aa77764c21873ff1d92a3cf5a4d5a94d0079e4b8d69d767939ffc7073814e1e865ddb97302709f74e5408b50a5759eb176d1c7632b6fb83f303cdb2fa54472b4 +export FTP=https://people.freebsd.org/~gjb/11.3-BETA3/ + +# Components of the world, source, and kernels +export WORLDPARTS="base base-dbg doc lib32 lib32-dbg" +export SOURCEPARTS="src" +export KERNELPARTS="kernel kernel-dbg" + +# EOL date +export EOL=1561248000 Added: user/cperciva/freebsd-update-build/scripts/11.3-BETA3/i386/build.conf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ user/cperciva/freebsd-update-build/scripts/11.3-BETA3/i386/build.conf Fri Jun 7 20:43:34 2019 (r348789) @@ -0,0 +1,10 @@ +export RELH=499c5e6c582332edab4f307540dede4e096ad72fa349d05b573688051e9b01a35a8cd147f69567fab1ced01dbc4ca821af9585217e5193edc477a91d6cb14d17 +export FTP=https://people.freebsd.org/~gjb/11.3-BETA3/ + +# Components of the world, source, and kernels +export WORLDPARTS="base base-dbg doc" +export SOURCEPARTS="src" +export KERNELPARTS="kernel kernel-dbg" + +# EOL date +export EOL=1561248000