From owner-svn-src-user@freebsd.org Wed Apr 8 14:11:55 2020 Return-Path: Delivered-To: svn-src-user@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 142A82B3579 for ; Wed, 8 Apr 2020 14:11:55 +0000 (UTC) (envelope-from gjb@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 48y5n66XCxz4DPf; Wed, 8 Apr 2020 14:11:54 +0000 (UTC) (envelope-from gjb@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 DB2A124783; Wed, 8 Apr 2020 14:11:54 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 038EBs6n044451; Wed, 8 Apr 2020 14:11:54 GMT (envelope-from gjb@FreeBSD.org) Received: (from gjb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 038EBsYk044450; Wed, 8 Apr 2020 14:11:54 GMT (envelope-from gjb@FreeBSD.org) Message-Id: <202004081411.038EBsYk044450@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gjb set sender to gjb@FreeBSD.org using -f From: Glen Barber Date: Wed, 8 Apr 2020 14:11:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r359725 - user/gjb/thermite X-SVN-Group: user X-SVN-Commit-Author: gjb X-SVN-Commit-Paths: user/gjb/thermite X-SVN-Commit-Revision: 359725 X-SVN-Commit-Repository: base 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.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: Wed, 08 Apr 2020 14:11:55 -0000 Author: gjb Date: Wed Apr 8 14:11:54 2020 New Revision: 359725 URL: https://svnweb.freebsd.org/changeset/base/359725 Log: Update the README.txt to reflect zfs-setup.sh had been renamed to zfs-cleanup.sh, now that thermite.sh creates the zfs datasets on its own. Reported by: Juraj Lutter Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: user/gjb/thermite/README.txt Modified: user/gjb/thermite/README.txt ============================================================================== --- user/gjb/thermite/README.txt Wed Apr 8 08:56:27 2020 (r359724) +++ user/gjb/thermite/README.txt Wed Apr 8 14:11:54 2020 (r359725) @@ -60,9 +60,6 @@ - To avoid repetition and possible human error, a few scripts were written to help keep things as automated as possible: - - zfs-setup.sh: - Destroys and creates pristine zfs datasets for each build. - - setrev.sh: Retrieves the 'Last Changed Revision' from the target branch and writes the version to a 'svnrev_src' file, and outputs the date in YYYYMMDD @@ -74,6 +71,9 @@ - generate-email.pl: This script generates the snapshot announcement email text. + + - zfs-cleanup.sh: + Destroys zfs datasets from previous builds. 4) Example Usage: From owner-svn-src-user@freebsd.org Thu Apr 9 08:26:16 2020 Return-Path: Delivered-To: svn-src-user@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2211E2B2860 for ; Thu, 9 Apr 2020 08:26:16 +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 48yZ3r03VCz4JDM; Thu, 9 Apr 2020 08:26: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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F0FC69C18; Thu, 9 Apr 2020 08:26: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 0398QFh7016137; Thu, 9 Apr 2020 08:26:15 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0398QFRj016136; Thu, 9 Apr 2020 08:26:15 GMT (envelope-from pho@FreeBSD.org) Message-Id: <202004090826.0398QFRj016136@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Thu, 9 Apr 2020 08:26:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r359741 - 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: 359741 X-SVN-Commit-Repository: base 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.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, 09 Apr 2020 08:26:16 -0000 Author: pho Date: Thu Apr 9 08:26:15 2020 New Revision: 359741 URL: https://svnweb.freebsd.org/changeset/base/359741 Log: Fix indent warnings from cc. Modified: user/pho/stress2/misc/rename12.sh Modified: user/pho/stress2/misc/rename12.sh ============================================================================== --- user/pho/stress2/misc/rename12.sh Thu Apr 9 07:15:27 2020 (r359740) +++ user/pho/stress2/misc/rename12.sh Thu Apr 9 08:26:15 2020 (r359741) @@ -110,8 +110,8 @@ cr(void) snprintf(name, sizeof(name), "dir1/d.%06d.%06d", pid, i); if (mkdir(name, 0700) == -1) err(1, "mkdir(%s). %s:%d", name, __FILE__, __LINE__); - if (write(mvpipe[1], &i, sizeof(i)) != sizeof(i)) - err(1, "write mvpipe"); + if (write(mvpipe[1], &i, sizeof(i)) != sizeof(i)) + err(1, "write mvpipe"); } _exit(0); @@ -132,7 +132,7 @@ mv(void) snprintf(name, sizeof(name), "dir1/d.%06d.%06d", pid, i); snprintf(to , sizeof(to ), "dir2/d.%06d.%06d", pid, i); if (rename(name, to) == -1) - warn("rename(%s, %s)", name, to); + warn("rename(%s, %s)", name, to); if (write(rmpipe[1], &i, sizeof(i)) != sizeof(i)) err(1, "write rmpipe"); } From owner-svn-src-user@freebsd.org Thu Apr 9 08:28:33 2020 Return-Path: Delivered-To: svn-src-user@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0FB042B28CA for ; Thu, 9 Apr 2020 08:28:33 +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 48yZ6S4Z7zz4JKC; Thu, 9 Apr 2020 08:28:32 +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 981F79C1C; Thu, 9 Apr 2020 08:28:32 +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 0398SW61016301; Thu, 9 Apr 2020 08:28:32 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0398SWsT016300; Thu, 9 Apr 2020 08:28:32 GMT (envelope-from pho@FreeBSD.org) Message-Id: <202004090828.0398SWsT016300@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Thu, 9 Apr 2020 08:28:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r359742 - 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: 359742 X-SVN-Commit-Repository: base 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.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, 09 Apr 2020 08:28:33 -0000 Author: pho Date: Thu Apr 9 08:28:32 2020 New Revision: 359742 URL: https://svnweb.freebsd.org/changeset/base/359742 Log: Fix false positive warnings seen. Modified: user/pho/stress2/misc/swap6.sh Modified: user/pho/stress2/misc/swap6.sh ============================================================================== --- user/pho/stress2/misc/swap6.sh Thu Apr 9 08:26:15 2020 (r359741) +++ user/pho/stress2/misc/swap6.sh Thu Apr 9 08:28:32 2020 (r359742) @@ -35,19 +35,18 @@ [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0 min=5 # percent swap usage -(cd ../testcases/swap; ./swap -t 5m -i 20 -l 100 -h > /dev/null) & -sleep 5 +(cd ../testcases/swap; ./swap -t 10m -i 40 -l 100 -h > /dev/null) & mx=0 while pgrep -q swap; do n=`swapinfo | tail -1 | sed 's/.* //; s/%//'` [ $n -gt $mx ] && mx=$n [ $mx -ge $min ] && pkill swap - sleep 2 done wait if [ $mx -lt $min ]; then echo "FAIL Only $mx% swap used" exit 1 else + echo "$mx% swap used" exit 0 fi From owner-svn-src-user@freebsd.org Thu Apr 9 08:33:38 2020 Return-Path: Delivered-To: svn-src-user@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F15A72B2A77 for ; Thu, 9 Apr 2020 08:33:38 +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 48yZDL661rz4Jh0; Thu, 9 Apr 2020 08:33:38 +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 CCD479DF3; Thu, 9 Apr 2020 08:33:38 +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 0398XcbQ022089; Thu, 9 Apr 2020 08:33:38 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0398XcOW022088; Thu, 9 Apr 2020 08:33:38 GMT (envelope-from pho@FreeBSD.org) Message-Id: <202004090833.0398XcOW022088@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Thu, 9 Apr 2020 08:33:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r359743 - 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: 359743 X-SVN-Commit-Repository: base 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.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, 09 Apr 2020 08:33:39 -0000 Author: pho Date: Thu Apr 9 08:33:38 2020 New Revision: 359743 URL: https://svnweb.freebsd.org/changeset/base/359743 Log: Limit runtime. Modified: user/pho/stress2/misc/signal0.sh Modified: user/pho/stress2/misc/signal0.sh ============================================================================== --- user/pho/stress2/misc/signal0.sh Thu Apr 9 08:28:32 2020 (r359742) +++ user/pho/stress2/misc/signal0.sh Thu Apr 9 08:33:38 2020 (r359743) @@ -52,7 +52,7 @@ s=0 # an INVARIANTS kernel start=`date +%s` for i in `jot 500`; do - /tmp/signal0 + /tmp/signal0 || { s=1; break; } [ $((`date +%s` - start)) -gt 900 ] && { echo "Timeout @ loop $i/500"; s=1; break; } done @@ -68,6 +68,8 @@ EOF #include #include +#define N 3000 + static void signal_handler(int signum, siginfo_t *si, void *context) { if (signum != SIGUSR1) { @@ -90,7 +92,7 @@ main(void) sa.sa_sigaction = signal_handler; if (sigfillset(&sa.sa_mask) != 0) abort(); if (sigaction(SIGUSR1, &sa, NULL) != 0) abort(); - for (int i = 0; i < 10000; i++) { + for (int i = 0; i < N; i++) { pthread_t t; if (pthread_create(&t, NULL, thread_func, NULL) == 0) From owner-svn-src-user@freebsd.org Thu Apr 9 08:34:27 2020 Return-Path: Delivered-To: svn-src-user@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E8BBB2B2A99 for ; Thu, 9 Apr 2020 08:34:27 +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 48yZFH5rBkz4Jm8; Thu, 9 Apr 2020 08:34:27 +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 C3A289DF4; Thu, 9 Apr 2020 08:34:27 +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 0398YRaL022183; Thu, 9 Apr 2020 08:34:27 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0398YRAT022182; Thu, 9 Apr 2020 08:34:27 GMT (envelope-from pho@FreeBSD.org) Message-Id: <202004090834.0398YRAT022182@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Thu, 9 Apr 2020 08:34:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r359744 - 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: 359744 X-SVN-Commit-Repository: base 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.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, 09 Apr 2020 08:34:28 -0000 Author: pho Date: Thu Apr 9 08:34:27 2020 New Revision: 359744 URL: https://svnweb.freebsd.org/changeset/base/359744 Log: Update the exclude list. Modified: user/pho/stress2/misc/all.sh Modified: user/pho/stress2/misc/all.sh ============================================================================== --- user/pho/stress2/misc/all.sh Thu Apr 9 08:33:38 2020 (r359743) +++ user/pho/stress2/misc/all.sh Thu Apr 9 08:34:27 2020 (r359744) @@ -89,6 +89,9 @@ # sctp.sh WiP 20200307 # sctp2.sh panic: soclose: SS_NOFDREF on enter 20200307 # sctp3.sh WiP 20190809 +# sendfile18.sh WiP 20200313 +# sendfile19.sh WiP 20200317 +# sendfile20.sh WiP 20200318 # signal.sh Timing issues. Needs fixing 20171116 # snap4.sh panic: snapacct_ufs2: bad block 20181014 # snap6.sh panic: softdep_deallocate_dependencies: unrecovered ... 20130630 @@ -234,7 +237,7 @@ chmod 640 $alllast $alllog find ../testcases -perm -1 \( -name "*.debug" -o -name "*.full" \) -delete tail -2000 $alllog > ${alllog}.new; mv ${alllog}.new $alllog touch $allelapsed -tail -10000 $allelapsed > ${allelapsed}.new; mv ${allelapsed}.new $allelapsed +tail -20000 $allelapsed > ${allelapsed}.new; mv ${allelapsed}.new $allelapsed console=/dev/console printf "\r\n" > $console &