From nobody Mon Feb 20 11:06:20 2023 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 4PL03J3P3gz3sdfw; Mon, 20 Feb 2023 11:06:20 +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 4PL03J2fz5z3G4C; Mon, 20 Feb 2023 11:06:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676891180; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=evYmJQD2JWEr5HkAHaQgv9be6iPhuMnBBspqS9W0Awg=; b=yDHfzP3bHBFNbAoFrwsDCvG/k0oqlv2tTljZ1VpHTlQd3xH23QrpDTy3Sd184Qti/qCbxE yYeMu67c1M9Jr0q20hVzSWz0Uq9dtbMXtai72ItftktKwIdiZyzbwzj4EZiN3/abeyF2y/ /DQbyc+3/w4R1EOBseR+ZBNOjN0UDzoFhc2NnYt17LngZ+bT4+pgIY6pXIsVep/nlpuUZ5 BtsTvSElSmjzyqwS9nUksz+zEqlaGk553sleqiCtUVQeVuPTTocWZYVbxgG1yaJZKP3Y7w L6n2//rNFBeI8GTugIeSzySQVM/jBGgPBGVFgs64lo2B/2SMDkTvFSl2O6zSpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676891180; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=evYmJQD2JWEr5HkAHaQgv9be6iPhuMnBBspqS9W0Awg=; b=my35BkPI7mbj6CfEbSm4v1Aqnj6yfTV/weFgA8TR2BNrJ1ByTcg3te6lcyiML9V27iaviK 57+ho4Qr3Qm9gqXj9lmHxnc+kUxcc8CgDJqVnpWp4dITjKQ89GgRJBrQFlZNxhEQS3AlDk Sj2X5N2tKze/ZDSHSRHcUiZj5JNKHmhCMYy7eirQlTubHTUj1VADuQttH7YnfUHbhUBuBv oDyHcr+Y4X0WAuIVsdwF0W5o50uHJ/mn57/IIDIW+q/ohy4s3PO2GQrp6UUOBkuuBvWQ8g Q5ILqxGxUjQoxBxGIvZBG8fGgRFMNcDR4PbsSwugz8DxFhHn9WYC0qYHoprTkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676891180; a=rsa-sha256; cv=none; b=H+XKExJ5cSqM0mJ0Mfu/kQBBDCJqvEva8Ec6sitTT8RHukD/WH5w/GddxX5QBLej5JbZdw pEC5vktA3++NTSX0Hpi5yRxW1dIPl7s+amuLf4N4gqTrhFK48dHZoHMswltbHk41RlyMaV Ezh6m7LaL5QyVXqrKZMaTsxAyudBOEkIrfxczKQ5bnCTeDjDm6QaNtYdODI6LdkxiWAwDB 7xf0MU2OVtRVa5FPdxtMc1sisJdRNDNRlx0uNxEyAgmJJxAt//2zTuE32UJMgeCZJiS5dM hIQ9GOBYRvkCXWY8hi+nFgl7haOaQjmD8sEpjnPX3emKm+8ObNzd98FU/DXFBg== 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 4PL03J1cX3zfK6; Mon, 20 Feb 2023 11:06:20 +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 31KB6KIp005433; Mon, 20 Feb 2023 11:06:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31KB6K9i005432; Mon, 20 Feb 2023 11:06:20 GMT (envelope-from git) Date: Mon, 20 Feb 2023 11:06:20 GMT Message-Id: <202302201106.31KB6K9i005432@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: 187f4fce3b34 - main - stress2: Added a fsck check to the scenario 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: 187f4fce3b3445e69ab2da539c48e355981ae436 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=187f4fce3b3445e69ab2da539c48e355981ae436 commit 187f4fce3b3445e69ab2da539c48e355981ae436 Author: Peter Holm AuthorDate: 2023-02-20 11:04:24 +0000 Commit: Peter Holm CommitDate: 2023-02-20 11:04:24 +0000 stress2: Added a fsck check to the scenario --- tools/test/stress2/misc/newfs6.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/test/stress2/misc/newfs6.sh b/tools/test/stress2/misc/newfs6.sh index 5e887f1496a6..690170ceb938 100755 --- a/tools/test/stress2/misc/newfs6.sh +++ b/tools/test/stress2/misc/newfs6.sh @@ -38,6 +38,7 @@ mount | grep "on $mntpoint " | grep -q md$mdstart && mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart mdconfig -a -t swap -s 1g -u $mdstart || exit 1 +log=/tmp/newfs6.sh.log s=0 for opt in -O1 -O2 -U -j; do bs=4096 @@ -49,9 +50,15 @@ for opt in -O1 -O2 -U -j; do md$mdstart > /dev/null || { s=1; continue; } mount /dev/md$mdstart $mntpoint || s=2 && umount $mntpoint + fsck -fy /dev/md$mdstart > $log 2>&1 + grep -q "WAS MODIFIED" $log && { + s=3 + cat $log + } done bs=$((bs * 2)) done done mdconfig -d -u $mdstart +rm -f $log exit $s