<div dir="ltr"><div>I have traced the failing tests to missing supplementary shell scripts that apparently are newly added, and weren&#39;t packaged to the target.</div><div><br></div><div>Also, /tmp indeed wasn&#39;t big enough.<br></div><div><br></div><div>With those issues addressed (patch is coming), I am still having two failures:</div><div><br></div><div>#     Failed test (../../../../../lttng-tools-2.11.0/tests/regression/tools/live/live_test.c:main() at line 707)<br># Got first packet index with offset 0 and len 4096<br>not ok 6 - Get metadata, received 0 bytes<br>FAIL: tools/live/test_ust_tracefile_count 6 - Get metadata, received 0 bytes<br></div><div><br></div><div># Got first packet index with offset 0 and len 4096<br>not ok 6 - Get metadata, received 0 bytes<br>FAIL: tools/live/test_ust 6 - Get metadata, received 0 bytes<br></div><div><br></div><div>What&#39;s weird is that sometimes they pass. Could there be a race or some timing issue in the test?<br></div><div><br></div><div>Alex<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 20 Jan 2020 at 18:37, Jonathan Rajotte-Julien &lt;<a href="mailto:jonathan.rajotte-julien@efficios.com" target="_blank">jonathan.rajotte-julien@efficios.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Could you point me toward reports for the failing tests?<br>
<br>
I just want to make sure they are not actual regression.<br>
<br>
A yocto specific patch was dropped that allowed ptest to pass when<br>
lttng-ust is not present. This can be a source of problems.<br>
OE commit:015aea5d93614676decd18578a8ae2d68417cfc5<br>
<br>
Also some tests required a minimum requirement for /tmp that could lead to<br>
problem for image/test setup with limited memory since AFAIK /tmp size is<br>
derived from the available memory (at least when using qemu test image).<br>
<br>
Cheers<br>
<br>
On Mon, Jan 20, 2020 at 06:24:56PM +0100, Alexander Kanavin wrote:<br>
&gt; These tests are producing failures that appear and<br>
&gt; disappear randomly. This requires investigation<br>
&gt; by someone with expertise, so let&#39;s disable until then.<br>
&gt; <br>
&gt; Signed-off-by: Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt;  meta/conf/distro/include/ptest-packagelists.inc | 2 +-<br>
&gt;  1 file changed, 1 insertion(+), 1 deletion(-)<br>
&gt; <br>
&gt; diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc<br>
&gt; index 49cb9046c6c..f42e90bd187 100644<br>
&gt; --- a/meta/conf/distro/include/ptest-packagelists.inc<br>
&gt; +++ b/meta/conf/distro/include/ptest-packagelists.inc<br>
&gt; @@ -58,6 +58,7 @@ PTESTS_FAST = &quot;\<br>
&gt;  #    rt-tests-ptest \ # Needs to be checked whether it runs at all<br>
&gt;  #    bash-ptest \ # Test outcomes are non-deterministic by design<br>
&gt;  #    mdadm-ptest \ # Multiple failures; mdmon crashes in at least one of the tests<br>
&gt; +#    lttng-tools-ptest \ # Random failures that are difficult to reproduce<br>
&gt;  #&quot;<br>
&gt;  <br>
&gt;  PTESTS_SLOW = &quot;\<br>
&gt; @@ -67,7 +68,6 @@ PTESTS_SLOW = &quot;\<br>
&gt;      glib-2.0-ptest \<br>
&gt;      gstreamer1.0-ptest \<br>
&gt;      libevent-ptest \<br>
&gt; -    lttng-tools-ptest \<br>
&gt;      openssh-ptest \<br>
&gt;      openssl-ptest \<br>
&gt;      perl-ptest \<br>
&gt; -- <br>
&gt; 2.17.1<br>
&gt; <br>
&gt; -- <br>
&gt; _______________________________________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
<br>
-- <br>
Jonathan Rajotte-Julien<br>
EfficiOS<br>
</blockquote></div></div>