From: Shuah Khan <shuah@kernel.org>
To: kernel test robot <xiaolong.ye@intel.com>,
Shuah Khan <shuahkh@osg.samsung.com>
Cc: dvhart@infradead.org, tglx@linutronix.de, mingo@redhat.com,
peterz@infradead.org, naresh.kamboju@linaro.org,
shorne@gmail.com, linux-kernel@vger.kernel.org,
linux-kselftest@vger.kernel.org, lkp@01.org,
Shuah Khan <shuah@kernel.org>
Subject: Re: [lkp-robot] [selftests] 83fab1816d: kernel_selftests.futex.make_fail
Date: Wed, 16 Aug 2017 10:28:07 -0600 [thread overview]
Message-ID: <7fa9762d-3c2b-f8be-1ef8-4819d714de1a@kernel.org> (raw)
In-Reply-To: <20170816055543.GC13788@yexl-desktop>
On 08/15/2017 11:55 PM, kernel test robot wrote:
>
> FYI, we noticed the following commit:
>
> commit: 83fab1816dadd182539d3928ea5fd53436bcbcb3 ("selftests: futex: convert test to use ksft TAP13 framework")
> url: https://github.com/0day-ci/linux/commits/Shuah-Khan/selftests-futex-convert-test-to-use-ksft-TAP13-framework/20170806-030533
>
>
> 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-83fab1816dadd182539d3928ea5fd53436bcbcb3
> 2017-08-12 02:23:11 ln -sf /usr/bin/gcc-5 /usr/bin/gcc
>
> ...
>
> 2017-08-12 02:31:19 make run_tests -C futex
> make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-83fab1816dadd182539d3928ea5fd53436bcbcb3/tools/testing/selftests/futex'
> for DIR in functional; do \
> BUILD_TARGET=/usr/src/linux-selftests-x86_64-rhel-7.2-83fab1816dadd182539d3928ea5fd53436bcbcb3/tools/testing/selftests/futex/$DIR; \
> mkdir $BUILD_TARGET -p; \
> make OUTPUT=$BUILD_TARGET -C $DIR all;\
> done
> make[1]: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2-83fab1816dadd182539d3928ea5fd53436bcbcb3/tools/testing/selftests/futex/functional'
> gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ -pthread -lrt futex_wait_timeout.c ../include/futextest.h ../include/atomic.h ../include/logging.h -o /usr/src/linux-selftests-x86_64-rhel-7.2-83fab1816dadd182539d3928ea5fd53436bcbcb3/tools/testing/selftests/futex/functional/futex_wait_timeout
> In file included from futex_wait_timeout.c:28:0:
> ../include/logging.h: In function 'print_result':
> ../include/logging.h:118:3: warning: implicit declaration of function 'ksft_test_result_error' [-Wimplicit-function-declaration]
> ksft_test_result_error("%s\n", test_name);
> ^
> ../include/logging.h: In function 'print_result':
> ../include/logging.h:118:3: warning: implicit declaration of function 'ksft_test_result_error' [-Wimplicit-function-declaration]
> ksft_test_result_error("%s\n", test_name);
This patch depends on new ksft API that is in linux-kselftest next and also in linux-next.
It looks like the failure is because of the missing dependent commit.
c0bb2cf40e42b2fe5c8aa1c4f6f4d09c98839d91
selftests: kselftest framework: add error counter
thanks,
-- Shuah
> ^
> /tmp/lkp/ccC2uYVW.o: In function `print_result':
> /usr/src/linux-selftests-x86_64-rhel-7.2-83fab1816dadd182539d3928ea5fd53436bcbcb3/tools/testing/selftests/futex/functional/../include/logging.h:118: undefined reference to `ksft_test_result_error'
> collect2: error: ld returned 1 exit status
> ../../lib.mk:62: recipe for target '/usr/src/linux-selftests-x86_64-rhel-7.2-83fab1816dadd182539d3928ea5fd53436bcbcb3/tools/testing/selftests/futex/functional/futex_wait_timeout' failed
> make[1]: *** [/usr/src/linux-selftests-x86_64-rhel-7.2-83fab1816dadd182539d3928ea5fd53436bcbcb3/tools/testing/selftests/futex/functional/futex_wait_timeout] Error 1
> make[1]: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-83fab1816dadd182539d3928ea5fd53436bcbcb3/tools/testing/selftests/futex/functional'
> Makefile:10: recipe for target 'all' failed
> make: *** [all] Error 2
> make: Leaving directory '/usr/src/linux-selftests-x86_64-rhel-7.2-83fab1816dadd182539d3928ea5fd53436bcbcb3/tools/testing/selftests/futex'
>
>
>
> To reproduce:
>
> git clone https://github.com/01org/lkp-tests.git
> cd lkp-tests
> bin/lkp install job.yaml # job file is attached in this email
> bin/lkp run job.yaml
>
>
>
> Thanks,
> Xiaolong
>
parent reply other threads:[~2017-08-16 16:37 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20170816055543.GC13788@yexl-desktop>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7fa9762d-3c2b-f8be-1ef8-4819d714de1a@kernel.org \
--to=shuah@kernel.org \
--cc=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=lkp@01.org \
--cc=mingo@redhat.com \
--cc=naresh.kamboju@linaro.org \
--cc=peterz@infradead.org \
--cc=shorne@gmail.com \
--cc=shuahkh@osg.samsung.com \
--cc=tglx@linutronix.de \
--cc=xiaolong.ye@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®