All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
@ 2018-07-08  6:04 Hongzhi.Song
  2018-07-10  4:11 ` Khem Raj
  0 siblings, 1 reply; 12+ messages in thread
From: Hongzhi.Song @ 2018-07-08  6:04 UTC (permalink / raw)
  To: openembedded-devel

The recipe builds the framework for kernel-selftest. Now, it just
contains two sets of testcase, bpf and vm. We are appending others
to the recipe.

It needs some features which will be written into relevant recipe.
But now, you should add them to conf/local.conf manually.
KERNEL_FEATURES_append += "features/bpf/bpf.scc"

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
---
 .../recipes-kernel/kselftest/kernel-selftest.bb    | 94 ++++++++++++++++++++++
 1 file changed, 94 insertions(+)
 create mode 100644 meta-oe/recipes-kernel/kselftest/kernel-selftest.bb

diff --git a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
new file mode 100644
index 0000000..6f20bd3
--- /dev/null
+++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
@@ -0,0 +1,94 @@
+SUMMARY = "Kernel selftest for Linux"
+DESCRIPTION = "Kernel selftest for Linux"
+LICENSE = "GPLv2"
+
+# for bpf and vm
+DEPENDS = " \
+    elfutils \
+    libcap \
+    libcap-ng \
+    fuse \
+    util-linux \
+    rsync-native \
+"
+# for vm
+RDEPENDS_${PN} += "libgcc \
+                   bash \
+"
+
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
+
+inherit linux-kernel-base kernel-arch
+
+do_populate_lic[depends] += "virtual/kernel:do_patch"
+
+S = "${WORKDIR}/${BP}"
+
+# now we just test bpf and vm
+# we will append other kernel selftest in the future
+TEST_LIST = "bpf \
+             vm \
+"
+
+EXTRA_OEMAKE = '\
+    CROSS_COMPILE=${TARGET_PREFIX} \
+    ARCH=${ARCH} \
+    CC="${CC}" \
+    AR="${AR}" \
+    LD="${LD}" \
+'
+
+EXTRA_OEMAKE += "\
+    'DESTDIR=${D}' \
+"
+
+KERNEL_SELFTEST_SRC ?= "Makefile \
+                        include \
+                        tools \
+                        scripts \
+                        arch \
+"
+
+do_compile() {
+    for i in ${TEST_LIST}
+    do
+        oe_runmake -C ${S}/tools/testing/selftests/${i}
+    done
+}
+
+do_install() {
+    for i in ${TEST_LIST}
+    do
+        oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/opt/kselftest/${i} install
+    done
+
+    chown root:root  -R ${D}/opt/kselftest
+}
+
+do_configure() {
+    :
+}
+
+do_configure[prefuncs] += "copy_kselftest_source_from_kernel remove_clang_related"
+python copy_kselftest_source_from_kernel() {
+    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
+    src_dir = d.getVar("STAGING_KERNEL_DIR")
+    dest_dir = d.getVar("S")
+    bb.utils.mkdirhier(dest_dir)
+    for s in sources:
+        src = oe.path.join(src_dir, s)
+        dest = oe.path.join(dest_dir, s)
+        if os.path.isdir(src):
+            oe.path.copytree(src, dest)
+        else:
+            bb.utils.copyfile(src, dest)
+}
+
+remove_clang_related() {
+	sed -i -e '/test_pkt_access/d' -e '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+INHIBIT_PACKAGE_DEBUG_SPLIT="1"
+FILES_${PN} += "/opt/kselftest/"
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-08  6:04 [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest Hongzhi.Song
@ 2018-07-10  4:11 ` Khem Raj
  2018-07-10  4:52   ` Hongzhi, Song
  2018-07-18  7:59   ` Hongzhi, Song
  0 siblings, 2 replies; 12+ messages in thread
From: Khem Raj @ 2018-07-10  4:11 UTC (permalink / raw)
  To: Hongzhi.Song; +Cc: openembeded-devel

This is failing to build here

| DEBUG: Executing shell function do_compile
| NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
-mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
-Wformat-security -Werror=format-security
--sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
--sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
  DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
-C /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
| make: Entering directory
'/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
| Makefile:19: *** recipe commences before first target.  Stop.
| make: Leaving directory
'/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
| ERROR: oe_runmake failed
On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song <hongzhi.song@windriver.com> wrote:
>
> The recipe builds the framework for kernel-selftest. Now, it just
> contains two sets of testcase, bpf and vm. We are appending others
> to the recipe.
>
> It needs some features which will be written into relevant recipe.
> But now, you should add them to conf/local.conf manually.
> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
>
> Signed-off-by: Dengke Du <dengke.du@windriver.com>
> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
> ---
>  .../recipes-kernel/kselftest/kernel-selftest.bb    | 94 ++++++++++++++++++++++
>  1 file changed, 94 insertions(+)
>  create mode 100644 meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>
> diff --git a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> new file mode 100644
> index 0000000..6f20bd3
> --- /dev/null
> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> @@ -0,0 +1,94 @@
> +SUMMARY = "Kernel selftest for Linux"
> +DESCRIPTION = "Kernel selftest for Linux"
> +LICENSE = "GPLv2"
> +
> +# for bpf and vm
> +DEPENDS = " \
> +    elfutils \
> +    libcap \
> +    libcap-ng \
> +    fuse \
> +    util-linux \
> +    rsync-native \
> +"
> +# for vm
> +RDEPENDS_${PN} += "libgcc \
> +                   bash \
> +"
> +
> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
> +
> +inherit linux-kernel-base kernel-arch
> +
> +do_populate_lic[depends] += "virtual/kernel:do_patch"
> +
> +S = "${WORKDIR}/${BP}"
> +
> +# now we just test bpf and vm
> +# we will append other kernel selftest in the future
> +TEST_LIST = "bpf \
> +             vm \
> +"
> +
> +EXTRA_OEMAKE = '\
> +    CROSS_COMPILE=${TARGET_PREFIX} \
> +    ARCH=${ARCH} \
> +    CC="${CC}" \
> +    AR="${AR}" \
> +    LD="${LD}" \
> +'
> +
> +EXTRA_OEMAKE += "\
> +    'DESTDIR=${D}' \
> +"
> +
> +KERNEL_SELFTEST_SRC ?= "Makefile \
> +                        include \
> +                        tools \
> +                        scripts \
> +                        arch \
> +"
> +
> +do_compile() {
> +    for i in ${TEST_LIST}
> +    do
> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
> +    done
> +}
> +
> +do_install() {
> +    for i in ${TEST_LIST}
> +    do
> +        oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/opt/kselftest/${i} install
> +    done
> +
> +    chown root:root  -R ${D}/opt/kselftest
> +}
> +
> +do_configure() {
> +    :
> +}
> +
> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel remove_clang_related"
> +python copy_kselftest_source_from_kernel() {
> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
> +    dest_dir = d.getVar("S")
> +    bb.utils.mkdirhier(dest_dir)
> +    for s in sources:
> +        src = oe.path.join(src_dir, s)
> +        dest = oe.path.join(dest_dir, s)
> +        if os.path.isdir(src):
> +            oe.path.copytree(src, dest)
> +        else:
> +            bb.utils.copyfile(src, dest)
> +}
> +
> +remove_clang_related() {
> +       sed -i -e '/test_pkt_access/d' -e '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
> +}
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
> +FILES_${PN} += "/opt/kselftest/"
> --
> 2.8.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-10  4:11 ` Khem Raj
@ 2018-07-10  4:52   ` Hongzhi, Song
  2018-07-10  7:43     ` Khem Raj
  2018-07-18  7:59   ` Hongzhi, Song
  1 sibling, 1 reply; 12+ messages in thread
From: Hongzhi, Song @ 2018-07-10  4:52 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Could you attach building arguments, conf/local.conf, log.do_compile for me?

The text you pasted is not enough.

-- Hongzhi


