From patchwork Thu Feb 15 18:25:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matthieu Baerts (NGI0)" X-Patchwork-Id: 201695 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp39369dyb; Thu, 15 Feb 2024 10:30:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUu65Z+5XQkzHwQaHRk7jjMmF5EOpuiHIXFqDV16S3Ue6OK4uN+Gn+r2wrOy2g60dRFidTFe+1NiGE6cTCJCT3HkHYmqg== X-Google-Smtp-Source: AGHT+IH6lOeftOt40VYDRbsD6jerylJXKVwOzUqtFkBkr2Wi7eo82aH7MQ5tzbvQ1ncpmZZUrTGR X-Received: by 2002:ac8:5746:0:b0:42c:5fce:e40d with SMTP id 6-20020ac85746000000b0042c5fcee40dmr2739081qtx.49.1708021830347; Thu, 15 Feb 2024 10:30:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708021830; cv=pass; d=google.com; s=arc-20160816; b=BVehrJkU52SOob3KwtVlPNIxV4tzL52yPKNLuQlP2o/5l1agRi0Gca7YZRRuZcZBPS QJiGTvtcQLt2GPDo+OPwU5EtFEkHbgOW4tnMzCazImEe267qHriI3be+10wyMXP3JYaU LsroHA54u98uijpv3jDRjoHBETJAilOEU/1yhapQfv25BlZQRU1jCQZjOGcG5LdVznQL tpKrE+WUrjV7xoPbzZdLeuJ6gpH83HBaXRJqQd2eYpvtYRGrTKJVjkclcUT3N0Rxk/ff Sj1uhnz78M6XU2sM/e2lj+PrEpS+VlMCY19V0DDoVDeXUiYrCwgylJANuuyevH9fn7UH P/Zw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=56eL18FyihP75xp0vhb9GZKPxcXw1iEwftxrhSdj85I=; fh=YLls1mWwoBtdGDVDLSS7Y7vfTx1qtyt00TdtmrttUI0=; b=irTuFv7QXmS7uqhBKwfKVSnNSogFjgBLZaSxdWUQb+0Zf4/9h1XRs9FVBtsFjTgyrw 8bf+86+nkOWNh2Abuo1tCvFRhYR6zkykEBapXvFc1J7KG4BOQ9tPKpM9Mnw1cXTVcOrp rBjA2Q7nisFXD6LV5VqCuJ/K9yViDy0IZ2gl6zP5XyCMoSRR1lEtf5Olk9JGFBiDj7fe RYaPHb8+rN3WjLqD2xXkTjB/KoP3G3gNCgl3QxYV+mjOLfV/qH5C52xSe4DfroyWVwPa 3wpo4mHzkKNzBpyzCgjYd/DxhtbQ81mAZUQcIBEYnsEOryiyfPR6CLgS2FdcHxIGHJY5 LisA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ORXCFC7o; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67503-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67503-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g7-20020ac84807000000b0042c67f0653dsi1831261qtq.221.2024.02.15.10.30.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 10:30:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67503-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ORXCFC7o; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67503-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67503-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2612B1C20DC4 for ; Thu, 15 Feb 2024 18:30:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AA7B14601E; Thu, 15 Feb 2024 18:26:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ORXCFC7o" 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 18C2D145FF3; Thu, 15 Feb 2024 18:26:13 +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=1708021574; cv=none; b=csWKgK+fLuDhv01obknyVBDsF2u7DDFJO2Jnp5xKsOPrpDBx9u1VVvpOSlrS4y3VWXGQ+3+XM3EKOi9csy2Z5Penf4kuVhGYsGHrdSR9R8twX8Os/Wnx6byO6PmoKmL6i+6s+zxHdj+AKWQTJejMEIEsHb35d3r2tcwevmkFN8s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708021574; c=relaxed/simple; bh=Y9v/Te9flpYVSoeQkyHDc5ogS5iYhmlGbBJS7seYJwg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IDGbP7ogDc+E9VWpQiisusQ0TDsnvj12fhn+YaSJ8Lspyk92Mx17lmBRBB6VWItZ+qDtbR3lLHF32Fjn7+QTilhhc7DqMASiq9310xKpZCQb/pjxUwU99UnirSU/TbcQF5bdEnRnxQ/2NEAQu0uuRpJ7OA9LvX2BEQdPNhVmxP0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ORXCFC7o; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CACC1C433F1; Thu, 15 Feb 2024 18:26:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708021573; bh=Y9v/Te9flpYVSoeQkyHDc5ogS5iYhmlGbBJS7seYJwg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=ORXCFC7ohEI5eCA1JzxPRwBYjnbYEDRJ+Y5ChzfkgmwbN3t9vCVgh3ZSxFa5K08sk BKQ9Tj6PoUMnQS7lLhr7vxg543UA0ymLhYFgN4k8Zh6fZQSrN3/IH2Zbys48wRoI1t nHQhF1jkO/UDEyDemFxMTidXqJd/tvbINtErAFtWRaV6Nz4RBOuyhDq8y9TaNSlreH ciZh+RH+2dJrPhC8/1sbrAyNii82JWgMxoxlvtDsmf1Stv1ZzQrn3+C74uPm5NXN04 sSMw/vfcX7tI9e36RifTg+AJMCMN/tIhJGj7MsIMLc9s1wH259hbkZGntPpDicmHrH 0nLh7rkN+eB3g== From: "Matthieu Baerts (NGI0)" Date: Thu, 15 Feb 2024 19:25:38 +0100 Subject: [PATCH net 11/13] selftests: mptcp: userspace_pm: unique subtest names Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240215-upstream-net-20240215-misc-fixes-v1-11-8c01a55d8f6a@kernel.org> References: <20240215-upstream-net-20240215-misc-fixes-v1-0-8c01a55d8f6a@kernel.org> In-Reply-To: <20240215-upstream-net-20240215-misc-fixes-v1-0-8c01a55d8f6a@kernel.org> To: mptcp@lists.linux.dev, Mat Martineau , Geliang Tang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Davide Caratti , Shuah Khan Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, "Matthieu Baerts (NGI0)" , stable@vger.kernel.org X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1632; i=matttbe@kernel.org; h=from:subject:message-id; bh=Y9v/Te9flpYVSoeQkyHDc5ogS5iYhmlGbBJS7seYJwg=; b=owEBbQKS/ZANAwAIAfa3gk9CaaBzAcsmYgBlzlcdIjRZNJi41Pm9lXfI+qJul5HTX37GAbzab GkymdB1gMOJAjMEAAEIAB0WIQToy4X3aHcFem4n93r2t4JPQmmgcwUCZc5XHQAKCRD2t4JPQmmg c2ILEAClrQTO0idvhNjmAnNJuDSfLUGPiZ9bE+tPNbX8wvRaDiEZ+Cv25xma9y/Pnwa0G5Bi2dG /J+xD/2Ct/cgJV48breEPLjgUhboAhx1rkKTnuNf2p2BYy5683Rn86vQWWO3jIAylkaGwL6hjV4 O9VWK7To6C9viLDtLXdITAKIbnKMuKMT1JmGgiaHIIxBDGpl8lMYotnhmIwhWYDAqozMZ30wElK prS9aEEAmAQeL0IsIkHXAP6jg6N/ezbDdjl23v3tCNQ5OM7Mao2gGwpOuxPRl+3UfwMO6+ywDtP Fkj9FEdPHXHbU5Msnr3odbCjKQQIELNpmJ9Gb8cuo5oPPOPCuKt/Ua04hReBOiogmdj/kkF3z6i HulTZkpLdXGi8WK+cWdCT7nDKKtVH9mvMChwr3hu7/wVWlh1K/dMqspix4CCzpYHbTgggZCS2Gy fpCxgvIr+awTbVwgtCebzPpeHurr9q88Dh/RUfKbadoaKFzQ9PeF2F6A4CAqhnsS+IPUZfEZ/Wc C6aDLVSeMqXujgMzJ/XAYNtsYOxDwfNGx4EAe9lBXDs6n7JtV3IPGLrGF9BCA4yuaoIV3rFHPpP 9OGXiF4EDwMP3edj4A/5twCqHPtMs/XnuLF2ZMw6LkMfUwdxBwPAtie4Mmy2JvQWSK+cclzauAe ukefiA5FWfOhrEA== X-Developer-Key: i=matttbe@kernel.org; a=openpgp; fpr=E8CB85F76877057A6E27F77AF6B7824F4269A073 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790990698887405410 X-GMAIL-MSGID: 1790990698887405410 It is important to have a unique (sub)test name in TAP, because some CI environments drop tests with duplicated names. Some subtests from the userspace_pm selftest had the same names. That's because different subflows are created (and deleted) between the same pair of IP addresses. Simply adding the destination port in the name is then enough to have different names, because the destination port is always different. Note that adding such info takes a bit more space, so we need to increase a bit the width to print the name, simply to keep all the '[ OK ]' aligned as before. Fixes: f589234e1af0 ("selftests: mptcp: userspace_pm: format subtests results in TAP") Cc: stable@vger.kernel.org Reviewed-by: Geliang Tang Signed-off-by: Matthieu Baerts (NGI0) --- tools/testing/selftests/net/mptcp/userspace_pm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/net/mptcp/userspace_pm.sh b/tools/testing/selftests/net/mptcp/userspace_pm.sh index 6167837f48e1..1b94a75604fe 100755 --- a/tools/testing/selftests/net/mptcp/userspace_pm.sh +++ b/tools/testing/selftests/net/mptcp/userspace_pm.sh @@ -75,7 +75,7 @@ print_test() { test_name="${1}" - _printf "%-63s" "${test_name}" + _printf "%-68s" "${test_name}" } print_results() @@ -542,7 +542,7 @@ verify_subflow_events() local remid local info - info="${e_saddr} (${e_from}) => ${e_daddr} (${e_to})" + info="${e_saddr} (${e_from}) => ${e_daddr}:${e_dport} (${e_to})" if [ "$e_type" = "$SUB_ESTABLISHED" ] then