Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2392015rwd; Wed, 14 Jun 2023 02:03:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6VGjsCsIp5yw9HeTbrQAMRw+o6DLpcark2k74w/fWDPZcsdS9OBOVgRlYrsccuE5t8Yztw X-Received: by 2002:a17:907:1b1a:b0:978:992e:efd1 with SMTP id mp26-20020a1709071b1a00b00978992eefd1mr13293116ejc.35.1686733385456; Wed, 14 Jun 2023 02:03:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686733385; cv=none; d=google.com; s=arc-20160816; b=g4z27UH6LS0J2m5swA6+rrxFR1Xq+m0fqL3Csl0ALvW0g+rzkigZOhBoL5RMtq+wa+ HO9gWdyh4FSSPkLC2xLKsupx9mc/tA4R6/mZKvkPqcJp/0aONJs1HcxjzLYtbmcAK421 yJCe7K5VuxoLM6coliNIaxc/uIN86FpNcrmPymcxkBrgGa0/Y8b8ldIjrMQX/DT3W79G l/cj35cYJ724r4aJQJeOelWfc/4ZZWVLYmULxC8hcnTg89wojElyeAm/PUhnKKdc6wyZ 3QkKUJ5ml/lsGXSJeS9sSqqQQbrhktYyb6iqXAVgTPZZAihnS9yRC1ZGa9pqvZ/WEDfO R+0A== 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:dkim-signature; bh=zKa17mcJ3JZO5ohKJLfi/PuyyQC704/6NuVAqrSjVLw=; b=nubUDTtOwPEdEisnPKzn+p6WXb3zS5UhCIVBDOXslCbe2hHPjjuYIqp295R5Qm14ZE tUEQV6tqrTXkPRKm6L3Revky4M/gZquA5BboBfMTnE5O9afBx6RwJWXFlkS2lbG5bpIh +QfJPlXePNlq3mwF+82xnx2ZbZNoI8EUr7Hz73LkKEm4VDRb1Prxt4P3pJZDpQ93QJdH ueBfeRruKedBDwJpJIfdaizu8eKBUTzpY4cFdnkGdZNxECZNMTwiPP55IXQgw3/A4Css Jn+lZP4vrxBkPSo77XvyiNQPU/tm0spZhqVyZw2a+oN7CyL8esEYem7tplblPf08Wf/W isnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cbDb3EHj; 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 o11-20020a170906860b00b009827cfec095si259354ejx.784.2023.06.14.02.02.39; Wed, 14 Jun 2023 02:03:05 -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=@redhat.com header.s=mimecast20190719 header.b=cbDb3EHj; 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 S243748AbjFNIsP (ORCPT + 99 others); Wed, 14 Jun 2023 04:48:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234929AbjFNIsJ (ORCPT ); Wed, 14 Jun 2023 04:48:09 -0400 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 627991BD4 for ; Wed, 14 Jun 2023 01:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686732442; 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: in-reply-to:in-reply-to:references:references; bh=zKa17mcJ3JZO5ohKJLfi/PuyyQC704/6NuVAqrSjVLw=; b=cbDb3EHjYEbPBGDrZeX6oVJGui4B2DkpzOMVZJEe38Maiy3PJpyJRcTEeP21maRQptUBSD CPClgEtJJ2Hj9uqVzCPLKeC3NcXk6+w/MUio/mVky0BS7zIhnsgihFDiTEM3RlQ/thmJFk TfHB2pvmcBWlZnpfcoNJUGK1dF5NeJs= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-327-4LgtzeGzOFqu7H9mInS_ww-1; Wed, 14 Jun 2023 04:47:20 -0400 X-MC-Unique: 4LgtzeGzOFqu7H9mInS_ww-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-3f7e7cfcae4so3569905e9.1 for ; Wed, 14 Jun 2023 01:47:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686732438; x=1689324438; h=in-reply-to: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=zKa17mcJ3JZO5ohKJLfi/PuyyQC704/6NuVAqrSjVLw=; b=IzO8dJSKo61NkIkrcStRJRatjlURinvdIgPhZWsIKgg57jNlo1TNGIccV7K5/PfA8K MIzsSUS5uhTnOETqQnlSobfP17kmgPSFiyM1ywbqYcs9UNV6qh3FZaDtXNZE7vnLeryb iWagWcZ2i8oMhqdlyLPot4GTi5sJ+H2TahT2F+IURbDrUvgDVZq2bK/zyDo6uDV9YLp/ JhM0pswOtQVD9SuUX8g5cAtNclWiSLID6AIDzV02JS1P02CdGf07hfGtf/Lk9LwDtrC1 /nvsQZxB/m8OyaeGm8nkXGYAali95nXrEaABDBc4GHmV74Y9TRMKKPmikSgu+rMEiuU3 bYng== X-Gm-Message-State: AC+VfDyWV8Y4B111SdFQuuH9C+cqQJ7P99ekKpeHzEM+KatXgG51lvmC R+SWAq06KoPfWk14dvu4AvTFcqIfKpBym1tqGishDIUlLp9vIAKhpWpHvPGpTsYC/Wpix1A2uoo F0BsYMhE15VKb21VktOfhLw1X0jYgI3il X-Received: by 2002:a7b:c7c6:0:b0:3f7:dfdf:36ce with SMTP id z6-20020a7bc7c6000000b003f7dfdf36cemr11707242wmk.9.1686732438395; Wed, 14 Jun 2023 01:47:18 -0700 (PDT) X-Received: by 2002:a7b:c7c6:0:b0:3f7:dfdf:36ce with SMTP id z6-20020a7bc7c6000000b003f7dfdf36cemr11707228wmk.9.1686732437995; Wed, 14 Jun 2023 01:47:17 -0700 (PDT) Received: from debian (2a01cb058d652b0004dec95078ab8527.ipv6.abo.wanadoo.fr. [2a01:cb05:8d65:2b00:4de:c950:78ab:8527]) by smtp.gmail.com with ESMTPSA id y10-20020a1c4b0a000000b003f5ffba9ae1sm16824117wma.24.2023.06.14.01.47.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 01:47:17 -0700 (PDT) Date: Wed, 14 Jun 2023 10:47:15 +0200 From: Guillaume Nault To: Mirsad Goran Todorovac Cc: netdev@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: POSSIBLE BUG: selftests/net/fcnal-test.sh: [FAIL][FIX TESTED] in vrf "bind - ns-B IPv6 LLA" test Message-ID: References: <48cfd903-ad2f-7da7-e5a6-a22392dc8650@alu.unizg.hr> <884d9eb7-0e8e-3e59-cf6d-2c6931da35ee@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.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 Sat, Jun 10, 2023 at 08:04:02PM +0200, Mirsad Goran Todorovac wrote: > This also works on the Lenovo IdeaPad 3 Ubuntu 22.10 laptop, but on the AlmaLinux 8.8 > Lenovo desktop I have a problem: > > [root@pc-mtodorov net]# grep FAIL ../fcnal-test-4.log > TEST: ping local, VRF bind - ns-A IP [FAIL] > TEST: ping local, VRF bind - VRF IP [FAIL] > TEST: ping local, device bind - ns-A IP [FAIL] > TEST: ping local, VRF bind - ns-A IP [FAIL] > TEST: ping local, VRF bind - VRF IP [FAIL] > TEST: ping local, device bind - ns-A IP [FAIL] > [root@pc-mtodorov net]# > > Kernel is the recent one: > > [root@pc-mtodorov net]# uname -rms > Linux 6.4.0-rc5-testnet-00003-g5b23878f7ed9 x86_64 > [root@pc-mtodorov net]# Maybe a problem with the ping version used by the distribution. You can try "./fcnal-test.sh -t ipv4_ping -p -v" to view the commands run and make the script stop when there's a test failure (so that you can see the ping output and try your own commands in the testing environment). > > > However, I have a question: > > > > > > In the ping + "With VRF" section, the tests with net.ipv4.raw_l3mdev_accept=1 > > > are repeated twice, while "No VRF" section has the versions: > > > > > > SYSCTL: net.ipv4.raw_l3mdev_accept=0 > > > > > > and > > > > > > SYSCTL: net.ipv4.raw_l3mdev_accept=1 > > > > > > The same happens with the IPv6 ping tests. > > > > > > In that case, it could be that we have only 2 actual FAIL cases, > > > because the error is reported twice. > > > > > > Is this intentional? > > > > I don't know why the non-VRF tests are run once with raw_l3mdev_accept=0 > > and once with raw_l3mdev_accept=1. Unless I'm missing something, this > > option shouldn't affect non-VRF users. Maybe the objective is to make > > sure that it really doesn't affect them. David certainly knows better. > > The problem appears to be that non-VRF tests are being ran with > raw_l3mdev_accept={0|1}, while VRF tests w raw_l3mdev_accept={1|1} ... The reason the VRF tests run twice is to test both raw and ping sockets (using the "net.ipv4.ping_group_range" sysctl). It doesn't seem anyone ever intended to run the VRF tests with raw_l3mdev_accept=0. Only the non-VRF tests were intended to be tested with raw_l3mdev_accept=0 (see commit c032dd8cc7e2 ("selftests: Add ipv4 ping tests to fcnal-test")). But I have no idea why. > I will try to fix that, but I am not sure of the semantics either. > > Regards, > Mirsad >