Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3166899rwb; Sun, 30 Jul 2023 01:28:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlFCO5F9/WvTdmmOTXL5tPZubbXT2Qt4nD6vymFFaHpn9UZFPbYq4J4WCqXyNhHI2tHiKLe8 X-Received: by 2002:a05:6a20:968d:b0:12f:a373:ba95 with SMTP id hp13-20020a056a20968d00b0012fa373ba95mr4991101pzc.19.1690705683393; Sun, 30 Jul 2023 01:28:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690705683; cv=none; d=google.com; s=arc-20160816; b=a75fT/X1bqsoXtcC9rVifdYDpyRpiEjlCZR4KTas+4j1O5jTdgtbFqk5VhPJLIMorU fvXRSKkpCAmUH6wIZOEz6AT+ho2S4pJAlW9dhLCZDTYWi4hRmmz/yL+IDy/yjeP0dwZ5 9mt90vyTLmpRG/99IhdfONxqHmLrNH36/RU/h/36MI/f1Rb0zQE5P7w4c5IyZczYtXoT NFcy/W2EkJEjGvOeorL9k4b8/NrTRz5Ot8TrxmPan5+BZFYsnos3G+wLur3q1xzTZMSd Fu4QoNiKPAn8lUTWl4O0/ju5ihAxoGkid2OZzcUNnbOEli/wQRdPg8WTZihAPfkTqaJU 3zlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature; bh=Ox8XX+DFWsQ+ySWz/zYHcBXH3EUzbdJw0d8uXXlexl4=; fh=qG/1qfTzHXNixtc/UZvM4qbYFr3VknqdHE8OKIXaT7Q=; b=ljVS6+YjumYcw/VvnNYz+Sm9XaqNoUMqSfIzTU3Z/TUMglkknuhvFDT9oQ3/DGyOLo X4Z+FgIU4cf3LpwGTJhLfzP5IXOHeAT6Ktc+B8y1rF1KH+ABJpVkyYN1JPtsQ+LyXBJY 75GlVx5wrrXqp5xcVVxsHxs3v9/8cHrJO2ZdXtrI05IxPS+vui9n06ZWbHCOCKKJ5dD8 Xq5qaxcRdBOVA3wUTgteiXfawNLXn3r14P9NPYnrDRnF4GPuaGfqINS3C1Uoka9/t8hZ fqrR+lcSRDzQHIUcMKPxoaYUvVeTB88Kd1yBa25kA4SYDmvapyZ4XcQW7ApOw32EHA85 QKhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=oZ8GHy3n; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a654cc9000000b00553b02a9a18si1520373pgt.237.2023.07.30.01.27.50; Sun, 30 Jul 2023 01:28:03 -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=pass header.i=@messagingengine.com header.s=fm3 header.b=oZ8GHy3n; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbjG3Hxw (ORCPT + 99 others); Sun, 30 Jul 2023 03:53:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbjG3Hxv (ORCPT ); Sun, 30 Jul 2023 03:53:51 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A193D1710; Sun, 30 Jul 2023 00:53:46 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 7F0CD32007E8; Sun, 30 Jul 2023 03:53:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 30 Jul 2023 03:53:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1690703622; x=1690790022; bh=Ox8XX+DFWsQ+y SWz/zYHcBXH3EUzbdJw0d8uXXlexl4=; b=oZ8GHy3nDWRG4gZOf4HimFHIjBhBp Es57m/Kr3uq7Sr0dCq9FvyOh+jbRmaI32RhSOQyJGToHhKcFPu6na136YiLHotaz y3ZOEcydv4tBK47Bm9IY22Ncup9G6qvwxCkXISwTz+aOI3AKu7iNG+5/u3wBSfke +l8V5ffAvr7fH36c0W/RBWHoDX6dexp6bJ6YrqNQnBSdC8LHJ5J/zbmAMKiq2r8Z deZGxtHsrtnAM+VqBsj59bOa5YslD9kfsdKoHB8IOteu7MjSmRjudsflcvi45tjm +OIM6yRGq416GmzOY87L4/AfYes4eGnkHHe09eYQRYU442TyFlwFq1LUg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrjedtgddulecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefkughoucfu tghhihhmmhgvlhcuoehiughoshgthhesihguohhstghhrdhorhhgqeenucggtffrrghtth gvrhhnpeejgeevleffteffhfdtveegteekheeggefhvddvveeufedtgfeggedvueejhfel leenucffohhmrghinhepuhhnihiighdrhhhrnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepihguohhstghhsehiughoshgthhdrohhrgh X-ME-Proxy: Feedback-ID: i494840e7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 30 Jul 2023 03:53:40 -0400 (EDT) Date: Sun, 30 Jul 2023 10:53:36 +0300 From: Ido Schimmel To: Mirsad Todorovac , petrm@nvidia.com, razor@blackwall.org Cc: 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 Subject: Re: [PATCH v1 01/11] selftests: forwarding: custom_multipath_hash.sh: add cleanup for SIGTERM sent by timeout Message-ID: References: <20230722003609.380549-1-mirsad.todorovac@alu.unizg.hr> <0550924e-dce9-f90d-df8a-db810fd2499f@alu.unizg.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,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 Thu, Jul 27, 2023 at 09:26:03PM +0200, Mirsad Todorovac wrote: > marvin@defiant:~/linux/kernel/linux_torvalds$ grep "not ok" ../kselftest-6.5-rc3-net-forwarding-16.log > not ok 3 selftests: net/forwarding: bridge_mdb.sh # exit=1 Other than one test case (see below), I believe this should be fixed by the patches I just pushed to the existing branch. My earlier fix was incomplete which is why it didn't solve the problem. > not ok 5 selftests: net/forwarding: bridge_mdb_max.sh # exit=1 Should be fixed with the patches. > not ok 11 selftests: net/forwarding: bridge_vlan_mcast.sh # exit=1 Nik, the relevant failure is this one: # TEST: Vlan mcast_startup_query_interval global option default value [FAIL] # Wrong default mcast_startup_query_interval global vlan option value Any idea why the kernel will report "mcast_startup_query_interval" as 3124 instead of 3125? # + jq -e '.[].vlans[] | select(.vlan == 10 and .mcast_startup_query_interval == 3125) ' # + echo -n '[{"ifname":"br0","vlans":[{"vlan":1,"mcast_snooping":1,"mcast_querier":0,"mcast_igmp_version":2,"mcast_mld_version":1,"mcast_last_member_count":2,"mcast_last_member_interval":100,"mcast_startup_query_count":2,"mcast_startup_query_interval":3124,"mcast_membership_interval":26000,"mcast_querier_interval":25500,"mcast_query_interval":12500,"mcast_query_response_interval":1000},{"vlan":10,"vlanEnd":11,"mcast_snooping":1,"mcast_querier":0,"mcast_igmp_version":2,"mcast_mld_version":1,"mcast_last_member_count":2,"mcast_last_member_interval":100,"mcast_startup_query_count":2,"mcast_startup_query_interval":3124,"mcast_membership_interval":26000,"mcast_querier_interval":25500,"mcast_query_interval":12500,"mcast_query_response_interval":1000}]}]' # + check_err 4 'Wrong default mcast_startup_query_interval global vlan option value' > not ok 26 selftests: net/forwarding: ip6_forward_instats_vrf.sh # exit=1 Please run this one with +x so that we will get more info. > not ok 49 selftests: net/forwarding: mirror_gre_changes.sh # exit=1 Petr, please take a look. Probably need to make the filters more specific. The failure is: # TEST: mirror to gretap: TTL change (skip_hw) [FAIL] # Expected to capture 10 packets, got 14. > not ok 84 selftests: net/forwarding: tc_flower_l2_miss.sh # exit=1 Should be fixed with the patches. > marvin@defiant:~/linux/kernel/linux_torvalds$ grep -v "^# +" ../kselftest-6.5-rc3-net-forwarding-16.log | grep -A1 FAIL | grep -v -e -- | grep -v OK > # TEST: IPv6 (S, G) port group entries configuration tests [FAIL] > # "temp" entry has an unpending group timer Not sure about this one. What is the output with the following diff? diff --git a/tools/testing/selftests/net/forwarding/bridge_mdb.sh b/tools/testing/selftests/net/forwarding/bridge_mdb.sh index 8493c3dfc01e..2b2a3b150861 100755 --- a/tools/testing/selftests/net/forwarding/bridge_mdb.sh +++ b/tools/testing/selftests/net/forwarding/bridge_mdb.sh @@ -628,6 +628,7 @@ __cfg_test_port_ip_sg() bridge -d -s mdb show dev br0 vid 10 | grep "$grp_key" | \ grep -q "0.00" check_fail $? "\"temp\" entry has an unpending group timer" + bridge -d -s mdb show dev br0 vid 10 | grep "$grp_key" bridge mdb del dev br0 port $swp1 $grp_key vid 10 # Check error cases. > # TEST: IPv4 host entries forwarding tests [FAIL] > # Packet not locally received after adding a host entry > # TEST: IPv4 port group "exclude" entries forwarding tests [FAIL] > # Packet from valid source not received on H2 after adding entry > # TEST: IPv4 port group "include" entries forwarding tests [FAIL] > # Packet from valid source not received on H2 after adding entry > # TEST: IGMPv3 MODE_IS_INCLUDE tests [FAIL] > # Source not add to source list > # TEST: ctl4: port: ngroups reporting [FAIL] > # Couldn't add MDB entries > # TEST: ctl4: port maxgroups: reporting and treatment of 0 [FAIL] > # Adding 5 MDB entries failed but should have passed > # TEST: ctl4: port maxgroups: configure below ngroups [FAIL] > # dev veth1: Couldn't add MDB entries > # TEST: ctl4: port: ngroups reporting [FAIL] > # Couldn't add MDB entries > # TEST: ctl4: port maxgroups: reporting and treatment of 0 [FAIL] > # Adding 5 MDB entries failed but should have passed > # TEST: ctl4: port maxgroups: configure below ngroups [FAIL] > # dev veth1 vid 10: Couldn't add MDB entries > # TEST: ctl4: port_vlan: ngroups reporting [FAIL] > # Couldn't add MDB entries > # TEST: ctl4: port_vlan: isolation of port and per-VLAN ngroups [FAIL] > # Couldn't add MDB entries to VLAN 10 > # TEST: ctl4: port_vlan maxgroups: reporting and treatment of 0 [FAIL] > # Adding 5 MDB entries failed but should have passed > # TEST: ctl4: port_vlan maxgroups: configure below ngroups [FAIL] > # dev veth1 vid 10: Couldn't add MDB entries > # TEST: ctl4: port_vlan maxgroups: isolation of port and per-VLAN ngroups [FAIL] > # Couldn't add 5 entries > # TEST: Vlan mcast_startup_query_interval global option default value [FAIL] > # Wrong default mcast_startup_query_interval global vlan option value > # TEST: Ip6InHdrErrors [FAIL] > # TEST: mirror to gretap: TTL change (skip_hw) [FAIL] > # Expected to capture 10 packets, got 14. > # TEST: L2 miss - Multicast (IPv4) [FAIL] > # Unregistered multicast filter was not hit before adding MDB entry > marvin@defiant:~/linux/kernel/linux_torvalds$ > > In case you want to pursue these failures, there is the complete test output log > here: > > https://domac.alu.unizg.hr/~mtodorov/linux/selftests/net-forwarding/kselftest-6.5-rc3-net-forwarding-16.log.xz > > Thanks again, great work! > > Kind regards, > Mirsad