Bug 13255

Summary: [2.7 M3 rc1] lttng-tools ptest facing timeout issue
Product: [Runtime] General Runtime Reporter: yeoh ee peng <ee.peng.yeoh>
Component: General RuntimeAssignee: Armin Kuster <akuster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: alex.kanavin, sangeeta.jain
Version: 2.7   
Target Milestone: 2.6.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
ptest report none

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?