On 2018年07月10日 12:11, Khem Raj wrote:
> This is failing to build here
>
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
> CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
> -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
> -Wformat-security -Werror=format-security
> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
> AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>    DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
> -C /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
> | make: Entering directory
> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
> | Makefile:19: *** recipe commences before first target.  Stop.
> | make: Leaving directory
> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
> | ERROR: oe_runmake failed
> On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song <hongzhi.song@windriver.com> wrote:
>> The recipe builds the framework for kernel-selftest. Now, it just
>> contains two sets of testcase, bpf and vm. We are appending others
>> to the recipe.
>>
>> It needs some features which will be written into relevant recipe.
>> But now, you should add them to conf/local.conf manually.
>> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
>>
>> Signed-off-by: Dengke Du <dengke.du@windriver.com>
>> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
>> ---
>>   .../recipes-kernel/kselftest/kernel-selftest.bb    | 94 ++++++++++++++++++++++
>>   1 file changed, 94 insertions(+)
>>   create mode 100644 meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>>
>> diff --git a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>> new file mode 100644
>> index 0000000..6f20bd3
>> --- /dev/null
>> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>> @@ -0,0 +1,94 @@
>> +SUMMARY = "Kernel selftest for Linux"
>> +DESCRIPTION = "Kernel selftest for Linux"
>> +LICENSE = "GPLv2"
>> +
>> +# for bpf and vm
>> +DEPENDS = " \
>> +    elfutils \
>> +    libcap \
>> +    libcap-ng \
>> +    fuse \
>> +    util-linux \
>> +    rsync-native \
>> +"
>> +# for vm
>> +RDEPENDS_${PN} += "libgcc \
>> +                   bash \
>> +"
>> +
>> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
>> +
>> +inherit linux-kernel-base kernel-arch
>> +
>> +do_populate_lic[depends] += "virtual/kernel:do_patch"
>> +
>> +S = "${WORKDIR}/${BP}"
>> +
>> +# now we just test bpf and vm
>> +# we will append other kernel selftest in the future
>> +TEST_LIST = "bpf \
>> +             vm \
>> +"
>> +
>> +EXTRA_OEMAKE = '\
>> +    CROSS_COMPILE=${TARGET_PREFIX} \
>> +    ARCH=${ARCH} \
>> +    CC="${CC}" \
>> +    AR="${AR}" \
>> +    LD="${LD}" \
>> +'
>> +
>> +EXTRA_OEMAKE += "\
>> +    'DESTDIR=${D}' \
>> +"
>> +
>> +KERNEL_SELFTEST_SRC ?= "Makefile \
>> +                        include \
>> +                        tools \
>> +                        scripts \
>> +                        arch \
>> +"
>> +
>> +do_compile() {
>> +    for i in ${TEST_LIST}
>> +    do
>> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
>> +    done
>> +}
>> +
>> +do_install() {
>> +    for i in ${TEST_LIST}
>> +    do
>> +        oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/opt/kselftest/${i} install
>> +    done
>> +
>> +    chown root:root  -R ${D}/opt/kselftest
>> +}
>> +
>> +do_configure() {
>> +    :
>> +}
>> +
>> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel remove_clang_related"
>> +python copy_kselftest_source_from_kernel() {
>> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
>> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
>> +    dest_dir = d.getVar("S")
>> +    bb.utils.mkdirhier(dest_dir)
>> +    for s in sources:
>> +        src = oe.path.join(src_dir, s)
>> +        dest = oe.path.join(dest_dir, s)
>> +        if os.path.isdir(src):
>> +            oe.path.copytree(src, dest)
>> +        else:
>> +            bb.utils.copyfile(src, dest)
>> +}
>> +
>> +remove_clang_related() {
>> +       sed -i -e '/test_pkt_access/d' -e '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
>> +}
>> +
>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>> +
>> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
>> +FILES_${PN} += "/opt/kselftest/"
>> --
>> 2.8.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-10  4:52   ` Hongzhi, Song
@ 2018-07-10  7:43     ` Khem Raj
  2018-07-11  2:50       ` Hongzhi, Song
  2018-07-11 10:41       ` Hongzhi, Song
  0 siblings, 2 replies; 12+ messages in thread
From: Khem Raj @ 2018-07-10  7:43 UTC (permalink / raw)
  To: Hongzhi, Song; +Cc: openembeded-devel

Look at the report I sent to oe Devel earlier it should have link to full
logs

On Mon, Jul 9, 2018 at 10:51 PM Hongzhi, Song <hongzhi.song@windriver.com>
wrote:

> Could you attach building arguments, conf/local.conf, log.do_compile for
> me?
>
> The text you pasted is not enough.
>
> -- Hongzhi
>
>
> On 2018年07月10日 12:11, Khem Raj wrote:
> > This is failing to build here
> >
> > | DEBUG: Executing shell function do_compile
> > | NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
> > CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
> > -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
> > -Wformat-security -Werror=format-security
> >
> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
> > AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
> >
> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
> >
> DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
> > -C
> /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
> > | make: Entering directory
> >
> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
> > | Makefile:19: *** recipe commences before first target.  Stop.
> > | make: Leaving directory
> >
> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
> > | ERROR: oe_runmake failed
> > On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song <hongzhi.song@windriver.com>
> wrote:
> >> The recipe builds the framework for kernel-selftest. Now, it just
> >> contains two sets of testcase, bpf and vm. We are appending others
> >> to the recipe.
> >>
> >> It needs some features which will be written into relevant recipe.
> >> But now, you should add them to conf/local.conf manually.
> >> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
> >>
> >> Signed-off-by: Dengke Du <dengke.du@windriver.com>
> >> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
> >> ---
> >>   .../recipes-kernel/kselftest/kernel-selftest.bb    | 94
> ++++++++++++++++++++++
> >>   1 file changed, 94 insertions(+)
> >>   create mode 100644 meta-oe/recipes-kernel/kselftest/
> kernel-selftest.bb
> >>
> >> diff --git a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> >> new file mode 100644
> >> index 0000000..6f20bd3
> >> --- /dev/null
> >> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> >> @@ -0,0 +1,94 @@
> >> +SUMMARY = "Kernel selftest for Linux"
> >> +DESCRIPTION = "Kernel selftest for Linux"
> >> +LICENSE = "GPLv2"
> >> +
> >> +# for bpf and vm
> >> +DEPENDS = " \
> >> +    elfutils \
> >> +    libcap \
> >> +    libcap-ng \
> >> +    fuse \
> >> +    util-linux \
> >> +    rsync-native \
> >> +"
> >> +# for vm
> >> +RDEPENDS_${PN} += "libgcc \
> >> +                   bash \
> >> +"
> >> +
> >> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
> >> +
> >> +inherit linux-kernel-base kernel-arch
> >> +
> >> +do_populate_lic[depends] += "virtual/kernel:do_patch"
> >> +
> >> +S = "${WORKDIR}/${BP}"
> >> +
> >> +# now we just test bpf and vm
> >> +# we will append other kernel selftest in the future
> >> +TEST_LIST = "bpf \
> >> +             vm \
> >> +"
> >> +
> >> +EXTRA_OEMAKE = '\
> >> +    CROSS_COMPILE=${TARGET_PREFIX} \
> >> +    ARCH=${ARCH} \
> >> +    CC="${CC}" \
> >> +    AR="${AR}" \
> >> +    LD="${LD}" \
> >> +'
> >> +
> >> +EXTRA_OEMAKE += "\
> >> +    'DESTDIR=${D}' \
> >> +"
> >> +
> >> +KERNEL_SELFTEST_SRC ?= "Makefile \
> >> +                        include \
> >> +                        tools \
> >> +                        scripts \
> >> +                        arch \
> >> +"
> >> +
> >> +do_compile() {
> >> +    for i in ${TEST_LIST}
> >> +    do
> >> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
> >> +    done
> >> +}
> >> +
> >> +do_install() {
> >> +    for i in ${TEST_LIST}
> >> +    do
> >> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
> INSTALL_PATH=${D}/opt/kselftest/${i} install
> >> +    done
> >> +
> >> +    chown root:root  -R ${D}/opt/kselftest
> >> +}
> >> +
> >> +do_configure() {
> >> +    :
> >> +}
> >> +
> >> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel
> remove_clang_related"
> >> +python copy_kselftest_source_from_kernel() {
> >> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
> >> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
> >> +    dest_dir = d.getVar("S")
> >> +    bb.utils.mkdirhier(dest_dir)
> >> +    for s in sources:
> >> +        src = oe.path.join(src_dir, s)
> >> +        dest = oe.path.join(dest_dir, s)
> >> +        if os.path.isdir(src):
> >> +            oe.path.copytree(src, dest)
> >> +        else:
> >> +            bb.utils.copyfile(src, dest)
> >> +}
> >> +
> >> +remove_clang_related() {
> >> +       sed -i -e '/test_pkt_access/d' -e '/test_pkt_md_access/d'
> ${S}/tools/testing/selftests/bpf/Makefile
> >> +}
> >> +
> >> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> >> +
> >> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
> >> +FILES_${PN} += "/opt/kselftest/"
> >> --
> >> 2.8.1
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-10  7:43     ` Khem Raj
@ 2018-07-11  2:50       ` Hongzhi, Song
  2018-07-11  3:09         ` Hongzhi, Song
  2018-07-11 10:41       ` Hongzhi, Song
  1 sibling, 1 reply; 12+ messages in thread
From: Hongzhi, Song @ 2018-07-11  2:50 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Is this the report you sent ?

http://lists.openembedded.org/pipermail/openembedded-devel/2018-July/119308.html


Sorry, I don't find accurate link. Could you give me a more clear direction?


