From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Fastabend Subject: Re: [PATCH bpf-next 3/5] selftests/bpf: test_sockmap, fix test timeout Date: Mon, 21 May 2018 10:13:02 -0700 Message-ID: <828b3f2e-5062-01ef-2e7f-a94615c62aa3@gmail.com> References: <20180518071753.4768-1-bhole_prashant_q7@lab.ntt.co.jp> <20180518071753.4768-4-bhole_prashant_q7@lab.ntt.co.jp> <615c089e-47a6-e36c-9ad4-2c86a8edeaa1@lab.ntt.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "David S . Miller" , Shuah Khan , netdev@vger.kernel.org To: Prashant Bhole , Alexei Starovoitov , Daniel Borkmann Return-path: Received: from mail-io0-f196.google.com ([209.85.223.196]:37158 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753082AbeEURNU (ORCPT ); Mon, 21 May 2018 13:13:20 -0400 Received: by mail-io0-f196.google.com with SMTP id e20-v6so15139692iof.4 for ; Mon, 21 May 2018 10:13:20 -0700 (PDT) In-Reply-To: <615c089e-47a6-e36c-9ad4-2c86a8edeaa1@lab.ntt.co.jp> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 05/20/2018 10:15 PM, Prashant Bhole wrote: > > > On 5/19/2018 1:47 AM, John Fastabend wrote: >> On 05/18/2018 12:17 AM, Prashant Bhole wrote: >>> In order to reduce runtime of tests, recently timout for select() call >>> was reduced from 1sec to 10usec. This was causing many tests failures. >>> It was caught with failure handling commits in this series. >>> >>> Restoring the timeout from 10usec to 1sec >>> >>> Fixes: a18fda1a62c3 ("bpf: reduce runtime of test_sockmap tests") >>> Signed-off-by: Prashant Bhole >>> --- >> >> Whats the runtime for the entire test suite after this? I agree >> I was probably to aggressive in setting this but on the other >> hand I was trying to avoid letting the test run for minutes. >> > > Currently any failure stops further tests. > So I made local change to force cork=0. With this change, it takes > around 60 seconds for all 648 tests. It will change after fixing cork > tests. > > -Prashant > OK, lets see how long it takes with the cork tests fixed. Maybe if the cork flag is set we should lower the timeout to 100us. .John