Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4960790rwl; Sun, 8 Jan 2023 06:18:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXutlyyQgkPVKZBOkBWB7/uLt4gm0HTvsmJ/PkylFhQ53KFHVVVOsYOohsm23zg7YBeFb62J X-Received: by 2002:aa7:ca55:0:b0:468:38e5:f233 with SMTP id j21-20020aa7ca55000000b0046838e5f233mr53636066edt.24.1673187526012; Sun, 08 Jan 2023 06:18:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673187525; cv=none; d=google.com; s=arc-20160816; b=Rz9O0r8QsHIIeJeg8q/5pbKzJRvyK2DxFXoS3/uM/Fq5lTh/zuQo/FL4YQ/ES54JeC ir/RduYwdO1ptEN6M1QLcIj73XhlmC2vNKeJ9GSh0MnVGAODuleuYQXtTY/wPsfN0b+z 7XxfbXJpTl+bgy0NU9A4xT0V6NucmXkK6V7X8y0isNkU0dl4X2/SxBrgpZYJyXIPEh+7 OtO1cefMyL5ZkQqcUrmKMv3eTqBvu2MvYKZYY+1bY9voDKu8MTZQCbxF73aMso+d6q/S bETRTFvAnI4rCUCHGDL5UGvb0aOtegPI9OpmiTFeZ+WE0s1T9JCYDYI8PoG72md1JYpm YJ8w== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bXflzFi1IY8CvdFuCK9K1db17KIG9ke2lGlsL5eBMpE=; b=HF4yQfJHSI/fOkDiB2Oh3oukRooDdR6fRORbG3hDZd2oZEVSqHpfrBa2k7QUO7X31l YGj08yQYhWEz5LN++uck9g318OGcz4M/YkM4Yipz9G0gS+f5nQh4lWWPZrfc//Z8v2eA 4Pxuc3CrFIWetdVHA4n2j19utRP7vHtzIvRnO+tEyC0Q2mC+u6R8A+9x3enIJMzXsC+u zMBfSXB+1wE326wah4cCckWiHFB/7C+0aU5VPyPALxgbGIEXHDdfCwC4ac7HmjCuxlf+ rtsStubLNBgGjn4Q3efbdYVW9xXU2SPeOPuR6rb2bi1ZR9viV4Jx5B9woMfo+ujiPSqA EUJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SvP8ekAI; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ee17-20020a056402291100b0048a0584f157si5604009edb.331.2023.01.08.06.18.33; Sun, 08 Jan 2023 06:18:45 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=SvP8ekAI; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234737AbjAHOFr (ORCPT + 52 others); Sun, 8 Jan 2023 09:05:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233646AbjAHOFm (ORCPT ); Sun, 8 Jan 2023 09:05:42 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51A02E0C7 for ; Sun, 8 Jan 2023 06:04:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673186695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bXflzFi1IY8CvdFuCK9K1db17KIG9ke2lGlsL5eBMpE=; b=SvP8ekAIqcOgi1IwFNYhYd6TdupD/4X2ptAF0OQVZ2E1UrXxA+XANQCvSu/zbwLcEWMngx h7JvKJsXNi4fTve6/UOMRZGNlRdimz/pSHsMuIFK4doJj8s1QbA6/SrqG3unA3EzKmZUsy xCE1ncG8mp0EwsJj5gxq0pcMxRiam7k= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-361-_PDY06I5MF6-jK_RvJZZkQ-1; Sun, 08 Jan 2023 09:04:54 -0500 X-MC-Unique: _PDY06I5MF6-jK_RvJZZkQ-1 Received: by mail-qv1-f70.google.com with SMTP id kl19-20020a056214519300b004e174020eebso3862508qvb.23 for ; Sun, 08 Jan 2023 06:04:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bXflzFi1IY8CvdFuCK9K1db17KIG9ke2lGlsL5eBMpE=; b=tvWwckA005Uoo/bUZHeQ05RXwTJDSGr4apKAQhv5jhT0Yxz14PMElXDvtoZRm0+WH0 YhsQmnE+3OP9tfO4Z+AGYN3OMxEOoQ12wZdQ3fO/+x8J20bnlvvTnEoVOukBek1P9J/4 v1tqCQ1S+5G8ZwpJMgvyCYnmDrOjqAXkCHMpSjvcXJp4bbLWjcPLy1LuITpkDingQHYr tkO9sHjZg+BSgNOL7A6kLK7Nlh/QZdmk5UP7PSw7bBBzbQ1JaksO6h5NWr7x0gXVm58+ zlBYhAdi7GM359KycJN1nNtRP3jX5ePOlaFP76lZrxSLnEMVKhrMRwE/GXHEz+3WuU8J wZzQ== X-Gm-Message-State: AFqh2koILQayW7TJOft9gGv3HbDSd3neWdyKc0YKGrztPEAxLL2Z5MVL Iz0vxiVa8tcdP6LTXXpsGGZc9wq4PmtdXkUSx1Sk4wncW5jIoHsbaZLjJFE2QCQXw2ys92aOGwD 4Yk8P5UX70qmM7i13G6N6Myo6 X-Received: by 2002:ac8:44d7:0:b0:3a5:4fa8:141c with SMTP id b23-20020ac844d7000000b003a54fa8141cmr95767667qto.23.1673186693557; Sun, 08 Jan 2023 06:04:53 -0800 (PST) X-Received: by 2002:ac8:44d7:0:b0:3a5:4fa8:141c with SMTP id b23-20020ac844d7000000b003a54fa8141cmr95767646qto.23.1673186693303; Sun, 08 Jan 2023 06:04:53 -0800 (PST) Received: from debian (2a01cb058918ce0098fed9113971adae.ipv6.abo.wanadoo.fr. [2a01:cb05:8918:ce00:98fe:d911:3971:adae]) by smtp.gmail.com with ESMTPSA id jr49-20020a05622a803100b003ad373d04b6sm232494qtb.59.2023.01.08.06.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Jan 2023 06:04:52 -0800 (PST) Date: Sun, 8 Jan 2023 15:04:48 +0100 From: Guillaume Nault To: Mirsad Goran Todorovac Cc: linux-kselftest@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Matthias May Subject: Re: BUG: tools/testing/selftests/net/l2_tos_ttl_inherit.sh hangs when selftest restarted Message-ID: References: <924f1062-ab59-9b88-3b43-c44e73a30387@alu.unizg.hr> <5ef41d3c-8d81-86b3-c571-044636702342@alu.unizg.hr> <81fdf2bc-4842-96d8-b124-43d0bd5ec124@alu.unizg.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <81fdf2bc-4842-96d8-b124-43d0bd5ec124@alu.unizg.hr> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Sun, Jan 08, 2023 at 10:11:25AM +0100, Mirsad Goran Todorovac wrote: > [root@pc-mtodorov marvin]# tcpdump --immediate-mode -p -v -i veth0 -n > dropped privs to tcpdump > tcpdump: listening on veth0, link-type EN10MB (Ethernet), capture size 262144 bytes > 08:30:22.835825 IP (tos 0x0, ttl 64, id 2490, offset 0, flags [none], proto UDP (17), length 78) > 198.18.0.1.35195 > 198.18.0.2.vxlan: VXLAN, flags [I] (0x08), vni 100 > ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 198.19.0.2 tell 198.19.0.1, length 28 > 08:30:22.835926 IP (tos 0x0, ttl 64, id 1388, offset 0, flags [none], proto UDP (17), length 78) > 198.18.0.2.35195 > 198.18.0.1.vxlan: VXLAN, flags [I] (0x08), vni 100 > ARP, Ethernet (len 6), IPv4 (len 4), Reply 198.19.0.2 is-at a6:45:d5:c4:93:1f, length 28 > 08:30:22.835976 IP (tos 0xc0, ttl 64, id 29533, offset 0, flags [none], proto ICMP (1), length 106) > 198.18.0.1 > 198.18.0.2: ICMP host 198.18.0.1 unreachable - admin prohibited filter, length 86 > IP (tos 0x0, ttl 64, id 1388, offset 0, flags [none], proto UDP (17), length 78) > 198.18.0.2.35195 > 198.18.0.1.vxlan: VXLAN, flags [I] (0x08), vni 100 > ARP, Ethernet (len 6), IPv4 (len 4), Reply 198.19.0.2 is-at a6:45:d5:c4:93:1f, length 28 For some reasons, your host doesn't accept the VXLAN packets received over veth0. I guess there are some firewalling rules incompatible with this tests script. > > -------- >8 -------- > > > > Isolate testing environment and ensure everything is cleaned up on > > exit. > > > > diff --git a/tools/testing/selftests/net/l2_tos_ttl_inherit.sh b/tools/testing/selftests/net/l2_tos_ttl_inherit.sh > Wow, Guillaueme, this patch actually made things unstuck :) Great! The patch isolates the testing environment, making it less dependent from the host that runs it. So the routing and firewalling configurations don't interfere anymore. > The entire tools/tests/selftests/net section now had a PASS w "OK", save for a couple of tests here: > > not ok 1 selftests: nci: nci_dev # exit=1 > not ok 12 selftests: net: nat6to4.o > not ok 13 selftests: net: run_netsocktests # exit=1 > not ok 29 selftests: net: udpgro_bench.sh # exit=255 > not ok 30 selftests: net: udpgro.sh # exit=255 > not ok 37 selftests: net: fcnal-test.sh # TIMEOUT 1500 seconds > not ok 38 selftests: net: l2tp.sh # exit=2 > not ok 46 selftests: net: icmp_redirect.sh # exit=1 > not ok 55 selftests: net: vrf_route_leaking.sh # exit=1 > not ok 59 selftests: net: udpgro_fwd.sh # exit=1 > not ok 60 selftests: net: udpgro_frglist.sh # exit=255 > not ok 61 selftests: net: veth.sh # exit=1 > not ok 68 selftests: net: srv6_end_dt46_l3vpn_test.sh # exit=1 > not ok 69 selftests: net: srv6_end_dt4_l3vpn_test.sh # exit=1 > not ok 75 selftests: net: arp_ndisc_evict_nocarrier.sh # exit=255 > not ok 83 selftests: net: test_ingress_egress_chaining.sh # exit=1 > not ok 1 selftests: net/hsr: hsr_ping.sh # TIMEOUT 45 seconds > not ok 3 selftests: net/mptcp: mptcp_join.sh # exit=1 > > If you are interested in additional diagnostics, this is a very interesting part of the > Linux kernel testing ... > > There was apparent hang in selftest/net/fcnal-test.sh as well. > I can help you with the diagnostics if you wish? Thanks. > > If I could make them all work both on Ubuntu 22.10 kinetic kudu and AlmaLinux 8.7 > stone smilodon (CentOS fork), this would be a milestone for me :) I'm surprised you have so many failures. Feel free to report them individually. Don't forget to Cc the authors of the scripts. Just pay attention not to overwhelm people. I can probably help with the l2tp.sh failure and maybe with the fcnal-test.sh hang. Please report them in their own mail thread. > Have a nice day! > > Regards, > Mirsad > > -- > Mirsad Goran Todorovac > Sistem inženjer > Grafički fakultet | Akademija likovnih umjetnosti > Sveučilište u Zagrebu > > System engineer > Faculty of Graphic Arts | Academy of Fine Arts > University of Zagreb, Republic of Croatia > The European Union > >