-- Hongzhi


On 2018年07月10日 15:43, Khem Raj wrote:
> Look at the report I sent to oe Devel earlier it should have link to 
> full logs
>
> On Mon, Jul 9, 2018 at 10:51 PM Hongzhi, Song 
> <hongzhi.song@windriver.com <mailto:hongzhi.song@windriver.com>> wrote:
>
>     Could you attach building arguments, conf/local.conf,
>     log.do_compile for me?
>
>     The text you pasted is not enough.
>
>     -- Hongzhi
>
>
>     On 2018年07月10日 12:11, Khem Raj wrote:
>     > This is failing to build here
>     >
>     > | DEBUG: Executing shell function do_compile
>     > | NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
>     > CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
>     > -mfpmath=sse -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat
>     > -Wformat-security -Werror=format-security
>     >
>     --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>     > AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
>     >
>     --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>     >
>     DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
>     > -C
>     /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
>     > | make: Entering directory
>     >
>     '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>     > | Makefile:19: *** recipe commences before first target.  Stop.
>     > | make: Leaving directory
>     >
>     '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>     > | ERROR: oe_runmake failed
>     > On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song
>     <hongzhi.song@windriver.com <mailto:hongzhi.song@windriver.com>>
>     wrote:
>     >> The recipe builds the framework for kernel-selftest. Now, it just
>     >> contains two sets of testcase, bpf and vm. We are appending others
>     >> to the recipe.
>     >>
>     >> It needs some features which will be written into relevant recipe.
>     >> But now, you should add them to conf/local.conf manually.
>     >> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
>     >>
>     >> Signed-off-by: Dengke Du <dengke.du@windriver.com
>     <mailto:dengke.du@windriver.com>>
>     >> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com
>     <mailto:hongzhi.song@windriver.com>>
>     >> ---
>     >>   .../recipes-kernel/kselftest/kernel-selftest.bb
>     <http://kernel-selftest.bb>   | 94 ++++++++++++++++++++++
>     >>   1 file changed, 94 insertions(+)
>     >>   create mode 100644
>     meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>     <http://kernel-selftest.bb>
>     >>
>     >> diff --git
>     a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>     <http://kernel-selftest.bb>
>     b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>     <http://kernel-selftest.bb>
>     >> new file mode 100644
>     >> index 0000000..6f20bd3
>     >> --- /dev/null
>     >> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>     <http://kernel-selftest.bb>
>     >> @@ -0,0 +1,94 @@
>     >> +SUMMARY = "Kernel selftest for Linux"
>     >> +DESCRIPTION = "Kernel selftest for Linux"
>     >> +LICENSE = "GPLv2"
>     >> +
>     >> +# for bpf and vm
>     >> +DEPENDS = " \
>     >> +    elfutils \
>     >> +    libcap \
>     >> +    libcap-ng \
>     >> +    fuse \
>     >> +    util-linux \
>     >> +    rsync-native \
>     >> +"
>     >> +# for vm
>     >> +RDEPENDS_${PN} += "libgcc \
>     >> +                   bash \
>     >> +"
>     >> +
>     >> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
>     >> +
>     >> +inherit linux-kernel-base kernel-arch
>     >> +
>     >> +do_populate_lic[depends] += "virtual/kernel:do_patch"
>     >> +
>     >> +S = "${WORKDIR}/${BP}"
>     >> +
>     >> +# now we just test bpf and vm
>     >> +# we will append other kernel selftest in the future
>     >> +TEST_LIST = "bpf \
>     >> +             vm \
>     >> +"
>     >> +
>     >> +EXTRA_OEMAKE = '\
>     >> +    CROSS_COMPILE=${TARGET_PREFIX} \
>     >> +    ARCH=${ARCH} \
>     >> +    CC="${CC}" \
>     >> +    AR="${AR}" \
>     >> +    LD="${LD}" \
>     >> +'
>     >> +
>     >> +EXTRA_OEMAKE += "\
>     >> +    'DESTDIR=${D}' \
>     >> +"
>     >> +
>     >> +KERNEL_SELFTEST_SRC ?= "Makefile \
>     >> +                        include \
>     >> +                        tools \
>     >> +                        scripts \
>     >> +                        arch \
>     >> +"
>     >> +
>     >> +do_compile() {
>     >> +    for i in ${TEST_LIST}
>     >> +    do
>     >> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
>     >> +    done
>     >> +}
>     >> +
>     >> +do_install() {
>     >> +    for i in ${TEST_LIST}
>     >> +    do
>     >> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
>     INSTALL_PATH=${D}/opt/kselftest/${i} install
>     >> +    done
>     >> +
>     >> +    chown root:root  -R ${D}/opt/kselftest
>     >> +}
>     >> +
>     >> +do_configure() {
>     >> +    :
>     >> +}
>     >> +
>     >> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel
>     remove_clang_related"
>     >> +python copy_kselftest_source_from_kernel() {
>     >> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
>     >> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
>     >> +    dest_dir = d.getVar("S")
>     >> +    bb.utils.mkdirhier(dest_dir)
>     >> +    for s in sources:
>     >> +        src = oe.path.join(src_dir, s)
>     >> +        dest = oe.path.join(dest_dir, s)
>     >> +        if os.path.isdir(src):
>     >> +            oe.path.copytree(src, dest)
>     >> +        else:
>     >> +            bb.utils.copyfile(src, dest)
>     >> +}
>     >> +
>     >> +remove_clang_related() {
>     >> +       sed -i -e '/test_pkt_access/d' -e
>     '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
>     >> +}
>     >> +
>     >> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>     >> +
>     >> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
>     >> +FILES_${PN} += "/opt/kselftest/"
>     >> --
>     >> 2.8.1
>     >>
>     >> --
>     >> _______________________________________________
>     >> Openembedded-devel mailing list
>     >> Openembedded-devel@lists.openembedded.org
>     <mailto:Openembedded-devel@lists.openembedded.org>
>     >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-11  2:50       ` Hongzhi, Song
@ 2018-07-11  3:09         ` Hongzhi, Song
  0 siblings, 0 replies; 12+ messages in thread
From: Hongzhi, Song @ 2018-07-11  3:09 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Please ignore this.


