Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp4005389ybd; Tue, 25 Jun 2019 12:17:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwww/c4oLJlk3wHldM59TFHlkIN08JF/1EJCcR27/NhrHD9Ay63o76n9l0cAanrccFnrYEK X-Received: by 2002:a63:3349:: with SMTP id z70mr14449668pgz.355.1561490238931; Tue, 25 Jun 2019 12:17:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561490238; cv=none; d=google.com; s=arc-20160816; b=Cm3jzTad5mlCMHBi+yEKBHaB9IcSWe/2u647/n0D/6BfnHxHUOhGGluInTGo7gFTJX 7hcByfy1VxLGfAl86nmxyFZ7eaOMPy8bfxpLXc2BvPPM23TKNbvhSUh7oEdZHE0oY5T0 EalKscZCQHj3CfVeyG3ezRMg5xrstR+AgIMeMANqQNhPoRyIkK23LS65EeHEhu95JUNe Oi9flwruf5yO2I8nZeLzL9X3vIxw56RE4YqFdVmNHoxS3UoZXe5H4IyaBAKPmFnPFbSs CcRYarnga1IHtdziQEfVvZxta01qJwaAbD01qxogeQ2Fiw4dr9tBINHRISyTXRlza7fZ 0D2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pl6j18xP2teXBCXiFz1+ekHc82RO1v4dtHxUKcwmnSI=; b=mZPvydK6Spsy7nqr3+u1yW8dLeVROtZPNUujtJgGWgSfoUiRlsUoBQNkhxh6QhfYf3 asKgJsyEUXkdPXMn1OVvqkj0z84MuiJIrpo/pjCriG9sD9GUtMIf/9zUHecvoZaRMrou F+xluLJhvhLN68QS9OL0rg+tWEhu31VEppem8Xnvpijp8uxOPF1pGuZj5lWeEAG990W3 epuayWA3M8WqChEZ8ISqRTtSEdI6LwiZl2QCas9vb8PysUi20t8nmwHPFt0wgG1hzgpe n3VomM41VGgh3Y6TktByWcER3NaEXJHm0LRi4uF7yXqkMmop1Ztbv22niiMjmJTHZk76 UxMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xYnG3hJy; 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 u18si957696plq.311.2019.06.25.12.17.03; Tue, 25 Jun 2019 12:17:18 -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=xYnG3hJy; 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 S1732421AbfFYPcC (ORCPT + 99 others); Tue, 25 Jun 2019 11:32:02 -0400 Received: from mail-io1-f53.google.com ([209.85.166.53]:39514 "EHLO mail-io1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732379AbfFYPcC (ORCPT ); Tue, 25 Jun 2019 11:32:02 -0400 Received: by mail-io1-f53.google.com with SMTP id r185so3970138iod.6 for ; Tue, 25 Jun 2019 08:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=pl6j18xP2teXBCXiFz1+ekHc82RO1v4dtHxUKcwmnSI=; b=xYnG3hJyz4khT/uJKxphyWjZQFQ//q3hlVe230M5KEJnEbld76vZxH0dhqV8TKmWJo 8zg7zuJTixxzeq6fETCF+7hxbRsPwcKAEkCZab4RmBRlN5IMuVc3B4C7pXw2hM4IWaoE +viBxP25ebZesMJgXEzosY21FqBH7jtJfUlmzSk9Xqaf1KVqMPvFeGw9qYdI1FAyqUaT zo13+vCCbXRgCJrm0BskV1m1GDyXrPUMogAFwWyI+mpp5Lh2zh74nwwVqsWMctY04xV2 VGsgpcQXYd/nJHwJT/YRiRjkz9nda3bfc/nAg3kYnlZZYJDQVbNjlIO8uYcb4Ckl6opv hz6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=pl6j18xP2teXBCXiFz1+ekHc82RO1v4dtHxUKcwmnSI=; b=SRsOOqlZc1EFtKR3Ex+bSQVCWCOULCywUZisXj/YTUTQwDrJlIQ8lV50Dt0zFYoIeb xILwoJlZYNEz0uWhd5JmExl+83eYBBPdAVJgF0DdxYZYcIN+EiXyR2RipcGSj9En2zK7 dJ5ud8IgfVjCHHQfSk/G2NSBG1aD8ZYN0UjL7K6JxfxprWg/jmCh3FJwep07Jz1PwTj1 a/IBA0+5BRLH7Vhgd9ok8Sg59YMiU45tOxGYL8mzlhuZwY4IMot/JDqZHn0N9+eDH+uz bk8yl45cUP2YLntcxm0XJ4LJvJsnY+Cgf8eT7XZzeA5IKeErVCYzI21wHhB5uXmXupDu Rzow== X-Gm-Message-State: APjAAAVa/9fs9JpNkWYjTdjbXyer9H3sXSUJqKI8IiieO2lQ9ymlpxyk UwvOS+9mhsv7VsiFsL8Bev0yIA== X-Received: by 2002:a02:bb05:: with SMTP id y5mr25232740jan.93.1561476721092; Tue, 25 Jun 2019 08:32:01 -0700 (PDT) Received: from localhost (c-75-72-120-115.hsd1.mn.comcast.net. [75.72.120.115]) by smtp.gmail.com with ESMTPSA id c2sm11755771iok.53.2019.06.25.08.32.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 25 Jun 2019 08:32:00 -0700 (PDT) Date: Tue, 25 Jun 2019 10:31:59 -0500 From: Dan Rue To: Alexei Starovoitov Cc: Andrii Nakryiko , Naresh Kamboju , "open list:KERNEL SELFTEST FRAMEWORK" , bpf , Netdev , open list , Xdp , "David S. Miller" , Daniel Borkmann , Alexei Starovoitov , Martin Lau , Yonghong Song , john fastabend , Jesper Dangaard Brouer , Jakub Kicinski , Shuah Khan Subject: Re: selftests: bpf: test_libbpf.sh failed at file test_l4lb.o Message-ID: <20190625153159.5utnn36dgku5545n@xps.therub.org> References: <20190621161752.d7d7n4m5q67uivys@xps.therub.org> <20190624195336.nubi7n2np5vfjutr@xps.therub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 24, 2019 at 12:58:15PM -0700, Alexei Starovoitov wrote: > On Mon, Jun 24, 2019 at 12:53 PM Dan Rue wrote: > > > > I would say if it's not possible to check at runtime, and it requires > > clang 9.0, that this test should not be enabled by default. > > The latest clang is the requirement. > If environment has old clang or no clang at all these tests will be failing. Hi Alexei! I'm not certain if I'm interpreting you as you intended, but it sounds like you're telling me that if the test build environment does not use 'latest clang' (i guess latest as of today?), that these tests will fail, and that is how it is going to be. If I have that wrong, please correct me and disregard the rest of my message. Please understand where we are coming from. We (and many others) run thousands of tests from a lot of test frameworks, and so our environment often has mutually exclusive requirements when it comes to things like toolchain selection. We believe, strongly, that a test should not emit a "fail" for a missing requirement. Fail is a serious thing, and should be reserved for an actual issue that needs to be investigated, reported, and fixed. This is how we treat test failures - we investigate, report, and fix them when possible. When they're not real failures, we waste our time (and yours, in this case). By adding the tests to TEST_GEN_PROGS, you're adding them to the general test set that those of us running test farms try to run continuously across a wide range of hardware environments and kernel branches. My suggestion is that if you do not want us running them, don't add them to TEST_GEN_PROGS. I thought the suggestion of testing for adequate clang support and adding them conditionally at build-time was an idea worth consideration. Thanks, Dan -- Linaro - Kernel Validation