tests/regression/tools/clear/test_ust fails occacionally

Kienan Stewart kstewart at efficios.com
Tue Jul 22 09:58:20 EDT 2025


Hi Mingli,

sorry I missed these messages last week.

What version of babeltrace are you using when running the tests?

What distribution + version are you using?

There is a fix for hangs that may occur during the test, which is 
included in stable-2.14 - 
https://github.com/lttng/lttng-tools/commit/55d3f5e528059267f44fb24b179b992bf2b0cfa6

I've been working on replacing the test. I'd be curious to know if you 
also see intermittent failures with the new version (e.g., is it a 
detail in the test harness, or is the issue elsewhere).

https://review.lttng.org/c/lttng-tools/+/14959

thanks,
kienan

On 7/16/25 10:27 PM, Yu, Mingli wrote:
> The more detail around the error as below.
> 
> 
> [warning] [Context] Cannot open_trace of format lttng-live at path 
> net://localhost/host/qemux86-64/ggpndHBBanTXM3EY.
> [warning] [Context] cannot open trace "net://localhost/host/qemux86-64/ 
> ggpndHBBanTXM3EY" for reading.
> [error] opening trace "net://localhost/host/qemux86-64/ggpndHBBanTXM3EY" 
> for reading.
> 
> [error] none of the specified trace paths could be opened.
> 
> # Wait for viewer to exit
> not ok 486 - Babeltrace succeeds
> FAIL: tools/clear/test_ust 486 - Babeltrace succeeds
> #   Failed test 'Babeltrace succeeds'
> #   in ./tools/clear/test_ust:test_ust_streaming_live_viewer() at line 324.
> 
> 
> Thanks,
> Mingli
> 
> On 7/14/25 17:37, Yu, Mingli via lttng-dev wrote:
>> CAUTION: This email comes from a non Wind River email account!
>> Do not click links or open attachments unless you recognize the sender 
>> and know the content is safe.
>>
>> Hi,
>>
>> The lttng-tools test fails as below, is there anyone meet the same issue
>> and how to fix this?  Thanks!
>>
>>
>> FAIL: tools/clear/test_ust 486 - Babeltrace succeeds
>> [snip]
>> FAIL: tools/clear/test_ust 706 - Babeltrace succeeds
>> [snip]
>> FAIL: tools/clear/test_ust
>> [snip]
>> # Wait for viewer to exit
>> not ok 486 - Babeltrace succeeds
>> FAIL: tools/clear/test_ust 486 - Babeltrace succeeds
>> #   Failed test 'Babeltrace succeeds'
>> #   in ./tools/clear/test_ust:test_ust_streaming_live_viewer() at line 
>> 324.
>> [snip]
>> # Wait for viewer to exit
>> not ok 706 - Babeltrace succeeds
>> FAIL: tools/clear/test_ust 706 - Babeltrace succeeds
>> #   Failed test 'Babeltrace succeeds'
>> #   in ./tools/clear/test_ust:test_ust_streaming_live_viewer() at line 
>> 324.
>>
>>
>> Thanks,
>> Mingli



More information about the lttng-dev mailing list