On 2018年07月11日 10:50, Hongzhi, Song wrote:
> Is this the report you sent ?
>
> http://lists.openembedded.org/pipermail/openembedded-devel/2018-July/119308.html 
>
>
>
> Sorry, I don't find accurate link. Could you give me a more clear 
> direction?
>
>
> -- Hongzhi
>
>
> On 2018年07月10日 15:43, Khem Raj wrote:
>> Look at the report I sent to oe Devel earlier it should have link to 
>> full logs
>>
>> On Mon, Jul 9, 2018 at 10:51 PM Hongzhi, Song 
>> <hongzhi.song@windriver.com <mailto:hongzhi.song@windriver.com>> wrote:
>>
>>     Could you attach building arguments, conf/local.conf,
>>     log.do_compile for me?
>>
>>     The text you pasted is not enough.
>>
>>     -- Hongzhi
>>
>>
>>     On 2018年07月10日 12:11, Khem Raj wrote:
>>     > This is failing to build here
>>     >
>>     > | DEBUG: Executing shell function do_compile
>>     > | NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
>>     > CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
>>     > -mfpmath=sse -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat
>>     > -Wformat-security -Werror=format-security
>>     >
>> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>>     > AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
>>     >
>> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>>     >
>> DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
>>     > -C
>> /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
>>     > | make: Entering directory
>>     >
>> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>>     > | Makefile:19: *** recipe commences before first target.  Stop.
>>     > | make: Leaving directory
>>     >
>> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>>     > | ERROR: oe_runmake failed
>>     > On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song
>>     <hongzhi.song@windriver.com <mailto:hongzhi.song@windriver.com>>
>>     wrote:
>>     >> The recipe builds the framework for kernel-selftest. Now, it just
>>     >> contains two sets of testcase, bpf and vm. We are appending 
>> others
>>     >> to the recipe.
>>     >>
>>     >> It needs some features which will be written into relevant 
>> recipe.
>>     >> But now, you should add them to conf/local.conf manually.
>>     >> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
>>     >>
>>     >> Signed-off-by: Dengke Du <dengke.du@windriver.com
>>     <mailto:dengke.du@windriver.com>>
>>     >> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com
>>     <mailto:hongzhi.song@windriver.com>>
>>     >> ---
>>     >>   .../recipes-kernel/kselftest/kernel-selftest.bb
>>     <http://kernel-selftest.bb>   | 94 ++++++++++++++++++++++
>>     >>   1 file changed, 94 insertions(+)
>>     >>   create mode 100644
>>     meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>>     <http://kernel-selftest.bb>
>>     >>
>>     >> diff --git
>>     a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>>     <http://kernel-selftest.bb>
>>     b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>>     <http://kernel-selftest.bb>
>>     >> new file mode 100644
>>     >> index 0000000..6f20bd3
>>     >> --- /dev/null
>>     >> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>>     <http://kernel-selftest.bb>
>>     >> @@ -0,0 +1,94 @@
>>     >> +SUMMARY = "Kernel selftest for Linux"
>>     >> +DESCRIPTION = "Kernel selftest for Linux"
>>     >> +LICENSE = "GPLv2"
>>     >> +
>>     >> +# for bpf and vm
>>     >> +DEPENDS = " \
>>     >> +    elfutils \
>>     >> +    libcap \
>>     >> +    libcap-ng \
>>     >> +    fuse \
>>     >> +    util-linux \
>>     >> +    rsync-native \
>>     >> +"
>>     >> +# for vm
>>     >> +RDEPENDS_${PN} += "libgcc \
>>     >> +                   bash \
>>     >> +"
>>     >> +
>>     >> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
>>     >> +
>>     >> +inherit linux-kernel-base kernel-arch
>>     >> +
>>     >> +do_populate_lic[depends] += "virtual/kernel:do_patch"
>>     >> +
>>     >> +S = "${WORKDIR}/${BP}"
>>     >> +
>>     >> +# now we just test bpf and vm
>>     >> +# we will append other kernel selftest in the future
>>     >> +TEST_LIST = "bpf \
>>     >> +             vm \
>>     >> +"
>>     >> +
>>     >> +EXTRA_OEMAKE = '\
>>     >> +    CROSS_COMPILE=${TARGET_PREFIX} \
>>     >> +    ARCH=${ARCH} \
>>     >> +    CC="${CC}" \
>>     >> +    AR="${AR}" \
>>     >> +    LD="${LD}" \
>>     >> +'
>>     >> +
>>     >> +EXTRA_OEMAKE += "\
>>     >> +    'DESTDIR=${D}' \
>>     >> +"
>>     >> +
>>     >> +KERNEL_SELFTEST_SRC ?= "Makefile \
>>     >> +                        include \
>>     >> +                        tools \
>>     >> +                        scripts \
>>     >> +                        arch \
>>     >> +"
>>     >> +
>>     >> +do_compile() {
>>     >> +    for i in ${TEST_LIST}
>>     >> +    do
>>     >> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
>>     >> +    done
>>     >> +}
>>     >> +
>>     >> +do_install() {
>>     >> +    for i in ${TEST_LIST}
>>     >> +    do
>>     >> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
>>     INSTALL_PATH=${D}/opt/kselftest/${i} install
>>     >> +    done
>>     >> +
>>     >> +    chown root:root  -R ${D}/opt/kselftest
>>     >> +}
>>     >> +
>>     >> +do_configure() {
>>     >> +    :
>>     >> +}
>>     >> +
>>     >> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel
>>     remove_clang_related"
>>     >> +python copy_kselftest_source_from_kernel() {
>>     >> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
>>     >> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
>>     >> +    dest_dir = d.getVar("S")
>>     >> +    bb.utils.mkdirhier(dest_dir)
>>     >> +    for s in sources:
>>     >> +        src = oe.path.join(src_dir, s)
>>     >> +        dest = oe.path.join(dest_dir, s)
>>     >> +        if os.path.isdir(src):
>>     >> +            oe.path.copytree(src, dest)
>>     >> +        else:
>>     >> +            bb.utils.copyfile(src, dest)
>>     >> +}
>>     >> +
>>     >> +remove_clang_related() {
>>     >> +       sed -i -e '/test_pkt_access/d' -e
>>     '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
>>     >> +}
>>     >> +
>>     >> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>     >> +
>>     >> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
>>     >> +FILES_${PN} += "/opt/kselftest/"
>>     >> --
>>     >> 2.8.1
>>     >>
>>     >> --
>>     >> _______________________________________________
>>     >> Openembedded-devel mailing list
>>     >> Openembedded-devel@lists.openembedded.org
>>     <mailto:Openembedded-devel@lists.openembedded.org>
>>     >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-10  7:43     ` Khem Raj
  2018-07-11  2:50       ` Hongzhi, Song
@ 2018-07-11 10:41       ` Hongzhi, Song
  2018-07-11 19:59         ` Khem Raj
  1 sibling, 1 reply; 12+ messages in thread
From: Hongzhi, Song @ 2018-07-11 10:41 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Sorry, I didn't reproduce the problem by appending your auto.conf to

my local.conf. It just prompted some error because of using musl-lib

instead of the error about Makefile your encountered.


Then I commented off the statement of "TCLIBC_qemux86 = "musl"" and

rebuild the image, it passed.


1. What else can I do to reproduce your case?

2. What is "bec" in your cross-compiler?

     How can I get it?

3. Could the meta-oe accept it with only glibc support in the bb file.

     We can add the support with musl in the future.


--Hongzhi



On 2018年07月10日 15:43, Khem Raj wrote:
> Look at the report I sent to oe Devel earlier it should have link to 
> full logs
>
> On Mon, Jul 9, 2018 at 10:51 PM Hongzhi, Song 
> <hongzhi.song@windriver.com <mailto:hongzhi.song@windriver.com>> wrote:
>
>     Could you attach building arguments, conf/local.conf,
>     log.do_compile for me?
>
>     The text you pasted is not enough.
>
>     -- Hongzhi
>
>
>     On 2018年07月10日 12:11, Khem Raj wrote:
>     > This is failing to build here
>     >
>     > | DEBUG: Executing shell function do_compile
>     > | NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
>     > CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
>     > -mfpmath=sse -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat
>     > -Wformat-security -Werror=format-security
>     >
>     --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>     > AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
>     >
>     --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>     >
>     DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
>     > -C
>     /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
>     > | make: Entering directory
>     >
>     '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>     > | Makefile:19: *** recipe commences before first target.  Stop.
>     > | make: Leaving directory
>     >
>     '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>     > | ERROR: oe_runmake failed
>     > On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song
>     <hongzhi.song@windriver.com <mailto:hongzhi.song@windriver.com>>
>     wrote:
>     >> The recipe builds the framework for kernel-selftest. Now, it just
>     >> contains two sets of testcase, bpf and vm. We are appending others
>     >> to the recipe.
>     >>
>     >> It needs some features which will be written into relevant recipe.
>     >> But now, you should add them to conf/local.conf manually.
>     >> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
>     >>
>     >> Signed-off-by: Dengke Du <dengke.du@windriver.com
>     <mailto:dengke.du@windriver.com>>
>     >> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com
>     <mailto:hongzhi.song@windriver.com>>
>     >> ---
>     >>   .../recipes-kernel/kselftest/kernel-selftest.bb
>     <http://kernel-selftest.bb>   | 94 ++++++++++++++++++++++
>     >>   1 file changed, 94 insertions(+)
>     >>   create mode 100644
>     meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>     <http://kernel-selftest.bb>
>     >>
>     >> diff --git
>     a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>     <http://kernel-selftest.bb>
>     b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>     <http://kernel-selftest.bb>
>     >> new file mode 100644
>     >> index 0000000..6f20bd3
>     >> --- /dev/null
>     >> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>     <http://kernel-selftest.bb>
>     >> @@ -0,0 +1,94 @@
>     >> +SUMMARY = "Kernel selftest for Linux"
>     >> +DESCRIPTION = "Kernel selftest for Linux"
>     >> +LICENSE = "GPLv2"
>     >> +
>     >> +# for bpf and vm
>     >> +DEPENDS = " \
>     >> +    elfutils \
>     >> +    libcap \
>     >> +    libcap-ng \
>     >> +    fuse \
>     >> +    util-linux \
>     >> +    rsync-native \
>     >> +"
>     >> +# for vm
>     >> +RDEPENDS_${PN} += "libgcc \
>     >> +                   bash \
>     >> +"
>     >> +
>     >> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
>     >> +
>     >> +inherit linux-kernel-base kernel-arch
>     >> +
>     >> +do_populate_lic[depends] += "virtual/kernel:do_patch"
>     >> +
>     >> +S = "${WORKDIR}/${BP}"
>     >> +
>     >> +# now we just test bpf and vm
>     >> +# we will append other kernel selftest in the future
>     >> +TEST_LIST = "bpf \
>     >> +             vm \
>     >> +"
>     >> +
>     >> +EXTRA_OEMAKE = '\
>     >> +    CROSS_COMPILE=${TARGET_PREFIX} \
>     >> +    ARCH=${ARCH} \
>     >> +    CC="${CC}" \
>     >> +    AR="${AR}" \
>     >> +    LD="${LD}" \
>     >> +'
>     >> +
>     >> +EXTRA_OEMAKE += "\
>     >> +    'DESTDIR=${D}' \
>     >> +"
>     >> +
>     >> +KERNEL_SELFTEST_SRC ?= "Makefile \
>     >> +                        include \
>     >> +                        tools \
>     >> +                        scripts \
>     >> +                        arch \
>     >> +"
>     >> +
>     >> +do_compile() {
>     >> +    for i in ${TEST_LIST}
>     >> +    do
>     >> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
>     >> +    done
>     >> +}
>     >> +
>     >> +do_install() {
>     >> +    for i in ${TEST_LIST}
>     >> +    do
>     >> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
>     INSTALL_PATH=${D}/opt/kselftest/${i} install
>     >> +    done
>     >> +
>     >> +    chown root:root  -R ${D}/opt/kselftest
>     >> +}
>     >> +
>     >> +do_configure() {
>     >> +    :
>     >> +}
>     >> +
>     >> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel
>     remove_clang_related"
>     >> +python copy_kselftest_source_from_kernel() {
>     >> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
>     >> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
>     >> +    dest_dir = d.getVar("S")
>     >> +    bb.utils.mkdirhier(dest_dir)
>     >> +    for s in sources:
>     >> +        src = oe.path.join(src_dir, s)
>     >> +        dest = oe.path.join(dest_dir, s)
>     >> +        if os.path.isdir(src):
>     >> +            oe.path.copytree(src, dest)
>     >> +        else:
>     >> +            bb.utils.copyfile(src, dest)
>     >> +}
>     >> +
>     >> +remove_clang_related() {
>     >> +       sed -i -e '/test_pkt_access/d' -e
>     '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
>     >> +}
>     >> +
>     >> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>     >> +
>     >> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
>     >> +FILES_${PN} += "/opt/kselftest/"
>     >> --
>     >> 2.8.1
>     >>
>     >> --
>     >> _______________________________________________
>     >> Openembedded-devel mailing list
>     >> Openembedded-devel@lists.openembedded.org
>     <mailto:Openembedded-devel@lists.openembedded.org>
>     >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-11 10:41       ` Hongzhi, Song
@ 2018-07-11 19:59         ` Khem Raj
  0 siblings, 0 replies; 12+ messages in thread
