Bug 14854

Summary: AB-INT PTEST: lttng-tools ptest intermittent failure in tools/clear/test_kernel_316
Product: [QA/Testing] Package Testing (ptest) Reporter: Alexandre Belloni <alexandre.belloni>
Component: ptestAssignee: Unassigned <unassigned>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, joaomarcos.costa, jonathan.rajotte-julien, luca.ceresoli, mingli.yu, randy.macleod, zhe.he
Version: unspecified   
Target Milestone: 6.99   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT AB-HAVE-PLAN
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
ptest log of the lttng-tools failure none

Description Alexandre Belloni 2022-07-07 12:34:25 UTC
{'lttng-tools': ['tools/clear/test_kernel_316_-_Start_tracing_for_session_2GzXyILIRTEwH1Bq',
                 'tools/clear/test_kernel_317_-_Rotate_session_2GzXyILIRTEwH1Bq',
                 'tools/clear/test_kernel_318_-_Stop_lttng_tracing_for_session_2GzXyILIRTEwH1Bq',
                 'tools/clear/test_kernel_319_-_Validate_trace_for_event_lttng_test_filter_event',
                 'tools/clear/test_kernel_320_-_Read_a_total_of_0_events,_expected_5',
                 'tools/clear/test_kernel_321_-_Destroy_session_2GzXyILIRTEwH1Bq']}

This is different from 14263 in that this doesn't timeout

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/3422/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 1 Alexandre Belloni 2022-07-07 12:54:49 UTC
FAIL: tools/clear/test_kernel 316 - Start tracing for session 2GzXyILIRTEwH1Bq
FAIL: tools/clear/test_kernel 317 - Rotate session 2GzXyILIRTEwH1Bq
FAIL: tools/clear/test_kernel 318 - Stop lttng tracing for session 2GzXyILIRTEwH1Bq
FAIL: tools/clear/test_kernel 319 - Validate trace for event lttng_test_filter_event
FAIL: tools/clear/test_kernel 320 - Read a total of 0 events, expected 5
FAIL: tools/clear/test_kernel 321 - Destroy session 2GzXyILIRTEwH1Bq
Comment 2 Jonathan Rajotte-Julien 2022-07-07 20:16:24 UTC
The fact that the start fail is quite unexpected.

FAIL: tools/clear/test_kernel 316 - Start tracing for session 2GzXyILIRTEwH1Bq

Is there any way to get the actual tap output for that test? I would expect a "bigger" problem there.

I'm not sure where to find the artifact produced by your test infra. I'm mostly interested in the actual tap output produced by the "tools/clear/test_kernel" script.

Cheers
Comment 3 Randy MacLeod 2022-07-21 15:07:27 UTC
Thanks Jonathan, we're stuggling to get the data but hopefully that'll happen in the coming weeks.
Comment 4 Luca Ceresoli 2023-01-19 09:17:31 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4373/steps/12/logs/stdio

qemuarm64-ptest on ubuntu2204-arm-1
Comment 5 Luca Ceresoli 2023-01-19 09:21:24 UTC
Created attachment 4918 [details]
ptest log of the lttng-tools failure
Comment 6 Luca Ceresoli 2023-01-19 11:16:20 UTC
moved the image workdir to /home/pokybuild/qemuarm64-ptest-4373-AB-INT-14854-core-image-ptest-all on the worker
Comment 7 Randy MacLeod 2023-06-15 14:53:09 UTC
Appears to have been fixed or gone away.
Comment 8 João Marcos Costa 2024-01-17 14:14:25 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5585/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 9 João Marcos Costa 2024-01-18 09:54:09 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5574/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1
Comment 10 João Marcos Costa 2025-02-14 13:59:57 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/615/steps/13/logs/stdio

Failed ptests:{'lttng-tools': ['tools/clear/test_kernel_787_-_Failed_to_parse_trace',                 'tools/clear/test_kernel']}

qemux86-64-ptest opensuse156-vk-1

Reopening.
Comment 11 João Marcos Costa 2025-03-17 09:29:06 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/1115/steps/12/logs/stdio

Failed ptests:{'lttng-tools':
['tools/clear/test_kernel_802_-_Destroy_session_TnfM3SpL3WcDVToV',                 'tools/clear/test_kernel']}

qemuarm64-ptest ubuntu2410-vk-arm1
Comment 12 João Marcos Costa 2025-05-13 08:50:16 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/1445/steps/12/logs/stdio

qemuarm64-ptest ubuntu2404-vk-arm1
Comment 13 Randy MacLeod 2025-11-27 18:42:22 UTC
Not seen since May.
Mingli, CCed so she can check with upstream to see if there's been a fix.
Comment 14 Randy MacLeod 2026-01-22 16:18:24 UTC
Not seen in > 6 months.
Assuming that the updates to lttng has a fix for this.