From patchwork Tue Jun 19 16:41:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 139225 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5428583lji; Tue, 19 Jun 2018 09:41:24 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIPoNBnER4VFEcn9O6MCvrXiZYCBa7UUCqRdAyWxHnXqsrQ0vzTOSSekO+lOny7mxHvX53K X-Received: by 2002:aa7:8491:: with SMTP id u17-v6mr18940042pfn.48.1529426484552; Tue, 19 Jun 2018 09:41:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529426484; cv=none; d=google.com; s=arc-20160816; b=gYmgR8JvPjCpLC5Z0xnYlYNDoH1jDgVlppROEfD+wkLzXfvhWd+0B5Jw9lhBJuyFPd RaRIeeRcd3hyWdQhcR2O96InvVravhvJRGv8OJc47PU6/8sVUQ6MiyBEz1MloAtkV1M2 TcUO5Kt5JrOd0xp9NqIw5Y0NRC15M3E8M9mDHD5IZhSv5mTKM2wSrpeWNJdqJieXBAwj QZHiug+SSRRgUMZtRANWDhGy3tjFe/4lDNT+z+DIcqjbpLNljWaUch68btkVt8lpp4bs qUVjNsW82YVTOz3n1aSZL3YTtjn71+4axMlXkciOVDYJhXLPoOdqe5vDrxHJLlH6ovFy IRHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=tCfkDSKKHTOrFOxeEZdd68xBhnHV+cYMbg6JkAlxrPg=; b=lCzlLQAqBLcfFVo0za7hKgVuqp5B+NgVDzJHDGbcuBzPHIWbs+EyJqBIS8w/1ovI+1 O01EGbWbm4nlnnwUsRtLP5gxMV+YS6EfCgTo7O0NvLSs4nBHoRieQxA/NCDhGf8r8x6U xI8Uv68qNVKtCedNlWR4sRVxiCgxMsBd1+1QR1CDzLQEtGIiTlPrsEFOKegD8s+Yh4le OkzYyR3lRRb3uAWcKvCN0bVxKyrt+D+ANlWw0CXArZm+emTJh3klo9NRGTn8Y6OqFbhH gE6GqmHYxWaXwmZn27snLP7c4014LLhJkhGA+n18psnpOOR5tuS1cGsB48vWiVhBXbQZ WpTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pb0gkkxH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s26-v6si92535pgo.298.2018.06.19.09.41.24; Tue, 19 Jun 2018 09:41:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pb0gkkxH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967022AbeFSQlW (ORCPT + 30 others); Tue, 19 Jun 2018 12:41:22 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:35101 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967009AbeFSQlS (ORCPT ); Tue, 19 Jun 2018 12:41:18 -0400 Received: by mail-lf0-f66.google.com with SMTP id i15-v6so507836lfc.2 for ; Tue, 19 Jun 2018 09:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=tCfkDSKKHTOrFOxeEZdd68xBhnHV+cYMbg6JkAlxrPg=; b=Pb0gkkxHU97JnciR5Wu+PEDIvnbj8dFgJsHoLmb6ER6rVh9vfo6wVdydPQTrEllfd+ 2299E+GeAura7zVvlQgcb6Lx5j7/H855z6QRt0Ewed6215WsVYZxpSh8p5XlbVg2ta+A tncmRyCfc8SPUee/+VjCBGE1weGNSo1dCJm3g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tCfkDSKKHTOrFOxeEZdd68xBhnHV+cYMbg6JkAlxrPg=; b=hgqGyyvT2y/rhRGHPEHmO7a1BSO0RJ7h7MXlG82/s3XzFupLrmY5bvbiYtZzRTnmdp HYZ+1TuLvsrb3qqBvP3qgT8BMS7SiZWkAdObI/jozJuyhLBfXToSmrYbZDwInGtXZgv9 Dnhyfr0WdFDYC51DWGsl4wRAWRtKcYgabR8pcElp5O24kLm7S3svf+dfnFPA7abafmbh BK10+5SyTWFeo8YKuaqjrUOyOQTJqW9jzJYJ4GPmp2P2FPdMPo2WYk8f9b1YE2V1Cc4J s2r6EmiTn6LICSNa1MB02WG/DQrHFS9uiLuhdEu1OhYNREHMrI41uXCUJ9FFmDmOhj3t ALXA== X-Gm-Message-State: APt69E3OQcS5EpUT2a9/WplN0P5oLp+UYlwVOEhVPGiN3ymx2OkKM56L q9iVTejXS6C5VvlSmr4l1RWNJw== X-Received: by 2002:a19:7:: with SMTP id 7-v6mr11276601lfa.62.1529426476981; Tue, 19 Jun 2018 09:41:16 -0700 (PDT) Received: from localhost (c-2c3d70d5.07-21-73746f28.bbcust.telenor.se. [213.112.61.44]) by smtp.gmail.com with ESMTPSA id q5-v6sm17255ljj.68.2018.06.19.09.41.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 09:41:16 -0700 (PDT) From: Anders Roxell To: davem@davemloft.net, shuah@kernel.org, fw@strlen.de, shannon.nelson@oracle.com Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] selftests: net: add config fragments Date: Tue, 19 Jun 2018 18:41:11 +0200 Message-Id: <20180619164111.30785-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add fragments to pass bridge and vlan tests. Fixes: 33b01b7b4f19 ("selftests: add rtnetlink test script") Signed-off-by: Anders Roxell --- Hi, net/rtnetlink.sh still fails on tc hbt hierarchy, addrlabel and ipsec: Error: Specified qdisc not found. RTNETLINK answers: No such file or directory Error: Parent Qdisc doesn't exists. We have an error talking to the kernel, -1 Error: Parent Qdisc doesn't exists. We have an error talking to the kernel, -1 Error: Parent Qdisc doesn't exists. We have an error talking to the kernel, -1 Error: Parent Qdisc doesn't exists. We have an error talking to the kernel, -1 Error: Parent Qdisc doesn't exists. We have an error talking to the kernel, -1 Error: Parent Qdisc doesn't exists. We have an error talking to the kernel, -1 Error: Invalid handle. FAIL: tc htb hierarchy FAIL: ipv6 addrlabel FAIL: can't add fou port 7777, skipping test RTNETLINK answers: Operation not supported FAIL: can't add macsec interface, skipping test RTNETLINK answers: Protocol not supported RTNETLINK answers: No such process RTNETLINK answers: No such process ./rtnetlink.sh: line 527: 5356 Terminated ip x m > $tmpfile FAIL: ipsec I'm using iproute2 tag: 4.17 and tried the qdisc command from the function kci_test_tc in net/rtnetlink.sh: $ tc qdisc add dev lo root handle 1: htb Error: Specified qdisc not found. For kci_test_addrlabel it fails on this row: ip addrlabel list |grep -q "prefix dead::/64 dev lo label 1" Any idea why these three fails? Cheers, Anders tools/testing/selftests/net/config | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config index 7ba089b33e8b..cd3a2f1545b5 100644 --- a/tools/testing/selftests/net/config +++ b/tools/testing/selftests/net/config @@ -12,3 +12,5 @@ CONFIG_NET_IPVTI=y CONFIG_INET6_XFRM_MODE_TUNNEL=y CONFIG_IPV6_VTI=y CONFIG_DUMMY=y +CONFIG_BRIDGE=y +CONFIG_VLAN_8021Q=y