From: Khem Raj @ 2018-07-11 19:59 UTC (permalink / raw)
  To: Hongzhi.Song; +Cc: openembeded-devel

bec is my distro config its not a whole different than oe-core nodistro.
The issue is not related to libc, since its happening on glibc or musl alike.
It could be related to parallel compile race, you might want to explore it from
that angle.

On Wed, Jul 11, 2018 at 4:40 AM Hongzhi, Song
<hongzhi.song@windriver.com> wrote:
>
> Sorry, I didn't reproduce the problem by appending your auto.conf to
>
> my local.conf. It just prompted some error because of using musl-lib
>
> instead of the error about Makefile your encountered.
>
>
> Then I commented off the statement of "TCLIBC_qemux86 = "musl"" and
>
> rebuild the image, it passed.
>
>
> 1. What else can I do to reproduce your case?
>
> 2. What is "bec" in your cross-compiler?
>
>     How can I get it?
>
> 3. Could the meta-oe accept it with only glibc support in the bb file.
>
>     We can add the support with musl in the future.
>
>
> --Hongzhi
>
>
>
> On 2018年07月10日 15:43, Khem Raj wrote:
>
> Look at the report I sent to oe Devel earlier it should have link to full logs
>
> On Mon, Jul 9, 2018 at 10:51 PM Hongzhi, Song <hongzhi.song@windriver.com> wrote:
>>
>> Could you attach building arguments, conf/local.conf, log.do_compile for me?
>>
>> The text you pasted is not enough.
>>
>> -- Hongzhi
>>
>>
>> On 2018年07月10日 12:11, Khem Raj wrote:
>> > This is failing to build here
>> >
>> > | DEBUG: Executing shell function do_compile
>> > | NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
>> > CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
>> > -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
>> > -Wformat-security -Werror=format-security
>> > --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>> > AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
>> > --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>> >    DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
>> > -C /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
>> > | make: Entering directory
>> > '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>> > | Makefile:19: *** recipe commences before first target.  Stop.
>> > | make: Leaving directory
>> > '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>> > | ERROR: oe_runmake failed
>> > On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song <hongzhi.song@windriver.com> wrote:
>> >> The recipe builds the framework for kernel-selftest. Now, it just
>> >> contains two sets of testcase, bpf and vm. We are appending others
>> >> to the recipe.
>> >>
>> >> It needs some features which will be written into relevant recipe.
>> >> But now, you should add them to conf/local.conf manually.
>> >> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
>> >>
>> >> Signed-off-by: Dengke Du <dengke.du@windriver.com>
>> >> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
>> >> ---
>> >>   .../recipes-kernel/kselftest/kernel-selftest.bb    | 94 ++++++++++++++++++++++
>> >>   1 file changed, 94 insertions(+)
>> >>   create mode 100644 meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>> >>
>> >> diff --git a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>> >> new file mode 100644
>> >> index 0000000..6f20bd3
>> >> --- /dev/null
>> >> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>> >> @@ -0,0 +1,94 @@
>> >> +SUMMARY = "Kernel selftest for Linux"
>> >> +DESCRIPTION = "Kernel selftest for Linux"
>> >> +LICENSE = "GPLv2"
>> >> +
>> >> +# for bpf and vm
>> >> +DEPENDS = " \
>> >> +    elfutils \
>> >> +    libcap \
>> >> +    libcap-ng \
>> >> +    fuse \
>> >> +    util-linux \
>> >> +    rsync-native \
>> >> +"
>> >> +# for vm
>> >> +RDEPENDS_${PN} += "libgcc \
>> >> +                   bash \
>> >> +"
>> >> +
>> >> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
>> >> +
>> >> +inherit linux-kernel-base kernel-arch
>> >> +
>> >> +do_populate_lic[depends] += "virtual/kernel:do_patch"
>> >> +
>> >> +S = "${WORKDIR}/${BP}"
>> >> +
>> >> +# now we just test bpf and vm
>> >> +# we will append other kernel selftest in the future
>> >> +TEST_LIST = "bpf \
>> >> +             vm \
>> >> +"
>> >> +
>> >> +EXTRA_OEMAKE = '\
>> >> +    CROSS_COMPILE=${TARGET_PREFIX} \
>> >> +    ARCH=${ARCH} \
>> >> +    CC="${CC}" \
>> >> +    AR="${AR}" \
>> >> +    LD="${LD}" \
>> >> +'
>> >> +
>> >> +EXTRA_OEMAKE += "\
>> >> +    'DESTDIR=${D}' \
>> >> +"
>> >> +
>> >> +KERNEL_SELFTEST_SRC ?= "Makefile \
>> >> +                        include \
>> >> +                        tools \
>> >> +                        scripts \
>> >> +                        arch \
>> >> +"
>> >> +
>> >> +do_compile() {
>> >> +    for i in ${TEST_LIST}
>> >> +    do
>> >> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
>> >> +    done
>> >> +}
>> >> +
>> >> +do_install() {
>> >> +    for i in ${TEST_LIST}
>> >> +    do
>> >> +        oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/opt/kselftest/${i} install
>> >> +    done
>> >> +
>> >> +    chown root:root  -R ${D}/opt/kselftest
>> >> +}
>> >> +
>> >> +do_configure() {
>> >> +    :
>> >> +}
>> >> +
>> >> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel remove_clang_related"
>> >> +python copy_kselftest_source_from_kernel() {
>> >> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
>> >> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
>> >> +    dest_dir = d.getVar("S")
>> >> +    bb.utils.mkdirhier(dest_dir)
>> >> +    for s in sources:
>> >> +        src = oe.path.join(src_dir, s)
>> >> +        dest = oe.path.join(dest_dir, s)
>> >> +        if os.path.isdir(src):
>> >> +            oe.path.copytree(src, dest)
>> >> +        else:
>> >> +            bb.utils.copyfile(src, dest)
>> >> +}
>> >> +
>> >> +remove_clang_related() {
>> >> +       sed -i -e '/test_pkt_access/d' -e '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
>> >> +}
>> >> +
>> >> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>> >> +
>> >> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
>> >> +FILES_${PN} += "/opt/kselftest/"
>> >> --
>> >> 2.8.1
>> >>
>> >> --
>> >> _______________________________________________
>> >> Openembedded-devel mailing list
>> >> Openembedded-devel@lists.openembedded.org
>> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-10  4:11 ` Khem Raj
  2018-07-10  4:52   ` Hongzhi, Song
@ 2018-07-18  7:59   ` Hongzhi, Song
  2018-07-19 16:21     ` Khem Raj
  1 sibling, 1 reply; 12+ messages in thread
