Project

General

Profile

Actions

Bug #1217

closed

regression/tools/live intermitent failure on yocto with 2.11

Added by Jonathan Rajotte Julien about 4 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Francis Deslauriers
Target version:
Start date:
01/24/2020
Due date:
% Done:

0%

Estimated time:

Description

While upgrading to 2.11 Alexander Kanavin observe intermittent failure for the live test.

With those issues addressed (patch is coming), I am still having two
failures:

#     Failed test
(../../../../../lttng-tools-2.11.0/tests/regression/tools/live/live_test.c:main()
at line 707)
# Got first packet index with offset 0 and len 4096
not ok 6 - Get metadata, received 0 bytes
FAIL: tools/live/test_ust_tracefile_count 6 - Get metadata, received 0 bytes

# Got first packet index with offset 0 and len 4096
not ok 6 - Get metadata, received 0 bytes
FAIL: tools/live/test_ust 6 - Get metadata, received 0 bytes

What's weird is that sometimes they pass. Could there be a race or some
timing issue in the test?

Step to reproduce:

git clone https://github.com/PSRCode/poky-contrib/tree/live-test-failure-poky

then setup a default build (with qemu x86_64 as target), 'bitbake
core-image-sato-ptest', then 'runqemu kvm nographic'.

Then log in as root (no password), change to /usr/lib/lttng-tools/ptest,
and issue ./run-ptest. Then you should be able to see the failure.

To exit qemu: ctrl-a x.

Actions

Also available in: Atom PDF