Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp487902ybh; Wed, 22 Jul 2020 05:51:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0ZYQ5Z8UCa+sarE9hll7w/Glnu46SA31UdoypIKBQKHTQ4HevwMpXPhpJ/ElGcrlLwbg5 X-Received: by 2002:a05:6402:1507:: with SMTP id f7mr31834971edw.37.1595422292420; Wed, 22 Jul 2020 05:51:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595422292; cv=none; d=google.com; s=arc-20160816; b=TNtaBEV7atSHBCt4NKg3YUuRDZlEEYK38Z+ZnIkCazIrS0cyNmQ37XsgMTA49TrtAZ cP+eIJZzZn2skeHj19iH5kiCPToF3c5lGRJgQudsEU1o3Z5lF3xdMNn5WObIUx+2C48F fcMvymZlCN1aTi7F1HTBUYTRV3U+7lKUAPb3dsbKIw8GDNIkIL/P7Fq61OqFpkc8UZ2T eZxSPnKX3zv/zjMOPpCe0LdqvpnMG2tGQBM94ziU30cCAAE5+zTgjfb4/UFpWj4sFxxA CF0iZUTY0MBF/ZDWtSZ4yLC7MN822yGSwu6z1TbyFdSw2Ya6/1kpaVP1fUTnOsIz17Is lthQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=V+el/4IjxY5c/A2Xkjehcvj/Zw3lDkjmnm4fPzj7FEY=; b=Kydfi6hWV5L3aCVVm63+XEPvDrkyIdt5ByhYwijVz4EY7pEuCX4zknR9la/PdJf90f hVdDimJC5i293LW8/5vLZwEMnRl4JXFizKKFhPx+u5QomUu1UgkhXZaHO7QOEe9OiKHn R24VvNSgTNC26P4aJWg8eb6bX6pH9vOh4JlswfE8DUJIhzTS8hnsdtjG5GSAZy/5OlsK Kx9Hvhe3lKANgAkn/AjTQeF23n8EAAqHGF98EPsv7AsCxg3WtPGeExvlkJOCM9QEr251 cb3/l8fGSc6X85UpsujXcgYRsfderYLTmvkxLAo8aR5tMbdVxIa8+hbtfVqNsURZiDhK sbrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K5CLDhMO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si13652026edl.202.2020.07.22.05.51.09; Wed, 22 Jul 2020 05:51:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K5CLDhMO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732382AbgGVMu2 (ORCPT + 99 others); Wed, 22 Jul 2020 08:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726161AbgGVMu2 (ORCPT ); Wed, 22 Jul 2020 08:50:28 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11F1EC0619DC for ; Wed, 22 Jul 2020 05:50:28 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id g26so1800146qka.3 for ; Wed, 22 Jul 2020 05:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=V+el/4IjxY5c/A2Xkjehcvj/Zw3lDkjmnm4fPzj7FEY=; b=K5CLDhMO8VOhCWsQmJTWzgBr8pNoz9/g9XoMr2GBxhc4faqvibRjSC7ijhfd0rj4Or EAh4KUB+a8SDhfvg2DstycRIHsTbwwOUwrLyIwBC77KG0mWVNaca++DEe3Do+NQS9tAK rJh4ulyrFi3MypW6toTUSRapLAxXFRZVnfbivL42DORirSSCTkq8ztYBSa9mwppHubMx uasntbPhG1oeuxsz4lYhUVcTP3gvoH1kWTz4h6ozQDe6asb7eC//LcxUvXVwRSZtxfoA BkEWy3oWL114hJC06FQLhFbRuMtBkc1lBfEiihWT1tMOAdE+6JtzE6qLS49NkhBjmJ4t oh/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=V+el/4IjxY5c/A2Xkjehcvj/Zw3lDkjmnm4fPzj7FEY=; b=Zo+KXBjwaPaWPBfAU7YSvl37/fDtzg288bcDbBKXRp0dyK1jGT1kyNvX64Hi2RtPkw HHx85u4MaV33SnTSMo7sXxYGGl7hXpx5OG1FWi5OmapWZfr6/Q3K+2OcfyrDj6cN8mrg LE07m9yLwylyLA+5HQZVaaWyyHJjKbUCk4cfhqYtfdoMz+R5m6GcGHdW67+lypp+WxQN YHjyYswJILPtiR4IHMTyqqsUAGYBYq5ISbBnZ1vvakmQMM8PSIhQNCscYV2r7QXZmEkn E5j3eo9YEwvY7Q0hjGNoh4hZdKS9In1JgKdJN7hzZAO+kJ/OmZP+EnGWczBEVzGxeIZq F1eg== X-Gm-Message-State: AOAM533g023E/X2V61auhpy2u8/phwmYSTwo32Cv4fx1iSTgUQ/tKX1q Stgm4mCGxJwOZe8qYPdxghuBb9Jt X-Received: by 2002:a37:78c7:: with SMTP id t190mr31591973qkc.464.1595422226258; Wed, 22 Jul 2020 05:50:26 -0700 (PDT) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com. [209.85.219.172]) by smtp.gmail.com with ESMTPSA id 19sm5138390qke.44.2020.07.22.05.50.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jul 2020 05:50:25 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id g6so941950ybo.11 for ; Wed, 22 Jul 2020 05:50:24 -0700 (PDT) X-Received: by 2002:a25:cc4e:: with SMTP id l75mr50937615ybf.165.1595422224171; Wed, 22 Jul 2020 05:50:24 -0700 (PDT) MIME-Version: 1.0 References: <20200721161710.80797-1-paolo.pisati@canonical.com> In-Reply-To: From: Willem de Bruijn Date: Wed, 22 Jul 2020 08:49:47 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] selftest: txtimestamp: fix net ns entry logic To: Paolo Pisati Cc: Willem de Bruijn , "David S . Miller" , Jakub Kicinski , Shuah Khan , Jian Yang , Network Development , "open list:KERNEL SELFTEST FRAMEWORK" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 22, 2020 at 4:37 AM Paolo Pisati wrote: > > On Tue, Jul 21, 2020 at 6:26 PM Willem de Bruijn > wrote: > > > > Fixes: cda261f421ba ("selftests: add txtimestamp kselftest") > > > > Acked-by: Willem de Bruijn > > Besides, is it just me or this test fails frequently? I've been > running it on 5.4.x, 5.7.x and 5.8-rcX and it often fails: > > ... > USR: 1595405084 s 947366 us (seq=0, len=0) > SND: 1595405084 s 948686 us (seq=9, len=10) (USR +1319 us) > ERROR: 6542 us expected between 6000 and 6500 > ACK: 1595405084 s 953908 us (seq=9, len=10) (USR +6541 us) > USR: 1595405084 s 997979 us (seq=0, len=0) > SND: 1595405084 s 999101 us (seq=19, len=10) (USR +1121 us) > ACK: 1595405085 s 4438 us (seq=19, len=10) (USR +6458 us) > USR: 1595405085 s 49317 us (seq=0, len=0) > SND: 1595405085 s 50680 us (seq=29, len=10) (USR +1363 us) > ERROR: 6661 us expected between 6000 and 6500 > ACK: 1595405085 s 55978 us (seq=29, len=10) (USR +6661 us) > USR: 1595405085 s 101049 us (seq=0, len=0) > SND: 1595405085 s 102342 us (seq=39, len=10) (USR +1293 us) > ERROR: 6578 us expected between 6000 and 6500 > ACK: 1595405085 s 107627 us (seq=39, len=10) (USR +6577 us) > USR-SND: count=4, avg=1274 us, min=1121 us, max=1363 us > USR-ACK: count=4, avg=6559 us, min=6458 us, max=6661 us > > > In particular, "run_test_v4v6 ${args} # tcp" is the most > susceptible to failures (though i've seen the udp variant fail too). Not for me. The interval bounds have been set as is based on previous experience. Are you running it inside a VM? Especially qemu without kvm acceleration could increase jitter. The reports are not far outside the bounds. They can be extended a bit if that considerably reduces flakiness.