Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1750326imm; Tue, 22 May 2018 08:44:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrYUuKGb3LdQ3l60KJzRDXrDYy9zoY37bTvttmdu5nGNJqq6BADdC5Lp8N+kj3dDtCRbbbU X-Received: by 2002:a17:902:595e:: with SMTP id e30-v6mr25095164plj.233.1527003880615; Tue, 22 May 2018 08:44:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527003880; cv=none; d=google.com; s=arc-20160816; b=skrhJls2E2vfwXq1vR2GFFcAa6mIRanM8CWUbJKT/tSk6tAgqJZD8shyafYb1b3lF8 RAYGTycq5XIBJkML+NLisj3vKWEZ5nS4C+V5EOf/GflYDzH45iyLqVk5SbcBfP5W8Iom bu1J9w8vBVfF5XZ+0auhntPKouYReFsXHd9C3BHCRputW9lWxR2r0KWETlQmr9l8wA5c snZX4IT4MMb4IvtZpdiQT7iVZAP2/gZjtC11KhKPvfb6iMkgkrefqcuExtX6CQqM7t81 hxUjoEETAuR+4P/Y5z6FMk46bxA5rCBGGKbIFJYRaYa9s5aV6aKh6ZG1uLTu4zNfsjJn RchA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=1ndkvLNNVH/KGrdGYC+dbIdpruKuGruIdZBH3J70RbY=; b=ALjZk4y6fyoSsHhyRGbpYx52TCY+dyqPjNK4W87XXOAfrZ01cAp9YI8mOOGfok3zWL ln2HAKZLEf6dzAmkkRwxaHdari+52jAeV8k7r41IW1/wOnuVHbvrnO0LF21V/Zi3As6r jhVhBC5uHPn3wgKTKmzRZdADz12fUz4zsHBoEPVNmRv6LcXC67Toa+3TSLzGzWTysk/j JssNGiFaT1D70DAwS5DRnF94UMCA1BFKZ0uqtgjx9VsyAHsYd8fUoF9GB7+aYggKOT8B V5DE38N0KEFbWqlUZHPSumcK49WSO8cTEpqwzS+db6OYny/A9PO8HxHvWDDiJipyIqea OJ7g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2-v6si13367385pgr.270.2018.05.22.08.44.26; Tue, 22 May 2018 08:44:40 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752121AbeEVPnm (ORCPT + 99 others); Tue, 22 May 2018 11:43:42 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:35104 "EHLO mailout.easymail.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751275AbeEVPnk (ORCPT ); Tue, 22 May 2018 11:43:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 4DBB340C01; Tue, 22 May 2018 15:43:39 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T2j4N7iZJ8K9; Tue, 22 May 2018 15:43:39 +0000 (UTC) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 0F36940CCB; Tue, 22 May 2018 15:43:28 +0000 (UTC) Subject: Re: [PATCH] tc-testing: flush gact actions on test teardown To: Vlad Buslov , linux-kselftest@vger.kernel.org, davem@davemloft.net Cc: lucasb@mojatatu.com, jhs@mojatatu.com, mrv@mojatatu.com, linux-kernel@vger.kernel.org, Shuah Khan References: <1526660482-10424-1-git-send-email-vladbu@mellanox.com> From: Shuah Khan Message-ID: <11f03b6a-a8c4-e64c-7e2d-fb8218bc6320@kernel.org> Date: Tue, 22 May 2018 09:43:28 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1526660482-10424-1-git-send-email-vladbu@mellanox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/18/2018 10:21 AM, Vlad Buslov wrote: > Test 6fb4 creates one mirred and one pipe action, but only flushes mirred > on teardown. Leaking pipe action causes failures in other tests. > > Add additional teardown command to also flush gact actions. > > Signed-off-by: Vlad Buslov > --- > tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json b/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json > index 443c9b3..acb24f7 100644 > --- a/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json > +++ b/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json > @@ -44,7 +44,8 @@ > "matchPattern": "action order [0-9]*: mirred \\(Egress Redirect to device lo\\).*index 2 ref", > "matchCount": "1", > "teardown": [ > - "$TC actions flush action mirred" > + "$TC actions flush action mirred", > + "$TC actions flush action gact" > ] > }, > { > I can get this into 4.18-rc1 unless there is a reason for this to go through net tree. thanks, -- Shuah