All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2] kprobes: convert tests to kunit
Date: Wed, 15 Sep 2021 05:56:05 +0800	[thread overview]
Message-ID: <202109150545.FABUL0Nv-lkp@intel.com> (raw)
In-Reply-To: <20210914070816.3516994-1-svens@linux.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 5592 bytes --]

Hi Sven,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.15-rc1 next-20210914]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Sven-Schnelle/kprobes-convert-tests-to-kunit/20210914-151132
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d0ee23f9d78be5531c4b055ea424ed0b489dfe9b
config: ia64-buildonly-randconfig-r006-20210914 (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/f7a2203bb543d14bde5ad006d585c7ab43fbe987
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Sven-Schnelle/kprobes-convert-tests-to-kunit/20210914-151132
        git checkout f7a2203bb543d14bde5ad006d585c7ab43fbe987
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   ia64-linux-ld: kernel/test_kprobes.o: in function `entry_handler':
>> test_kprobes.c:(.text+0x150): undefined reference to `kunit_unary_assert_format'
>> ia64-linux-ld: test_kprobes.c:(.text+0x212): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `return_handler2':
>> test_kprobes.c:(.text+0x2f0): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0x452): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x522): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `return_handler':
   test_kprobes.c:(.text+0x5a0): undefined reference to `kunit_unary_assert_format'
>> ia64-linux-ld: test_kprobes.c:(.text+0x5d0): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0x692): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x7a2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x862): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `kp_post_handler2':
   test_kprobes.c:(.text+0x8d2): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0xa32): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `kp_post_handler':
   test_kprobes.c:(.text+0xaa0): undefined reference to `kunit_unary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0xb42): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0xb72): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0xc72): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `kp_pre_handler':
   test_kprobes.c:(.text+0xcd0): undefined reference to `kunit_unary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0xd92): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `test_kretprobes':
   test_kprobes.c:(.text+0xee0): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0xfe2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x10d2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x11c2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `test_kretprobe':
   test_kprobes.c:(.text+0x1280): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0x1362): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x1462): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `test_kprobes':
   test_kprobes.c:(.text+0x1540): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0x1652): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x1732): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x17d2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x18c2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x1962): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `test_kprobe':
   test_kprobes.c:(.text+0x1a20): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0x1b02): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x1c02): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x1cb2): undefined reference to `kunit_do_assertion'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34697 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Sven Schnelle <svens@linux.ibm.com>,
	"Naveen N . Rao" <naveen.n.rao@linux.ibm.com>,
	Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	Steven Rostedt <rostedt@goodmis.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Sven Schnelle <svens@linux.ibm.com>
Subject: Re: [PATCH v2] kprobes: convert tests to kunit
Date: Wed, 15 Sep 2021 05:56:05 +0800	[thread overview]
Message-ID: <202109150545.FABUL0Nv-lkp@intel.com> (raw)
In-Reply-To: <20210914070816.3516994-1-svens@linux.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 5511 bytes --]

Hi Sven,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.15-rc1 next-20210914]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Sven-Schnelle/kprobes-convert-tests-to-kunit/20210914-151132
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d0ee23f9d78be5531c4b055ea424ed0b489dfe9b
config: ia64-buildonly-randconfig-r006-20210914 (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/f7a2203bb543d14bde5ad006d585c7ab43fbe987
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Sven-Schnelle/kprobes-convert-tests-to-kunit/20210914-151132
        git checkout f7a2203bb543d14bde5ad006d585c7ab43fbe987
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   ia64-linux-ld: kernel/test_kprobes.o: in function `entry_handler':
>> test_kprobes.c:(.text+0x150): undefined reference to `kunit_unary_assert_format'
>> ia64-linux-ld: test_kprobes.c:(.text+0x212): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `return_handler2':
>> test_kprobes.c:(.text+0x2f0): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0x452): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x522): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `return_handler':
   test_kprobes.c:(.text+0x5a0): undefined reference to `kunit_unary_assert_format'
>> ia64-linux-ld: test_kprobes.c:(.text+0x5d0): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0x692): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x7a2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x862): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `kp_post_handler2':
   test_kprobes.c:(.text+0x8d2): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0xa32): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `kp_post_handler':
   test_kprobes.c:(.text+0xaa0): undefined reference to `kunit_unary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0xb42): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0xb72): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0xc72): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `kp_pre_handler':
   test_kprobes.c:(.text+0xcd0): undefined reference to `kunit_unary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0xd92): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `test_kretprobes':
   test_kprobes.c:(.text+0xee0): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0xfe2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x10d2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x11c2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `test_kretprobe':
   test_kprobes.c:(.text+0x1280): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0x1362): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x1462): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `test_kprobes':
   test_kprobes.c:(.text+0x1540): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0x1652): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x1732): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x17d2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x18c2): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x1962): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: kernel/test_kprobes.o: in function `test_kprobe':
   test_kprobes.c:(.text+0x1a20): undefined reference to `kunit_binary_assert_format'
   ia64-linux-ld: test_kprobes.c:(.text+0x1b02): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x1c02): undefined reference to `kunit_do_assertion'
   ia64-linux-ld: test_kprobes.c:(.text+0x1cb2): undefined reference to `kunit_do_assertion'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34697 bytes --]

  parent reply	other threads:[~2021-09-14 21:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-14  7:08 [PATCH v2] kprobes: convert tests to kunit Sven Schnelle
2021-09-14 12:19 ` Masami Hiramatsu
2021-09-14 21:56 ` kernel test robot [this message]
2021-09-14 21:56   ` kernel test robot
2021-09-24 18:19   ` Sven Schnelle
2021-09-24 18:19     ` Sven Schnelle
2021-09-25  1:47     ` Masami Hiramatsu
2021-09-25  1:47       ` Masami Hiramatsu
2021-09-25  6:39       ` Sven Schnelle
2021-09-25  6:39         ` Sven Schnelle

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=202109150545.FABUL0Nv-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.