From nobody Tue Nov 09 08:30:11 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B27EC1842D5E; Tue, 9 Nov 2021 08:30:11 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HpLl73XfDz4XSb; Tue, 9 Nov 2021 08:30:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 479FA21AB1; Tue, 9 Nov 2021 08:30:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A98UB2c031506; Tue, 9 Nov 2021 08:30:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A98UBpk031503; Tue, 9 Nov 2021 08:30:11 GMT (envelope-from git) Date: Tue, 9 Nov 2021 08:30:11 GMT Message-Id: <202111090830.1A98UBpk031503@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Peter Holm Subject: git: 7b83aad3ffab - main - stress2: Exclude the files in .git. Simplify test by using timeout(1) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pho X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7b83aad3ffabe00ca68e4b2ae76294d39b853d00 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=7b83aad3ffabe00ca68e4b2ae76294d39b853d00 commit 7b83aad3ffabe00ca68e4b2ae76294d39b853d00 Author: Peter Holm AuthorDate: 2021-11-09 08:28:12 +0000 Commit: Peter Holm CommitDate: 2021-11-09 08:28:12 +0000 stress2: Exclude the files in .git. Simplify test by using timeout(1) --- tools/test/stress2/misc/gnop4.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/tools/test/stress2/misc/gnop4.sh b/tools/test/stress2/misc/gnop4.sh index 2e4cc1a5df35..f938dd3b790b 100755 --- a/tools/test/stress2/misc/gnop4.sh +++ b/tools/test/stress2/misc/gnop4.sh @@ -55,19 +55,16 @@ mount /dev/md$mdstart.nop $mntpoint chmod 777 $mntpoint set +e -start=`date '+%s'` -(cd /usr; tar --exclude compile -cf - src) | (cd $mntpoint; tar xf -) +(cd /usr; tar --exclude compile --exclude-vcs -cf - src) | \ + (cd $mntpoint; tar xf -) cd $mntpoint/src export MAKEOBJDIRPREFIX=$mntpoint/obj p=$((`sysctl -n hw.ncpu`+ 1)) -make -i -j $p buildworld DESTDIR=$mntpoint TARGET=amd64 TARGET_ARCH=amd64 \ - > /dev/null & -e=$((`date '+%s'` - start)) -sleep $((15 * 60 - e)) -kill $! -wait +timeout 10m \ + make -i -j $p buildworld DESTDIR=$mntpoint TARGET=amd64 \ + TARGET_ARCH=amd64 > /dev/null cd / while mount | grep $mntpoint | grep -q /dev/md; do