From: Hongzhi, Song @ 2018-07-18  7:59 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Hi Raj,

I have try my best to reproduce your error, but I failed.

Could you help me to do the build in docker and share the dock image
with us. Or maybe you have a better method.


Thanks,

Hongzhi


On 2018年07月10日 12:11, Khem Raj wrote:
> This is failing to build here
>
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
> CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
> -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
> -Wformat-security -Werror=format-security
> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
> AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>    DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
> -C /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
> | make: Entering directory
> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
> | Makefile:19: *** recipe commences before first target.  Stop.
> | make: Leaving directory
> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
> | ERROR: oe_runmake failed
> On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song <hongzhi.song@windriver.com> wrote:
>> The recipe builds the framework for kernel-selftest. Now, it just
>> contains two sets of testcase, bpf and vm. We are appending others
>> to the recipe.
>>
>> It needs some features which will be written into relevant recipe.
>> But now, you should add them to conf/local.conf manually.
>> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
>>
>> Signed-off-by: Dengke Du <dengke.du@windriver.com>
>> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
>> ---
>>   .../recipes-kernel/kselftest/kernel-selftest.bb    | 94 ++++++++++++++++++++++
>>   1 file changed, 94 insertions(+)
>>   create mode 100644 meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>>
>> diff --git a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>> new file mode 100644
>> index 0000000..6f20bd3
>> --- /dev/null
>> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>> @@ -0,0 +1,94 @@
>> +SUMMARY = "Kernel selftest for Linux"
>> +DESCRIPTION = "Kernel selftest for Linux"
>> +LICENSE = "GPLv2"
>> +
>> +# for bpf and vm
>> +DEPENDS = " \
>> +    elfutils \
>> +    libcap \
>> +    libcap-ng \
>> +    fuse \
>> +    util-linux \
>> +    rsync-native \
>> +"
>> +# for vm
>> +RDEPENDS_${PN} += "libgcc \
>> +                   bash \
>> +"
>> +
>> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
>> +
>> +inherit linux-kernel-base kernel-arch
>> +
>> +do_populate_lic[depends] += "virtual/kernel:do_patch"
>> +
>> +S = "${WORKDIR}/${BP}"
>> +
>> +# now we just test bpf and vm
>> +# we will append other kernel selftest in the future
>> +TEST_LIST = "bpf \
>> +             vm \
>> +"
>> +
>> +EXTRA_OEMAKE = '\
>> +    CROSS_COMPILE=${TARGET_PREFIX} \
>> +    ARCH=${ARCH} \
>> +    CC="${CC}" \
>> +    AR="${AR}" \
>> +    LD="${LD}" \
>> +'
>> +
>> +EXTRA_OEMAKE += "\
>> +    'DESTDIR=${D}' \
>> +"
>> +
>> +KERNEL_SELFTEST_SRC ?= "Makefile \
>> +                        include \
>> +                        tools \
>> +                        scripts \
>> +                        arch \
>> +"
>> +
>> +do_compile() {
>> +    for i in ${TEST_LIST}
>> +    do
>> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
>> +    done
>> +}
>> +
>> +do_install() {
>> +    for i in ${TEST_LIST}
>> +    do
>> +        oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/opt/kselftest/${i} install
>> +    done
>> +
>> +    chown root:root  -R ${D}/opt/kselftest
>> +}
>> +
>> +do_configure() {
>> +    :
>> +}
>> +
>> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel remove_clang_related"
>> +python copy_kselftest_source_from_kernel() {
>> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
>> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
>> +    dest_dir = d.getVar("S")
>> +    bb.utils.mkdirhier(dest_dir)
>> +    for s in sources:
>> +        src = oe.path.join(src_dir, s)
>> +        dest = oe.path.join(dest_dir, s)
>> +        if os.path.isdir(src):
>> +            oe.path.copytree(src, dest)
>> +        else:
>> +            bb.utils.copyfile(src, dest)
>> +}
>> +
>> +remove_clang_related() {
>> +       sed -i -e '/test_pkt_access/d' -e '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
>> +}
>> +
>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>> +
>> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
>> +FILES_${PN} += "/opt/kselftest/"
>> --
>> 2.8.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-18  7:59   ` Hongzhi, Song
@ 2018-07-19 16:21     ` Khem Raj
  2018-07-20  6:07       ` Hongzhi, Song
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2018-07-19 16:21 UTC (permalink / raw)
  To: Hongzhi.Song; +Cc: openembeded-devel

can you try with ptest enabled in DISTRO_FEATURES
On Wed, Jul 18, 2018 at 12:57 AM Hongzhi, Song
<hongzhi.song@windriver.com> wrote:
>
> Hi Raj,
>
> I have try my best to reproduce your error, but I failed.
>
> Could you help me to do the build in docker and share the dock image
> with us. Or maybe you have a better method.
>
>
> Thanks,
>
> Hongzhi
>
>
> On 2018年07月10日 12:11, Khem Raj wrote:
> > This is failing to build here
> >
> > | DEBUG: Executing shell function do_compile
> > | NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
> > CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
> > -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
> > -Wformat-security -Werror=format-security
> > --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
> > AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
> > --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
> >    DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
> > -C /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
> > | make: Entering directory
> > '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
> > | Makefile:19: *** recipe commences before first target.  Stop.
> > | make: Leaving directory
> > '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
> > | ERROR: oe_runmake failed
> > On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song <hongzhi.song@windriver.com> wrote:
> >> The recipe builds the framework for kernel-selftest. Now, it just
> >> contains two sets of testcase, bpf and vm. We are appending others
> >> to the recipe.
> >>
> >> It needs some features which will be written into relevant recipe.
> >> But now, you should add them to conf/local.conf manually.
> >> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
> >>
> >> Signed-off-by: Dengke Du <dengke.du@windriver.com>
> >> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
> >> ---
> >>   .../recipes-kernel/kselftest/kernel-selftest.bb    | 94 ++++++++++++++++++++++
> >>   1 file changed, 94 insertions(+)
> >>   create mode 100644 meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> >>
> >> diff --git a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> >> new file mode 100644
> >> index 0000000..6f20bd3
> >> --- /dev/null
> >> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> >> @@ -0,0 +1,94 @@
> >> +SUMMARY = "Kernel selftest for Linux"
> >> +DESCRIPTION = "Kernel selftest for Linux"
> >> +LICENSE = "GPLv2"
> >> +
> >> +# for bpf and vm
> >> +DEPENDS = " \
> >> +    elfutils \
> >> +    libcap \
> >> +    libcap-ng \
> >> +    fuse \
> >> +    util-linux \
> >> +    rsync-native \
> >> +"
> >> +# for vm
> >> +RDEPENDS_${PN} += "libgcc \
> >> +                   bash \
> >> +"
> >> +
> >> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
> >> +
> >> +inherit linux-kernel-base kernel-arch
> >> +
> >> +do_populate_lic[depends] += "virtual/kernel:do_patch"
> >> +
> >> +S = "${WORKDIR}/${BP}"
> >> +
> >> +# now we just test bpf and vm
> >> +# we will append other kernel selftest in the future
> >> +TEST_LIST = "bpf \
> >> +             vm \
> >> +"
> >> +
> >> +EXTRA_OEMAKE = '\
> >> +    CROSS_COMPILE=${TARGET_PREFIX} \
> >> +    ARCH=${ARCH} \
> >> +    CC="${CC}" \
> >> +    AR="${AR}" \
> >> +    LD="${LD}" \
> >> +'
> >> +
> >> +EXTRA_OEMAKE += "\
> >> +    'DESTDIR=${D}' \
> >> +"
> >> +
> >> +KERNEL_SELFTEST_SRC ?= "Makefile \
> >> +                        include \
> >> +                        tools \
> >> +                        scripts \
> >> +                        arch \
> >> +"
> >> +
> >> +do_compile() {
> >> +    for i in ${TEST_LIST}
> >> +    do
> >> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
> >> +    done
> >> +}
> >> +
> >> +do_install() {
> >> +    for i in ${TEST_LIST}
> >> +    do
> >> +        oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/opt/kselftest/${i} install
> >> +    done
> >> +
> >> +    chown root:root  -R ${D}/opt/kselftest
> >> +}
> >> +
> >> +do_configure() {
> >> +    :
> >> +}
> >> +
> >> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel remove_clang_related"
> >> +python copy_kselftest_source_from_kernel() {
> >> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
> >> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
> >> +    dest_dir = d.getVar("S")
> >> +    bb.utils.mkdirhier(dest_dir)
> >> +    for s in sources:
> >> +        src = oe.path.join(src_dir, s)
> >> +        dest = oe.path.join(dest_dir, s)
> >> +        if os.path.isdir(src):
> >> +            oe.path.copytree(src, dest)
> >> +        else:
> >> +            bb.utils.copyfile(src, dest)
> >> +}
> >> +
> >> +remove_clang_related() {
> >> +       sed -i -e '/test_pkt_access/d' -e '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
> >> +}
> >> +
> >> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> >> +
> >> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
> >> +FILES_${PN} += "/opt/kselftest/"
> >> --
> >> 2.8.1
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-devel mailing list
> >> Openembedded-devel@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-19 16:21     ` Khem Raj
@ 2018-07-20  6:07       ` Hongzhi, Song
  2018-07-22  7:05         ` Khem Raj
  0 siblings, 1 reply; 12+ messages in thread
