From patchwork Thu Apr 18 10:23:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Ni X-Patchwork-Id: 13634480 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64F9B15B969 for ; Thu, 18 Apr 2024 10:23:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713435819; cv=none; b=oOK9yZcJtRvSRCuRlViXY+f3Xkb28hOElDXj9IaqaiPgu6tehsw3mhTV71bAO5UEKgvVh+NrBe4Ah402EkjKbKp4U+mzsA5kXqGDK3SMjLAc/511jBl/JVTVEgQly+x/Ex1oVuup+DNZbH10H3GrxE61YZ5kR0zMtgKpW6PtnEQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713435819; c=relaxed/simple; bh=1Z2U2CykL/kF8DBR8ZRYaY/YZvLtEeflVBukKpjUR+Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=LLbekInjSXrMrEpKedNYbqXjJcQB1osUFNz9jDdkZgp7L6Tzv/SpmGp1yYeCWkmopu56aJkExNMbMvIIOigHfXA6IUCeb3ggpysXUShwAXnq7eRTX1BYHSFWf30IaGyEqor3LeIe0OvLrKLB2LLRiWNixJTnD42o/AoBJwm6nv0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Ta76YrPE; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ta76YrPE" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713435816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9m1aSjvO+6ptpV/AFb2SyIbAmtHQ5MPGeLImUXRC5Fo=; b=Ta76YrPE+DSan6ilww1xqXvV9Pytq7AWe30++eEUuh6hEtYQKBsm4B745FBSaifhNF3JFZ 5sjk1WHiWAOkiN1R7F2RKNMikrrI+QaMt7tNL7cWkoLUGkVKLV26ggzRof53WzZWa8zb6a d+K+IEru9AEBIpTRcTjBj9MKi/x56UI= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-394-aajNzz3VO_eGl37GgHaY0w-1; Thu, 18 Apr 2024 06:23:31 -0400 X-MC-Unique: aajNzz3VO_eGl37GgHaY0w-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 73FAC385A189; Thu, 18 Apr 2024 10:23:31 +0000 (UTC) Received: from localhost.localdomain (unknown [10.72.120.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4001D1C060D0; Thu, 18 Apr 2024 10:23:27 +0000 (UTC) From: Xiao Ni To: linux-raid@vger.kernel.org Cc: jes@trained-monkey.org, song@kernel.org, yukuai1@huaweicloud.com, ncroxon@redhat.com, colyli@suse.de, mariusz.tkaczyk@linux.intel.com Subject: [PATCH 1/5] tests/test enhance Date: Thu, 18 Apr 2024 18:23:17 +0800 Message-Id: <20240418102321.95384-2-xni@redhat.com> In-Reply-To: <20240418102321.95384-1-xni@redhat.com> References: <20240418102321.95384-1-xni@redhat.com> Precedence: bulk X-Mailing-List: linux-raid@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 There are two changes. First, if md module is not loaded, it gives error when reading speed_limit_max. So read the value after loading md module which is done in do_setup Second, sometimes the test reports error sync action doesn't happen. But dmesg shows sync action is done. So limit the sync speed before test. It doesn't affect the test run time. Because check wait sets the max speed before waiting sync action. Signed-off-by: Xiao Ni --- test | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/test b/test index 338c2db44fa7..2aa3bd75d503 100755 --- a/test +++ b/test @@ -6,7 +6,8 @@ targetdir="/var/tmp" logdir="$targetdir" config=/tmp/mdadm.conf testdir=$PWD/tests -system_speed_limit=`cat /proc/sys/dev/raid/speed_limit_max` +system_speed_limit_max=0 +system_speed_limit_min=0 devlist= savelogs=0 @@ -39,8 +40,19 @@ ctrl_c() { ctrl_c_error=1 } +record_system_speed_limit() { + system_speed_limit_max=`cat /proc/sys/dev/raid/speed_limit_max` + system_speed_limit_min=`cat /proc/sys/dev/raid/speed_limit_min` +} + +# To avoid sync action finishes before checking it, it needs to limit +# the sync speed +control_system_speed_limit() { + echo $system_speed_limit_min > /proc/sys/dev/raid/speed_limit_max +} + restore_system_speed_limit() { - echo $system_speed_limit > /proc/sys/dev/raid/speed_limit_max + echo $system_speed_limit_max > /proc/sys/dev/raid/speed_limit_max } mdadm() { @@ -103,6 +115,7 @@ do_test() { do_clean # source script in a subshell, so it has access to our # namespace, but cannot change it. + control_system_speed_limit echo -ne "$_script... " if ( set -ex ; . $_script ) &> $targetdir/log then @@ -309,6 +322,7 @@ print_warning() { main() { print_warning do_setup + record_system_speed_limit echo "Testing on linux-$(uname -r) kernel" [ "$savelogs" == "1" ] && From patchwork Thu Apr 18 10:23:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Ni X-Patchwork-Id: 13634481 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2395315B980 for ; Thu, 18 Apr 2024 10:23:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713435819; cv=none; b=A2zenaYJKDnowctvy5aDRRo+w25lZ5+jFiecsBV0zT2IXmDi1RZ+wXXLRTIdTGlNuWh8oB8R4MO6cTjx0LknhNg63IQzKkDWWvOHwVQ4UYk56U+mvfbwrnShuWY87uyvFtxzMOe6ldfae15VTZq955F2cmnnI/PtkTCXYsCoiDc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713435819; c=relaxed/simple; bh=QeToasVBnJxRkRih8P3xFN76OOqD0WotTYtbwVIX4r8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uqeqLuAJHa/KUvj+zb3RSycdo4oXxHHS1Guhe3YRJHiSbataZQntNO/Nkn4WhHOKKz4E2fR7FXaj2UQsNfcOFRH6+TaoPZISIrE4ibGGCOJvsHbvLtIqm5CfJR5Hh9XjZ/RWVR+tBaA/DQJtKadwGWFvQiTvdhWLlz5vv/bQ/w0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=AzNaMDxQ; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="AzNaMDxQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713435817; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YVwbSl7gEUcEmgDIDKx+BqOu2/sGgsIgUhnStj8o3Qc=; b=AzNaMDxQLeTP5lC3gvKByqPShp8F5Rz2VL4O4LlR+yt22zmZt0Uoo6knZSEv6pjN538T9R JLfV/2lLwt0x5YamzODkbdFuPXB0g9+osoZ7uxfZYgwjFqFl+RL49o3OyAWt8PL2EjAAfl YikX1OF1tWtbSgCwG7GEVQCu3T6H6MQ= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-564-H6qWFBUEPhee7LQyYLzvIQ-1; Thu, 18 Apr 2024 06:23:35 -0400 X-MC-Unique: H6qWFBUEPhee7LQyYLzvIQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 385523C00084; Thu, 18 Apr 2024 10:23:35 +0000 (UTC) Received: from localhost.localdomain (unknown [10.72.120.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id 284081C060D0; Thu, 18 Apr 2024 10:23:31 +0000 (UTC) From: Xiao Ni To: linux-raid@vger.kernel.org Cc: jes@trained-monkey.org, song@kernel.org, yukuai1@huaweicloud.com, ncroxon@redhat.com, colyli@suse.de, mariusz.tkaczyk@linux.intel.com Subject: [PATCH 2/5] tests/00createnames enhance Date: Thu, 18 Apr 2024 18:23:18 +0800 Message-Id: <20240418102321.95384-3-xni@redhat.com> In-Reply-To: <20240418102321.95384-1-xni@redhat.com> References: <20240418102321.95384-1-xni@redhat.com> Precedence: bulk X-Mailing-List: linux-raid@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 Now 00createnames doesn't check Create names=yes config. Without this config, mdadm creates /dev/md127 device node when mdadm --create /dev/md/test. With this config, it creates /dev/md_test. This patch only adds the check. If it has this config, it returns directly without error. And this case has an error. For super1, if the length of hostname is >= 32, it doesn't add hostname in metadata name. Fix this problem by checking the length of hostname. And this patch adds a check if device node exists. Signed-off-by: Xiao Ni --- tests/00createnames | 9 +++++++++ tests/templates/names_template | 15 ++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/tests/00createnames b/tests/00createnames index a95e7d2bb085..2eb3d9331dda 100644 --- a/tests/00createnames +++ b/tests/00createnames @@ -3,6 +3,15 @@ set -x -e # Test how and --name= are handled for create mode. +create_with_name=`cat /etc/mdadm.conf | grep "^Create*.names=yes"` + +if [ -n "$create_with_name" ]; then + exit 0 +fi + +#The following cases don't consider the names=yes setting in mdadm.conf +#It needs to add the respecting cases which consider names=yes config + # The most trivial case. names_create "/dev/md/name" names_verify "/dev/md127" "name" "name" diff --git a/tests/templates/names_template b/tests/templates/names_template index 1b6cd14bf51d..4c7ff8c27f73 100644 --- a/tests/templates/names_template +++ b/tests/templates/names_template @@ -30,6 +30,7 @@ function names_verify() { local DEVNODE_NAME="$1" local WANTED_LINK="$2" local WANTED_NAME="$3" + local EXPECTED="" local RES="$(mdadm -D --export $DEVNODE_NAME | grep MD_DEVNAME)" if [[ "$?" != "0" ]]; then @@ -46,13 +47,25 @@ function names_verify() { exit 1 fi + if [ -b /dev/md/$WANTED_LINK ]; then + echo "/dev/md/$WANTED_LINK doesn't exit" + fi + local RES="$(mdadm -D --export $DEVNODE_NAME | grep MD_NAME)" if [[ "$?" != "0" ]]; then echo "Cannot get metadata from $dev0." exit 1 fi - local EXPECTED="MD_NAME=$(hostname):$WANTED_NAME" + #If the lenght of hostname is >= 32, super1 doesn't use hostname + #in metadata + local is_super1="$(mdadm -D --export $DEVNODE_NAME | grep MD_METADATA=1.2)" + hostname=$(hostname) + if [ -n "$is_super1" -a `expr length $(hostname)` -lt 32 ]; then + EXPECTED="MD_NAME=$(hostname):$WANTED_NAME" + else + EXPECTED="MD_NAME=$WANTED_NAME" + fi if [[ "$RES" != "$EXPECTED" ]]; then echo "$RES doesn't match $EXPECTED." exit 1 From patchwork Thu Apr 18 10:23:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Ni X-Patchwork-Id: 13634482 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BDA6015B99E for ; Thu, 18 Apr 2024 10:23:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713435824; cv=none; b=d2gAbPlfEuFU1HeGsco1DfOT8rU1rpzcmlPP9Thx+zGhlmsyk1+kGwcSbi19fol+KGWEpRlfoqIfWqiJC47NZfw3dIPt+Y8dYed16LiCG8zjTsVAowOG01O36dwZf2gLUv8d4rkfZiRUqpEkblvQ9R4qyTnlLlYDfGGutIpolUo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713435824; c=relaxed/simple; bh=0ime0OeMQ0fyDzzUQ9ElIvA1IrdMHn0mTD1kfgy0U2M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=bXtPeMtazn4457j5KlgxXmVsafbMb4UDpma892llv3Gs77VI5Igw8WZdTOOdR+ou4m8cp2N+ar3HSGwq/XWnDPrWBqfJDgpZyNnWPJ5PZfoYrN6TW49AnLXJrTNnNIPgkidf+4fAyZyBSyexVMuXCal2kzqTK6dYfuNqttowVS8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=M5ctT7Ag; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="M5ctT7Ag" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713435822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qv0BhHNERyA0kgVeE7lCSPXvLcamv/eInAMyJMlLw/Y=; b=M5ctT7AgXGBgG+7T07BiOH5AINbxp1lwTuhNWpPdX2kALBXFRouL52eAmjTMtecuMBepJ6 HmuovlOi8s5/tlcGBUBRkTKw8XtvaoN1WFYL32vAf0DjFWrYrcFpm4/s51d8IX8ctRNlYr iO7Uk76Vc/mzVtd5aKZInz2NYqh89zI= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-604-6DKntCfRPn2EV5tqE2s7EQ-1; Thu, 18 Apr 2024 06:23:39 -0400 X-MC-Unique: 6DKntCfRPn2EV5tqE2s7EQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 05C491C3F0E2; Thu, 18 Apr 2024 10:23:39 +0000 (UTC) Received: from localhost.localdomain (unknown [10.72.120.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id DCB5E1C060D0; Thu, 18 Apr 2024 10:23:35 +0000 (UTC) From: Xiao Ni To: linux-raid@vger.kernel.org Cc: jes@trained-monkey.org, song@kernel.org, yukuai1@huaweicloud.com, ncroxon@redhat.com, colyli@suse.de, mariusz.tkaczyk@linux.intel.com Subject: [PATCH 3/5] tests/01r5fail enhance Date: Thu, 18 Apr 2024 18:23:19 +0800 Message-Id: <20240418102321.95384-4-xni@redhat.com> In-Reply-To: <20240418102321.95384-1-xni@redhat.com> References: <20240418102321.95384-1-xni@redhat.com> Precedence: bulk X-Mailing-List: linux-raid@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 After removing dev0, the recovery starts because it already has a spare disk. It's good to check recovery. But it's not right to check recovery after adding dev3. Because the recovery may finish. It depends on the recovery performance of the testing machine. If the recovery finishes, it will fail. But dev3 is only added as a spare disk, we can't expect there is a recovery happens. So remove the codes about adding dev3. Signed-off-by: Xiao Ni --- tests/01r5fail | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/01r5fail b/tests/01r5fail index 873dba585e58..c210d6e747f2 100644 --- a/tests/01r5fail +++ b/tests/01r5fail @@ -17,11 +17,7 @@ check wait mdadm $md0 --fail $dev0 mdadm $md0 --remove $dev3 $dev0 check recovery -check state _UUU - -mdadm $md0 -a $dev3 -check recovery check wait check state UUUU -mdadm -S $md0 \ No newline at end of file +mdadm -S $md0 From patchwork Thu Apr 18 10:23:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Ni X-Patchwork-Id: 13634483 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9508415CD67 for ; Thu, 18 Apr 2024 10:23:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713435830; cv=none; b=gEFaC9tKR1cth9/FNF8gEfH1moLZ5Ap2Ea//n2iTHw30hCJQkv0AsxKoIUoto2IwDREndmqv43te59y2APsV/SEPjK64dV54SV1sy79yKW7q+s+msGqznwX+uzF6xu5frkLEkfru0OyIKPf43gF8tO+zPgbQ1mHCKXav679+ztE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713435830; c=relaxed/simple; bh=YPw4zxaLkMlJKxM6W7mzdwjE0Na4uvx620o7kqBJfoo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=iDvqpwYfvad5h10SoUz1N2wCOFCA7DvcGstfPrU/RJ2G1VGwvFEGoavSxVUKiW8n24xtX3gdAO/uglCRgCWxBDqeK+Ft8h5kcMESmrNtnRCdBt0qG6ttqihPWfj35tVy+OZdvctb8FIXDX0OjXjF6mxvP11DeYMvQfWQv08NoNQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=d+dDKpEs; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="d+dDKpEs" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713435827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UABJySfmBfQvvblXuCekzkTrTt6OtcK9CykQLcGZD+Q=; b=d+dDKpEsWMnb7snoJ1jLvJZQu2pdCgbNU85Nv/IpPx6XMn9bep7jcDZisWjhja3TFn+iVN GxIlQN2QzlYqG+GtHEJ9CqpwWMhrO+SxVFiy4qBPyV+UrzczNIPdLySXN25jQTiOa/zeEy oJw7EJ9DWgZVhBvsRqOB6BOu0ZEBfCA= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-662-18OUbN60O8G0kZKGGrARuA-1; Thu, 18 Apr 2024 06:23:43 -0400 X-MC-Unique: 18OUbN60O8G0kZKGGrARuA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B93601C3F0E3; Thu, 18 Apr 2024 10:23:42 +0000 (UTC) Received: from localhost.localdomain (unknown [10.72.120.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id B3BF01C060D0; Thu, 18 Apr 2024 10:23:39 +0000 (UTC) From: Xiao Ni To: linux-raid@vger.kernel.org Cc: jes@trained-monkey.org, song@kernel.org, yukuai1@huaweicloud.com, ncroxon@redhat.com, colyli@suse.de, mariusz.tkaczyk@linux.intel.com Subject: [PATCH 4/5] tests/01r5integ.broken Date: Thu, 18 Apr 2024 18:23:20 +0800 Message-Id: <20240418102321.95384-5-xni@redhat.com> In-Reply-To: <20240418102321.95384-1-xni@redhat.com> References: <20240418102321.95384-1-xni@redhat.com> Precedence: bulk X-Mailing-List: linux-raid@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 01r5integ can be run successfully 152 times without error with kernel 6.9.0-rc4 and mdadm - v4.3-51-g52bead95. So remove this one broken case. Signed-off-by: Xiao Ni --- tests/01r5integ.broken | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 tests/01r5integ.broken diff --git a/tests/01r5integ.broken b/tests/01r5integ.broken deleted file mode 100644 index 207376372243..000000000000 --- a/tests/01r5integ.broken +++ /dev/null @@ -1,7 +0,0 @@ -fails rarely - -Fails about 1 in every 30 runs with a sha mismatch error: - - c49ab26e1b01def7874af9b8a6d6d0c29fdfafe6 /dev/md0 does not match - 15dc2f73262f811ada53c65e505ceec9cf025cb9 /dev/md0 with /dev/loop3 - missing From patchwork Thu Apr 18 10:23:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Ni X-Patchwork-Id: 13634484 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5544E15B96E for ; Thu, 18 Apr 2024 10:23:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713435833; cv=none; b=C8JCJ1RaYJ8rImaDMApvElR1Av0aJX3N9NqKDXPQAAfQLBu/H9TLxN3Hy7uhfGiqm8s1MbrjD8uI5hoi008TaQS4/MYOAtgAn8O3RjSozD2ETUUGkJUdjTAZg7ixi9Xb9+myg696BPQZwdYR2x5O6cB6mmEZninVXTJf824eq0A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713435833; c=relaxed/simple; bh=b00yJBd5ElmPanFG3WHzFj7GaP2dLeGpghv4xzRl3SE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=EGIcefPvF/44P15GtXS9QjslLK9pcYQeEg5HZI5AUOqF1g+Ed3IiLyLHIB7fpEQ7laKiL2WVNSFhQ7B9IsvM6/nghOgfzKWvk9dXFi7ivMUC/ugHIpRQt3aza3gtl3/+6lRqK0yaVelPoRD0P9zWT+fHdUExHk0DBNt87lNgDgI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=IazeuIZv; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="IazeuIZv" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713435831; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1/p056Ze+BtxschA6jQBw1Sy0CfFTKY1t6vtZd7S16s=; b=IazeuIZv9slkWhr42bshE4QvukEGvFpAwnmSrdNN6ivR1UmOZjKzlguYlHqsCV2GUZHZO4 Si/eeERTySr7kMA5+Y4MrvQqUphuBYJNyz/kbtSaBSPjE6rb14A7yunazz9+6tGXzWw3Jo dY7TsWJxA41vThSz8Ci8p3OlJVlQF1A= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-35-Ngil9U9lPKy5FF5IFNIjGw-1; Thu, 18 Apr 2024 06:23:47 -0400 X-MC-Unique: Ngil9U9lPKy5FF5IFNIjGw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B3EB7811000; Thu, 18 Apr 2024 10:23:46 +0000 (UTC) Received: from localhost.localdomain (unknown [10.72.120.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7E42C1C0654B; Thu, 18 Apr 2024 10:23:43 +0000 (UTC) From: Xiao Ni To: linux-raid@vger.kernel.org Cc: jes@trained-monkey.org, song@kernel.org, yukuai1@huaweicloud.com, ncroxon@redhat.com, colyli@suse.de, mariusz.tkaczyk@linux.intel.com Subject: [PATCH 5/5] tests/01raid6integ.broken can be removed Date: Thu, 18 Apr 2024 18:23:21 +0800 Message-Id: <20240418102321.95384-6-xni@redhat.com> In-Reply-To: <20240418102321.95384-1-xni@redhat.com> References: <20240418102321.95384-1-xni@redhat.com> Precedence: bulk X-Mailing-List: linux-raid@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 01raid6integ can be run successfully with kernel 6.9.0-rc3. So remove 01raid6integ.broken. Signed-off-by: Xiao Ni --- tests/01raid6integ.broken | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 tests/01raid6integ.broken diff --git a/tests/01raid6integ.broken b/tests/01raid6integ.broken deleted file mode 100644 index 1df735f08c8c..000000000000 --- a/tests/01raid6integ.broken +++ /dev/null @@ -1,7 +0,0 @@ -fails infrequently - -Fails about 1 in 5 with a sha mismatch: - - 8286c2bc045ae2cfe9f8b7ae3a898fa25db6926f /dev/md0 does not match - a083a0738b58caab37fd568b91b177035ded37df /dev/md0 with /dev/loop2 and - /dev/loop3 missing