All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] lttng-tools ptest: add missing dependencies
@ 2019-03-12 21:13 Jonathan Rajotte
  2019-03-12 21:13 ` [PATCH 2/2] lttng-tools ptest: fix test_ust-dl Jonathan Rajotte
  2019-03-13 23:19 ` [PATCH 1/2] lttng-tools ptest: add missing dependencies Richard Purdie
  0 siblings, 2 replies; 7+ messages in thread
From: Jonathan Rajotte @ 2019-03-12 21:13 UTC (permalink / raw)
  To: openembedded-core

Multiple tests are failing due to missing dependencies on a bare
core-image-minimal build with only lttng-tools ptest present.

"getconf LONG_BIT" is used to get the bitness of the host to run the
correct consumerd. Depend on glibc-utils.

perl-module-overloading is needed to validate trace. babelstats.pl

"head -c" is used to generate a random string. It is easier to depends
on coreutils to get a feature complete "head" than to enable to "fancy
head" feature of busybox. See utils.sh randstring.

"taskset" is used in a couple of scripts to ensure that events generated
finish in the same buffer. Depend on util-linux.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
---

I also submitted the following patches [1] [2] to lttng upstream. It
should help get the ptest sucess ratio up when they are merged. They
should be released in the upcoming month.

[1] https://lists.lttng.org/pipermail/lttng-dev/2019-March/028573.html
[2] https://lists.lttng.org/pipermail/lttng-dev/2019-March/028574.html

---
 meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb b/meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb
index 9d21fb00bf..3324959cc3 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=01d7fc4496aacf37d90df90b90b0cac1 \
 
 DEPENDS = "liburcu popt libxml2 util-linux"
 RDEPENDS_${PN} = "libgcc"
-RDEPENDS_${PN}-ptest += "make perl bash gawk ${PN} babeltrace procps"
+RDEPENDS_${PN}-ptest += "make perl bash gawk ${PN} babeltrace procps glibc-utils perl-module-overloading coreutils util-linux"
 # babelstats.pl wants getopt-long
 RDEPENDS_${PN}-ptest += "perl-module-getopt-long"
 
@@ -141,15 +141,6 @@ do_install_ptest () {
         -e 's#\(^test.*LDADD.=\)#disable\1#g' \
         -i ${D}${PTEST_PATH}/tests/unit/Makefile
 
-    #
-    # Disable notification tools tests as currently
-    # these hang and cause the rest of the ptests to timeout
-    #
-    sed -e 's#tools/notification/test_notification_ust##g' \
-        -e 's#tools/notification/test_notification_kernel##g' \
-        -e 's#tools/notification/test_notification_multi_app##g' \
-        -i ${D}${PTEST_PATH}/tests/regression/Makefile
-
     # Substitute links to installed binaries.
     for prog in lttng lttng-relayd lttng-sessiond lttng-consumerd lttng-crash; do
         exedir="${D}${PTEST_PATH}/src/bin/${prog}"
-- 
2.17.1



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

end of thread, other threads:[~2019-03-18 17:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 21:13 [PATCH 1/2] lttng-tools ptest: add missing dependencies Jonathan Rajotte
2019-03-12 21:13 ` [PATCH 2/2] lttng-tools ptest: fix test_ust-dl Jonathan Rajotte
2019-03-13 23:19 ` [PATCH 1/2] lttng-tools ptest: add missing dependencies Richard Purdie
2019-03-15 14:40   ` Jonathan Rajotte-Julien
2019-03-18 12:37     ` Richard Purdie
2019-03-18 16:47       ` Jonathan Rajotte-Julien
2019-03-18 17:27         ` Richard Purdie

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.