From: Hongzhi, Song @ 2018-07-20  6:07 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Hi Raj,

Even if enable ptest, the error can't be reproduced. In fact, the recipe

doesn't inherit ptest, it just compiles programs and output them, which

will be used by other oe modules(oe-selftest or ptest), to a custom 
directory.


I know that you are busy with your job. And my request will add your 
workload

, which is not my intention. But it is really hard for me to reproduce 
your error.~_~


So I sincerely hope that could I get your whole environment, including 
your metadata

and other files? I think docker would be an easy way.


Could you help me again? If I get your image, I think I will be 
confident to fix the error.


--Hongzhi


On 2018年07月20日 00:21, Khem Raj wrote:
> can you try with ptest enabled in DISTRO_FEATURES
> On Wed, Jul 18, 2018 at 12:57 AM Hongzhi, Song
> <hongzhi.song@windriver.com> wrote:
>> Hi Raj,
>>
>> I have try my best to reproduce your error, but I failed.
>>
>> Could you help me to do the build in docker and share the dock image
>> with us. Or maybe you have a better method.
>>
>>
>> Thanks,
>>
>> Hongzhi
>>
>>
>> On 2018年07月10日 12:11, Khem Raj wrote:
>>> This is failing to build here
>>>
>>> | DEBUG: Executing shell function do_compile
>>> | NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
>>> CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
>>> -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
>>> -Wformat-security -Werror=format-security
>>> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>>> AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
>>> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
>>>     DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
>>> -C /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
>>> | make: Entering directory
>>> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>>> | Makefile:19: *** recipe commences before first target.  Stop.
>>> | make: Leaving directory
>>> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
>>> | ERROR: oe_runmake failed
>>> On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song <hongzhi.song@windriver.com> wrote:
>>>> The recipe builds the framework for kernel-selftest. Now, it just
>>>> contains two sets of testcase, bpf and vm. We are appending others
>>>> to the recipe.
>>>>
>>>> It needs some features which will be written into relevant recipe.
>>>> But now, you should add them to conf/local.conf manually.
>>>> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
>>>>
>>>> Signed-off-by: Dengke Du <dengke.du@windriver.com>
>>>> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
>>>> ---
>>>>    .../recipes-kernel/kselftest/kernel-selftest.bb    | 94 ++++++++++++++++++++++
>>>>    1 file changed, 94 insertions(+)
>>>>    create mode 100644 meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>>>>
>>>> diff --git a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>>>> new file mode 100644
>>>> index 0000000..6f20bd3
>>>> --- /dev/null
>>>> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
>>>> @@ -0,0 +1,94 @@
>>>> +SUMMARY = "Kernel selftest for Linux"
>>>> +DESCRIPTION = "Kernel selftest for Linux"
>>>> +LICENSE = "GPLv2"
>>>> +
>>>> +# for bpf and vm
>>>> +DEPENDS = " \
>>>> +    elfutils \
>>>> +    libcap \
>>>> +    libcap-ng \
>>>> +    fuse \
>>>> +    util-linux \
>>>> +    rsync-native \
>>>> +"
>>>> +# for vm
>>>> +RDEPENDS_${PN} += "libgcc \
>>>> +                   bash \
>>>> +"
>>>> +
>>>> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
>>>> +
>>>> +inherit linux-kernel-base kernel-arch
>>>> +
>>>> +do_populate_lic[depends] += "virtual/kernel:do_patch"
>>>> +
>>>> +S = "${WORKDIR}/${BP}"
>>>> +
>>>> +# now we just test bpf and vm
>>>> +# we will append other kernel selftest in the future
>>>> +TEST_LIST = "bpf \
>>>> +             vm \
>>>> +"
>>>> +
>>>> +EXTRA_OEMAKE = '\
>>>> +    CROSS_COMPILE=${TARGET_PREFIX} \
>>>> +    ARCH=${ARCH} \
>>>> +    CC="${CC}" \
>>>> +    AR="${AR}" \
>>>> +    LD="${LD}" \
>>>> +'
>>>> +
>>>> +EXTRA_OEMAKE += "\
>>>> +    'DESTDIR=${D}' \
>>>> +"
>>>> +
>>>> +KERNEL_SELFTEST_SRC ?= "Makefile \
>>>> +                        include \
>>>> +                        tools \
>>>> +                        scripts \
>>>> +                        arch \
>>>> +"
>>>> +
>>>> +do_compile() {
>>>> +    for i in ${TEST_LIST}
>>>> +    do
>>>> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
>>>> +    done
>>>> +}
>>>> +
>>>> +do_install() {
>>>> +    for i in ${TEST_LIST}
>>>> +    do
>>>> +        oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/opt/kselftest/${i} install
>>>> +    done
>>>> +
>>>> +    chown root:root  -R ${D}/opt/kselftest
>>>> +}
>>>> +
>>>> +do_configure() {
>>>> +    :
>>>> +}
>>>> +
>>>> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel remove_clang_related"
>>>> +python copy_kselftest_source_from_kernel() {
>>>> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
>>>> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
>>>> +    dest_dir = d.getVar("S")
>>>> +    bb.utils.mkdirhier(dest_dir)
>>>> +    for s in sources:
>>>> +        src = oe.path.join(src_dir, s)
>>>> +        dest = oe.path.join(dest_dir, s)
>>>> +        if os.path.isdir(src):
>>>> +            oe.path.copytree(src, dest)
>>>> +        else:
>>>> +            bb.utils.copyfile(src, dest)
>>>> +}
>>>> +
>>>> +remove_clang_related() {
>>>> +       sed -i -e '/test_pkt_access/d' -e '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
>>>> +}
>>>> +
>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>> +
>>>> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
>>>> +FILES_${PN} += "/opt/kselftest/"
>>>> --
>>>> 2.8.1
>>>>
>>>> --
>>>> _______________________________________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest
  2018-07-20  6:07       ` Hongzhi, Song
@ 2018-07-22  7:05         ` Khem Raj
  0 siblings, 0 replies; 12+ messages in thread
From: Khem Raj @ 2018-07-22  7:05 UTC (permalink / raw)
  To: Hongzhi.Song; +Cc: openembeded-devel

It fails for rpi3 for both musl and glibc

glibc

