From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 82F60341648; Tue, 16 Dec 2025 11:58:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765886313; cv=none; b=uVTcjchnV9tNPQJSnl71lSCPmDWkn44udOYvFIVMZiQ71U7qHMmqtzebgAytCR0k1Cl0smOED6noKmqn8ti7rTBv1ypjQAHqZAbEjb7LlWU79x+i8oZpJQMnDO9Wa/c9049R2cy33XnZ8/pPlf0OaTjqxcbeA8DUaCyfmtCUZIk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765886313; c=relaxed/simple; bh=ZtRi+Tr1jD3zDSqjTai1j/SRKa1h5gPk4l2afZKkRKs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WMNs/OH/tjj3UIEUllfeaMb/M+mz1VhfV0QPHtEdOwxV6UIw1FVkteDXkEOkLJ2bV3AL/POOEDi9vF/roft0Fu0ZFfWjdKmT+937O3n0LCpPARstx0y2Pn3wloy5egDYpGjdU8PuB/wHYh5sFa+VbxQsBHM5MTMVOAdY8YDqItc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PrAzqc7f; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="PrAzqc7f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F06BCC4CEF1; Tue, 16 Dec 2025 11:58:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765886313; bh=ZtRi+Tr1jD3zDSqjTai1j/SRKa1h5gPk4l2afZKkRKs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PrAzqc7fM1mqR+8YPzlTnuljinIYhGA52CEKTtMP+Jt8WOHHJsT2fCZKfZY6gaOt9 /EVviOyt0/vj3e2OHLvf0vzsYs98bntxcju6HkPtX1ixUDqOeByxHUJ7Z1Ib+/Qv54 8zaqLZTYU/MDIhEsKRijb2zyNoekBTaUU1304y5w= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jakub Kicinski , Hangbin Liu , Sasha Levin Subject: [PATCH 6.17 401/507] selftests: bonding: add delay before each xvlan_over_bond connectivity check Date: Tue, 16 Dec 2025 12:14:02 +0100 Message-ID: <20251216111359.981257250@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216111345.522190956@linuxfoundation.org> References: <20251216111345.522190956@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hangbin Liu [ Upstream commit 2c28ee720ad14f58eb88a97ec3efe7c5c315ea5d ] Jakub reported increased flakiness in bond_macvlan_ipvlan.sh on regular kernel, while the tests consistently pass on a debug kernel. This suggests a timing-sensitive issue. To mitigate this, introduce a short sleep before each xvlan_over_bond connectivity check. The delay helps ensure neighbor and route cache have fully converged before verifying connectivity. The sleep interval is kept minimal since check_connection() is invoked nearly 100 times during the test. Fixes: 246af950b940 ("selftests: bonding: add macvlan over bond testing") Reported-by: Jakub Kicinski Closes: https://lore.kernel.org/netdev/20251114082014.750edfad@kernel.org Signed-off-by: Hangbin Liu Link: https://patch.msgid.link/20251127143310.47740-1-liuhangbin@gmail.com Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- .../testing/selftests/drivers/net/bonding/bond_macvlan_ipvlan.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/drivers/net/bonding/bond_macvlan_ipvlan.sh b/tools/testing/selftests/drivers/net/bonding/bond_macvlan_ipvlan.sh index c4711272fe45d..559f300f965aa 100755 --- a/tools/testing/selftests/drivers/net/bonding/bond_macvlan_ipvlan.sh +++ b/tools/testing/selftests/drivers/net/bonding/bond_macvlan_ipvlan.sh @@ -30,6 +30,7 @@ check_connection() local message=${3} RET=0 + sleep 0.25 ip netns exec ${ns} ping ${target} -c 4 -i 0.1 &>/dev/null check_err $? "ping failed" log_test "${bond_mode}/${xvlan_type}_${xvlan_mode}: ${message}" -- 2.51.0