Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4179678rwb; Mon, 31 Jul 2023 02:50:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlHT3PPBFXtj6yT/IJQFtCQFNiMSZeFMCNvSuPtXiVqUXwvE+jmPrdjNfo1xBPoX7pz+vzNy X-Received: by 2002:a05:6358:7e55:b0:139:b123:ae9 with SMTP id p21-20020a0563587e5500b00139b1230ae9mr8058135rwm.16.1690797023733; Mon, 31 Jul 2023 02:50:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690797023; cv=none; d=google.com; s=arc-20160816; b=gyKjW7tlKxWdgRKOHxnFifz0KWCR8SOIWoHephu+CoEkPrYSQKNGVE7B36rnrB33/R MTgh7VHzgSkc0Ov2QZjnRHg9pO2tExaNzWPlLhJO90LVqaU+LURvondIZOaxyA+i2Ocy fPYBOMQlr0VIyQ5hRmB189J7mnfIb/Kp//nc0uS0fESREhgTBK7Zz9jR2z1z4LduL/uv cO3Whq+yB3hVdKWUFbQwveiP4xDLdkWQOWDC+0rmGgbsfX+k/SdOkOzqsuynAO4Crpv/ FZK6Df1OhUAUsxZCXwr+pbtSqFGeS5gSN+cSB+E1aXvdZurAIeqRrmSWsVWvucdQKyNd HODQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=HFRpQtGL9xsVIxU6Z+7+NrhBU7BN9LwoFaKubI/6+lc=; fh=eiNE2rgMD4eHl5lqOP1VDJJJiHwHFoMAhch4rwweq1k=; b=yktd2TJTPyeTYzJYKVN47QFHA3HgSyuFS2Rg+NLh4t8OXVsTY8NW34z2yd17Sp9sHL uTDghdVGkKCGpASsbVj7HYiuGc83k5gcGL8e69hRAztHwIOjqfb31XVLGMRtmlNuFSqR 4WRENzi7i9FoLOQnqVrp6uUYUFkOyisFIk0RGRsjBysG/Y1Fm12a18583g4J5K1u/wVX KabAhuZCyZe3dw8wCg2Rdi5DFDkJF0XE2JtLj3o04uVCI7mOQyg/8r9J/PYV8vMGO0el sj04+SERaMomEnrzLlHzzrEsmDblww/xOSTsK1LTdrtmXR5adtI8b40qzmffDZvs/isB fL0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=ipJ4XoHk; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=BP6T+IoF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q102-20020a17090a1b6f00b00263e5a7d8d7si8682326pjq.1.2023.07.31.02.50.10; Mon, 31 Jul 2023 02:50:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=ipJ4XoHk; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=BP6T+IoF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232261AbjGaJ0R (ORCPT + 99 others); Mon, 31 Jul 2023 05:26:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229613AbjGaJZ6 (ORCPT ); Mon, 31 Jul 2023 05:25:58 -0400 Received: from domac.alu.hr (domac.alu.unizg.hr [IPv6:2001:b68:2:2800::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA0071FCA; Mon, 31 Jul 2023 02:24:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by domac.alu.hr (Postfix) with ESMTP id F086F6017F; Mon, 31 Jul 2023 11:24:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1690795477; bh=LkfFeBRdv/EiJnFEypSxyrbE9TqdrljO0R0Su/jnKm8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ipJ4XoHkuLqw/vryVgWHk4rtZwdzao6FreVkphSRGsQ3aFVo+iQbRLY9S/viexub/ O4MCvloxyXxuGeK/94KBEL14ZSvMXBUc4fqIEOwBc1IDmItZ/0bdybbcSwEQwQNHsa UqcdlK/hpkgjLlA6s/WYI7Fw794BbuWa6K2asgwOKEk/S6UAjf9PrmCnnWlO5tgvqJ YC3O2C6JGBYhUsybRb+7sdoxH2f4lU9EBISfmkSuVTxtMiGlZUxVW8T67i5VY8Nh25 XhhIbfqq7wvt/YC21TjOwvqWgka+qzBrqqvgr1YPKqq4lJCfe97MztJY3DXW5qYs56 3N1q5Q5eBdVdg== X-Virus-Scanned: Debian amavisd-new at domac.alu.hr Received: from domac.alu.hr ([127.0.0.1]) by localhost (domac.alu.hr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KX89WtKi1hOD; Mon, 31 Jul 2023 11:24:35 +0200 (CEST) Received: from [192.168.1.6] (unknown [94.250.191.183]) by domac.alu.hr (Postfix) with ESMTPSA id C9FF560182; Mon, 31 Jul 2023 11:24:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1690795475; bh=LkfFeBRdv/EiJnFEypSxyrbE9TqdrljO0R0Su/jnKm8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=BP6T+IoFeVtMtBCpyHkzSvgZVMcAMwnq5LlGPOj9y/+gNnKdP6pxegH9amjbtgUA4 b6QHdAmpbt1JeCTNZMe9k1WUxET5R30qgwqQ83nZ486jdRRsPP9hwTt7xIREfsAveG 02LOO4dC5bKeZCg+l9uwco3ivDkQEtyDrKoMmBvYOdvT8rV2qWqfcQqSpkXgR2Pcx6 CoQTxCurnyH7E4N87qjM7HxIsxFkdtG+h8u41AHmstseCm+dZWeWNN2T6PHaa8tuuL 9QYlES7qB2XpPo+x/Ja7LkuKJp1aOdk35KED8zX0XAfx7PQLEyGhMLQhZtQB8vKExN w1XyvNe9yag0A== Message-ID: <2f203995-5ae0-13bc-d1a6-997c2b36a2b8@alu.unizg.hr> Date: Mon, 31 Jul 2023 11:24:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Subject: Re: [PATCH v1 01/11] selftests: forwarding: custom_multipath_hash.sh: add cleanup for SIGTERM sent by timeout Content-Language: en-US To: Ido Schimmel Cc: petrm@nvidia.com, razor@blackwall.org, Ido Schimmel , netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan References: <20230722003609.380549-1-mirsad.todorovac@alu.unizg.hr> <0550924e-dce9-f90d-df8a-db810fd2499f@alu.unizg.hr> From: Mirsad Todorovac In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/31/23 09:54, Ido Schimmel wrote: > Thanks for testing. Not at all. > On Sun, Jul 30, 2023 at 06:48:04PM +0200, Mirsad Todorovac wrote: >> not ok 26 selftests: net/forwarding: ip6_forward_instats_vrf.sh # exit=1 > > Regarding this one, in the log I don't see the require_command() that I > added in "selftests: forwarding: Set default IPv6 traceroute utility". > Also, at line 470 I see "ip vrf exec vveth0 2001:1:2::2" which is > another indication that you don't have the patch. This is correct. Now I have: root@defiant:tools/testing/selftests/net/forwarding# ./ip6_forward_instats_vrf.sh SKIP: traceroute6 not installed Mystery solved. This is much more useful output :-) Installed traceroute6 and now the test is OK: root@defiant:tools/testing/selftests/net/forwarding# ./ip6_forward_instats_vrf.sh TEST: ping6 [ OK ] TEST: Ip6InTooBigErrors [ OK ] TEST: Ip6InHdrErrors [ OK ] TEST: Ip6InAddrErrors [ OK ] TEST: Ip6InDiscards [ OK ] root@defiant:tools/testing/selftests/net/forwarding# I guess that means only three are left. # ./bridge_mdb.sh dev br0 port veth1 grp 239.1.1.1 src 192.0.2.1 temp filter_mode include proto static vid 10 259.99 TEST: IPv4 (S, G) port group entries configuration tests [FAIL] Entry has an unpending group timer after replace dev br0 port veth1 grp ff0e::1 src 2001:db8:1::1 temp filter_mode include proto static vid 10 259.99 TEST: IPv6 (S, G) port group entries configuration tests [FAIL] Entry has an unpending group timer after replace # ./bridge_vlan_mcast.sh TEST: Vlan mcast_startup_query_interval global option default value [FAIL] Wrong default mcast_startup_query_interval global vlan option value # ./mirror_gre_changes.sh TEST: mirror to gretap: TTL change (skip_hw) [FAIL] Expected to capture 10 packets, got 15. TEST: mirror to ip6gretap: TTL change (skip_hw) [FAIL] Expected to capture 10 packets, got 13. WARN: Could not test offloaded functionality # NOTE: The error happened because two patches collided. This patch diff --git a/tools/testing/selftests/net/forwarding/lib.sh b/tools/testing/selftests/net/forwarding/lib.sh index 975fc5168c6334..40a8c1541b7f81 100755 --- a/tools/testing/selftests/net/forwarding/lib.sh +++ b/tools/testing/selftests/net/forwarding/lib.sh @@ -30,6 +30,7 @@ REQUIRE_MZ=${REQUIRE_MZ:=yes} REQUIRE_MTOOLS=${REQUIRE_MTOOLS:=no} STABLE_MAC_ADDRS=${STABLE_MAC_ADDRS:=no} TCPDUMP_EXTRA_FLAGS=${TCPDUMP_EXTRA_FLAGS:=} +TROUTE6=${TROUTE6:=traceroute6} relative_path="${BASH_SOURCE%/*}" if [[ "$relative_path" == "${BASH_SOURCE}" ]]; then and this patch diff --git a/tools/testing/selftests/net/forwarding/lib.sh b/tools/testing/selftests/net/forwarding/lib.sh index 71f7c0c49677..5b0183013017 100755 --- a/tools/testing/selftests/net/forwarding/lib.sh +++ b/tools/testing/selftests/net/forwarding/lib.sh @@ -16,8 +16,6 @@ TEAMD=${TEAMD:=teamd} WAIT_TIME=${WAIT_TIME:=5} PAUSE_ON_FAIL=${PAUSE_ON_FAIL:=no} PAUSE_ON_CLEANUP=${PAUSE_ON_CLEANUP:=no} -NETIF_TYPE=${NETIF_TYPE:=veth} -NETIF_CREATE=${NETIF_CREATE:=yes} MCD=${MCD:=smcrouted} MC_CLI=${MC_CLI:=smcroutectl} PING_COUNT=${PING_COUNT:=10} @@ -30,6 +28,20 @@ REQUIRE_MZ=${REQUIRE_MZ:=yes} REQUIRE_MTOOLS=${REQUIRE_MTOOLS:=no} STABLE_MAC_ADDRS=${STABLE_MAC_ADDRS:=no} TCPDUMP_EXTRA_FLAGS=${TCPDUMP_EXTRA_FLAGS:=} +NETIF_TYPE=${NETIF_TYPE:=veth} +NETIF_CREATE=${NETIF_CREATE:=yes} +declare -A NETIFS=( + [p1]=veth0 + [p2]=veth1 + [p3]=veth2 + [p4]=veth3 + [p5]=veth4 + [p6]=veth5 + [p7]=veth6 + [p8]=veth7 + [p9]=veth8 + [p10]=veth9 +) relative_path="${BASH_SOURCE%/*}" if [[ "$relative_path" == "${BASH_SOURCE}" ]]; then are not compatible. I have applied the 'require_command $TROUTE6' patch manually. I suppose this is what you intended to have: # Can be overridden by the configuration file. PING=${PING:=ping} PING6=${PING6:=ping6} MZ=${MZ:=mausezahn} ARPING=${ARPING:=arping} TEAMD=${TEAMD:=teamd} WAIT_TIME=${WAIT_TIME:=5} PAUSE_ON_FAIL=${PAUSE_ON_FAIL:=no} PAUSE_ON_CLEANUP=${PAUSE_ON_CLEANUP:=no} MCD=${MCD:=smcrouted} MC_CLI=${MC_CLI:=smcroutectl} PING_COUNT=${PING_COUNT:=10} PING_TIMEOUT=${PING_TIMEOUT:=5} WAIT_TIMEOUT=${WAIT_TIMEOUT:=20} INTERFACE_TIMEOUT=${INTERFACE_TIMEOUT:=600} LOW_AGEING_TIME=${LOW_AGEING_TIME:=1000} REQUIRE_JQ=${REQUIRE_JQ:=yes} REQUIRE_MZ=${REQUIRE_MZ:=yes} REQUIRE_MTOOLS=${REQUIRE_MTOOLS:=no} STABLE_MAC_ADDRS=${STABLE_MAC_ADDRS:=no} TCPDUMP_EXTRA_FLAGS=${TCPDUMP_EXTRA_FLAGS:=} TROUTE6=${TROUTE6:=traceroute6} NETIF_TYPE=${NETIF_TYPE:=veth} NETIF_CREATE=${NETIF_CREATE:=yes} declare -A NETIFS=( [p1]=veth0 [p2]=veth1 [p3]=veth2 [p4]=veth3 [p5]=veth4 [p6]=veth5 [p7]=veth6 [p8]=veth7 [p9]=veth8 [p10]=veth9 ) relative_path="${BASH_SOURCE%/*}" if [[ "$relative_path" == "${BASH_SOURCE}" ]]; then relative_path="." fi ------------------------------------------------ Probably for the production patch you would like to have this fixed. Have a nice day. Kind regards, Mirsad