| Auto-detecting system features:
| ...                        libelf: [ ^[[31mOFF^[[m ]
| ...                           bpf: [ ^[[31mOFF^[[m ]
|
| No libelf found
| make[1]: *** [Makefile:216: elfdep] Error 255
| make[1]: *** Waiting for unfinished jobs....
| BPF API too old
| make[1]: *** [Makefile:219: bpfdep] Error 255

musl

|                  from test_progs.c:19:
| /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-musleabi/kernel-selftest/1.0-r0/recipe-sysroot/usr/include/linux/swab.h:161:8:
error: unknown type name '__always_inline'
|  static __always_inline __u16 __swab16p(const __u16 *p)
|         ^~~~~~~~~~~~~~~
| /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-musleabi/kernel-selftest/1.0-r0/recipe-sysroot/usr/include/linux/swab.h:161:30:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__swab16p'
|  static __always_inline __u16 __swab16p(const __u16 *p)
|                               ^~~~~~~~~
| /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-musleabi/kernel-selftest/1.0-r0/recipe-sysroot/usr/include/linux/swab.h:174:8:
error: unknown type name '__always_inline'
|  static __always_inline __u32 __swab32p(const __u32 *p)
|         ^~~~~~~~~~~~~~~
| /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-musleabi/kernel-selftest/1.0-r0/recipe-sysroot/usr/include/linux/swab.h:174:30:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__swab32p'
|  static __always_inline __u32 __swab32p(const __u32 *p)
|                               ^~~~~~~~~
| /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-musleabi/kernel-selftest/1.0-r0/recipe-sysroot/usr/include/linux/swab.h:187:8:
error: unknown type name '__always_inline'
|  static __always_inline __u64 __swab64p(const __u64 *p)
|         ^~~~~~~~~~~~~~~
| /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-musleabi/kernel-selftest/1.0-r0/recipe-sysroot/usr/include/linux/swab.h:187:30:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__swab64p'
|  static __always_inline __u64 __swab64p(const __u64 *p)
|                               ^~~~~~~~~
| /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-musleabi/kernel-selftest/1.0-r0/recipe-sysroot/usr/include/linux/swab.h:242:23:
error: expected ';' before 'void'
|  static __always_inline void __swab32s(__u32 *p)
|                        ^~~~~
|                        ;
| /mnt/a/oe/build/tmp/work/raspberrypi3-bec-linux-musleabi/kernel-selftest/1.0-r0/recipe-sysroot/usr/include/linux/swab.h:255:23:
error: expected ';' before 'void'
|  static __always_inline void __swab64s(__u64 *p)
|                        ^~~~~
|                        ;
On Thu, Jul 19, 2018 at 11:04 PM Hongzhi, Song
<hongzhi.song@windriver.com> wrote:
>
> Hi Raj,
>
> Even if enable ptest, the error can't be reproduced. In fact, the recipe
>
> doesn't inherit ptest, it just compiles programs and output them, which
>
> will be used by other oe modules(oe-selftest or ptest), to a custom
> directory.
>
>
> I know that you are busy with your job. And my request will add your
> workload
>
> , which is not my intention. But it is really hard for me to reproduce
> your error.~_~
>
>
> So I sincerely hope that could I get your whole environment, including
> your metadata
>
> and other files? I think docker would be an easy way.
>
>
> Could you help me again? If I get your image, I think I will be
> confident to fix the error.
>
>
> --Hongzhi
>
>
> On 2018年07月20日 00:21, Khem Raj wrote:
> > can you try with ptest enabled in DISTRO_FEATURES
> > On Wed, Jul 18, 2018 at 12:57 AM Hongzhi, Song
> > <hongzhi.song@windriver.com> wrote:
> >> Hi Raj,
> >>
> >> I have try my best to reproduce your error, but I failed.
> >>
> >> Could you help me to do the build in docker and share the dock image
> >> with us. Or maybe you have a better method.
> >>
> >>
> >> Thanks,
> >>
> >> Hongzhi
> >>
> >>
> >> On 2018年07月10日 12:11, Khem Raj wrote:
> >>> This is failing to build here
> >>>
> >>> | DEBUG: Executing shell function do_compile
> >>> | NOTE: make -j 16 CROSS_COMPILE=x86_64-bec-linux- ARCH=x86
> >>> CC=x86_64-bec-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3
> >>> -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
> >>> -Wformat-security -Werror=format-security
> >>> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
> >>> AR=x86_64-bec-linux-ar LD=x86_64-bec-linux-ld
> >>> --sysroot=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/recipe-sysroot
> >>>     DESTDIR=/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/image
> >>> -C /mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf
> >>> | make: Entering directory
> >>> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
> >>> | Makefile:19: *** recipe commences before first target.  Stop.
> >>> | make: Leaving directory
> >>> '/mnt/a/oe/build/tmp/work/qemux86_64-bec-linux/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf'
> >>> | ERROR: oe_runmake failed
> >>> On Sat, Jul 7, 2018 at 11:05 PM Hongzhi.Song <hongzhi.song@windriver.com> wrote:
> >>>> The recipe builds the framework for kernel-selftest. Now, it just
> >>>> contains two sets of testcase, bpf and vm. We are appending others
> >>>> to the recipe.
> >>>>
> >>>> It needs some features which will be written into relevant recipe.
> >>>> But now, you should add them to conf/local.conf manually.
> >>>> KERNEL_FEATURES_append += "features/bpf/bpf.scc"
> >>>>
> >>>> Signed-off-by: Dengke Du <dengke.du@windriver.com>
> >>>> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
> >>>> ---
> >>>>    .../recipes-kernel/kselftest/kernel-selftest.bb    | 94 ++++++++++++++++++++++
> >>>>    1 file changed, 94 insertions(+)
> >>>>    create mode 100644 meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> >>>>
> >>>> diff --git a/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> >>>> new file mode 100644
> >>>> index 0000000..6f20bd3
> >>>> --- /dev/null
> >>>> +++ b/meta-oe/recipes-kernel/kselftest/kernel-selftest.bb
> >>>> @@ -0,0 +1,94 @@
> >>>> +SUMMARY = "Kernel selftest for Linux"
> >>>> +DESCRIPTION = "Kernel selftest for Linux"
> >>>> +LICENSE = "GPLv2"
> >>>> +
> >>>> +# for bpf and vm
> >>>> +DEPENDS = " \
> >>>> +    elfutils \
> >>>> +    libcap \
> >>>> +    libcap-ng \
> >>>> +    fuse \
> >>>> +    util-linux \
> >>>> +    rsync-native \
> >>>> +"
> >>>> +# for vm
> >>>> +RDEPENDS_${PN} += "libgcc \
> >>>> +                   bash \
> >>>> +"
> >>>> +
> >>>> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
> >>>> +
> >>>> +inherit linux-kernel-base kernel-arch
> >>>> +
> >>>> +do_populate_lic[depends] += "virtual/kernel:do_patch"
> >>>> +
> >>>> +S = "${WORKDIR}/${BP}"
> >>>> +
> >>>> +# now we just test bpf and vm
> >>>> +# we will append other kernel selftest in the future
> >>>> +TEST_LIST = "bpf \
> >>>> +             vm \
> >>>> +"
> >>>> +
> >>>> +EXTRA_OEMAKE = '\
> >>>> +    CROSS_COMPILE=${TARGET_PREFIX} \
> >>>> +    ARCH=${ARCH} \
> >>>> +    CC="${CC}" \
> >>>> +    AR="${AR}" \
> >>>> +    LD="${LD}" \
> >>>> +'
> >>>> +
> >>>> +EXTRA_OEMAKE += "\
> >>>> +    'DESTDIR=${D}' \
> >>>> +"
> >>>> +
> >>>> +KERNEL_SELFTEST_SRC ?= "Makefile \
> >>>> +                        include \
> >>>> +                        tools \
> >>>> +                        scripts \
> >>>> +                        arch \
> >>>> +"
> >>>> +
> >>>> +do_compile() {
> >>>> +    for i in ${TEST_LIST}
> >>>> +    do
> >>>> +        oe_runmake -C ${S}/tools/testing/selftests/${i}
> >>>> +    done
> >>>> +}
> >>>> +
> >>>> +do_install() {
> >>>> +    for i in ${TEST_LIST}
> >>>> +    do
> >>>> +        oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/opt/kselftest/${i} install
> >>>> +    done
> >>>> +
> >>>> +    chown root:root  -R ${D}/opt/kselftest
> >>>> +}
> >>>> +
> >>>> +do_configure() {
> >>>> +    :
> >>>> +}
> >>>> +
> >>>> +do_configure[prefuncs] += "copy_kselftest_source_from_kernel remove_clang_related"
> >>>> +python copy_kselftest_source_from_kernel() {
> >>>> +    sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
> >>>> +    src_dir = d.getVar("STAGING_KERNEL_DIR")
> >>>> +    dest_dir = d.getVar("S")
> >>>> +    bb.utils.mkdirhier(dest_dir)
> >>>> +    for s in sources:
> >>>> +        src = oe.path.join(src_dir, s)
> >>>> +        dest = oe.path.join(dest_dir, s)
> >>>> +        if os.path.isdir(src):
> >>>> +            oe.path.copytree(src, dest)
> >>>> +        else:
> >>>> +            bb.utils.copyfile(src, dest)
> >>>> +}
> >>>> +
> >>>> +remove_clang_related() {
> >>>> +       sed -i -e '/test_pkt_access/d' -e '/test_pkt_md_access/d' ${S}/tools/testing/selftests/bpf/Makefile
> >>>> +}
> >>>> +
> >>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> >>>> +
> >>>> +INHIBIT_PACKAGE_DEBUG_SPLIT="1"
> >>>> +FILES_${PN} += "/opt/kselftest/"
> >>>> --
> >>>> 2.8.1
> >>>>
> >>>> --
> >>>> _______________________________________________
> >>>> Openembedded-devel mailing list
> >>>> Openembedded-devel@lists.openembedded.org
> >>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-07-22  7:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-08  6:04 [meta-oe][PATCH] kselftest: Add a recipe on kernel selftest Hongzhi.Song
2018-07-10  4:11 ` Khem Raj
2018-07-10  4:52   ` Hongzhi, Song
2018-07-10  7:43     ` Khem Raj
2018-07-11  2:50       ` Hongzhi, Song
2018-07-11  3:09         ` Hongzhi, Song
2018-07-11 10:41       ` Hongzhi, Song
2018-07-11 19:59         ` Khem Raj
2018-07-18  7:59   ` Hongzhi, Song
2018-07-19 16:21     ` Khem Raj
2018-07-20  6:07       ` Hongzhi, Song
2018-07-22  7:05         ` Khem Raj

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.