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: 10475059 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 738306029B for ; Tue, 19 Jun 2018 16:41:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6459228E78 for ; Tue, 19 Jun 2018 16:41:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5030E28E5F; Tue, 19 Jun 2018 16:41:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBBDD28E78 for ; Tue, 19 Jun 2018 16:41:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030224AbeFSQlW (ORCPT ); Tue, 19 Jun 2018 12:41:22 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:41951 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967008AbeFSQlS (ORCPT ); Tue, 19 Jun 2018 12:41:18 -0400 Received: by mail-lf0-f68.google.com with SMTP id d24-v6so472084lfa.8 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=l63QGOOY5/y0LTocNC09GLdHn8yjIU9MF9l5wS6xZDTrRY0T1x/pA3hVcYBPhlf4P2 aWrejdcPztVTpW+pefL+1VBVAKXrG2N3Ne2LezQa96BRNfEp0UKezep4lkNl4xqVobbz PDtDhu4gs8p6MFADl0Ok3LMmS3AyUS+3p/tyVChRK220dCRxc+w+4whyLk6mYaA52F+W vuPVvcENYqz0OrHeApyHICCGhsU3KLQt379XRq6k/+CANuYAm+xo5VrsCerOhtmjAse+ LC5hfYs6tFqLJixWKXaFN34S2dscXGlD06FGlJMoHeFG9cTcpd9tcVs1O0HTwv0lFpNf lsZw== X-Gm-Message-State: APt69E00fFYchtPqN6NUwJJWYypqbhkk86PKrN517pywDPsypHaWffSS 7pCDwAPtHhs3ONiq9Zm3/iNO/g== X-Google-Smtp-Source: ADUXVKK+EOyWBQUcW+FI59pEAiNHQP6lDAJ8zjvSdQyhTS+sBHwv6ezft/IK/TMCGaRWAlwZncbX4A== 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-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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