Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2873443ybd; Mon, 24 Jun 2019 14:26:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8WjYQgPRMCGxBa7Dgw6FwKSAQCD6LA48L0ml4kc8ET+JucPq1ik1hNY/XgoSEJVy7xCmc X-Received: by 2002:a17:902:a414:: with SMTP id p20mr38669160plq.187.1561411567351; Mon, 24 Jun 2019 14:26:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561411567; cv=none; d=google.com; s=arc-20160816; b=cZlc8sPfn4j1BBnn8xqdKE807/yJEQj2Fho0AWadEeFqzB5fc8ip2Hq9nBpZLQcqa4 mU+CpxYh8T1RlywkpOadTgtV6bOAUl0v8RlNW1eY3ufRamKatEi67N/J+LYwR7qEXixW 7WAusAVKL0Dpw1oe8vMJo5f4eZilmQwir2XJgCDiM4puCM2jsm7XA9b9IjY6BnCwP6tr Z9AJK9BjFZiRU9FOgSY69czQE6ZhE9hA1Y2RTCAHDtYFMnhvBRKzeAZ0Krfr0JKtpx71 nGlpwqVtO+pS6ZCjlw8bEojjDSkOXPjclwsB/7rycZ1ELF4hF1Y2xAEuL2OojMp8Da1a gAYw== 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=J3jnGKxooPL3xDQZEUnhmGipQscWMmnQn6jkJBtpMqE=; b=milkseUQ8xhhisRUP2HB26VxSvcp3hJ1h/k72WwfQJgr2eNWs3bgpIjuv5v6MgQ8Q4 K6ysHwojCwSGGTAriXCg+dey13DpVdRBuu/NhgpZgGbZ7LmzdaSZUjVyUjD7ATI7Ja8w VNKiI8FbnRR4uXYNVgETTpa/7JrB//2IRhZylRbQZ1AkjnPtxwt1zzh3gWp7FyjzCnML 1eCUNk2YWHftHuwYYpVCbCpT0VEM+LH4b/oU42OU1B+qweScWppmitMykjyiShq0PmmW HlxlJuNRdmIjeROTJdoZ3FrDmECfyGCUK29MMO3Tm4L0s0xiskkoW1EYGMZ6B8GDOmb4 K1GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O9IwJyrf; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d6si10790208pgv.132.2019.06.24.14.25.51; Mon, 24 Jun 2019 14:26:07 -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=@gmail.com header.s=20161025 header.b=O9IwJyrf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728127AbfFXSci (ORCPT + 99 others); Mon, 24 Jun 2019 14:32:38 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:45608 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726381AbfFXSch (ORCPT ); Mon, 24 Jun 2019 14:32:37 -0400 Received: by mail-qt1-f195.google.com with SMTP id j19so15531946qtr.12; Mon, 24 Jun 2019 11:32:37 -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=J3jnGKxooPL3xDQZEUnhmGipQscWMmnQn6jkJBtpMqE=; b=O9IwJyrfa9XVmop+4ZXUoyUKP/+LLFb2lX4NEpd0UW0+WZ59F9idc2Maywb8qEDhKr 8DlXiGcJ9nJtBlg30JV0dngS2CtvkKknvlLq1/OEMKbfcgxIgsKze5LZ1uXlgXrtt2dW BfgphpRBzaNKHlcqCRYyrtDmTaKhdE+ozVhFow/CGn81+DH+zGOR/aZyRoAwjmTYSGyX cCJO/bUkx61l0m00xbX5W2OvCh27klIV5dabCR0/nekB1hKK49emK9g/qy39yihT6mmL R69tVdxxIOc4EG6YEWmX8n/Uaq/n3UJ7NByaqn4rLYpf+bkU+fSM8ZxTDJLaN4U/HoGC OHJw== 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=J3jnGKxooPL3xDQZEUnhmGipQscWMmnQn6jkJBtpMqE=; b=t/ojTEByeraMzqVinQiUm+E28X9Di6I0v45iUNcDdSzoKZDuBk36i3myopq9s05ACg qjADypxUjgzI5XJiyYHR7cD5l4hjjI6NtuRXvNw3+KRdgn7nph/MzZUohdQHjrkZ+Lme K7FUmIXVM4hT8pKE9helczBP+3PWemycI+eEFsTUKmWoIOoUwC0ocn/QyLnZHC6lZ1gB HJdm4TlWBUfmKvTL3UELabJIfDjWYH3c6qq9x7DCTKcT3wq+V4nOmzsHkxM9+vNE5ECx +gzWjQuQR5sc5wh22BpaYDUjXHN+O/tP1DbIyI9Yu/eQJ+v4Cdoo1L4xqcQblvTAoNaY Qmuw== X-Gm-Message-State: APjAAAUcc8jJpdHCu9PLtxPifcfjHrzpzKSXXor2pQAVfMDOBbIpESDS zpC3DXdueQuUmpNJ4Zm9Jav9LWjrKa5KkFk893btQAVnfkE= X-Received: by 2002:ac8:2d56:: with SMTP id o22mr79429363qta.171.1561401156508; Mon, 24 Jun 2019 11:32:36 -0700 (PDT) MIME-Version: 1.0 References: <20190621161752.d7d7n4m5q67uivys@xps.therub.org> In-Reply-To: <20190621161752.d7d7n4m5q67uivys@xps.therub.org> From: Andrii Nakryiko Date: Mon, 24 Jun 2019 11:32:25 -0700 Message-ID: Subject: Re: selftests: bpf: test_libbpf.sh failed at file test_l4lb.o To: Dan Rue Cc: Naresh Kamboju , "open list:KERNEL SELFTEST FRAMEWORK" , bpf , Netdev , open list , xdp-newbies@vger.kernel.org, "David S. Miller" , Daniel Borkmann , Alexei Starovoitov , Martin Lau , Yonghong Song , john fastabend , hawk@kernel.org, Jakub Kicinski , Shuah Khan 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 Fri, Jun 21, 2019 at 9:17 AM Dan Rue wrote: > > On Thu, Jun 20, 2019 at 10:17:04PM -0700, Andrii Nakryiko wrote: > > On Thu, Jun 20, 2019 at 1:08 AM Naresh Kamboju > > wrote: > > > > > > selftests: bpf test_libbpf.sh failed running Linux -next kernel > > > 20190618 and 20190619. > > > > > > Here is the log from x86_64, > > > # selftests bpf test_libbpf.sh > > > bpf: test_libbpf.sh_ # > > > # [0] libbpf BTF is required, but is missing or corrupted. > > > > You need at least clang-9.0.0 (not yet released) to run some of these > > tests successfully, as they rely on Clang's support for > > BTF_KIND_VAR/BTF_KIND_DATASEC. > > Can there be a runtime check for BTF that emits a skip instead of a fail > in such a case? I'm not sure how to do this simply and minimally intrusively. The best I can come up with is setting some envvar from Makefile and checking for that in each inidividual test, which honestly sounds a bit gross. How hard is it for you guys to upgrade compiler used to run these test? > > Thanks, > Dan > > > > > > libbpf: BTF_is # > > > # test_libbpf failed at file test_l4lb.o > > > failed: at_file # > > > # selftests test_libbpf [FAILED] > > > test_libbpf: [FAILED]_ # > > > [FAIL] 29 selftests bpf test_libbpf.sh > > > selftests: bpf_test_libbpf.sh [FAIL] > > > > > > Full test log, > > > https://qa-reports.linaro.org/lkft/linux-next-oe/build/next-20190619/testrun/781777/log > > > > > > Test results comparison, > > > https://qa-reports.linaro.org/lkft/linux-next-oe/tests/kselftest/bpf_test_libbpf.sh > > > > > > Good linux -next tag: next-20190617 > > > Bad linux -next tag: next-20190618 > > > git branch master > > > git commit 1c6b40509daf5190b1fd2c758649f7df1da4827b > > > git repo > > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > > > > > Best regards > > > Naresh Kamboju > > -- > Linaro - Kernel Validation