Received: by 10.223.164.221 with SMTP id h29csp3065915wrb; Mon, 30 Oct 2017 14:35:39 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TTFdK18KSOKpsIIKBt8zrRTjz+HVqu4tsVETeTbKMOidXpw3Cw1mfyZw1LocQvg50fjdeg X-Received: by 10.98.86.17 with SMTP id k17mr10115302pfb.127.1509399339091; Mon, 30 Oct 2017 14:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509399339; cv=none; d=google.com; s=arc-20160816; b=zFLxbqnYhR+fhZkFxzsu7wKb1sKr9u6XQe9dYlar6DhYBayzSTIiigZB2K5pkF8uyc txCniBR6kvwGcnA6litxjAMkwUnDmu06wp/MRottQL0fKdhEHDxwG61cQQYhm/wTKK/F TOsd/9OX9Lka+dpKJUR0U2bEelyLOcJ7nEVqhzOG9nRi0p9kRBqVbEjV/9KcPBqgiY/D lOeAFJcrHrayenHNE+bE/pBZK3I7yo+10QEr+PPDISBTrCtJOIQk+FaBw1S6EJaYgUck IwQXb/aJV+9HQpK04klMFzJWSVmlC9YHf4HBaCbFE4eXqH2mYwCrEerBxKO3cs0VgmNb BfFg== 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=FrZKDWi56eKVwtMwZWOW3Byg4p7qPi8N2VzPcyzk4S4=; b=Ok8l/9maJxHCQTdyIIYk2GBCxfp0RoVdv0Nw/DXrg9fSV88WPbq6UlUwG7c0IVTJyp Ta0VcW23VGbZ8jvkGQa0zyR+96zyo62vBM7T1DPS3saGggn3mk/dshK/y1ArZJ3vXypp 8x04xb/hgY+oKpgldvSOnEOZJtnYK3A73JJeMW0uyVTFf79whzza7nGQZEzqyY8Phfsn jGz8DeIKwnu3Tixepd4YRteLNao+jxKaQzHLc7c199Qi1EA+hc47A2S8Dpo1urR6DIQr uSO6Q1A0hAnpHJpSj4CNrd5p6DU6u8EeBEExfTXxnSi/+0RbEHcTicnTeYFSmQcdeeER moBA== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o18si5930880pgv.570.2017.10.30.14.35.13; Mon, 30 Oct 2017 14:35:39 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932991AbdJ3VDE (ORCPT + 99 others); Mon, 30 Oct 2017 17:03:04 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:50017 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753173AbdJ3VDA (ORCPT ); Mon, 30 Oct 2017 17:03:00 -0400 Received: by mail-oi0-f68.google.com with SMTP id w197so24376142oif.6 for ; Mon, 30 Oct 2017 14:03:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FrZKDWi56eKVwtMwZWOW3Byg4p7qPi8N2VzPcyzk4S4=; b=LsZaDngim5KifK/8skG/GxeSutjuv38gCadLzZXSUxGz73ine/Eo9VDLFkBvSluCAL bJXg99w7Hw841UhkOJFaT7Blug0Tp6hGltyCebDkF1//ocndJ4R9lvBpIj5aNl1p6bbR mA7x4D6hBAket+suVOgimmYOtLOm90Ob6nR2qT4oz57bhHnyzoaxhI+40zhEWTbDU4Eu QXboVF1wPr2K2n2ekug8MYujUtInZdKA+U4GzsjVtISmD1kYwat4CCFovwKz9prP+I+W t16FZB7GCDzhLDlS0pkFRf8ZgV0hylfR5VM0t3y7L0KPU6sG15uJoQOmkD6EuaUh4WyI vrDw== X-Gm-Message-State: AMCzsaUkkIXe6xTWMacAVVJlRR3C9Xfg5oz2gtYEQ+l7uiOeZpNMpinf x8/3vV/A55a9TmoftXY6kry1Bg== X-Received: by 10.202.71.78 with SMTP id u75mr5614906oia.444.1509397380094; Mon, 30 Oct 2017 14:03:00 -0700 (PDT) Received: from ?IPv6:2601:602:9802:a8dc::e174? ([2601:602:9802:a8dc::e174]) by smtp.gmail.com with ESMTPSA id o39sm7476155oto.32.2017.10.30.14.02.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Oct 2017 14:02:58 -0700 (PDT) Subject: Re: [lkp-robot] [android/ion] 5fb70554d6: kernel_selftests.android.make_fail To: Pintu Kumar , kernel test robot Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Greg Kroah-Hartman , shuah@kernel.org, dvhart@infradead.org, Bamvor Zhang Jian , Pintu Kumar , lkp@01.org References: <1508801195-5369-1-git-send-email-pintu.ping@gmail.com> <20171029142128.GB13676@yexl-desktop> From: Laura Abbott Message-ID: <8e7d8bbb-ec51-b693-aa35-1af73c163299@redhat.com> Date: Mon, 30 Oct 2017 14:02:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: 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 10/30/2017 12:12 AM, Pintu Kumar wrote: > On Sun, Oct 29, 2017 at 7:51 PM, kernel test robot > wrote: >> >> FYI, we noticed the following commit (built with gcc-6): >> >> commit: 5fb70554d68e2ea032b6a28b082801d8b7b76cb8 ("android/ion: userspace test utility for ion buffer sharing") >> url: https://github.com/0day-ci/linux/commits/Pintu-Agarwal/android-ion-userspace-test-utility-for-ion-buffer-sharing/20171025-022548 >> >> >> in testcase: kernel_selftests >> with following parameters: >> >> >> test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel. >> test-url: https://www.kernel.org/doc/Documentation/kselftest.txt >> >> >> on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 64G memory >> >> caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): >> >> >> >> >> KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-7.2-5fb70554d68e2ea032b6a28b082801d8b7b76cb8 >> 2017-10-26 22:18:16 ln -sf /usr/bin/gcc-5 /usr/bin/gcc >> >> 2017-10-26 22:18:16 make run_tests -C android >> make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-5fb70554d68e2ea032b6a28b082801d8b7b76cb8/tools/testing/selftests/android' >> make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-5fb70554d68e2ea032b6a28b082801d8b7b76cb8/tools/testing/selftests/android/ion' >> gcc -I../../../../../drivers/staging/android/uapi/ -Wall -O2 -g ionapp_export.c ipcsocket.c ionutils.c -o ionapp_export >> In file included from ionapp_export.c:28:0: >> ionutils.h:4:17: fatal error: ion.h: No such file or directory >> compilation terminated. >> In file included from ionutils.c:9:0: >> ionutils.h:4:17: fatal error: ion.h: No such file or directory >> compilation terminated. > > This utility requires ion.h header file which should be included from > kernel source tree: drivers/staging/android/ion/uapi/ > This is already mentioned in the ion/Makefile > Looks like this ion.h is not getting included inside the linux_headers_dir ? > > Shall I include the ion.h locally in my selftests? > Or, is there a better way to include the header directly... > > I can't reproduce this in any of my environments but if I had to guess, it's because you have #include "ion.h" which is supposed to look in the local path. Thanks, Laura From 1582665750727383879@xxx Mon Oct 30 07:14:37 +0000 2017 X-GM-THRID: 1582662213253057274 X-Gmail-Labels: Inbox,Category Forums