Bug 13255 - [2.7 M3 rc1] lttng-tools ptest facing timeout issue
Summary: [2.7 M3 rc1] lttng-tools ptest facing timeout issue
Status: RESOLVED FIXED
Alias: None
Product: General Runtime
Classification: Runtime
Component: General Runtime (show other bugs)
Version: 2.7
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.6.3
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-04-02 01:46 UTC by yeoh ee peng
Modified: 2019-05-30 14:00 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
ptest report (53.86 KB, application/octet-stream)
2019-04-09 08:15 UTC, Sangeeta Jain
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description yeoh ee peng 2019-04-02 01:46:54 UTC
Using qemux86 to boot core-image-sato-sdk-ptest_qemux86-64, lttng-tools ptest facing timeout issue. 
Refer to report at:
https://autobuilder.yocto.io/pub/releases/yocto-2.7_M3.rc1/testresults/testresult-report.txt
Comment 1 Alexander Kanavin 2019-04-04 16:56:44 UTC
After applying this patch to ptest-runner:
https://lists.yoctoproject.org/pipermail/yocto/2019-April/044725.html

the timeout issue is revealed to be here:

PASS: tools/notification/test_notification_ust 93 - Subscribe to condition
PASS: tools/notification/test_notification_ust 94 - Subscribe to a condition for which subscription was already done


ERROR: Exit status is 9
DURATION: 707
TIMEOUT: /usr/lib/lttng-tools/ptest
END: /usr/lib/lttng-tools/ptest
2019-04-04T16:54
STOP: /home/root/ptest-runner



ptest-runner kills off the tests after 5 minutes of inactivity, so the ptest should be re-run independently and directly, to determine whether the test is truly stuck, or simply needs more than 5 minutes to complete (during which it stays entirely silent).
Comment 2 Sangeeta Jain 2019-04-09 08:15:42 UTC
Created attachment 4467 [details]
ptest report
Comment 3 Sangeeta Jain 2019-04-09 08:17:18 UTC
lttng-tools ptest is facing a timeout issue in 2.6.2.rc3. For ptest report, refer attachment. For ptest results, refer following link:

https://autobuilder.yocto.io/pub/non-release/20190328-8/testresults/qemux86-64-ptest/
Comment 4 Richard Purdie 2019-05-08 20:59:06 UTC
Was fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8e9a0fe61f0ccdad8d88ecf8f46ae90c0c73da97

May need backport of some work to 2.6?