==========================================================
   lttng-tools 2.13.13: tests/regression/test-suite.log
==========================================================

# TOTAL: 11091
# PASS:  11074
# SKIP:  16
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

PASS: tools/working-directory/test_relayd_working_directory
===========================================================

1..35
# Change working directory of process
# Test lttng-relayd normal mode change working directory
ok 1 - Working directory changed
PASS: tools/working-directory/test_relayd_working_directory 1 - Working directory changed
# Killing (signal SIGTERM) lttng-relayd (pid: 16166)
ok 2 - Wait after kill relay daemon
PASS: tools/working-directory/test_relayd_working_directory 2 - Wait after kill relay daemon
# Test lttng-relayd daemon mode change working directory
ok 3 - Start lttng-relayd (process mode: -d opt: --working-directory /var/volatile/tmp/tmp.test_relayd_daemon_working_dir.UNLSJi)
PASS: tools/working-directory/test_relayd_working_directory 3 - Start lttng-relayd (process mode: -d opt: --working-directory /var/volatile/tmp/tmp.test_relayd_daemon_working_dir.UNLSJi)
ok 4 - Found lttng-relayd
PASS: tools/working-directory/test_relayd_working_directory 4 - Found lttng-relayd
ok 5 - Working directory changed
PASS: tools/working-directory/test_relayd_working_directory 5 - Working directory changed
# Killing (signal SIGTERM) lttng-relayd (pid: 16202)
ok 6 - Wait after kill relay daemon
PASS: tools/working-directory/test_relayd_working_directory 6 - Wait after kill relay daemon
# Test lttng-relayd daemon mode change working directory
ok 7 - Start lttng-relayd (process mode: -d opt: )
PASS: tools/working-directory/test_relayd_working_directory 7 - Start lttng-relayd (process mode: -d opt: )
ok 8 - Found lttng-relayd
PASS: tools/working-directory/test_relayd_working_directory 8 - Found lttng-relayd
ok 9 - Working directory is /
PASS: tools/working-directory/test_relayd_working_directory 9 - Working directory is /
# Killing (signal SIGTERM) lttng-relayd (pid: 16240)
ok 10 - Wait after kill relay daemon
PASS: tools/working-directory/test_relayd_working_directory 10 - Wait after kill relay daemon
# Test lttng-relayd background mode change working directory
ok 11 - Start lttng-relayd (process mode: -b opt: --working-directory /var/volatile/tmp/tmp.test_relayd_background_working_dir.Udalht)
PASS: tools/working-directory/test_relayd_working_directory 11 - Start lttng-relayd (process mode: -b opt: --working-directory /var/volatile/tmp/tmp.test_relayd_background_working_dir.Udalht)
ok 12 - Found lttng-relayd
PASS: tools/working-directory/test_relayd_working_directory 12 - Found lttng-relayd
ok 13 - Working directory changed
PASS: tools/working-directory/test_relayd_working_directory 13 - Working directory changed
# Killing (signal SIGTERM) lttng-relayd (pid: 16280)
ok 14 - Wait after kill relay daemon
PASS: tools/working-directory/test_relayd_working_directory 14 - Wait after kill relay daemon
# Test lttng-relayd background working directory
ok 15 - Start lttng-relayd (process mode: -b opt: )
PASS: tools/working-directory/test_relayd_working_directory 15 - Start lttng-relayd (process mode: -b opt: )
ok 16 - Found lttng-relayd
PASS: tools/working-directory/test_relayd_working_directory 16 - Found lttng-relayd
ok 17 - Working directory is /
PASS: tools/working-directory/test_relayd_working_directory 17 - Working directory is /
# Killing (signal SIGTERM) lttng-relayd (pid: 16318)
ok 18 - Wait after kill relay daemon
PASS: tools/working-directory/test_relayd_working_directory 18 - Wait after kill relay daemon
# Test lttng-relayd change working directory on non writable directory
ok 19 # skip: Skipping permission debug output test; operation can't fail as root
SKIP: tools/working-directory/test_relayd_working_directory 19 # SKIP : Skipping permission debug output test; operation can't fail as root
ok 20 # skip: Skipping permission debug output test; operation can't fail as root
SKIP: tools/working-directory/test_relayd_working_directory 20 # SKIP : Skipping permission debug output test; operation can't fail as root
ok 21 # skip: Skipping permission debug output test; operation can't fail as root
SKIP: tools/working-directory/test_relayd_working_directory 21 # SKIP : Skipping permission debug output test; operation can't fail as root
ok 22 # skip: Skipping permission debug output test; operation can't fail as root
SKIP: tools/working-directory/test_relayd_working_directory 22 # SKIP : Skipping permission debug output test; operation can't fail as root
ok 23 # skip: Skipping permission debug output test; operation can't fail as root
SKIP: tools/working-directory/test_relayd_working_directory 23 # SKIP : Skipping permission debug output test; operation can't fail as root
ok 24 # skip: Skipping permission debug output test; operation can't fail as root
SKIP: tools/working-directory/test_relayd_working_directory 24 # SKIP : Skipping permission debug output test; operation can't fail as root
# Test lttng-relayd normal mode change non-existing directory
ok 25 - Expect failure to start lttng-relayd for non-existent working directory
PASS: tools/working-directory/test_relayd_working_directory 25 - Expect failure to start lttng-relayd for non-existent working directory
ok 26 - No lttng-relayd present
PASS: tools/working-directory/test_relayd_working_directory 26 - No lttng-relayd present
ok 27 - Found error message: invalid directory
PASS: tools/working-directory/test_relayd_working_directory 27 - Found error message: invalid directory
# Test lttng-relayd change working directory from env. variable
ok 28 - Start lttng-relayd (process mode: -b opt: )
PASS: tools/working-directory/test_relayd_working_directory 28 - Start lttng-relayd (process mode: -b opt: )
ok 29 - Found lttng-relayd
PASS: tools/working-directory/test_relayd_working_directory 29 - Found lttng-relayd
ok 30 - Working directory changed
PASS: tools/working-directory/test_relayd_working_directory 30 - Working directory changed
# Killing (signal SIGTERM) lttng-relayd (pid: 16369)
ok 31 - Wait after kill relay daemon
PASS: tools/working-directory/test_relayd_working_directory 31 - Wait after kill relay daemon
# Test lttng-relayd change working directory command line overwrite env variable
ok 32 - Start lttng-relayd (process mode: -b opt: --working-dir /var/volatile/tmp/tmp.test_relayd_cmdline_overwrite_env_working_dir_cmdline.t8J6mk)
PASS: tools/working-directory/test_relayd_working_directory 32 - Start lttng-relayd (process mode: -b opt: --working-dir /var/volatile/tmp/tmp.test_relayd_cmdline_overwrite_env_working_dir_cmdline.t8J6mk)
ok 33 - Found lttng-relayd
PASS: tools/working-directory/test_relayd_working_directory 33 - Found lttng-relayd
ok 34 - Working directory is the one from command line
PASS: tools/working-directory/test_relayd_working_directory 34 - Working directory is the one from command line
# Killing (signal SIGTERM) lttng-relayd (pid: 16411)
ok 35 - Wait after kill relay daemon
PASS: tools/working-directory/test_relayd_working_directory 35 - Wait after kill relay daemon

FAIL: tools/clear/test_ust
==========================

1..2071
# Clear - UST tracing
ok 1 - Start lttng-relayd (process mode: -b opt: -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN)
PASS: tools/clear/test_ust 1 - Start lttng-relayd (process mode: -b opt: -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN)
ok 2 - Start session daemon
PASS: tools/clear/test_ust 2 - Start session daemon
# Test ust streaming clear
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 3 - Create session DKP5lBXB0O6SkLWA with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 3 - Create session DKP5lBXB0O6SkLWA with uri:net://localhost and opts:
ok 4 - Enable channel chan for session DKP5lBXB0O6SkLWA
PASS: tools/clear/test_ust 4 - Enable channel chan for session DKP5lBXB0O6SkLWA
ok 5 - Enable ust event tp:tptest for session DKP5lBXB0O6SkLWA
PASS: tools/clear/test_ust 5 - Enable ust event tp:tptest for session DKP5lBXB0O6SkLWA
ok 6 - Start tracing for session DKP5lBXB0O6SkLWA
PASS: tools/clear/test_ust 6 - Start tracing for session DKP5lBXB0O6SkLWA
ok 7 - Clear session DKP5lBXB0O6SkLWA
PASS: tools/clear/test_ust 7 - Clear session DKP5lBXB0O6SkLWA
ok 8 - Stop lttng tracing for session DKP5lBXB0O6SkLWA
PASS: tools/clear/test_ust 8 - Stop lttng tracing for session DKP5lBXB0O6SkLWA
ok 9 - Validate empty trace
PASS: tools/clear/test_ust 9 - Validate empty trace
ok 10 - Destroy session DKP5lBXB0O6SkLWA
PASS: tools/clear/test_ust 10 - Destroy session DKP5lBXB0O6SkLWA
# Test ust streaming rotate-clear
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 11 - Create session hVyy3eMR0mvRKeyD with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 11 - Create session hVyy3eMR0mvRKeyD with uri:net://localhost and opts:
ok 12 - Enable channel chan for session hVyy3eMR0mvRKeyD
PASS: tools/clear/test_ust 12 - Enable channel chan for session hVyy3eMR0mvRKeyD
ok 13 - Enable ust event tp:tptest for session hVyy3eMR0mvRKeyD
PASS: tools/clear/test_ust 13 - Enable ust event tp:tptest for session hVyy3eMR0mvRKeyD
ok 14 - Start tracing for session hVyy3eMR0mvRKeyD
PASS: tools/clear/test_ust 14 - Start tracing for session hVyy3eMR0mvRKeyD
ok 15 - Rotate session hVyy3eMR0mvRKeyD
PASS: tools/clear/test_ust 15 - Rotate session hVyy3eMR0mvRKeyD
ok 16 - Clear session hVyy3eMR0mvRKeyD
PASS: tools/clear/test_ust 16 - Clear session hVyy3eMR0mvRKeyD
ok 17 - Stop lttng tracing for session hVyy3eMR0mvRKeyD
PASS: tools/clear/test_ust 17 - Stop lttng tracing for session hVyy3eMR0mvRKeyD
ok 18 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 18 - Validate trace for event tp:tptest, 4 events
ok 19 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 19 - Read a total of 4 events, expected 4
ok 20 - Destroy session hVyy3eMR0mvRKeyD
PASS: tools/clear/test_ust 20 - Destroy session hVyy3eMR0mvRKeyD
# Test ust streaming clear-rotate
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 21 - Create session SQAxflZwGM04sr7Z with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 21 - Create session SQAxflZwGM04sr7Z with uri:net://localhost and opts:
ok 22 - Enable channel chan for session SQAxflZwGM04sr7Z
PASS: tools/clear/test_ust 22 - Enable channel chan for session SQAxflZwGM04sr7Z
ok 23 - Enable ust event tp:tptest for session SQAxflZwGM04sr7Z
PASS: tools/clear/test_ust 23 - Enable ust event tp:tptest for session SQAxflZwGM04sr7Z
ok 24 - Start tracing for session SQAxflZwGM04sr7Z
PASS: tools/clear/test_ust 24 - Start tracing for session SQAxflZwGM04sr7Z
ok 25 - Clear session SQAxflZwGM04sr7Z
PASS: tools/clear/test_ust 25 - Clear session SQAxflZwGM04sr7Z
ok 26 - Rotate session SQAxflZwGM04sr7Z
PASS: tools/clear/test_ust 26 - Rotate session SQAxflZwGM04sr7Z
ok 27 - Stop lttng tracing for session SQAxflZwGM04sr7Z
PASS: tools/clear/test_ust 27 - Stop lttng tracing for session SQAxflZwGM04sr7Z
ok 28 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 28 - Validate trace for event tp:tptest, 5 events
ok 29 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 29 - Read a total of 5 events, expected 5
ok 30 - Destroy session SQAxflZwGM04sr7Z
PASS: tools/clear/test_ust 30 - Destroy session SQAxflZwGM04sr7Z
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 31 - Create session p2e94ih8DMPrCX4l with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 31 - Create session p2e94ih8DMPrCX4l with uri:net://localhost and opts:
ok 32 - Enable channel rotchan for session p2e94ih8DMPrCX4l
PASS: tools/clear/test_ust 32 - Enable channel rotchan for session p2e94ih8DMPrCX4l
ok 33 - Enable ust event tp:tptest for session p2e94ih8DMPrCX4l
PASS: tools/clear/test_ust 33 - Enable ust event tp:tptest for session p2e94ih8DMPrCX4l
ok 34 - Start tracing for session p2e94ih8DMPrCX4l
PASS: tools/clear/test_ust 34 - Start tracing for session p2e94ih8DMPrCX4l
ok 35 - Clear session p2e94ih8DMPrCX4l
PASS: tools/clear/test_ust 35 - Clear session p2e94ih8DMPrCX4l
ok 36 - Stop lttng tracing for session p2e94ih8DMPrCX4l
PASS: tools/clear/test_ust 36 - Stop lttng tracing for session p2e94ih8DMPrCX4l
ok 37 - Validate empty trace
PASS: tools/clear/test_ust 37 - Validate empty trace
ok 38 - Start tracing for session p2e94ih8DMPrCX4l
PASS: tools/clear/test_ust 38 - Start tracing for session p2e94ih8DMPrCX4l
ok 39 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 39 - Stop lttng tracing for session
ok 40 - Validate trace for event tp:tptest, 20 events
PASS: tools/clear/test_ust 40 - Validate trace for event tp:tptest, 20 events
ok 41 - Read a total of 20 events, expected 20
PASS: tools/clear/test_ust 41 - Read a total of 20 events, expected 20
ok 42 - Destroy session p2e94ih8DMPrCX4l
PASS: tools/clear/test_ust 42 - Destroy session p2e94ih8DMPrCX4l
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 43 - Create session YMsrYMQEUHVqe9ha with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 43 - Create session YMsrYMQEUHVqe9ha with uri:net://localhost and opts:
ok 44 - Enable channel rotchan for session YMsrYMQEUHVqe9ha
PASS: tools/clear/test_ust 44 - Enable channel rotchan for session YMsrYMQEUHVqe9ha
ok 45 - Enable ust event tp:tptest for session YMsrYMQEUHVqe9ha
PASS: tools/clear/test_ust 45 - Enable ust event tp:tptest for session YMsrYMQEUHVqe9ha
ok 46 - Start tracing for session YMsrYMQEUHVqe9ha
PASS: tools/clear/test_ust 46 - Start tracing for session YMsrYMQEUHVqe9ha
ok 47 - Clear session YMsrYMQEUHVqe9ha
PASS: tools/clear/test_ust 47 - Clear session YMsrYMQEUHVqe9ha
ok 48 - Stop lttng tracing for session YMsrYMQEUHVqe9ha
PASS: tools/clear/test_ust 48 - Stop lttng tracing for session YMsrYMQEUHVqe9ha
ok 49 - Validate empty trace
PASS: tools/clear/test_ust 49 - Validate empty trace
ok 50 - Start tracing for session YMsrYMQEUHVqe9ha
PASS: tools/clear/test_ust 50 - Start tracing for session YMsrYMQEUHVqe9ha
ok 51 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 51 - Stop lttng tracing for session
ok 52 - Validate trace for event tp:tptest, 28 events
PASS: tools/clear/test_ust 52 - Validate trace for event tp:tptest, 28 events
ok 53 - Read a total of 28 events, expected between [1, 200000[
PASS: tools/clear/test_ust 53 - Read a total of 28 events, expected between [1, 200000[
ok 54 - Destroy session YMsrYMQEUHVqe9ha
PASS: tools/clear/test_ust 54 - Destroy session YMsrYMQEUHVqe9ha
# Test ust streaming clear no event
# Parameters: tracing_active=1, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 55 - Create session BEsG12qYTPvcyHqX with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 55 - Create session BEsG12qYTPvcyHqX with uri:net://localhost and opts:
ok 56 - Enable channel chan for session BEsG12qYTPvcyHqX
PASS: tools/clear/test_ust 56 - Enable channel chan for session BEsG12qYTPvcyHqX
ok 57 - Enable ust event tp:tptest for session BEsG12qYTPvcyHqX
PASS: tools/clear/test_ust 57 - Enable ust event tp:tptest for session BEsG12qYTPvcyHqX
ok 58 - Start tracing for session BEsG12qYTPvcyHqX
PASS: tools/clear/test_ust 58 - Start tracing for session BEsG12qYTPvcyHqX
ok 59 - Clear session BEsG12qYTPvcyHqX
PASS: tools/clear/test_ust 59 - Clear session BEsG12qYTPvcyHqX
ok 60 - Stop lttng tracing for session BEsG12qYTPvcyHqX
PASS: tools/clear/test_ust 60 - Stop lttng tracing for session BEsG12qYTPvcyHqX
ok 61 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/BEsG12qYTPvcyHqX*" is empty
PASS: tools/clear/test_ust 61 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/BEsG12qYTPvcyHqX*" is empty
ok 62 - Destroy session BEsG12qYTPvcyHqX
PASS: tools/clear/test_ust 62 - Destroy session BEsG12qYTPvcyHqX
# Test ust streaming live clear
# Parameters: tracing_active=1, clear_twice=0, buffer_type=uid
ok 63 - Create session 2cHZIrjl9vlatu7M with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 63 - Create session 2cHZIrjl9vlatu7M with uri:net://localhost and opts: --live
ok 64 - Enable channel chan for session 2cHZIrjl9vlatu7M
PASS: tools/clear/test_ust 64 - Enable channel chan for session 2cHZIrjl9vlatu7M
ok 65 - Enable ust event tp:tptest for session 2cHZIrjl9vlatu7M
PASS: tools/clear/test_ust 65 - Enable ust event tp:tptest for session 2cHZIrjl9vlatu7M
ok 66 - Start tracing for session 2cHZIrjl9vlatu7M
PASS: tools/clear/test_ust 66 - Start tracing for session 2cHZIrjl9vlatu7M
ok 67 - Clear session 2cHZIrjl9vlatu7M
PASS: tools/clear/test_ust 67 - Clear session 2cHZIrjl9vlatu7M
ok 68 - Stop lttng tracing for session 2cHZIrjl9vlatu7M
PASS: tools/clear/test_ust 68 - Stop lttng tracing for session 2cHZIrjl9vlatu7M
ok 69 - Validate empty trace
PASS: tools/clear/test_ust 69 - Validate empty trace
ok 70 - Destroy session 2cHZIrjl9vlatu7M
PASS: tools/clear/test_ust 70 - Destroy session 2cHZIrjl9vlatu7M
# Test ust basic streaming live with viewer
# Parameters: tracing_active=1, clear_twice=0, buffer_type=uid
ok 71 - Create session 7VhM0JPalMTOQYmO with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 71 - Create session 7VhM0JPalMTOQYmO with uri:net://localhost and opts: --live
ok 72 - Enable channel chan for session 7VhM0JPalMTOQYmO
PASS: tools/clear/test_ust 72 - Enable channel chan for session 7VhM0JPalMTOQYmO
ok 73 - Enable ust event tp:tptest for session 7VhM0JPalMTOQYmO
PASS: tools/clear/test_ust 73 - Enable ust event tp:tptest for session 7VhM0JPalMTOQYmO
ok 74 - Start tracing for session 7VhM0JPalMTOQYmO
PASS: tools/clear/test_ust 74 - Start tracing for session 7VhM0JPalMTOQYmO
# Waiting for live trace at url: net://localhost
ok 75 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 75 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 76 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 76 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 77 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 77 - Live viewer read 10 events, expect 10
ok 78 - Destroy session 7VhM0JPalMTOQYmO
PASS: tools/clear/test_ust 78 - Destroy session 7VhM0JPalMTOQYmO
# Waiting for application to exit
ok 79 - Wait for application to exit
PASS: tools/clear/test_ust 79 - Wait for application to exit
# Wait for viewer to exit
ok 80 - Babeltrace succeeds
PASS: tools/clear/test_ust 80 - Babeltrace succeeds
ok 81 - Wait for viewer to exit
PASS: tools/clear/test_ust 81 - Wait for viewer to exit
# Test ust streaming live clear with viewer
# Parameters: tracing_active=1, clear_twice=0, buffer_type=uid
ok 82 - Create session Cqapu591xwS0MxXX with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 82 - Create session Cqapu591xwS0MxXX with uri:net://localhost and opts: --live
ok 83 - Enable channel chan for session Cqapu591xwS0MxXX
PASS: tools/clear/test_ust 83 - Enable channel chan for session Cqapu591xwS0MxXX
ok 84 - Enable ust event tp:tptest for session Cqapu591xwS0MxXX
PASS: tools/clear/test_ust 84 - Enable ust event tp:tptest for session Cqapu591xwS0MxXX
ok 85 - Start tracing for session Cqapu591xwS0MxXX
PASS: tools/clear/test_ust 85 - Start tracing for session Cqapu591xwS0MxXX
# Waiting for live trace at url: net://localhost
ok 86 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 86 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 87 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 87 - Waiting for live viewers on url: net://localhost
ok 88 - Clear session Cqapu591xwS0MxXX
PASS: tools/clear/test_ust 88 - Clear session Cqapu591xwS0MxXX
ok 89 - Stop lttng tracing for session Cqapu591xwS0MxXX
PASS: tools/clear/test_ust 89 - Stop lttng tracing for session Cqapu591xwS0MxXX
ok 90 - Destroy session Cqapu591xwS0MxXX
PASS: tools/clear/test_ust 90 - Destroy session Cqapu591xwS0MxXX
# Wait for viewer to exit
ok 91 - Babeltrace succeeds
PASS: tools/clear/test_ust 91 - Babeltrace succeeds
ok 92 - Wait for viewer to exit
PASS: tools/clear/test_ust 92 - Wait for viewer to exit
# Test ust streaming live clear with viewer with new metadata after clear
# Parameters: tracing_active=1, clear_twice=0, buffer_type=uid
ok 93 - Create session 3C1ZTEJJEylhCUG8 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 93 - Create session 3C1ZTEJJEylhCUG8 with uri:net://localhost and opts: --live
ok 94 - Enable channel chan for session 3C1ZTEJJEylhCUG8
PASS: tools/clear/test_ust 94 - Enable channel chan for session 3C1ZTEJJEylhCUG8
ok 95 - Add context command for type: vpid
PASS: tools/clear/test_ust 95 - Add context command for type: vpid
ok 96 - Enable ust event tp:tptest for session 3C1ZTEJJEylhCUG8
PASS: tools/clear/test_ust 96 - Enable ust event tp:tptest for session 3C1ZTEJJEylhCUG8
ok 97 - Start tracing for session 3C1ZTEJJEylhCUG8
PASS: tools/clear/test_ust 97 - Start tracing for session 3C1ZTEJJEylhCUG8
# Waiting for live trace at url: net://localhost
ok 98 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 98 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 99 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 99 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 100 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 100 - Live viewer read 10 events, expect 10
ok 101 - Clear session 3C1ZTEJJEylhCUG8
PASS: tools/clear/test_ust 101 - Clear session 3C1ZTEJJEylhCUG8
ok 102 - Enable event lttng_ust_statedump:start with filtering for session 3C1ZTEJJEylhCUG8
PASS: tools/clear/test_ust 102 - Enable event lttng_ust_statedump:start with filtering for session 3C1ZTEJJEylhCUG8
ok 103 - Enable event lttng_ust_statedump:end with filtering for session 3C1ZTEJJEylhCUG8
PASS: tools/clear/test_ust 103 - Enable event lttng_ust_statedump:end with filtering for session 3C1ZTEJJEylhCUG8
ok 104 - Statedump regenerate 3C1ZTEJJEylhCUG8
PASS: tools/clear/test_ust 104 - Statedump regenerate 3C1ZTEJJEylhCUG8
# Wait until viewer sees all 12 expected events
ok 105 - Live viewer read 12 events, expect 12
PASS: tools/clear/test_ust 105 - Live viewer read 12 events, expect 12
ok 106 - Stop lttng tracing for session 3C1ZTEJJEylhCUG8
PASS: tools/clear/test_ust 106 - Stop lttng tracing for session 3C1ZTEJJEylhCUG8
ok 107 - Destroy session 3C1ZTEJJEylhCUG8
PASS: tools/clear/test_ust 107 - Destroy session 3C1ZTEJJEylhCUG8
# Waiting for application to exit
ok 108 - Wait for application to exit
PASS: tools/clear/test_ust 108 - Wait for application to exit
# Wait for viewer to exit
ok 109 - Babeltrace succeeds
PASS: tools/clear/test_ust 109 - Babeltrace succeeds
ok 110 - Wait for viewer to exit
PASS: tools/clear/test_ust 110 - Wait for viewer to exit
# Test ust local
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 111 - Create session chTnc9n48Zuy3cOt in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 111 - Create session chTnc9n48Zuy3cOt in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 112 - Enable channel chan for session chTnc9n48Zuy3cOt
PASS: tools/clear/test_ust 112 - Enable channel chan for session chTnc9n48Zuy3cOt
ok 113 - Enable ust event tp:tptest for session chTnc9n48Zuy3cOt
PASS: tools/clear/test_ust 113 - Enable ust event tp:tptest for session chTnc9n48Zuy3cOt
ok 114 - Start tracing for session chTnc9n48Zuy3cOt
PASS: tools/clear/test_ust 114 - Start tracing for session chTnc9n48Zuy3cOt
ok 115 - Clear session chTnc9n48Zuy3cOt
PASS: tools/clear/test_ust 115 - Clear session chTnc9n48Zuy3cOt
ok 116 - Stop lttng tracing for session chTnc9n48Zuy3cOt
PASS: tools/clear/test_ust 116 - Stop lttng tracing for session chTnc9n48Zuy3cOt
ok 117 - Validate empty trace
PASS: tools/clear/test_ust 117 - Validate empty trace
ok 118 - Destroy session chTnc9n48Zuy3cOt
PASS: tools/clear/test_ust 118 - Destroy session chTnc9n48Zuy3cOt
# Test ust local rotate-clear
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 119 - Create session F9GtjZpDwQfBIyRZ in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 119 - Create session F9GtjZpDwQfBIyRZ in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 120 - Enable channel chan for session F9GtjZpDwQfBIyRZ
PASS: tools/clear/test_ust 120 - Enable channel chan for session F9GtjZpDwQfBIyRZ
ok 121 - Enable ust event tp:tptest for session F9GtjZpDwQfBIyRZ
PASS: tools/clear/test_ust 121 - Enable ust event tp:tptest for session F9GtjZpDwQfBIyRZ
ok 122 - Start tracing for session F9GtjZpDwQfBIyRZ
PASS: tools/clear/test_ust 122 - Start tracing for session F9GtjZpDwQfBIyRZ
ok 123 - Rotate session F9GtjZpDwQfBIyRZ
PASS: tools/clear/test_ust 123 - Rotate session F9GtjZpDwQfBIyRZ
ok 124 - Clear session F9GtjZpDwQfBIyRZ
PASS: tools/clear/test_ust 124 - Clear session F9GtjZpDwQfBIyRZ
ok 125 - Stop lttng tracing for session F9GtjZpDwQfBIyRZ
PASS: tools/clear/test_ust 125 - Stop lttng tracing for session F9GtjZpDwQfBIyRZ
ok 126 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 126 - Validate trace for event tp:tptest, 4 events
ok 127 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 127 - Read a total of 4 events, expected 4
ok 128 - Destroy session F9GtjZpDwQfBIyRZ
PASS: tools/clear/test_ust 128 - Destroy session F9GtjZpDwQfBIyRZ
# Test ust local clear-rotate
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 129 - Create session Ni7ySLgm1AYImHwr in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 129 - Create session Ni7ySLgm1AYImHwr in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 130 - Enable channel chan for session Ni7ySLgm1AYImHwr
PASS: tools/clear/test_ust 130 - Enable channel chan for session Ni7ySLgm1AYImHwr
ok 131 - Enable ust event tp:tptest for session Ni7ySLgm1AYImHwr
PASS: tools/clear/test_ust 131 - Enable ust event tp:tptest for session Ni7ySLgm1AYImHwr
ok 132 - Start tracing for session Ni7ySLgm1AYImHwr
PASS: tools/clear/test_ust 132 - Start tracing for session Ni7ySLgm1AYImHwr
ok 133 - Clear session Ni7ySLgm1AYImHwr
PASS: tools/clear/test_ust 133 - Clear session Ni7ySLgm1AYImHwr
ok 134 - Rotate session Ni7ySLgm1AYImHwr
PASS: tools/clear/test_ust 134 - Rotate session Ni7ySLgm1AYImHwr
ok 135 - Stop lttng tracing for session Ni7ySLgm1AYImHwr
PASS: tools/clear/test_ust 135 - Stop lttng tracing for session Ni7ySLgm1AYImHwr
ok 136 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 136 - Validate trace for event tp:tptest, 5 events
ok 137 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 137 - Read a total of 5 events, expected 5
ok 138 - Destroy session Ni7ySLgm1AYImHwr
PASS: tools/clear/test_ust 138 - Destroy session Ni7ySLgm1AYImHwr
# Test ust local no event
# Parameters: tracing_active=1, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 139 - Create session NvpzylFDVtOAdWkQ in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 139 - Create session NvpzylFDVtOAdWkQ in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 140 - Enable channel chan for session NvpzylFDVtOAdWkQ
PASS: tools/clear/test_ust 140 - Enable channel chan for session NvpzylFDVtOAdWkQ
ok 141 - Enable ust event tp:tptest for session NvpzylFDVtOAdWkQ
PASS: tools/clear/test_ust 141 - Enable ust event tp:tptest for session NvpzylFDVtOAdWkQ
ok 142 - Start tracing for session NvpzylFDVtOAdWkQ
PASS: tools/clear/test_ust 142 - Start tracing for session NvpzylFDVtOAdWkQ
ok 143 - Clear session NvpzylFDVtOAdWkQ
PASS: tools/clear/test_ust 143 - Clear session NvpzylFDVtOAdWkQ
ok 144 - Stop lttng tracing for session NvpzylFDVtOAdWkQ
PASS: tools/clear/test_ust 144 - Stop lttng tracing for session NvpzylFDVtOAdWkQ
ok 145 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 145 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 146 - Destroy session NvpzylFDVtOAdWkQ
PASS: tools/clear/test_ust 146 - Destroy session NvpzylFDVtOAdWkQ
# Test ust streaming snapshot clear
# Parameters: tracing_active=1, clear_twice=0, buffer_type=uid
ok 147 - Create session SDWXFyVu5tC3TtUp with uri:net://localhost and opts: --snapshot
PASS: tools/clear/test_ust 147 - Create session SDWXFyVu5tC3TtUp with uri:net://localhost and opts: --snapshot
ok 148 - Enable channel snapshot for session SDWXFyVu5tC3TtUp
PASS: tools/clear/test_ust 148 - Enable channel snapshot for session SDWXFyVu5tC3TtUp
ok 149 - Enable ust event tp:tptest for session SDWXFyVu5tC3TtUp
PASS: tools/clear/test_ust 149 - Enable ust event tp:tptest for session SDWXFyVu5tC3TtUp
ok 150 - Start tracing for session SDWXFyVu5tC3TtUp
PASS: tools/clear/test_ust 150 - Start tracing for session SDWXFyVu5tC3TtUp
ok 151 - Snapshot recorded
PASS: tools/clear/test_ust 151 - Snapshot recorded
ok 152 - Stop lttng tracing for session SDWXFyVu5tC3TtUp
PASS: tools/clear/test_ust 152 - Stop lttng tracing for session SDWXFyVu5tC3TtUp
ok 153 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 153 - Validate trace for event tp:tptest, 10 events
ok 154 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 154 - Read a total of 10 events, expected 10
ok 155 - Start tracing for session SDWXFyVu5tC3TtUp
PASS: tools/clear/test_ust 155 - Start tracing for session SDWXFyVu5tC3TtUp
ok 156 - Clear session SDWXFyVu5tC3TtUp
PASS: tools/clear/test_ust 156 - Clear session SDWXFyVu5tC3TtUp
ok 157 - Snapshot recorded
PASS: tools/clear/test_ust 157 - Snapshot recorded
ok 158 - Stop lttng tracing for session SDWXFyVu5tC3TtUp
PASS: tools/clear/test_ust 158 - Stop lttng tracing for session SDWXFyVu5tC3TtUp
ok 159 - Validate empty trace
PASS: tools/clear/test_ust 159 - Validate empty trace
ok 160 - Start tracing for session SDWXFyVu5tC3TtUp
PASS: tools/clear/test_ust 160 - Start tracing for session SDWXFyVu5tC3TtUp
ok 161 - Snapshot recorded
PASS: tools/clear/test_ust 161 - Snapshot recorded
ok 162 - Stop lttng tracing for session SDWXFyVu5tC3TtUp
PASS: tools/clear/test_ust 162 - Stop lttng tracing for session SDWXFyVu5tC3TtUp
ok 163 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 163 - Validate trace for event tp:tptest, 10 events
ok 164 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 164 - Read a total of 10 events, expected 10
ok 165 - Destroy session SDWXFyVu5tC3TtUp
PASS: tools/clear/test_ust 165 - Destroy session SDWXFyVu5tC3TtUp
# Test ust local snapshot clear
# Parameters: tracing_active=1, clear_twice=0, buffer_type=uid
ok 166 - Create session h614uHY3stoQhaCj in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 166 - Create session h614uHY3stoQhaCj in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 167 - Enable channel snapshot for session h614uHY3stoQhaCj
PASS: tools/clear/test_ust 167 - Enable channel snapshot for session h614uHY3stoQhaCj
ok 168 - Enable ust event tp:tptest for session h614uHY3stoQhaCj
PASS: tools/clear/test_ust 168 - Enable ust event tp:tptest for session h614uHY3stoQhaCj
ok 169 - Start tracing for session h614uHY3stoQhaCj
PASS: tools/clear/test_ust 169 - Start tracing for session h614uHY3stoQhaCj
ok 170 - Snapshot recorded
PASS: tools/clear/test_ust 170 - Snapshot recorded
ok 171 - Stop lttng tracing for session h614uHY3stoQhaCj
PASS: tools/clear/test_ust 171 - Stop lttng tracing for session h614uHY3stoQhaCj
ok 172 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 172 - Validate trace for event tp:tptest, 10 events
ok 173 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 173 - Read a total of 10 events, expected 10
ok 174 - Start tracing for session h614uHY3stoQhaCj
PASS: tools/clear/test_ust 174 - Start tracing for session h614uHY3stoQhaCj
ok 175 - Clear session h614uHY3stoQhaCj
PASS: tools/clear/test_ust 175 - Clear session h614uHY3stoQhaCj
ok 176 - Snapshot recorded
PASS: tools/clear/test_ust 176 - Snapshot recorded
ok 177 - Stop lttng tracing for session h614uHY3stoQhaCj
PASS: tools/clear/test_ust 177 - Stop lttng tracing for session h614uHY3stoQhaCj
ok 178 - Validate empty trace
PASS: tools/clear/test_ust 178 - Validate empty trace
ok 179 - Start tracing for session h614uHY3stoQhaCj
PASS: tools/clear/test_ust 179 - Start tracing for session h614uHY3stoQhaCj
ok 180 - Snapshot recorded
PASS: tools/clear/test_ust 180 - Snapshot recorded
ok 181 - Stop lttng tracing for session h614uHY3stoQhaCj
PASS: tools/clear/test_ust 181 - Stop lttng tracing for session h614uHY3stoQhaCj
ok 182 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 182 - Validate trace for event tp:tptest, 10 events
ok 183 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 183 - Read a total of 10 events, expected 10
ok 184 - Destroy session h614uHY3stoQhaCj
PASS: tools/clear/test_ust 184 - Destroy session h614uHY3stoQhaCj
# Test ust streaming clear
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 185 - Create session l9liWe18UGsntDIN with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 185 - Create session l9liWe18UGsntDIN with uri:net://localhost and opts:
ok 186 - Enable channel chan for session l9liWe18UGsntDIN
PASS: tools/clear/test_ust 186 - Enable channel chan for session l9liWe18UGsntDIN
ok 187 - Enable ust event tp:tptest for session l9liWe18UGsntDIN
PASS: tools/clear/test_ust 187 - Enable ust event tp:tptest for session l9liWe18UGsntDIN
ok 188 - Start tracing for session l9liWe18UGsntDIN
PASS: tools/clear/test_ust 188 - Start tracing for session l9liWe18UGsntDIN
ok 189 - Clear session l9liWe18UGsntDIN
PASS: tools/clear/test_ust 189 - Clear session l9liWe18UGsntDIN
ok 190 - Clear session l9liWe18UGsntDIN
PASS: tools/clear/test_ust 190 - Clear session l9liWe18UGsntDIN
ok 191 - Stop lttng tracing for session l9liWe18UGsntDIN
PASS: tools/clear/test_ust 191 - Stop lttng tracing for session l9liWe18UGsntDIN
ok 192 - Validate empty trace
PASS: tools/clear/test_ust 192 - Validate empty trace
ok 193 - Destroy session l9liWe18UGsntDIN
PASS: tools/clear/test_ust 193 - Destroy session l9liWe18UGsntDIN
# Test ust streaming rotate-clear
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 194 - Create session g0w866o8fD7Dbf0v with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 194 - Create session g0w866o8fD7Dbf0v with uri:net://localhost and opts:
ok 195 - Enable channel chan for session g0w866o8fD7Dbf0v
PASS: tools/clear/test_ust 195 - Enable channel chan for session g0w866o8fD7Dbf0v
ok 196 - Enable ust event tp:tptest for session g0w866o8fD7Dbf0v
PASS: tools/clear/test_ust 196 - Enable ust event tp:tptest for session g0w866o8fD7Dbf0v
ok 197 - Start tracing for session g0w866o8fD7Dbf0v
PASS: tools/clear/test_ust 197 - Start tracing for session g0w866o8fD7Dbf0v
ok 198 - Rotate session g0w866o8fD7Dbf0v
PASS: tools/clear/test_ust 198 - Rotate session g0w866o8fD7Dbf0v
ok 199 - Clear session g0w866o8fD7Dbf0v
PASS: tools/clear/test_ust 199 - Clear session g0w866o8fD7Dbf0v
ok 200 - Clear session g0w866o8fD7Dbf0v
PASS: tools/clear/test_ust 200 - Clear session g0w866o8fD7Dbf0v
ok 201 - Stop lttng tracing for session g0w866o8fD7Dbf0v
PASS: tools/clear/test_ust 201 - Stop lttng tracing for session g0w866o8fD7Dbf0v
ok 202 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 202 - Validate trace for event tp:tptest, 4 events
ok 203 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 203 - Read a total of 4 events, expected 4
ok 204 - Destroy session g0w866o8fD7Dbf0v
PASS: tools/clear/test_ust 204 - Destroy session g0w866o8fD7Dbf0v
# Test ust streaming clear-rotate
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 205 - Create session MqhvV6f2fFHV642T with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 205 - Create session MqhvV6f2fFHV642T with uri:net://localhost and opts:
ok 206 - Enable channel chan for session MqhvV6f2fFHV642T
PASS: tools/clear/test_ust 206 - Enable channel chan for session MqhvV6f2fFHV642T
ok 207 - Enable ust event tp:tptest for session MqhvV6f2fFHV642T
PASS: tools/clear/test_ust 207 - Enable ust event tp:tptest for session MqhvV6f2fFHV642T
ok 208 - Start tracing for session MqhvV6f2fFHV642T
PASS: tools/clear/test_ust 208 - Start tracing for session MqhvV6f2fFHV642T
ok 209 - Clear session MqhvV6f2fFHV642T
PASS: tools/clear/test_ust 209 - Clear session MqhvV6f2fFHV642T
ok 210 - Clear session MqhvV6f2fFHV642T
PASS: tools/clear/test_ust 210 - Clear session MqhvV6f2fFHV642T
ok 211 - Rotate session MqhvV6f2fFHV642T
PASS: tools/clear/test_ust 211 - Rotate session MqhvV6f2fFHV642T
ok 212 - Stop lttng tracing for session MqhvV6f2fFHV642T
PASS: tools/clear/test_ust 212 - Stop lttng tracing for session MqhvV6f2fFHV642T
ok 213 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 213 - Validate trace for event tp:tptest, 5 events
ok 214 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 214 - Read a total of 5 events, expected 5
ok 215 - Destroy session MqhvV6f2fFHV642T
PASS: tools/clear/test_ust 215 - Destroy session MqhvV6f2fFHV642T
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 216 - Create session 74o2uQwSGqb1zLsL with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 216 - Create session 74o2uQwSGqb1zLsL with uri:net://localhost and opts:
ok 217 - Enable channel rotchan for session 74o2uQwSGqb1zLsL
PASS: tools/clear/test_ust 217 - Enable channel rotchan for session 74o2uQwSGqb1zLsL
ok 218 - Enable ust event tp:tptest for session 74o2uQwSGqb1zLsL
PASS: tools/clear/test_ust 218 - Enable ust event tp:tptest for session 74o2uQwSGqb1zLsL
ok 219 - Start tracing for session 74o2uQwSGqb1zLsL
PASS: tools/clear/test_ust 219 - Start tracing for session 74o2uQwSGqb1zLsL
ok 220 - Clear session 74o2uQwSGqb1zLsL
PASS: tools/clear/test_ust 220 - Clear session 74o2uQwSGqb1zLsL
ok 221 - Clear session 74o2uQwSGqb1zLsL
PASS: tools/clear/test_ust 221 - Clear session 74o2uQwSGqb1zLsL
ok 222 - Stop lttng tracing for session 74o2uQwSGqb1zLsL
PASS: tools/clear/test_ust 222 - Stop lttng tracing for session 74o2uQwSGqb1zLsL
ok 223 - Validate empty trace
PASS: tools/clear/test_ust 223 - Validate empty trace
ok 224 - Start tracing for session 74o2uQwSGqb1zLsL
PASS: tools/clear/test_ust 224 - Start tracing for session 74o2uQwSGqb1zLsL
ok 225 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 225 - Stop lttng tracing for session
ok 226 - Validate trace for event tp:tptest, 20 events
PASS: tools/clear/test_ust 226 - Validate trace for event tp:tptest, 20 events
ok 227 - Read a total of 20 events, expected 20
PASS: tools/clear/test_ust 227 - Read a total of 20 events, expected 20
ok 228 - Destroy session 74o2uQwSGqb1zLsL
PASS: tools/clear/test_ust 228 - Destroy session 74o2uQwSGqb1zLsL
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 229 - Create session zwOJQLvF8AnhY2iF with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 229 - Create session zwOJQLvF8AnhY2iF with uri:net://localhost and opts:
ok 230 - Enable channel rotchan for session zwOJQLvF8AnhY2iF
PASS: tools/clear/test_ust 230 - Enable channel rotchan for session zwOJQLvF8AnhY2iF
ok 231 - Enable ust event tp:tptest for session zwOJQLvF8AnhY2iF
PASS: tools/clear/test_ust 231 - Enable ust event tp:tptest for session zwOJQLvF8AnhY2iF
ok 232 - Start tracing for session zwOJQLvF8AnhY2iF
PASS: tools/clear/test_ust 232 - Start tracing for session zwOJQLvF8AnhY2iF
ok 233 - Clear session zwOJQLvF8AnhY2iF
PASS: tools/clear/test_ust 233 - Clear session zwOJQLvF8AnhY2iF
ok 234 - Clear session zwOJQLvF8AnhY2iF
PASS: tools/clear/test_ust 234 - Clear session zwOJQLvF8AnhY2iF
ok 235 - Stop lttng tracing for session zwOJQLvF8AnhY2iF
PASS: tools/clear/test_ust 235 - Stop lttng tracing for session zwOJQLvF8AnhY2iF
ok 236 - Validate empty trace
PASS: tools/clear/test_ust 236 - Validate empty trace
ok 237 - Start tracing for session zwOJQLvF8AnhY2iF
PASS: tools/clear/test_ust 237 - Start tracing for session zwOJQLvF8AnhY2iF
ok 238 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 238 - Stop lttng tracing for session
ok 239 - Validate trace for event tp:tptest, 38 events
PASS: tools/clear/test_ust 239 - Validate trace for event tp:tptest, 38 events
ok 240 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 240 - Read a total of 38 events, expected between [1, 200000[
ok 241 - Destroy session zwOJQLvF8AnhY2iF
PASS: tools/clear/test_ust 241 - Destroy session zwOJQLvF8AnhY2iF
# Test ust streaming clear no event
# Parameters: tracing_active=1, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 242 - Create session fs5e9KIPBKOVsIpN with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 242 - Create session fs5e9KIPBKOVsIpN with uri:net://localhost and opts:
ok 243 - Enable channel chan for session fs5e9KIPBKOVsIpN
PASS: tools/clear/test_ust 243 - Enable channel chan for session fs5e9KIPBKOVsIpN
ok 244 - Enable ust event tp:tptest for session fs5e9KIPBKOVsIpN
PASS: tools/clear/test_ust 244 - Enable ust event tp:tptest for session fs5e9KIPBKOVsIpN
ok 245 - Start tracing for session fs5e9KIPBKOVsIpN
PASS: tools/clear/test_ust 245 - Start tracing for session fs5e9KIPBKOVsIpN
ok 246 - Clear session fs5e9KIPBKOVsIpN
PASS: tools/clear/test_ust 246 - Clear session fs5e9KIPBKOVsIpN
ok 247 - Clear session fs5e9KIPBKOVsIpN
PASS: tools/clear/test_ust 247 - Clear session fs5e9KIPBKOVsIpN
ok 248 - Stop lttng tracing for session fs5e9KIPBKOVsIpN
PASS: tools/clear/test_ust 248 - Stop lttng tracing for session fs5e9KIPBKOVsIpN
ok 249 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/fs5e9KIPBKOVsIpN*" is empty
PASS: tools/clear/test_ust 249 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/fs5e9KIPBKOVsIpN*" is empty
ok 250 - Destroy session fs5e9KIPBKOVsIpN
PASS: tools/clear/test_ust 250 - Destroy session fs5e9KIPBKOVsIpN
# Test ust streaming live clear
# Parameters: tracing_active=1, clear_twice=1, buffer_type=uid
ok 251 - Create session H6CjTJ6B9Dyc7vNk with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 251 - Create session H6CjTJ6B9Dyc7vNk with uri:net://localhost and opts: --live
ok 252 - Enable channel chan for session H6CjTJ6B9Dyc7vNk
PASS: tools/clear/test_ust 252 - Enable channel chan for session H6CjTJ6B9Dyc7vNk
ok 253 - Enable ust event tp:tptest for session H6CjTJ6B9Dyc7vNk
PASS: tools/clear/test_ust 253 - Enable ust event tp:tptest for session H6CjTJ6B9Dyc7vNk
ok 254 - Start tracing for session H6CjTJ6B9Dyc7vNk
PASS: tools/clear/test_ust 254 - Start tracing for session H6CjTJ6B9Dyc7vNk
ok 255 - Clear session H6CjTJ6B9Dyc7vNk
PASS: tools/clear/test_ust 255 - Clear session H6CjTJ6B9Dyc7vNk
ok 256 - Clear session H6CjTJ6B9Dyc7vNk
PASS: tools/clear/test_ust 256 - Clear session H6CjTJ6B9Dyc7vNk
ok 257 - Stop lttng tracing for session H6CjTJ6B9Dyc7vNk
PASS: tools/clear/test_ust 257 - Stop lttng tracing for session H6CjTJ6B9Dyc7vNk
ok 258 - Validate empty trace
PASS: tools/clear/test_ust 258 - Validate empty trace
ok 259 - Destroy session H6CjTJ6B9Dyc7vNk
PASS: tools/clear/test_ust 259 - Destroy session H6CjTJ6B9Dyc7vNk
# Test ust basic streaming live with viewer
# Parameters: tracing_active=1, clear_twice=1, buffer_type=uid
ok 260 - Create session 3J55L26CYWjfBvDY with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 260 - Create session 3J55L26CYWjfBvDY with uri:net://localhost and opts: --live
ok 261 - Enable channel chan for session 3J55L26CYWjfBvDY
PASS: tools/clear/test_ust 261 - Enable channel chan for session 3J55L26CYWjfBvDY
ok 262 - Enable ust event tp:tptest for session 3J55L26CYWjfBvDY
PASS: tools/clear/test_ust 262 - Enable ust event tp:tptest for session 3J55L26CYWjfBvDY
ok 263 - Start tracing for session 3J55L26CYWjfBvDY
PASS: tools/clear/test_ust 263 - Start tracing for session 3J55L26CYWjfBvDY
# Waiting for live trace at url: net://localhost
ok 264 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 264 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 265 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 265 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 266 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 266 - Live viewer read 10 events, expect 10
ok 267 - Destroy session 3J55L26CYWjfBvDY
PASS: tools/clear/test_ust 267 - Destroy session 3J55L26CYWjfBvDY
# Waiting for application to exit
ok 268 - Wait for application to exit
PASS: tools/clear/test_ust 268 - Wait for application to exit
# Wait for viewer to exit
ok 269 - Babeltrace succeeds
PASS: tools/clear/test_ust 269 - Babeltrace succeeds
ok 270 - Wait for viewer to exit
PASS: tools/clear/test_ust 270 - Wait for viewer to exit
# Test ust streaming live clear with viewer
# Parameters: tracing_active=1, clear_twice=1, buffer_type=uid
ok 271 - Create session Qeq5Jloi4mr4eteQ with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 271 - Create session Qeq5Jloi4mr4eteQ with uri:net://localhost and opts: --live
ok 272 - Enable channel chan for session Qeq5Jloi4mr4eteQ
PASS: tools/clear/test_ust 272 - Enable channel chan for session Qeq5Jloi4mr4eteQ
ok 273 - Enable ust event tp:tptest for session Qeq5Jloi4mr4eteQ
PASS: tools/clear/test_ust 273 - Enable ust event tp:tptest for session Qeq5Jloi4mr4eteQ
ok 274 - Start tracing for session Qeq5Jloi4mr4eteQ
PASS: tools/clear/test_ust 274 - Start tracing for session Qeq5Jloi4mr4eteQ
# Waiting for live trace at url: net://localhost
ok 275 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 275 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 276 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 276 - Waiting for live viewers on url: net://localhost
ok 277 - Clear session Qeq5Jloi4mr4eteQ
PASS: tools/clear/test_ust 277 - Clear session Qeq5Jloi4mr4eteQ
ok 278 - Clear session Qeq5Jloi4mr4eteQ
PASS: tools/clear/test_ust 278 - Clear session Qeq5Jloi4mr4eteQ
ok 279 - Stop lttng tracing for session Qeq5Jloi4mr4eteQ
PASS: tools/clear/test_ust 279 - Stop lttng tracing for session Qeq5Jloi4mr4eteQ
ok 280 - Destroy session Qeq5Jloi4mr4eteQ
PASS: tools/clear/test_ust 280 - Destroy session Qeq5Jloi4mr4eteQ
[error] get_next_index failed
# Wait for viewer to exit
ok 281 - Babeltrace succeeds
PASS: tools/clear/test_ust 281 - Babeltrace succeeds
ok 282 - Wait for viewer to exit
PASS: tools/clear/test_ust 282 - Wait for viewer to exit
# Test ust streaming live clear with viewer with new metadata after clear
# Parameters: tracing_active=1, clear_twice=1, buffer_type=uid
ok 283 - Create session XjUVrUWL0pyLAiLn with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 283 - Create session XjUVrUWL0pyLAiLn with uri:net://localhost and opts: --live
ok 284 - Enable channel chan for session XjUVrUWL0pyLAiLn
PASS: tools/clear/test_ust 284 - Enable channel chan for session XjUVrUWL0pyLAiLn
ok 285 - Add context command for type: vpid
PASS: tools/clear/test_ust 285 - Add context command for type: vpid
ok 286 - Enable ust event tp:tptest for session XjUVrUWL0pyLAiLn
PASS: tools/clear/test_ust 286 - Enable ust event tp:tptest for session XjUVrUWL0pyLAiLn
ok 287 - Start tracing for session XjUVrUWL0pyLAiLn
PASS: tools/clear/test_ust 287 - Start tracing for session XjUVrUWL0pyLAiLn
# Waiting for live trace at url: net://localhost
ok 288 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 288 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 289 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 289 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 290 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 290 - Live viewer read 10 events, expect 10
ok 291 - Clear session XjUVrUWL0pyLAiLn
PASS: tools/clear/test_ust 291 - Clear session XjUVrUWL0pyLAiLn
ok 292 - Clear session XjUVrUWL0pyLAiLn
PASS: tools/clear/test_ust 292 - Clear session XjUVrUWL0pyLAiLn
ok 293 - Enable event lttng_ust_statedump:start with filtering for session XjUVrUWL0pyLAiLn
PASS: tools/clear/test_ust 293 - Enable event lttng_ust_statedump:start with filtering for session XjUVrUWL0pyLAiLn
ok 294 - Enable event lttng_ust_statedump:end with filtering for session XjUVrUWL0pyLAiLn
PASS: tools/clear/test_ust 294 - Enable event lttng_ust_statedump:end with filtering for session XjUVrUWL0pyLAiLn
ok 295 - Statedump regenerate XjUVrUWL0pyLAiLn
PASS: tools/clear/test_ust 295 - Statedump regenerate XjUVrUWL0pyLAiLn
# Wait until viewer sees all 12 expected events
ok 296 - Live viewer read 12 events, expect 12
PASS: tools/clear/test_ust 296 - Live viewer read 12 events, expect 12
ok 297 - Stop lttng tracing for session XjUVrUWL0pyLAiLn
PASS: tools/clear/test_ust 297 - Stop lttng tracing for session XjUVrUWL0pyLAiLn
ok 298 - Destroy session XjUVrUWL0pyLAiLn
PASS: tools/clear/test_ust 298 - Destroy session XjUVrUWL0pyLAiLn
# Waiting for application to exit
ok 299 - Wait for application to exit
PASS: tools/clear/test_ust 299 - Wait for application to exit
# Wait for viewer to exit
ok 300 - Babeltrace succeeds
PASS: tools/clear/test_ust 300 - Babeltrace succeeds
ok 301 - Wait for viewer to exit
PASS: tools/clear/test_ust 301 - Wait for viewer to exit
# Test ust local
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 302 - Create session EdIvAQy7NwuAdWEX in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 302 - Create session EdIvAQy7NwuAdWEX in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 303 - Enable channel chan for session EdIvAQy7NwuAdWEX
PASS: tools/clear/test_ust 303 - Enable channel chan for session EdIvAQy7NwuAdWEX
ok 304 - Enable ust event tp:tptest for session EdIvAQy7NwuAdWEX
PASS: tools/clear/test_ust 304 - Enable ust event tp:tptest for session EdIvAQy7NwuAdWEX
ok 305 - Start tracing for session EdIvAQy7NwuAdWEX
PASS: tools/clear/test_ust 305 - Start tracing for session EdIvAQy7NwuAdWEX
ok 306 - Clear session EdIvAQy7NwuAdWEX
PASS: tools/clear/test_ust 306 - Clear session EdIvAQy7NwuAdWEX
ok 307 - Clear session EdIvAQy7NwuAdWEX
PASS: tools/clear/test_ust 307 - Clear session EdIvAQy7NwuAdWEX
ok 308 - Stop lttng tracing for session EdIvAQy7NwuAdWEX
PASS: tools/clear/test_ust 308 - Stop lttng tracing for session EdIvAQy7NwuAdWEX
ok 309 - Validate empty trace
PASS: tools/clear/test_ust 309 - Validate empty trace
ok 310 - Destroy session EdIvAQy7NwuAdWEX
PASS: tools/clear/test_ust 310 - Destroy session EdIvAQy7NwuAdWEX
# Test ust local rotate-clear
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 311 - Create session wLrAcpZ1LDZcimfS in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 311 - Create session wLrAcpZ1LDZcimfS in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 312 - Enable channel chan for session wLrAcpZ1LDZcimfS
PASS: tools/clear/test_ust 312 - Enable channel chan for session wLrAcpZ1LDZcimfS
ok 313 - Enable ust event tp:tptest for session wLrAcpZ1LDZcimfS
PASS: tools/clear/test_ust 313 - Enable ust event tp:tptest for session wLrAcpZ1LDZcimfS
ok 314 - Start tracing for session wLrAcpZ1LDZcimfS
PASS: tools/clear/test_ust 314 - Start tracing for session wLrAcpZ1LDZcimfS
ok 315 - Rotate session wLrAcpZ1LDZcimfS
PASS: tools/clear/test_ust 315 - Rotate session wLrAcpZ1LDZcimfS
ok 316 - Clear session wLrAcpZ1LDZcimfS
PASS: tools/clear/test_ust 316 - Clear session wLrAcpZ1LDZcimfS
ok 317 - Clear session wLrAcpZ1LDZcimfS
PASS: tools/clear/test_ust 317 - Clear session wLrAcpZ1LDZcimfS
ok 318 - Stop lttng tracing for session wLrAcpZ1LDZcimfS
PASS: tools/clear/test_ust 318 - Stop lttng tracing for session wLrAcpZ1LDZcimfS
ok 319 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 319 - Validate trace for event tp:tptest, 4 events
ok 320 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 320 - Read a total of 4 events, expected 4
ok 321 - Destroy session wLrAcpZ1LDZcimfS
PASS: tools/clear/test_ust 321 - Destroy session wLrAcpZ1LDZcimfS
# Test ust local clear-rotate
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 322 - Create session DIPGhjL6hZdsEuoT in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 322 - Create session DIPGhjL6hZdsEuoT in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 323 - Enable channel chan for session DIPGhjL6hZdsEuoT
PASS: tools/clear/test_ust 323 - Enable channel chan for session DIPGhjL6hZdsEuoT
ok 324 - Enable ust event tp:tptest for session DIPGhjL6hZdsEuoT
PASS: tools/clear/test_ust 324 - Enable ust event tp:tptest for session DIPGhjL6hZdsEuoT
ok 325 - Start tracing for session DIPGhjL6hZdsEuoT
PASS: tools/clear/test_ust 325 - Start tracing for session DIPGhjL6hZdsEuoT
ok 326 - Clear session DIPGhjL6hZdsEuoT
PASS: tools/clear/test_ust 326 - Clear session DIPGhjL6hZdsEuoT
ok 327 - Clear session DIPGhjL6hZdsEuoT
PASS: tools/clear/test_ust 327 - Clear session DIPGhjL6hZdsEuoT
ok 328 - Rotate session DIPGhjL6hZdsEuoT
PASS: tools/clear/test_ust 328 - Rotate session DIPGhjL6hZdsEuoT
ok 329 - Stop lttng tracing for session DIPGhjL6hZdsEuoT
PASS: tools/clear/test_ust 329 - Stop lttng tracing for session DIPGhjL6hZdsEuoT
ok 330 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 330 - Validate trace for event tp:tptest, 5 events
ok 331 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 331 - Read a total of 5 events, expected 5
ok 332 - Destroy session DIPGhjL6hZdsEuoT
PASS: tools/clear/test_ust 332 - Destroy session DIPGhjL6hZdsEuoT
# Test ust local no event
# Parameters: tracing_active=1, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 333 - Create session WpVKudjUr31KvKdC in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 333 - Create session WpVKudjUr31KvKdC in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 334 - Enable channel chan for session WpVKudjUr31KvKdC
PASS: tools/clear/test_ust 334 - Enable channel chan for session WpVKudjUr31KvKdC
ok 335 - Enable ust event tp:tptest for session WpVKudjUr31KvKdC
PASS: tools/clear/test_ust 335 - Enable ust event tp:tptest for session WpVKudjUr31KvKdC
ok 336 - Start tracing for session WpVKudjUr31KvKdC
PASS: tools/clear/test_ust 336 - Start tracing for session WpVKudjUr31KvKdC
ok 337 - Clear session WpVKudjUr31KvKdC
PASS: tools/clear/test_ust 337 - Clear session WpVKudjUr31KvKdC
ok 338 - Clear session WpVKudjUr31KvKdC
PASS: tools/clear/test_ust 338 - Clear session WpVKudjUr31KvKdC
ok 339 - Stop lttng tracing for session WpVKudjUr31KvKdC
PASS: tools/clear/test_ust 339 - Stop lttng tracing for session WpVKudjUr31KvKdC
ok 340 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 340 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 341 - Destroy session WpVKudjUr31KvKdC
PASS: tools/clear/test_ust 341 - Destroy session WpVKudjUr31KvKdC
# Test ust streaming snapshot clear
# Parameters: tracing_active=1, clear_twice=1, buffer_type=uid
ok 342 - Create session NWMLAnnWT079J6Nz with uri:net://localhost and opts: --snapshot
PASS: tools/clear/test_ust 342 - Create session NWMLAnnWT079J6Nz with uri:net://localhost and opts: --snapshot
ok 343 - Enable channel snapshot for session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 343 - Enable channel snapshot for session NWMLAnnWT079J6Nz
ok 344 - Enable ust event tp:tptest for session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 344 - Enable ust event tp:tptest for session NWMLAnnWT079J6Nz
ok 345 - Start tracing for session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 345 - Start tracing for session NWMLAnnWT079J6Nz
ok 346 - Snapshot recorded
PASS: tools/clear/test_ust 346 - Snapshot recorded
ok 347 - Stop lttng tracing for session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 347 - Stop lttng tracing for session NWMLAnnWT079J6Nz
ok 348 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 348 - Validate trace for event tp:tptest, 10 events
ok 349 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 349 - Read a total of 10 events, expected 10
ok 350 - Start tracing for session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 350 - Start tracing for session NWMLAnnWT079J6Nz
ok 351 - Clear session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 351 - Clear session NWMLAnnWT079J6Nz
ok 352 - Clear session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 352 - Clear session NWMLAnnWT079J6Nz
ok 353 - Snapshot recorded
PASS: tools/clear/test_ust 353 - Snapshot recorded
ok 354 - Stop lttng tracing for session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 354 - Stop lttng tracing for session NWMLAnnWT079J6Nz
ok 355 - Validate empty trace
PASS: tools/clear/test_ust 355 - Validate empty trace
ok 356 - Start tracing for session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 356 - Start tracing for session NWMLAnnWT079J6Nz
ok 357 - Snapshot recorded
PASS: tools/clear/test_ust 357 - Snapshot recorded
ok 358 - Stop lttng tracing for session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 358 - Stop lttng tracing for session NWMLAnnWT079J6Nz
ok 359 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 359 - Validate trace for event tp:tptest, 10 events
ok 360 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 360 - Read a total of 10 events, expected 10
ok 361 - Destroy session NWMLAnnWT079J6Nz
PASS: tools/clear/test_ust 361 - Destroy session NWMLAnnWT079J6Nz
# Test ust local snapshot clear
# Parameters: tracing_active=1, clear_twice=1, buffer_type=uid
ok 362 - Create session 13sIFdyEmOSlcPwT in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 362 - Create session 13sIFdyEmOSlcPwT in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 363 - Enable channel snapshot for session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 363 - Enable channel snapshot for session 13sIFdyEmOSlcPwT
ok 364 - Enable ust event tp:tptest for session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 364 - Enable ust event tp:tptest for session 13sIFdyEmOSlcPwT
ok 365 - Start tracing for session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 365 - Start tracing for session 13sIFdyEmOSlcPwT
ok 366 - Snapshot recorded
PASS: tools/clear/test_ust 366 - Snapshot recorded
ok 367 - Stop lttng tracing for session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 367 - Stop lttng tracing for session 13sIFdyEmOSlcPwT
ok 368 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 368 - Validate trace for event tp:tptest, 10 events
ok 369 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 369 - Read a total of 10 events, expected 10
ok 370 - Start tracing for session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 370 - Start tracing for session 13sIFdyEmOSlcPwT
ok 371 - Clear session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 371 - Clear session 13sIFdyEmOSlcPwT
ok 372 - Clear session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 372 - Clear session 13sIFdyEmOSlcPwT
ok 373 - Snapshot recorded
PASS: tools/clear/test_ust 373 - Snapshot recorded
ok 374 - Stop lttng tracing for session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 374 - Stop lttng tracing for session 13sIFdyEmOSlcPwT
ok 375 - Validate empty trace
PASS: tools/clear/test_ust 375 - Validate empty trace
ok 376 - Start tracing for session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 376 - Start tracing for session 13sIFdyEmOSlcPwT
ok 377 - Snapshot recorded
PASS: tools/clear/test_ust 377 - Snapshot recorded
ok 378 - Stop lttng tracing for session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 378 - Stop lttng tracing for session 13sIFdyEmOSlcPwT
ok 379 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 379 - Validate trace for event tp:tptest, 10 events
ok 380 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 380 - Read a total of 10 events, expected 10
ok 381 - Destroy session 13sIFdyEmOSlcPwT
PASS: tools/clear/test_ust 381 - Destroy session 13sIFdyEmOSlcPwT
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 382 - Create session pyLikJYIeFb3nCdr with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 382 - Create session pyLikJYIeFb3nCdr with uri:net://localhost and opts:
ok 383 - Enable channel chan for session pyLikJYIeFb3nCdr
PASS: tools/clear/test_ust 383 - Enable channel chan for session pyLikJYIeFb3nCdr
ok 384 - Enable ust event tp:tptest for session pyLikJYIeFb3nCdr
PASS: tools/clear/test_ust 384 - Enable ust event tp:tptest for session pyLikJYIeFb3nCdr
ok 385 - Start tracing for session pyLikJYIeFb3nCdr
PASS: tools/clear/test_ust 385 - Start tracing for session pyLikJYIeFb3nCdr
ok 386 - Stop lttng tracing for session pyLikJYIeFb3nCdr
PASS: tools/clear/test_ust 386 - Stop lttng tracing for session pyLikJYIeFb3nCdr
ok 387 - Clear session pyLikJYIeFb3nCdr
PASS: tools/clear/test_ust 387 - Clear session pyLikJYIeFb3nCdr
ok 388 - Start tracing for session pyLikJYIeFb3nCdr
PASS: tools/clear/test_ust 388 - Start tracing for session pyLikJYIeFb3nCdr
ok 389 - Stop lttng tracing for session pyLikJYIeFb3nCdr
PASS: tools/clear/test_ust 389 - Stop lttng tracing for session pyLikJYIeFb3nCdr
ok 390 - Validate empty trace
PASS: tools/clear/test_ust 390 - Validate empty trace
ok 391 - Destroy session pyLikJYIeFb3nCdr
PASS: tools/clear/test_ust 391 - Destroy session pyLikJYIeFb3nCdr
# Test ust streaming rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 392 - Create session 5HuqKzkgL0lXbgeF with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 392 - Create session 5HuqKzkgL0lXbgeF with uri:net://localhost and opts:
ok 393 - Enable channel chan for session 5HuqKzkgL0lXbgeF
PASS: tools/clear/test_ust 393 - Enable channel chan for session 5HuqKzkgL0lXbgeF
ok 394 - Enable ust event tp:tptest for session 5HuqKzkgL0lXbgeF
PASS: tools/clear/test_ust 394 - Enable ust event tp:tptest for session 5HuqKzkgL0lXbgeF
ok 395 - Start tracing for session 5HuqKzkgL0lXbgeF
PASS: tools/clear/test_ust 395 - Start tracing for session 5HuqKzkgL0lXbgeF
ok 396 - Rotate session 5HuqKzkgL0lXbgeF
PASS: tools/clear/test_ust 396 - Rotate session 5HuqKzkgL0lXbgeF
ok 397 - Stop lttng tracing for session 5HuqKzkgL0lXbgeF
PASS: tools/clear/test_ust 397 - Stop lttng tracing for session 5HuqKzkgL0lXbgeF
ok 398 - Clear session 5HuqKzkgL0lXbgeF
PASS: tools/clear/test_ust 398 - Clear session 5HuqKzkgL0lXbgeF
ok 399 - Start tracing for session 5HuqKzkgL0lXbgeF
PASS: tools/clear/test_ust 399 - Start tracing for session 5HuqKzkgL0lXbgeF
ok 400 - Stop lttng tracing for session 5HuqKzkgL0lXbgeF
PASS: tools/clear/test_ust 400 - Stop lttng tracing for session 5HuqKzkgL0lXbgeF
ok 401 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 401 - Validate trace for event tp:tptest, 4 events
ok 402 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 402 - Read a total of 4 events, expected 4
ok 403 - Destroy session 5HuqKzkgL0lXbgeF
PASS: tools/clear/test_ust 403 - Destroy session 5HuqKzkgL0lXbgeF
# Test ust streaming clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 404 - Create session 69FXatODg3wD5D24 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 404 - Create session 69FXatODg3wD5D24 with uri:net://localhost and opts:
ok 405 - Enable channel chan for session 69FXatODg3wD5D24
PASS: tools/clear/test_ust 405 - Enable channel chan for session 69FXatODg3wD5D24
ok 406 - Enable ust event tp:tptest for session 69FXatODg3wD5D24
PASS: tools/clear/test_ust 406 - Enable ust event tp:tptest for session 69FXatODg3wD5D24
ok 407 - Start tracing for session 69FXatODg3wD5D24
PASS: tools/clear/test_ust 407 - Start tracing for session 69FXatODg3wD5D24
ok 408 - Stop lttng tracing for session 69FXatODg3wD5D24
PASS: tools/clear/test_ust 408 - Stop lttng tracing for session 69FXatODg3wD5D24
ok 409 - Clear session 69FXatODg3wD5D24
PASS: tools/clear/test_ust 409 - Clear session 69FXatODg3wD5D24
ok 410 - Start tracing for session 69FXatODg3wD5D24
PASS: tools/clear/test_ust 410 - Start tracing for session 69FXatODg3wD5D24
ok 411 - Rotate session 69FXatODg3wD5D24
PASS: tools/clear/test_ust 411 - Rotate session 69FXatODg3wD5D24
ok 412 - Stop lttng tracing for session 69FXatODg3wD5D24
PASS: tools/clear/test_ust 412 - Stop lttng tracing for session 69FXatODg3wD5D24
ok 413 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 413 - Validate trace for event tp:tptest, 5 events
ok 414 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 414 - Read a total of 5 events, expected 5
ok 415 - Destroy session 69FXatODg3wD5D24
PASS: tools/clear/test_ust 415 - Destroy session 69FXatODg3wD5D24
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 416 - Create session ZIVw9eWOkLXH6uK0 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 416 - Create session ZIVw9eWOkLXH6uK0 with uri:net://localhost and opts:
ok 417 - Enable channel rotchan for session ZIVw9eWOkLXH6uK0
PASS: tools/clear/test_ust 417 - Enable channel rotchan for session ZIVw9eWOkLXH6uK0
ok 418 - Enable ust event tp:tptest for session ZIVw9eWOkLXH6uK0
PASS: tools/clear/test_ust 418 - Enable ust event tp:tptest for session ZIVw9eWOkLXH6uK0
ok 419 - Start tracing for session ZIVw9eWOkLXH6uK0
PASS: tools/clear/test_ust 419 - Start tracing for session ZIVw9eWOkLXH6uK0
ok 420 - Stop lttng tracing for session ZIVw9eWOkLXH6uK0
PASS: tools/clear/test_ust 420 - Stop lttng tracing for session ZIVw9eWOkLXH6uK0
ok 421 - Clear session ZIVw9eWOkLXH6uK0
PASS: tools/clear/test_ust 421 - Clear session ZIVw9eWOkLXH6uK0
ok 422 - Start tracing for session ZIVw9eWOkLXH6uK0
PASS: tools/clear/test_ust 422 - Start tracing for session ZIVw9eWOkLXH6uK0
ok 423 - Stop lttng tracing for session ZIVw9eWOkLXH6uK0
PASS: tools/clear/test_ust 423 - Stop lttng tracing for session ZIVw9eWOkLXH6uK0
ok 424 - Validate empty trace
PASS: tools/clear/test_ust 424 - Validate empty trace
ok 425 - Start tracing for session ZIVw9eWOkLXH6uK0
PASS: tools/clear/test_ust 425 - Start tracing for session ZIVw9eWOkLXH6uK0
ok 426 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 426 - Stop lttng tracing for session
ok 427 - Validate trace for event tp:tptest, 20 events
PASS: tools/clear/test_ust 427 - Validate trace for event tp:tptest, 20 events
ok 428 - Read a total of 20 events, expected 20
PASS: tools/clear/test_ust 428 - Read a total of 20 events, expected 20
ok 429 - Destroy session ZIVw9eWOkLXH6uK0
PASS: tools/clear/test_ust 429 - Destroy session ZIVw9eWOkLXH6uK0
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 430 - Create session EBL6wO7FQ5DSFglY with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 430 - Create session EBL6wO7FQ5DSFglY with uri:net://localhost and opts:
ok 431 - Enable channel rotchan for session EBL6wO7FQ5DSFglY
PASS: tools/clear/test_ust 431 - Enable channel rotchan for session EBL6wO7FQ5DSFglY
ok 432 - Enable ust event tp:tptest for session EBL6wO7FQ5DSFglY
PASS: tools/clear/test_ust 432 - Enable ust event tp:tptest for session EBL6wO7FQ5DSFglY
ok 433 - Start tracing for session EBL6wO7FQ5DSFglY
PASS: tools/clear/test_ust 433 - Start tracing for session EBL6wO7FQ5DSFglY
ok 434 - Stop lttng tracing for session EBL6wO7FQ5DSFglY
PASS: tools/clear/test_ust 434 - Stop lttng tracing for session EBL6wO7FQ5DSFglY
ok 435 - Clear session EBL6wO7FQ5DSFglY
PASS: tools/clear/test_ust 435 - Clear session EBL6wO7FQ5DSFglY
ok 436 - Start tracing for session EBL6wO7FQ5DSFglY
PASS: tools/clear/test_ust 436 - Start tracing for session EBL6wO7FQ5DSFglY
ok 437 - Stop lttng tracing for session EBL6wO7FQ5DSFglY
PASS: tools/clear/test_ust 437 - Stop lttng tracing for session EBL6wO7FQ5DSFglY
ok 438 - Validate empty trace
PASS: tools/clear/test_ust 438 - Validate empty trace
ok 439 - Start tracing for session EBL6wO7FQ5DSFglY
PASS: tools/clear/test_ust 439 - Start tracing for session EBL6wO7FQ5DSFglY
ok 440 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 440 - Stop lttng tracing for session
ok 441 - Validate trace for event tp:tptest, 38 events
PASS: tools/clear/test_ust 441 - Validate trace for event tp:tptest, 38 events
ok 442 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 442 - Read a total of 38 events, expected between [1, 200000[
ok 443 - Destroy session EBL6wO7FQ5DSFglY
PASS: tools/clear/test_ust 443 - Destroy session EBL6wO7FQ5DSFglY
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 444 - Create session 3bGcJfF3vuoj37L0 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 444 - Create session 3bGcJfF3vuoj37L0 with uri:net://localhost and opts:
ok 445 - Enable channel chan for session 3bGcJfF3vuoj37L0
PASS: tools/clear/test_ust 445 - Enable channel chan for session 3bGcJfF3vuoj37L0
ok 446 - Enable ust event tp:tptest for session 3bGcJfF3vuoj37L0
PASS: tools/clear/test_ust 446 - Enable ust event tp:tptest for session 3bGcJfF3vuoj37L0
ok 447 - Start tracing for session 3bGcJfF3vuoj37L0
PASS: tools/clear/test_ust 447 - Start tracing for session 3bGcJfF3vuoj37L0
ok 448 - Stop lttng tracing for session 3bGcJfF3vuoj37L0
PASS: tools/clear/test_ust 448 - Stop lttng tracing for session 3bGcJfF3vuoj37L0
ok 449 - Clear session 3bGcJfF3vuoj37L0
PASS: tools/clear/test_ust 449 - Clear session 3bGcJfF3vuoj37L0
ok 450 - Start tracing for session 3bGcJfF3vuoj37L0
PASS: tools/clear/test_ust 450 - Start tracing for session 3bGcJfF3vuoj37L0
ok 451 - Stop lttng tracing for session 3bGcJfF3vuoj37L0
PASS: tools/clear/test_ust 451 - Stop lttng tracing for session 3bGcJfF3vuoj37L0
ok 452 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/3bGcJfF3vuoj37L0*" is empty
PASS: tools/clear/test_ust 452 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/3bGcJfF3vuoj37L0*" is empty
ok 453 - Destroy session 3bGcJfF3vuoj37L0
PASS: tools/clear/test_ust 453 - Destroy session 3bGcJfF3vuoj37L0
# Test ust streaming live clear
# Parameters: tracing_active=0, clear_twice=0, buffer_type=uid
ok 454 - Create session aqyKzjyOwGqOZyQ5 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 454 - Create session aqyKzjyOwGqOZyQ5 with uri:net://localhost and opts: --live
ok 455 - Enable channel chan for session aqyKzjyOwGqOZyQ5
PASS: tools/clear/test_ust 455 - Enable channel chan for session aqyKzjyOwGqOZyQ5
ok 456 - Enable ust event tp:tptest for session aqyKzjyOwGqOZyQ5
PASS: tools/clear/test_ust 456 - Enable ust event tp:tptest for session aqyKzjyOwGqOZyQ5
ok 457 - Start tracing for session aqyKzjyOwGqOZyQ5
PASS: tools/clear/test_ust 457 - Start tracing for session aqyKzjyOwGqOZyQ5
ok 458 - Stop lttng tracing for session aqyKzjyOwGqOZyQ5
PASS: tools/clear/test_ust 458 - Stop lttng tracing for session aqyKzjyOwGqOZyQ5
ok 459 - Clear session aqyKzjyOwGqOZyQ5
PASS: tools/clear/test_ust 459 - Clear session aqyKzjyOwGqOZyQ5
ok 460 - Start tracing for session aqyKzjyOwGqOZyQ5
PASS: tools/clear/test_ust 460 - Start tracing for session aqyKzjyOwGqOZyQ5
ok 461 - Stop lttng tracing for session aqyKzjyOwGqOZyQ5
PASS: tools/clear/test_ust 461 - Stop lttng tracing for session aqyKzjyOwGqOZyQ5
ok 462 - Validate empty trace
PASS: tools/clear/test_ust 462 - Validate empty trace
ok 463 - Destroy session aqyKzjyOwGqOZyQ5
PASS: tools/clear/test_ust 463 - Destroy session aqyKzjyOwGqOZyQ5
# Test ust basic streaming live with viewer
# Parameters: tracing_active=0, clear_twice=0, buffer_type=uid
ok 464 - Create session jrKIq8bFbKwxaoya with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 464 - Create session jrKIq8bFbKwxaoya with uri:net://localhost and opts: --live
ok 465 - Enable channel chan for session jrKIq8bFbKwxaoya
PASS: tools/clear/test_ust 465 - Enable channel chan for session jrKIq8bFbKwxaoya
ok 466 - Enable ust event tp:tptest for session jrKIq8bFbKwxaoya
PASS: tools/clear/test_ust 466 - Enable ust event tp:tptest for session jrKIq8bFbKwxaoya
ok 467 - Start tracing for session jrKIq8bFbKwxaoya
PASS: tools/clear/test_ust 467 - Start tracing for session jrKIq8bFbKwxaoya
# Waiting for live trace at url: net://localhost
ok 468 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 468 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 469 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 469 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 470 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 470 - Live viewer read 10 events, expect 10
ok 471 - Destroy session jrKIq8bFbKwxaoya
PASS: tools/clear/test_ust 471 - Destroy session jrKIq8bFbKwxaoya
# Waiting for application to exit
ok 472 - Wait for application to exit
PASS: tools/clear/test_ust 472 - Wait for application to exit
# Wait for viewer to exit
ok 473 - Babeltrace succeeds
PASS: tools/clear/test_ust 473 - Babeltrace succeeds
ok 474 - Wait for viewer to exit
PASS: tools/clear/test_ust 474 - Wait for viewer to exit
# Test ust streaming live clear with viewer
# Parameters: tracing_active=0, clear_twice=0, buffer_type=uid
ok 475 - Create session fLGKA1wU8CGqCCHW with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 475 - Create session fLGKA1wU8CGqCCHW with uri:net://localhost and opts: --live
ok 476 - Enable channel chan for session fLGKA1wU8CGqCCHW
PASS: tools/clear/test_ust 476 - Enable channel chan for session fLGKA1wU8CGqCCHW
ok 477 - Enable ust event tp:tptest for session fLGKA1wU8CGqCCHW
PASS: tools/clear/test_ust 477 - Enable ust event tp:tptest for session fLGKA1wU8CGqCCHW
ok 478 - Start tracing for session fLGKA1wU8CGqCCHW
PASS: tools/clear/test_ust 478 - Start tracing for session fLGKA1wU8CGqCCHW
# Waiting for live trace at url: net://localhost
ok 479 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 479 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 480 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 480 - Waiting for live viewers on url: net://localhost
ok 481 - Stop lttng tracing for session fLGKA1wU8CGqCCHW
PASS: tools/clear/test_ust 481 - Stop lttng tracing for session fLGKA1wU8CGqCCHW
ok 482 - Clear session fLGKA1wU8CGqCCHW
PASS: tools/clear/test_ust 482 - Clear session fLGKA1wU8CGqCCHW
ok 483 - Start tracing for session fLGKA1wU8CGqCCHW
PASS: tools/clear/test_ust 483 - Start tracing for session fLGKA1wU8CGqCCHW
ok 484 - Stop lttng tracing for session fLGKA1wU8CGqCCHW
PASS: tools/clear/test_ust 484 - Stop lttng tracing for session fLGKA1wU8CGqCCHW
ok 485 - Destroy session fLGKA1wU8CGqCCHW
PASS: tools/clear/test_ust 485 - Destroy session fLGKA1wU8CGqCCHW
# Wait for viewer to exit
ok 486 - Babeltrace succeeds
PASS: tools/clear/test_ust 486 - Babeltrace succeeds
ok 487 - Wait for viewer to exit
PASS: tools/clear/test_ust 487 - Wait for viewer to exit
# Test ust streaming live clear with viewer with new metadata after clear
# Parameters: tracing_active=0, clear_twice=0, buffer_type=uid
ok 488 - Create session WiDiZnyGnSCgUIlJ with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 488 - Create session WiDiZnyGnSCgUIlJ with uri:net://localhost and opts: --live
ok 489 - Enable channel chan for session WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 489 - Enable channel chan for session WiDiZnyGnSCgUIlJ
ok 490 - Add context command for type: vpid
PASS: tools/clear/test_ust 490 - Add context command for type: vpid
ok 491 - Enable ust event tp:tptest for session WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 491 - Enable ust event tp:tptest for session WiDiZnyGnSCgUIlJ
ok 492 - Start tracing for session WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 492 - Start tracing for session WiDiZnyGnSCgUIlJ
# Waiting for live trace at url: net://localhost
ok 493 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 493 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 494 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 494 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 495 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 495 - Live viewer read 10 events, expect 10
ok 496 - Stop lttng tracing for session WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 496 - Stop lttng tracing for session WiDiZnyGnSCgUIlJ
ok 497 - Clear session WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 497 - Clear session WiDiZnyGnSCgUIlJ
ok 498 - Start tracing for session WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 498 - Start tracing for session WiDiZnyGnSCgUIlJ
ok 499 - Enable event lttng_ust_statedump:start with filtering for session WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 499 - Enable event lttng_ust_statedump:start with filtering for session WiDiZnyGnSCgUIlJ
ok 500 - Enable event lttng_ust_statedump:end with filtering for session WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 500 - Enable event lttng_ust_statedump:end with filtering for session WiDiZnyGnSCgUIlJ
ok 501 - Statedump regenerate WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 501 - Statedump regenerate WiDiZnyGnSCgUIlJ
# Wait until viewer sees all 12 expected events
ok 502 - Live viewer read 12 events, expect 12
PASS: tools/clear/test_ust 502 - Live viewer read 12 events, expect 12
ok 503 - Stop lttng tracing for session WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 503 - Stop lttng tracing for session WiDiZnyGnSCgUIlJ
ok 504 - Destroy session WiDiZnyGnSCgUIlJ
PASS: tools/clear/test_ust 504 - Destroy session WiDiZnyGnSCgUIlJ
# Waiting for application to exit
ok 505 - Wait for application to exit
PASS: tools/clear/test_ust 505 - Wait for application to exit
# Wait for viewer to exit
ok 506 - Babeltrace succeeds
PASS: tools/clear/test_ust 506 - Babeltrace succeeds
ok 507 - Wait for viewer to exit
PASS: tools/clear/test_ust 507 - Wait for viewer to exit
# Test ust local
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 508 - Create session 3ojVPjw400wdsSmz in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 508 - Create session 3ojVPjw400wdsSmz in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 509 - Enable channel chan for session 3ojVPjw400wdsSmz
PASS: tools/clear/test_ust 509 - Enable channel chan for session 3ojVPjw400wdsSmz
ok 510 - Enable ust event tp:tptest for session 3ojVPjw400wdsSmz
PASS: tools/clear/test_ust 510 - Enable ust event tp:tptest for session 3ojVPjw400wdsSmz
ok 511 - Start tracing for session 3ojVPjw400wdsSmz
PASS: tools/clear/test_ust 511 - Start tracing for session 3ojVPjw400wdsSmz
ok 512 - Stop lttng tracing for session 3ojVPjw400wdsSmz
PASS: tools/clear/test_ust 512 - Stop lttng tracing for session 3ojVPjw400wdsSmz
ok 513 - Clear session 3ojVPjw400wdsSmz
PASS: tools/clear/test_ust 513 - Clear session 3ojVPjw400wdsSmz
ok 514 - Start tracing for session 3ojVPjw400wdsSmz
PASS: tools/clear/test_ust 514 - Start tracing for session 3ojVPjw400wdsSmz
ok 515 - Stop lttng tracing for session 3ojVPjw400wdsSmz
PASS: tools/clear/test_ust 515 - Stop lttng tracing for session 3ojVPjw400wdsSmz
ok 516 - Validate empty trace
PASS: tools/clear/test_ust 516 - Validate empty trace
ok 517 - Destroy session 3ojVPjw400wdsSmz
PASS: tools/clear/test_ust 517 - Destroy session 3ojVPjw400wdsSmz
# Test ust local rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 518 - Create session dIoAkmpPfAwsG5Od in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 518 - Create session dIoAkmpPfAwsG5Od in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 519 - Enable channel chan for session dIoAkmpPfAwsG5Od
PASS: tools/clear/test_ust 519 - Enable channel chan for session dIoAkmpPfAwsG5Od
ok 520 - Enable ust event tp:tptest for session dIoAkmpPfAwsG5Od
PASS: tools/clear/test_ust 520 - Enable ust event tp:tptest for session dIoAkmpPfAwsG5Od
ok 521 - Start tracing for session dIoAkmpPfAwsG5Od
PASS: tools/clear/test_ust 521 - Start tracing for session dIoAkmpPfAwsG5Od
ok 522 - Rotate session dIoAkmpPfAwsG5Od
PASS: tools/clear/test_ust 522 - Rotate session dIoAkmpPfAwsG5Od
ok 523 - Stop lttng tracing for session dIoAkmpPfAwsG5Od
PASS: tools/clear/test_ust 523 - Stop lttng tracing for session dIoAkmpPfAwsG5Od
ok 524 - Clear session dIoAkmpPfAwsG5Od
PASS: tools/clear/test_ust 524 - Clear session dIoAkmpPfAwsG5Od
ok 525 - Start tracing for session dIoAkmpPfAwsG5Od
PASS: tools/clear/test_ust 525 - Start tracing for session dIoAkmpPfAwsG5Od
ok 526 - Stop lttng tracing for session dIoAkmpPfAwsG5Od
PASS: tools/clear/test_ust 526 - Stop lttng tracing for session dIoAkmpPfAwsG5Od
ok 527 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 527 - Validate trace for event tp:tptest, 4 events
ok 528 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 528 - Read a total of 4 events, expected 4
ok 529 - Destroy session dIoAkmpPfAwsG5Od
PASS: tools/clear/test_ust 529 - Destroy session dIoAkmpPfAwsG5Od
# Test ust local clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 530 - Create session pOxZUgaMorr8qESV in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 530 - Create session pOxZUgaMorr8qESV in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 531 - Enable channel chan for session pOxZUgaMorr8qESV
PASS: tools/clear/test_ust 531 - Enable channel chan for session pOxZUgaMorr8qESV
ok 532 - Enable ust event tp:tptest for session pOxZUgaMorr8qESV
PASS: tools/clear/test_ust 532 - Enable ust event tp:tptest for session pOxZUgaMorr8qESV
ok 533 - Start tracing for session pOxZUgaMorr8qESV
PASS: tools/clear/test_ust 533 - Start tracing for session pOxZUgaMorr8qESV
ok 534 - Stop lttng tracing for session pOxZUgaMorr8qESV
PASS: tools/clear/test_ust 534 - Stop lttng tracing for session pOxZUgaMorr8qESV
ok 535 - Clear session pOxZUgaMorr8qESV
PASS: tools/clear/test_ust 535 - Clear session pOxZUgaMorr8qESV
ok 536 - Start tracing for session pOxZUgaMorr8qESV
PASS: tools/clear/test_ust 536 - Start tracing for session pOxZUgaMorr8qESV
ok 537 - Rotate session pOxZUgaMorr8qESV
PASS: tools/clear/test_ust 537 - Rotate session pOxZUgaMorr8qESV
ok 538 - Stop lttng tracing for session pOxZUgaMorr8qESV
PASS: tools/clear/test_ust 538 - Stop lttng tracing for session pOxZUgaMorr8qESV
ok 539 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 539 - Validate trace for event tp:tptest, 5 events
ok 540 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 540 - Read a total of 5 events, expected 5
ok 541 - Destroy session pOxZUgaMorr8qESV
PASS: tools/clear/test_ust 541 - Destroy session pOxZUgaMorr8qESV
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 542 - Create session e9RKDxqajeTjavFu in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 542 - Create session e9RKDxqajeTjavFu in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 543 - Enable channel chan for session e9RKDxqajeTjavFu
PASS: tools/clear/test_ust 543 - Enable channel chan for session e9RKDxqajeTjavFu
ok 544 - Enable ust event tp:tptest for session e9RKDxqajeTjavFu
PASS: tools/clear/test_ust 544 - Enable ust event tp:tptest for session e9RKDxqajeTjavFu
ok 545 - Start tracing for session e9RKDxqajeTjavFu
PASS: tools/clear/test_ust 545 - Start tracing for session e9RKDxqajeTjavFu
ok 546 - Stop lttng tracing for session e9RKDxqajeTjavFu
PASS: tools/clear/test_ust 546 - Stop lttng tracing for session e9RKDxqajeTjavFu
ok 547 - Clear session e9RKDxqajeTjavFu
PASS: tools/clear/test_ust 547 - Clear session e9RKDxqajeTjavFu
ok 548 - Start tracing for session e9RKDxqajeTjavFu
PASS: tools/clear/test_ust 548 - Start tracing for session e9RKDxqajeTjavFu
ok 549 - Stop lttng tracing for session e9RKDxqajeTjavFu
PASS: tools/clear/test_ust 549 - Stop lttng tracing for session e9RKDxqajeTjavFu
ok 550 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 550 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 551 - Destroy session e9RKDxqajeTjavFu
PASS: tools/clear/test_ust 551 - Destroy session e9RKDxqajeTjavFu
# Test ust streaming snapshot clear
# Parameters: tracing_active=0, clear_twice=0, buffer_type=uid
ok 552 - Create session sYNb6S0IJHKHzX44 with uri:net://localhost and opts: --snapshot
PASS: tools/clear/test_ust 552 - Create session sYNb6S0IJHKHzX44 with uri:net://localhost and opts: --snapshot
ok 553 - Enable channel snapshot for session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 553 - Enable channel snapshot for session sYNb6S0IJHKHzX44
ok 554 - Enable ust event tp:tptest for session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 554 - Enable ust event tp:tptest for session sYNb6S0IJHKHzX44
ok 555 - Start tracing for session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 555 - Start tracing for session sYNb6S0IJHKHzX44
ok 556 - Snapshot recorded
PASS: tools/clear/test_ust 556 - Snapshot recorded
ok 557 - Stop lttng tracing for session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 557 - Stop lttng tracing for session sYNb6S0IJHKHzX44
ok 558 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 558 - Validate trace for event tp:tptest, 10 events
ok 559 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 559 - Read a total of 10 events, expected 10
ok 560 - Start tracing for session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 560 - Start tracing for session sYNb6S0IJHKHzX44
ok 561 - Stop lttng tracing for session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 561 - Stop lttng tracing for session sYNb6S0IJHKHzX44
ok 562 - Clear session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 562 - Clear session sYNb6S0IJHKHzX44
ok 563 - Start tracing for session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 563 - Start tracing for session sYNb6S0IJHKHzX44
ok 564 - Snapshot recorded
PASS: tools/clear/test_ust 564 - Snapshot recorded
ok 565 - Stop lttng tracing for session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 565 - Stop lttng tracing for session sYNb6S0IJHKHzX44
ok 566 - Validate empty trace
PASS: tools/clear/test_ust 566 - Validate empty trace
ok 567 - Start tracing for session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 567 - Start tracing for session sYNb6S0IJHKHzX44
ok 568 - Snapshot recorded
PASS: tools/clear/test_ust 568 - Snapshot recorded
ok 569 - Stop lttng tracing for session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 569 - Stop lttng tracing for session sYNb6S0IJHKHzX44
ok 570 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 570 - Validate trace for event tp:tptest, 10 events
ok 571 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 571 - Read a total of 10 events, expected 10
ok 572 - Destroy session sYNb6S0IJHKHzX44
PASS: tools/clear/test_ust 572 - Destroy session sYNb6S0IJHKHzX44
# Test ust local snapshot clear
# Parameters: tracing_active=0, clear_twice=0, buffer_type=uid
ok 573 - Create session zVdG6W1WZZVhG9Sl in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 573 - Create session zVdG6W1WZZVhG9Sl in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 574 - Enable channel snapshot for session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 574 - Enable channel snapshot for session zVdG6W1WZZVhG9Sl
ok 575 - Enable ust event tp:tptest for session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 575 - Enable ust event tp:tptest for session zVdG6W1WZZVhG9Sl
ok 576 - Start tracing for session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 576 - Start tracing for session zVdG6W1WZZVhG9Sl
ok 577 - Snapshot recorded
PASS: tools/clear/test_ust 577 - Snapshot recorded
ok 578 - Stop lttng tracing for session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 578 - Stop lttng tracing for session zVdG6W1WZZVhG9Sl
ok 579 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 579 - Validate trace for event tp:tptest, 10 events
ok 580 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 580 - Read a total of 10 events, expected 10
ok 581 - Start tracing for session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 581 - Start tracing for session zVdG6W1WZZVhG9Sl
ok 582 - Stop lttng tracing for session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 582 - Stop lttng tracing for session zVdG6W1WZZVhG9Sl
ok 583 - Clear session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 583 - Clear session zVdG6W1WZZVhG9Sl
ok 584 - Start tracing for session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 584 - Start tracing for session zVdG6W1WZZVhG9Sl
ok 585 - Snapshot recorded
PASS: tools/clear/test_ust 585 - Snapshot recorded
ok 586 - Stop lttng tracing for session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 586 - Stop lttng tracing for session zVdG6W1WZZVhG9Sl
ok 587 - Validate empty trace
PASS: tools/clear/test_ust 587 - Validate empty trace
ok 588 - Start tracing for session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 588 - Start tracing for session zVdG6W1WZZVhG9Sl
ok 589 - Snapshot recorded
PASS: tools/clear/test_ust 589 - Snapshot recorded
ok 590 - Stop lttng tracing for session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 590 - Stop lttng tracing for session zVdG6W1WZZVhG9Sl
ok 591 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 591 - Validate trace for event tp:tptest, 10 events
ok 592 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 592 - Read a total of 10 events, expected 10
ok 593 - Destroy session zVdG6W1WZZVhG9Sl
PASS: tools/clear/test_ust 593 - Destroy session zVdG6W1WZZVhG9Sl
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 594 - Create session 0ETvDqB58q4231px with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 594 - Create session 0ETvDqB58q4231px with uri:net://localhost and opts:
ok 595 - Enable channel chan for session 0ETvDqB58q4231px
PASS: tools/clear/test_ust 595 - Enable channel chan for session 0ETvDqB58q4231px
ok 596 - Enable ust event tp:tptest for session 0ETvDqB58q4231px
PASS: tools/clear/test_ust 596 - Enable ust event tp:tptest for session 0ETvDqB58q4231px
ok 597 - Start tracing for session 0ETvDqB58q4231px
PASS: tools/clear/test_ust 597 - Start tracing for session 0ETvDqB58q4231px
ok 598 - Stop lttng tracing for session 0ETvDqB58q4231px
PASS: tools/clear/test_ust 598 - Stop lttng tracing for session 0ETvDqB58q4231px
ok 599 - Clear session 0ETvDqB58q4231px
PASS: tools/clear/test_ust 599 - Clear session 0ETvDqB58q4231px
ok 600 - Clear session 0ETvDqB58q4231px
PASS: tools/clear/test_ust 600 - Clear session 0ETvDqB58q4231px
ok 601 - Start tracing for session 0ETvDqB58q4231px
PASS: tools/clear/test_ust 601 - Start tracing for session 0ETvDqB58q4231px
ok 602 - Stop lttng tracing for session 0ETvDqB58q4231px
PASS: tools/clear/test_ust 602 - Stop lttng tracing for session 0ETvDqB58q4231px
ok 603 - Validate empty trace
PASS: tools/clear/test_ust 603 - Validate empty trace
ok 604 - Destroy session 0ETvDqB58q4231px
PASS: tools/clear/test_ust 604 - Destroy session 0ETvDqB58q4231px
# Test ust streaming rotate-clear
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 605 - Create session fG9PUusFjLlJ3s7o with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 605 - Create session fG9PUusFjLlJ3s7o with uri:net://localhost and opts:
ok 606 - Enable channel chan for session fG9PUusFjLlJ3s7o
PASS: tools/clear/test_ust 606 - Enable channel chan for session fG9PUusFjLlJ3s7o
ok 607 - Enable ust event tp:tptest for session fG9PUusFjLlJ3s7o
PASS: tools/clear/test_ust 607 - Enable ust event tp:tptest for session fG9PUusFjLlJ3s7o
ok 608 - Start tracing for session fG9PUusFjLlJ3s7o
PASS: tools/clear/test_ust 608 - Start tracing for session fG9PUusFjLlJ3s7o
ok 609 - Rotate session fG9PUusFjLlJ3s7o
PASS: tools/clear/test_ust 609 - Rotate session fG9PUusFjLlJ3s7o
ok 610 - Stop lttng tracing for session fG9PUusFjLlJ3s7o
PASS: tools/clear/test_ust 610 - Stop lttng tracing for session fG9PUusFjLlJ3s7o
ok 611 - Clear session fG9PUusFjLlJ3s7o
PASS: tools/clear/test_ust 611 - Clear session fG9PUusFjLlJ3s7o
ok 612 - Clear session fG9PUusFjLlJ3s7o
PASS: tools/clear/test_ust 612 - Clear session fG9PUusFjLlJ3s7o
ok 613 - Start tracing for session fG9PUusFjLlJ3s7o
PASS: tools/clear/test_ust 613 - Start tracing for session fG9PUusFjLlJ3s7o
ok 614 - Stop lttng tracing for session fG9PUusFjLlJ3s7o
PASS: tools/clear/test_ust 614 - Stop lttng tracing for session fG9PUusFjLlJ3s7o
ok 615 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 615 - Validate trace for event tp:tptest, 4 events
ok 616 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 616 - Read a total of 4 events, expected 4
ok 617 - Destroy session fG9PUusFjLlJ3s7o
PASS: tools/clear/test_ust 617 - Destroy session fG9PUusFjLlJ3s7o
# Test ust streaming clear-rotate
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 618 - Create session S5J4xxDGDaGCNqVx with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 618 - Create session S5J4xxDGDaGCNqVx with uri:net://localhost and opts:
ok 619 - Enable channel chan for session S5J4xxDGDaGCNqVx
PASS: tools/clear/test_ust 619 - Enable channel chan for session S5J4xxDGDaGCNqVx
ok 620 - Enable ust event tp:tptest for session S5J4xxDGDaGCNqVx
PASS: tools/clear/test_ust 620 - Enable ust event tp:tptest for session S5J4xxDGDaGCNqVx
ok 621 - Start tracing for session S5J4xxDGDaGCNqVx
PASS: tools/clear/test_ust 621 - Start tracing for session S5J4xxDGDaGCNqVx
ok 622 - Stop lttng tracing for session S5J4xxDGDaGCNqVx
PASS: tools/clear/test_ust 622 - Stop lttng tracing for session S5J4xxDGDaGCNqVx
ok 623 - Clear session S5J4xxDGDaGCNqVx
PASS: tools/clear/test_ust 623 - Clear session S5J4xxDGDaGCNqVx
ok 624 - Clear session S5J4xxDGDaGCNqVx
PASS: tools/clear/test_ust 624 - Clear session S5J4xxDGDaGCNqVx
ok 625 - Start tracing for session S5J4xxDGDaGCNqVx
PASS: tools/clear/test_ust 625 - Start tracing for session S5J4xxDGDaGCNqVx
ok 626 - Rotate session S5J4xxDGDaGCNqVx
PASS: tools/clear/test_ust 626 - Rotate session S5J4xxDGDaGCNqVx
ok 627 - Stop lttng tracing for session S5J4xxDGDaGCNqVx
PASS: tools/clear/test_ust 627 - Stop lttng tracing for session S5J4xxDGDaGCNqVx
ok 628 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 628 - Validate trace for event tp:tptest, 5 events
ok 629 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 629 - Read a total of 5 events, expected 5
ok 630 - Destroy session S5J4xxDGDaGCNqVx
PASS: tools/clear/test_ust 630 - Destroy session S5J4xxDGDaGCNqVx
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 631 - Create session hlovatJaWyRMjIFF with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 631 - Create session hlovatJaWyRMjIFF with uri:net://localhost and opts:
ok 632 - Enable channel rotchan for session hlovatJaWyRMjIFF
PASS: tools/clear/test_ust 632 - Enable channel rotchan for session hlovatJaWyRMjIFF
ok 633 - Enable ust event tp:tptest for session hlovatJaWyRMjIFF
PASS: tools/clear/test_ust 633 - Enable ust event tp:tptest for session hlovatJaWyRMjIFF
ok 634 - Start tracing for session hlovatJaWyRMjIFF
PASS: tools/clear/test_ust 634 - Start tracing for session hlovatJaWyRMjIFF
ok 635 - Stop lttng tracing for session hlovatJaWyRMjIFF
PASS: tools/clear/test_ust 635 - Stop lttng tracing for session hlovatJaWyRMjIFF
ok 636 - Clear session hlovatJaWyRMjIFF
PASS: tools/clear/test_ust 636 - Clear session hlovatJaWyRMjIFF
ok 637 - Clear session hlovatJaWyRMjIFF
PASS: tools/clear/test_ust 637 - Clear session hlovatJaWyRMjIFF
ok 638 - Start tracing for session hlovatJaWyRMjIFF
PASS: tools/clear/test_ust 638 - Start tracing for session hlovatJaWyRMjIFF
ok 639 - Stop lttng tracing for session hlovatJaWyRMjIFF
PASS: tools/clear/test_ust 639 - Stop lttng tracing for session hlovatJaWyRMjIFF
ok 640 - Validate empty trace
PASS: tools/clear/test_ust 640 - Validate empty trace
ok 641 - Start tracing for session hlovatJaWyRMjIFF
PASS: tools/clear/test_ust 641 - Start tracing for session hlovatJaWyRMjIFF
ok 642 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 642 - Stop lttng tracing for session
ok 643 - Validate trace for event tp:tptest, 20 events
PASS: tools/clear/test_ust 643 - Validate trace for event tp:tptest, 20 events
ok 644 - Read a total of 20 events, expected 20
PASS: tools/clear/test_ust 644 - Read a total of 20 events, expected 20
ok 645 - Destroy session hlovatJaWyRMjIFF
PASS: tools/clear/test_ust 645 - Destroy session hlovatJaWyRMjIFF
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 646 - Create session xUsexygs9xK6PqHe with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 646 - Create session xUsexygs9xK6PqHe with uri:net://localhost and opts:
ok 647 - Enable channel rotchan for session xUsexygs9xK6PqHe
PASS: tools/clear/test_ust 647 - Enable channel rotchan for session xUsexygs9xK6PqHe
ok 648 - Enable ust event tp:tptest for session xUsexygs9xK6PqHe
PASS: tools/clear/test_ust 648 - Enable ust event tp:tptest for session xUsexygs9xK6PqHe
ok 649 - Start tracing for session xUsexygs9xK6PqHe
PASS: tools/clear/test_ust 649 - Start tracing for session xUsexygs9xK6PqHe
ok 650 - Stop lttng tracing for session xUsexygs9xK6PqHe
PASS: tools/clear/test_ust 650 - Stop lttng tracing for session xUsexygs9xK6PqHe
ok 651 - Clear session xUsexygs9xK6PqHe
PASS: tools/clear/test_ust 651 - Clear session xUsexygs9xK6PqHe
ok 652 - Clear session xUsexygs9xK6PqHe
PASS: tools/clear/test_ust 652 - Clear session xUsexygs9xK6PqHe
ok 653 - Start tracing for session xUsexygs9xK6PqHe
PASS: tools/clear/test_ust 653 - Start tracing for session xUsexygs9xK6PqHe
ok 654 - Stop lttng tracing for session xUsexygs9xK6PqHe
PASS: tools/clear/test_ust 654 - Stop lttng tracing for session xUsexygs9xK6PqHe
ok 655 - Validate empty trace
PASS: tools/clear/test_ust 655 - Validate empty trace
ok 656 - Start tracing for session xUsexygs9xK6PqHe
PASS: tools/clear/test_ust 656 - Start tracing for session xUsexygs9xK6PqHe
ok 657 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 657 - Stop lttng tracing for session
ok 658 - Validate trace for event tp:tptest, 38 events
PASS: tools/clear/test_ust 658 - Validate trace for event tp:tptest, 38 events
ok 659 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 659 - Read a total of 38 events, expected between [1, 200000[
ok 660 - Destroy session xUsexygs9xK6PqHe
PASS: tools/clear/test_ust 660 - Destroy session xUsexygs9xK6PqHe
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 661 - Create session 9UMZsVyXrt5aYOzI with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 661 - Create session 9UMZsVyXrt5aYOzI with uri:net://localhost and opts:
ok 662 - Enable channel chan for session 9UMZsVyXrt5aYOzI
PASS: tools/clear/test_ust 662 - Enable channel chan for session 9UMZsVyXrt5aYOzI
ok 663 - Enable ust event tp:tptest for session 9UMZsVyXrt5aYOzI
PASS: tools/clear/test_ust 663 - Enable ust event tp:tptest for session 9UMZsVyXrt5aYOzI
ok 664 - Start tracing for session 9UMZsVyXrt5aYOzI
PASS: tools/clear/test_ust 664 - Start tracing for session 9UMZsVyXrt5aYOzI
ok 665 - Stop lttng tracing for session 9UMZsVyXrt5aYOzI
PASS: tools/clear/test_ust 665 - Stop lttng tracing for session 9UMZsVyXrt5aYOzI
ok 666 - Clear session 9UMZsVyXrt5aYOzI
PASS: tools/clear/test_ust 666 - Clear session 9UMZsVyXrt5aYOzI
ok 667 - Clear session 9UMZsVyXrt5aYOzI
PASS: tools/clear/test_ust 667 - Clear session 9UMZsVyXrt5aYOzI
ok 668 - Start tracing for session 9UMZsVyXrt5aYOzI
PASS: tools/clear/test_ust 668 - Start tracing for session 9UMZsVyXrt5aYOzI
ok 669 - Stop lttng tracing for session 9UMZsVyXrt5aYOzI
PASS: tools/clear/test_ust 669 - Stop lttng tracing for session 9UMZsVyXrt5aYOzI
ok 670 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/9UMZsVyXrt5aYOzI*" is empty
PASS: tools/clear/test_ust 670 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/9UMZsVyXrt5aYOzI*" is empty
ok 671 - Destroy session 9UMZsVyXrt5aYOzI
PASS: tools/clear/test_ust 671 - Destroy session 9UMZsVyXrt5aYOzI
# Test ust streaming live clear
# Parameters: tracing_active=0, clear_twice=1, buffer_type=uid
ok 672 - Create session cD3Ud3ne2NGxDpez with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 672 - Create session cD3Ud3ne2NGxDpez with uri:net://localhost and opts: --live
ok 673 - Enable channel chan for session cD3Ud3ne2NGxDpez
PASS: tools/clear/test_ust 673 - Enable channel chan for session cD3Ud3ne2NGxDpez
ok 674 - Enable ust event tp:tptest for session cD3Ud3ne2NGxDpez
PASS: tools/clear/test_ust 674 - Enable ust event tp:tptest for session cD3Ud3ne2NGxDpez
ok 675 - Start tracing for session cD3Ud3ne2NGxDpez
PASS: tools/clear/test_ust 675 - Start tracing for session cD3Ud3ne2NGxDpez
ok 676 - Stop lttng tracing for session cD3Ud3ne2NGxDpez
PASS: tools/clear/test_ust 676 - Stop lttng tracing for session cD3Ud3ne2NGxDpez
ok 677 - Clear session cD3Ud3ne2NGxDpez
PASS: tools/clear/test_ust 677 - Clear session cD3Ud3ne2NGxDpez
ok 678 - Clear session cD3Ud3ne2NGxDpez
PASS: tools/clear/test_ust 678 - Clear session cD3Ud3ne2NGxDpez
ok 679 - Start tracing for session cD3Ud3ne2NGxDpez
PASS: tools/clear/test_ust 679 - Start tracing for session cD3Ud3ne2NGxDpez
ok 680 - Stop lttng tracing for session cD3Ud3ne2NGxDpez
PASS: tools/clear/test_ust 680 - Stop lttng tracing for session cD3Ud3ne2NGxDpez
ok 681 - Validate empty trace
PASS: tools/clear/test_ust 681 - Validate empty trace
ok 682 - Destroy session cD3Ud3ne2NGxDpez
PASS: tools/clear/test_ust 682 - Destroy session cD3Ud3ne2NGxDpez
# Test ust basic streaming live with viewer
# Parameters: tracing_active=0, clear_twice=1, buffer_type=uid
ok 683 - Create session fePFFPFaByroxSlM with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 683 - Create session fePFFPFaByroxSlM with uri:net://localhost and opts: --live
ok 684 - Enable channel chan for session fePFFPFaByroxSlM
PASS: tools/clear/test_ust 684 - Enable channel chan for session fePFFPFaByroxSlM
ok 685 - Enable ust event tp:tptest for session fePFFPFaByroxSlM
PASS: tools/clear/test_ust 685 - Enable ust event tp:tptest for session fePFFPFaByroxSlM
ok 686 - Start tracing for session fePFFPFaByroxSlM
PASS: tools/clear/test_ust 686 - Start tracing for session fePFFPFaByroxSlM
# Waiting for live trace at url: net://localhost
ok 687 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 687 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 688 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 688 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 689 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 689 - Live viewer read 10 events, expect 10
ok 690 - Destroy session fePFFPFaByroxSlM
PASS: tools/clear/test_ust 690 - Destroy session fePFFPFaByroxSlM
# Waiting for application to exit
ok 691 - Wait for application to exit
PASS: tools/clear/test_ust 691 - Wait for application to exit
# Wait for viewer to exit
ok 692 - Babeltrace succeeds
PASS: tools/clear/test_ust 692 - Babeltrace succeeds
ok 693 - Wait for viewer to exit
PASS: tools/clear/test_ust 693 - Wait for viewer to exit
# Test ust streaming live clear with viewer
# Parameters: tracing_active=0, clear_twice=1, buffer_type=uid
ok 694 - Create session JaL2EUD3iHuW7owF with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 694 - Create session JaL2EUD3iHuW7owF with uri:net://localhost and opts: --live
ok 695 - Enable channel chan for session JaL2EUD3iHuW7owF
PASS: tools/clear/test_ust 695 - Enable channel chan for session JaL2EUD3iHuW7owF
ok 696 - Enable ust event tp:tptest for session JaL2EUD3iHuW7owF
PASS: tools/clear/test_ust 696 - Enable ust event tp:tptest for session JaL2EUD3iHuW7owF
ok 697 - Start tracing for session JaL2EUD3iHuW7owF
PASS: tools/clear/test_ust 697 - Start tracing for session JaL2EUD3iHuW7owF
# Waiting for live trace at url: net://localhost
ok 698 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 698 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 699 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 699 - Waiting for live viewers on url: net://localhost
ok 700 - Stop lttng tracing for session JaL2EUD3iHuW7owF
PASS: tools/clear/test_ust 700 - Stop lttng tracing for session JaL2EUD3iHuW7owF
ok 701 - Clear session JaL2EUD3iHuW7owF
PASS: tools/clear/test_ust 701 - Clear session JaL2EUD3iHuW7owF
ok 702 - Clear session JaL2EUD3iHuW7owF
PASS: tools/clear/test_ust 702 - Clear session JaL2EUD3iHuW7owF
ok 703 - Start tracing for session JaL2EUD3iHuW7owF
PASS: tools/clear/test_ust 703 - Start tracing for session JaL2EUD3iHuW7owF
ok 704 - Stop lttng tracing for session JaL2EUD3iHuW7owF
PASS: tools/clear/test_ust 704 - Stop lttng tracing for session JaL2EUD3iHuW7owF
ok 705 - Destroy session JaL2EUD3iHuW7owF
PASS: tools/clear/test_ust 705 - Destroy session JaL2EUD3iHuW7owF
[warning] [Context] Cannot open_trace of format lttng-live at path net://localhost/host/qemux86-64/JaL2EUD3iHuW7owF.
[warning] [Context] cannot open trace "net://localhost/host/qemux86-64/JaL2EUD3iHuW7owF" for reading.
[error] opening trace "net://localhost/host/qemux86-64/JaL2EUD3iHuW7owF" for reading.

[error] none of the specified trace paths could be opened.

# 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.
ok 707 - Wait for viewer to exit
PASS: tools/clear/test_ust 707 - Wait for viewer to exit
# Test ust streaming live clear with viewer with new metadata after clear
# Parameters: tracing_active=0, clear_twice=1, buffer_type=uid
ok 708 - Create session 1aFb5SdLAeD86PwI with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 708 - Create session 1aFb5SdLAeD86PwI with uri:net://localhost and opts: --live
ok 709 - Enable channel chan for session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 709 - Enable channel chan for session 1aFb5SdLAeD86PwI
ok 710 - Add context command for type: vpid
PASS: tools/clear/test_ust 710 - Add context command for type: vpid
ok 711 - Enable ust event tp:tptest for session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 711 - Enable ust event tp:tptest for session 1aFb5SdLAeD86PwI
ok 712 - Start tracing for session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 712 - Start tracing for session 1aFb5SdLAeD86PwI
# Waiting for live trace at url: net://localhost
ok 713 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 713 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 714 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 714 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 715 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 715 - Live viewer read 10 events, expect 10
ok 716 - Stop lttng tracing for session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 716 - Stop lttng tracing for session 1aFb5SdLAeD86PwI
ok 717 - Clear session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 717 - Clear session 1aFb5SdLAeD86PwI
ok 718 - Clear session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 718 - Clear session 1aFb5SdLAeD86PwI
ok 719 - Start tracing for session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 719 - Start tracing for session 1aFb5SdLAeD86PwI
ok 720 - Enable event lttng_ust_statedump:start with filtering for session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 720 - Enable event lttng_ust_statedump:start with filtering for session 1aFb5SdLAeD86PwI
ok 721 - Enable event lttng_ust_statedump:end with filtering for session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 721 - Enable event lttng_ust_statedump:end with filtering for session 1aFb5SdLAeD86PwI
ok 722 - Statedump regenerate 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 722 - Statedump regenerate 1aFb5SdLAeD86PwI
# Wait until viewer sees all 12 expected events
ok 723 - Live viewer read 12 events, expect 12
PASS: tools/clear/test_ust 723 - Live viewer read 12 events, expect 12
ok 724 - Stop lttng tracing for session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 724 - Stop lttng tracing for session 1aFb5SdLAeD86PwI
ok 725 - Destroy session 1aFb5SdLAeD86PwI
PASS: tools/clear/test_ust 725 - Destroy session 1aFb5SdLAeD86PwI
# Waiting for application to exit
ok 726 - Wait for application to exit
PASS: tools/clear/test_ust 726 - Wait for application to exit
# Wait for viewer to exit
ok 727 - Babeltrace succeeds
PASS: tools/clear/test_ust 727 - Babeltrace succeeds
ok 728 - Wait for viewer to exit
PASS: tools/clear/test_ust 728 - Wait for viewer to exit
# Test ust local
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 729 - Create session f0eBVroQzcxc756b in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 729 - Create session f0eBVroQzcxc756b in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 730 - Enable channel chan for session f0eBVroQzcxc756b
PASS: tools/clear/test_ust 730 - Enable channel chan for session f0eBVroQzcxc756b
ok 731 - Enable ust event tp:tptest for session f0eBVroQzcxc756b
PASS: tools/clear/test_ust 731 - Enable ust event tp:tptest for session f0eBVroQzcxc756b
ok 732 - Start tracing for session f0eBVroQzcxc756b
PASS: tools/clear/test_ust 732 - Start tracing for session f0eBVroQzcxc756b
ok 733 - Stop lttng tracing for session f0eBVroQzcxc756b
PASS: tools/clear/test_ust 733 - Stop lttng tracing for session f0eBVroQzcxc756b
ok 734 - Clear session f0eBVroQzcxc756b
PASS: tools/clear/test_ust 734 - Clear session f0eBVroQzcxc756b
ok 735 - Clear session f0eBVroQzcxc756b
PASS: tools/clear/test_ust 735 - Clear session f0eBVroQzcxc756b
ok 736 - Start tracing for session f0eBVroQzcxc756b
PASS: tools/clear/test_ust 736 - Start tracing for session f0eBVroQzcxc756b
ok 737 - Stop lttng tracing for session f0eBVroQzcxc756b
PASS: tools/clear/test_ust 737 - Stop lttng tracing for session f0eBVroQzcxc756b
ok 738 - Validate empty trace
PASS: tools/clear/test_ust 738 - Validate empty trace
ok 739 - Destroy session f0eBVroQzcxc756b
PASS: tools/clear/test_ust 739 - Destroy session f0eBVroQzcxc756b
# Test ust local rotate-clear
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 740 - Create session yDqZssBK2WMEDeQF in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 740 - Create session yDqZssBK2WMEDeQF in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 741 - Enable channel chan for session yDqZssBK2WMEDeQF
PASS: tools/clear/test_ust 741 - Enable channel chan for session yDqZssBK2WMEDeQF
ok 742 - Enable ust event tp:tptest for session yDqZssBK2WMEDeQF
PASS: tools/clear/test_ust 742 - Enable ust event tp:tptest for session yDqZssBK2WMEDeQF
ok 743 - Start tracing for session yDqZssBK2WMEDeQF
PASS: tools/clear/test_ust 743 - Start tracing for session yDqZssBK2WMEDeQF
ok 744 - Rotate session yDqZssBK2WMEDeQF
PASS: tools/clear/test_ust 744 - Rotate session yDqZssBK2WMEDeQF
ok 745 - Stop lttng tracing for session yDqZssBK2WMEDeQF
PASS: tools/clear/test_ust 745 - Stop lttng tracing for session yDqZssBK2WMEDeQF
ok 746 - Clear session yDqZssBK2WMEDeQF
PASS: tools/clear/test_ust 746 - Clear session yDqZssBK2WMEDeQF
ok 747 - Clear session yDqZssBK2WMEDeQF
PASS: tools/clear/test_ust 747 - Clear session yDqZssBK2WMEDeQF
ok 748 - Start tracing for session yDqZssBK2WMEDeQF
PASS: tools/clear/test_ust 748 - Start tracing for session yDqZssBK2WMEDeQF
ok 749 - Stop lttng tracing for session yDqZssBK2WMEDeQF
PASS: tools/clear/test_ust 749 - Stop lttng tracing for session yDqZssBK2WMEDeQF
ok 750 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 750 - Validate trace for event tp:tptest, 4 events
ok 751 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 751 - Read a total of 4 events, expected 4
ok 752 - Destroy session yDqZssBK2WMEDeQF
PASS: tools/clear/test_ust 752 - Destroy session yDqZssBK2WMEDeQF
# Test ust local clear-rotate
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 753 - Create session PZ8Yx26zBH923gyH in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 753 - Create session PZ8Yx26zBH923gyH in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 754 - Enable channel chan for session PZ8Yx26zBH923gyH
PASS: tools/clear/test_ust 754 - Enable channel chan for session PZ8Yx26zBH923gyH
ok 755 - Enable ust event tp:tptest for session PZ8Yx26zBH923gyH
PASS: tools/clear/test_ust 755 - Enable ust event tp:tptest for session PZ8Yx26zBH923gyH
ok 756 - Start tracing for session PZ8Yx26zBH923gyH
PASS: tools/clear/test_ust 756 - Start tracing for session PZ8Yx26zBH923gyH
ok 757 - Stop lttng tracing for session PZ8Yx26zBH923gyH
PASS: tools/clear/test_ust 757 - Stop lttng tracing for session PZ8Yx26zBH923gyH
ok 758 - Clear session PZ8Yx26zBH923gyH
PASS: tools/clear/test_ust 758 - Clear session PZ8Yx26zBH923gyH
ok 759 - Clear session PZ8Yx26zBH923gyH
PASS: tools/clear/test_ust 759 - Clear session PZ8Yx26zBH923gyH
ok 760 - Start tracing for session PZ8Yx26zBH923gyH
PASS: tools/clear/test_ust 760 - Start tracing for session PZ8Yx26zBH923gyH
ok 761 - Rotate session PZ8Yx26zBH923gyH
PASS: tools/clear/test_ust 761 - Rotate session PZ8Yx26zBH923gyH
ok 762 - Stop lttng tracing for session PZ8Yx26zBH923gyH
PASS: tools/clear/test_ust 762 - Stop lttng tracing for session PZ8Yx26zBH923gyH
ok 763 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 763 - Validate trace for event tp:tptest, 5 events
ok 764 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 764 - Read a total of 5 events, expected 5
ok 765 - Destroy session PZ8Yx26zBH923gyH
PASS: tools/clear/test_ust 765 - Destroy session PZ8Yx26zBH923gyH
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 766 - Create session gKC1UdPGK7RFc5ju in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 766 - Create session gKC1UdPGK7RFc5ju in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 767 - Enable channel chan for session gKC1UdPGK7RFc5ju
PASS: tools/clear/test_ust 767 - Enable channel chan for session gKC1UdPGK7RFc5ju
ok 768 - Enable ust event tp:tptest for session gKC1UdPGK7RFc5ju
PASS: tools/clear/test_ust 768 - Enable ust event tp:tptest for session gKC1UdPGK7RFc5ju
ok 769 - Start tracing for session gKC1UdPGK7RFc5ju
PASS: tools/clear/test_ust 769 - Start tracing for session gKC1UdPGK7RFc5ju
ok 770 - Stop lttng tracing for session gKC1UdPGK7RFc5ju
PASS: tools/clear/test_ust 770 - Stop lttng tracing for session gKC1UdPGK7RFc5ju
ok 771 - Clear session gKC1UdPGK7RFc5ju
PASS: tools/clear/test_ust 771 - Clear session gKC1UdPGK7RFc5ju
ok 772 - Clear session gKC1UdPGK7RFc5ju
PASS: tools/clear/test_ust 772 - Clear session gKC1UdPGK7RFc5ju
ok 773 - Start tracing for session gKC1UdPGK7RFc5ju
PASS: tools/clear/test_ust 773 - Start tracing for session gKC1UdPGK7RFc5ju
ok 774 - Stop lttng tracing for session gKC1UdPGK7RFc5ju
PASS: tools/clear/test_ust 774 - Stop lttng tracing for session gKC1UdPGK7RFc5ju
ok 775 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 775 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 776 - Destroy session gKC1UdPGK7RFc5ju
PASS: tools/clear/test_ust 776 - Destroy session gKC1UdPGK7RFc5ju
# Test ust streaming snapshot clear
# Parameters: tracing_active=0, clear_twice=1, buffer_type=uid
ok 777 - Create session P2FaDjbjkTBSs3ky with uri:net://localhost and opts: --snapshot
PASS: tools/clear/test_ust 777 - Create session P2FaDjbjkTBSs3ky with uri:net://localhost and opts: --snapshot
ok 778 - Enable channel snapshot for session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 778 - Enable channel snapshot for session P2FaDjbjkTBSs3ky
ok 779 - Enable ust event tp:tptest for session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 779 - Enable ust event tp:tptest for session P2FaDjbjkTBSs3ky
ok 780 - Start tracing for session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 780 - Start tracing for session P2FaDjbjkTBSs3ky
ok 781 - Snapshot recorded
PASS: tools/clear/test_ust 781 - Snapshot recorded
ok 782 - Stop lttng tracing for session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 782 - Stop lttng tracing for session P2FaDjbjkTBSs3ky
ok 783 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 783 - Validate trace for event tp:tptest, 10 events
ok 784 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 784 - Read a total of 10 events, expected 10
ok 785 - Start tracing for session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 785 - Start tracing for session P2FaDjbjkTBSs3ky
ok 786 - Stop lttng tracing for session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 786 - Stop lttng tracing for session P2FaDjbjkTBSs3ky
ok 787 - Clear session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 787 - Clear session P2FaDjbjkTBSs3ky
ok 788 - Clear session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 788 - Clear session P2FaDjbjkTBSs3ky
ok 789 - Start tracing for session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 789 - Start tracing for session P2FaDjbjkTBSs3ky
ok 790 - Snapshot recorded
PASS: tools/clear/test_ust 790 - Snapshot recorded
ok 791 - Stop lttng tracing for session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 791 - Stop lttng tracing for session P2FaDjbjkTBSs3ky
ok 792 - Validate empty trace
PASS: tools/clear/test_ust 792 - Validate empty trace
ok 793 - Start tracing for session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 793 - Start tracing for session P2FaDjbjkTBSs3ky
ok 794 - Snapshot recorded
PASS: tools/clear/test_ust 794 - Snapshot recorded
ok 795 - Stop lttng tracing for session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 795 - Stop lttng tracing for session P2FaDjbjkTBSs3ky
ok 796 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 796 - Validate trace for event tp:tptest, 10 events
ok 797 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 797 - Read a total of 10 events, expected 10
ok 798 - Destroy session P2FaDjbjkTBSs3ky
PASS: tools/clear/test_ust 798 - Destroy session P2FaDjbjkTBSs3ky
# Test ust local snapshot clear
# Parameters: tracing_active=0, clear_twice=1, buffer_type=uid
ok 799 - Create session yku0e4fT0sUWrGRH in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 799 - Create session yku0e4fT0sUWrGRH in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 800 - Enable channel snapshot for session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 800 - Enable channel snapshot for session yku0e4fT0sUWrGRH
ok 801 - Enable ust event tp:tptest for session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 801 - Enable ust event tp:tptest for session yku0e4fT0sUWrGRH
ok 802 - Start tracing for session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 802 - Start tracing for session yku0e4fT0sUWrGRH
ok 803 - Snapshot recorded
PASS: tools/clear/test_ust 803 - Snapshot recorded
ok 804 - Stop lttng tracing for session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 804 - Stop lttng tracing for session yku0e4fT0sUWrGRH
ok 805 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 805 - Validate trace for event tp:tptest, 10 events
ok 806 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 806 - Read a total of 10 events, expected 10
ok 807 - Start tracing for session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 807 - Start tracing for session yku0e4fT0sUWrGRH
ok 808 - Stop lttng tracing for session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 808 - Stop lttng tracing for session yku0e4fT0sUWrGRH
ok 809 - Clear session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 809 - Clear session yku0e4fT0sUWrGRH
ok 810 - Clear session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 810 - Clear session yku0e4fT0sUWrGRH
ok 811 - Start tracing for session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 811 - Start tracing for session yku0e4fT0sUWrGRH
ok 812 - Snapshot recorded
PASS: tools/clear/test_ust 812 - Snapshot recorded
ok 813 - Stop lttng tracing for session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 813 - Stop lttng tracing for session yku0e4fT0sUWrGRH
ok 814 - Validate empty trace
PASS: tools/clear/test_ust 814 - Validate empty trace
ok 815 - Start tracing for session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 815 - Start tracing for session yku0e4fT0sUWrGRH
ok 816 - Snapshot recorded
PASS: tools/clear/test_ust 816 - Snapshot recorded
ok 817 - Stop lttng tracing for session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 817 - Stop lttng tracing for session yku0e4fT0sUWrGRH
ok 818 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 818 - Validate trace for event tp:tptest, 10 events
ok 819 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 819 - Read a total of 10 events, expected 10
ok 820 - Destroy session yku0e4fT0sUWrGRH
PASS: tools/clear/test_ust 820 - Destroy session yku0e4fT0sUWrGRH
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=uid
ok 821 - Create session Dko8w6cOmQSR1WZ8 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 821 - Create session Dko8w6cOmQSR1WZ8 with uri:net://localhost and opts:
ok 822 - Enable channel chan for session Dko8w6cOmQSR1WZ8
PASS: tools/clear/test_ust 822 - Enable channel chan for session Dko8w6cOmQSR1WZ8
ok 823 - Enable ust event tp:tptest for session Dko8w6cOmQSR1WZ8
PASS: tools/clear/test_ust 823 - Enable ust event tp:tptest for session Dko8w6cOmQSR1WZ8
ok 824 - Start tracing for session Dko8w6cOmQSR1WZ8
PASS: tools/clear/test_ust 824 - Start tracing for session Dko8w6cOmQSR1WZ8
ok 825 - Stop lttng tracing for session Dko8w6cOmQSR1WZ8
PASS: tools/clear/test_ust 825 - Stop lttng tracing for session Dko8w6cOmQSR1WZ8
ok 826 - Rotate session Dko8w6cOmQSR1WZ8
PASS: tools/clear/test_ust 826 - Rotate session Dko8w6cOmQSR1WZ8
ok 827 - Clear session Dko8w6cOmQSR1WZ8
PASS: tools/clear/test_ust 827 - Clear session Dko8w6cOmQSR1WZ8
ok 828 - Start tracing for session Dko8w6cOmQSR1WZ8
PASS: tools/clear/test_ust 828 - Start tracing for session Dko8w6cOmQSR1WZ8
ok 829 - Stop lttng tracing for session Dko8w6cOmQSR1WZ8
PASS: tools/clear/test_ust 829 - Stop lttng tracing for session Dko8w6cOmQSR1WZ8
ok 830 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 830 - Validate trace for event tp:tptest, 10 events
ok 831 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 831 - Read a total of 10 events, expected 10
ok 832 - Destroy session Dko8w6cOmQSR1WZ8
PASS: tools/clear/test_ust 832 - Destroy session Dko8w6cOmQSR1WZ8
# Test ust streaming rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=uid
ok 833 - Create session DO7T4fdpQePmOi6M with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 833 - Create session DO7T4fdpQePmOi6M with uri:net://localhost and opts:
ok 834 - Enable channel chan for session DO7T4fdpQePmOi6M
PASS: tools/clear/test_ust 834 - Enable channel chan for session DO7T4fdpQePmOi6M
ok 835 - Enable ust event tp:tptest for session DO7T4fdpQePmOi6M
PASS: tools/clear/test_ust 835 - Enable ust event tp:tptest for session DO7T4fdpQePmOi6M
ok 836 - Start tracing for session DO7T4fdpQePmOi6M
PASS: tools/clear/test_ust 836 - Start tracing for session DO7T4fdpQePmOi6M
ok 837 - Rotate session DO7T4fdpQePmOi6M
PASS: tools/clear/test_ust 837 - Rotate session DO7T4fdpQePmOi6M
ok 838 - Stop lttng tracing for session DO7T4fdpQePmOi6M
PASS: tools/clear/test_ust 838 - Stop lttng tracing for session DO7T4fdpQePmOi6M
ok 839 - Rotate session DO7T4fdpQePmOi6M
PASS: tools/clear/test_ust 839 - Rotate session DO7T4fdpQePmOi6M
ok 840 - Clear session DO7T4fdpQePmOi6M
PASS: tools/clear/test_ust 840 - Clear session DO7T4fdpQePmOi6M
ok 841 - Start tracing for session DO7T4fdpQePmOi6M
PASS: tools/clear/test_ust 841 - Start tracing for session DO7T4fdpQePmOi6M
ok 842 - Stop lttng tracing for session DO7T4fdpQePmOi6M
PASS: tools/clear/test_ust 842 - Stop lttng tracing for session DO7T4fdpQePmOi6M
ok 843 - Validate trace for event tp:tptest, 6 events
PASS: tools/clear/test_ust 843 - Validate trace for event tp:tptest, 6 events
ok 844 - Read a total of 6 events, expected 6
PASS: tools/clear/test_ust 844 - Read a total of 6 events, expected 6
ok 845 - Destroy session DO7T4fdpQePmOi6M
PASS: tools/clear/test_ust 845 - Destroy session DO7T4fdpQePmOi6M
# Test ust streaming clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=uid
ok 846 - Create session gA7kcsBlGQK4rA2i with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 846 - Create session gA7kcsBlGQK4rA2i with uri:net://localhost and opts:
ok 847 - Enable channel chan for session gA7kcsBlGQK4rA2i
PASS: tools/clear/test_ust 847 - Enable channel chan for session gA7kcsBlGQK4rA2i
ok 848 - Enable ust event tp:tptest for session gA7kcsBlGQK4rA2i
PASS: tools/clear/test_ust 848 - Enable ust event tp:tptest for session gA7kcsBlGQK4rA2i
ok 849 - Start tracing for session gA7kcsBlGQK4rA2i
PASS: tools/clear/test_ust 849 - Start tracing for session gA7kcsBlGQK4rA2i
ok 850 - Stop lttng tracing for session gA7kcsBlGQK4rA2i
PASS: tools/clear/test_ust 850 - Stop lttng tracing for session gA7kcsBlGQK4rA2i
ok 851 - Rotate session gA7kcsBlGQK4rA2i
PASS: tools/clear/test_ust 851 - Rotate session gA7kcsBlGQK4rA2i
ok 852 - Clear session gA7kcsBlGQK4rA2i
PASS: tools/clear/test_ust 852 - Clear session gA7kcsBlGQK4rA2i
ok 853 - Start tracing for session gA7kcsBlGQK4rA2i
PASS: tools/clear/test_ust 853 - Start tracing for session gA7kcsBlGQK4rA2i
ok 854 - Rotate session gA7kcsBlGQK4rA2i
PASS: tools/clear/test_ust 854 - Rotate session gA7kcsBlGQK4rA2i
ok 855 - Stop lttng tracing for session gA7kcsBlGQK4rA2i
PASS: tools/clear/test_ust 855 - Stop lttng tracing for session gA7kcsBlGQK4rA2i
ok 856 - Validate trace for event tp:tptest, 6 events
PASS: tools/clear/test_ust 856 - Validate trace for event tp:tptest, 6 events
ok 857 - Read a total of 6 events, expected 6
PASS: tools/clear/test_ust 857 - Read a total of 6 events, expected 6
ok 858 - Destroy session gA7kcsBlGQK4rA2i
PASS: tools/clear/test_ust 858 - Destroy session gA7kcsBlGQK4rA2i
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=uid
ok 859 - Create session vtyC6YhKv3uX9cZh with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 859 - Create session vtyC6YhKv3uX9cZh with uri:net://localhost and opts:
ok 860 - Enable channel rotchan for session vtyC6YhKv3uX9cZh
PASS: tools/clear/test_ust 860 - Enable channel rotchan for session vtyC6YhKv3uX9cZh
ok 861 - Enable ust event tp:tptest for session vtyC6YhKv3uX9cZh
PASS: tools/clear/test_ust 861 - Enable ust event tp:tptest for session vtyC6YhKv3uX9cZh
ok 862 - Start tracing for session vtyC6YhKv3uX9cZh
PASS: tools/clear/test_ust 862 - Start tracing for session vtyC6YhKv3uX9cZh
ok 863 - Stop lttng tracing for session vtyC6YhKv3uX9cZh
PASS: tools/clear/test_ust 863 - Stop lttng tracing for session vtyC6YhKv3uX9cZh
ok 864 - Rotate session vtyC6YhKv3uX9cZh
PASS: tools/clear/test_ust 864 - Rotate session vtyC6YhKv3uX9cZh
ok 865 - Clear session vtyC6YhKv3uX9cZh
PASS: tools/clear/test_ust 865 - Clear session vtyC6YhKv3uX9cZh
ok 866 - Start tracing for session vtyC6YhKv3uX9cZh
PASS: tools/clear/test_ust 866 - Start tracing for session vtyC6YhKv3uX9cZh
ok 867 - Stop lttng tracing for session vtyC6YhKv3uX9cZh
PASS: tools/clear/test_ust 867 - Stop lttng tracing for session vtyC6YhKv3uX9cZh
ok 868 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 868 - Validate trace for event tp:tptest, 10 events
ok 869 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 869 - Read a total of 10 events, expected 10
ok 870 - Start tracing for session vtyC6YhKv3uX9cZh
PASS: tools/clear/test_ust 870 - Start tracing for session vtyC6YhKv3uX9cZh
ok 871 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 871 - Stop lttng tracing for session
ok 872 - Validate trace for event tp:tptest, 30 events
PASS: tools/clear/test_ust 872 - Validate trace for event tp:tptest, 30 events
ok 873 - Read a total of 30 events, expected 30
PASS: tools/clear/test_ust 873 - Read a total of 30 events, expected 30
ok 874 - Destroy session vtyC6YhKv3uX9cZh
PASS: tools/clear/test_ust 874 - Destroy session vtyC6YhKv3uX9cZh
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=uid
ok 875 - Create session WZn1amOWLthXx2lC with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 875 - Create session WZn1amOWLthXx2lC with uri:net://localhost and opts:
ok 876 - Enable channel rotchan for session WZn1amOWLthXx2lC
PASS: tools/clear/test_ust 876 - Enable channel rotchan for session WZn1amOWLthXx2lC
ok 877 - Enable ust event tp:tptest for session WZn1amOWLthXx2lC
PASS: tools/clear/test_ust 877 - Enable ust event tp:tptest for session WZn1amOWLthXx2lC
ok 878 - Start tracing for session WZn1amOWLthXx2lC
PASS: tools/clear/test_ust 878 - Start tracing for session WZn1amOWLthXx2lC
ok 879 - Stop lttng tracing for session WZn1amOWLthXx2lC
PASS: tools/clear/test_ust 879 - Stop lttng tracing for session WZn1amOWLthXx2lC
ok 880 - Rotate session WZn1amOWLthXx2lC
PASS: tools/clear/test_ust 880 - Rotate session WZn1amOWLthXx2lC
ok 881 - Clear session WZn1amOWLthXx2lC
PASS: tools/clear/test_ust 881 - Clear session WZn1amOWLthXx2lC
ok 882 - Start tracing for session WZn1amOWLthXx2lC
PASS: tools/clear/test_ust 882 - Start tracing for session WZn1amOWLthXx2lC
ok 883 - Stop lttng tracing for session WZn1amOWLthXx2lC
PASS: tools/clear/test_ust 883 - Stop lttng tracing for session WZn1amOWLthXx2lC
ok 884 - Validate trace for event tp:tptest, 22 events
PASS: tools/clear/test_ust 884 - Validate trace for event tp:tptest, 22 events
ok 885 - Read a total of 22 events, expected between [1, 200000[
PASS: tools/clear/test_ust 885 - Read a total of 22 events, expected between [1, 200000[
ok 886 - Start tracing for session WZn1amOWLthXx2lC
PASS: tools/clear/test_ust 886 - Start tracing for session WZn1amOWLthXx2lC
ok 887 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 887 - Stop lttng tracing for session
ok 888 - Validate trace for event tp:tptest, 55 events
PASS: tools/clear/test_ust 888 - Validate trace for event tp:tptest, 55 events
ok 889 - Read a total of 55 events, expected between [1, 600000[
PASS: tools/clear/test_ust 889 - Read a total of 55 events, expected between [1, 600000[
ok 890 - Destroy session WZn1amOWLthXx2lC
PASS: tools/clear/test_ust 890 - Destroy session WZn1amOWLthXx2lC
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 891 - Create session XWrnVrVmuw5f7Tev with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 891 - Create session XWrnVrVmuw5f7Tev with uri:net://localhost and opts:
ok 892 - Enable channel chan for session XWrnVrVmuw5f7Tev
PASS: tools/clear/test_ust 892 - Enable channel chan for session XWrnVrVmuw5f7Tev
ok 893 - Enable ust event tp:tptest for session XWrnVrVmuw5f7Tev
PASS: tools/clear/test_ust 893 - Enable ust event tp:tptest for session XWrnVrVmuw5f7Tev
ok 894 - Start tracing for session XWrnVrVmuw5f7Tev
PASS: tools/clear/test_ust 894 - Start tracing for session XWrnVrVmuw5f7Tev
ok 895 - Stop lttng tracing for session XWrnVrVmuw5f7Tev
PASS: tools/clear/test_ust 895 - Stop lttng tracing for session XWrnVrVmuw5f7Tev
ok 896 - Clear session XWrnVrVmuw5f7Tev
PASS: tools/clear/test_ust 896 - Clear session XWrnVrVmuw5f7Tev
ok 897 - Start tracing for session XWrnVrVmuw5f7Tev
PASS: tools/clear/test_ust 897 - Start tracing for session XWrnVrVmuw5f7Tev
ok 898 - Stop lttng tracing for session XWrnVrVmuw5f7Tev
PASS: tools/clear/test_ust 898 - Stop lttng tracing for session XWrnVrVmuw5f7Tev
ok 899 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/XWrnVrVmuw5f7Tev*" is empty
PASS: tools/clear/test_ust 899 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/XWrnVrVmuw5f7Tev*" is empty
ok 900 - Destroy session XWrnVrVmuw5f7Tev
PASS: tools/clear/test_ust 900 - Destroy session XWrnVrVmuw5f7Tev
# Test ust local
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=uid
ok 901 - Create session 3e3p3cIOxAXQyNyX in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 901 - Create session 3e3p3cIOxAXQyNyX in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 902 - Enable channel chan for session 3e3p3cIOxAXQyNyX
PASS: tools/clear/test_ust 902 - Enable channel chan for session 3e3p3cIOxAXQyNyX
ok 903 - Enable ust event tp:tptest for session 3e3p3cIOxAXQyNyX
PASS: tools/clear/test_ust 903 - Enable ust event tp:tptest for session 3e3p3cIOxAXQyNyX
ok 904 - Start tracing for session 3e3p3cIOxAXQyNyX
PASS: tools/clear/test_ust 904 - Start tracing for session 3e3p3cIOxAXQyNyX
ok 905 - Stop lttng tracing for session 3e3p3cIOxAXQyNyX
PASS: tools/clear/test_ust 905 - Stop lttng tracing for session 3e3p3cIOxAXQyNyX
ok 906 - Rotate session 3e3p3cIOxAXQyNyX
PASS: tools/clear/test_ust 906 - Rotate session 3e3p3cIOxAXQyNyX
ok 907 - Clear session 3e3p3cIOxAXQyNyX
PASS: tools/clear/test_ust 907 - Clear session 3e3p3cIOxAXQyNyX
ok 908 - Start tracing for session 3e3p3cIOxAXQyNyX
PASS: tools/clear/test_ust 908 - Start tracing for session 3e3p3cIOxAXQyNyX
ok 909 - Stop lttng tracing for session 3e3p3cIOxAXQyNyX
PASS: tools/clear/test_ust 909 - Stop lttng tracing for session 3e3p3cIOxAXQyNyX
ok 910 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 910 - Validate trace for event tp:tptest, 10 events
ok 911 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 911 - Read a total of 10 events, expected 10
ok 912 - Destroy session 3e3p3cIOxAXQyNyX
PASS: tools/clear/test_ust 912 - Destroy session 3e3p3cIOxAXQyNyX
# Test ust local rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=uid
ok 913 - Create session 3U44g8IhzFDfbjyM in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 913 - Create session 3U44g8IhzFDfbjyM in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 914 - Enable channel chan for session 3U44g8IhzFDfbjyM
PASS: tools/clear/test_ust 914 - Enable channel chan for session 3U44g8IhzFDfbjyM
ok 915 - Enable ust event tp:tptest for session 3U44g8IhzFDfbjyM
PASS: tools/clear/test_ust 915 - Enable ust event tp:tptest for session 3U44g8IhzFDfbjyM
ok 916 - Start tracing for session 3U44g8IhzFDfbjyM
PASS: tools/clear/test_ust 916 - Start tracing for session 3U44g8IhzFDfbjyM
ok 917 - Rotate session 3U44g8IhzFDfbjyM
PASS: tools/clear/test_ust 917 - Rotate session 3U44g8IhzFDfbjyM
ok 918 - Stop lttng tracing for session 3U44g8IhzFDfbjyM
PASS: tools/clear/test_ust 918 - Stop lttng tracing for session 3U44g8IhzFDfbjyM
ok 919 - Rotate session 3U44g8IhzFDfbjyM
PASS: tools/clear/test_ust 919 - Rotate session 3U44g8IhzFDfbjyM
ok 920 - Clear session 3U44g8IhzFDfbjyM
PASS: tools/clear/test_ust 920 - Clear session 3U44g8IhzFDfbjyM
ok 921 - Start tracing for session 3U44g8IhzFDfbjyM
PASS: tools/clear/test_ust 921 - Start tracing for session 3U44g8IhzFDfbjyM
ok 922 - Stop lttng tracing for session 3U44g8IhzFDfbjyM
PASS: tools/clear/test_ust 922 - Stop lttng tracing for session 3U44g8IhzFDfbjyM
ok 923 - Validate trace for event tp:tptest, 6 events
PASS: tools/clear/test_ust 923 - Validate trace for event tp:tptest, 6 events
ok 924 - Read a total of 6 events, expected 6
PASS: tools/clear/test_ust 924 - Read a total of 6 events, expected 6
ok 925 - Destroy session 3U44g8IhzFDfbjyM
PASS: tools/clear/test_ust 925 - Destroy session 3U44g8IhzFDfbjyM
# Test ust local clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=uid
ok 926 - Create session p88gUgToWp4Kye0g in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 926 - Create session p88gUgToWp4Kye0g in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 927 - Enable channel chan for session p88gUgToWp4Kye0g
PASS: tools/clear/test_ust 927 - Enable channel chan for session p88gUgToWp4Kye0g
ok 928 - Enable ust event tp:tptest for session p88gUgToWp4Kye0g
PASS: tools/clear/test_ust 928 - Enable ust event tp:tptest for session p88gUgToWp4Kye0g
ok 929 - Start tracing for session p88gUgToWp4Kye0g
PASS: tools/clear/test_ust 929 - Start tracing for session p88gUgToWp4Kye0g
ok 930 - Stop lttng tracing for session p88gUgToWp4Kye0g
PASS: tools/clear/test_ust 930 - Stop lttng tracing for session p88gUgToWp4Kye0g
ok 931 - Rotate session p88gUgToWp4Kye0g
PASS: tools/clear/test_ust 931 - Rotate session p88gUgToWp4Kye0g
ok 932 - Clear session p88gUgToWp4Kye0g
PASS: tools/clear/test_ust 932 - Clear session p88gUgToWp4Kye0g
ok 933 - Start tracing for session p88gUgToWp4Kye0g
PASS: tools/clear/test_ust 933 - Start tracing for session p88gUgToWp4Kye0g
ok 934 - Rotate session p88gUgToWp4Kye0g
PASS: tools/clear/test_ust 934 - Rotate session p88gUgToWp4Kye0g
ok 935 - Stop lttng tracing for session p88gUgToWp4Kye0g
PASS: tools/clear/test_ust 935 - Stop lttng tracing for session p88gUgToWp4Kye0g
ok 936 - Validate trace for event tp:tptest, 6 events
PASS: tools/clear/test_ust 936 - Validate trace for event tp:tptest, 6 events
ok 937 - Read a total of 6 events, expected 6
PASS: tools/clear/test_ust 937 - Read a total of 6 events, expected 6
ok 938 - Destroy session p88gUgToWp4Kye0g
PASS: tools/clear/test_ust 938 - Destroy session p88gUgToWp4Kye0g
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 939 - Create session h8A5ydmS6SAACQxw in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 939 - Create session h8A5ydmS6SAACQxw in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 940 - Enable channel chan for session h8A5ydmS6SAACQxw
PASS: tools/clear/test_ust 940 - Enable channel chan for session h8A5ydmS6SAACQxw
ok 941 - Enable ust event tp:tptest for session h8A5ydmS6SAACQxw
PASS: tools/clear/test_ust 941 - Enable ust event tp:tptest for session h8A5ydmS6SAACQxw
ok 942 - Start tracing for session h8A5ydmS6SAACQxw
PASS: tools/clear/test_ust 942 - Start tracing for session h8A5ydmS6SAACQxw
ok 943 - Stop lttng tracing for session h8A5ydmS6SAACQxw
PASS: tools/clear/test_ust 943 - Stop lttng tracing for session h8A5ydmS6SAACQxw
ok 944 - Clear session h8A5ydmS6SAACQxw
PASS: tools/clear/test_ust 944 - Clear session h8A5ydmS6SAACQxw
ok 945 - Start tracing for session h8A5ydmS6SAACQxw
PASS: tools/clear/test_ust 945 - Start tracing for session h8A5ydmS6SAACQxw
ok 946 - Stop lttng tracing for session h8A5ydmS6SAACQxw
PASS: tools/clear/test_ust 946 - Stop lttng tracing for session h8A5ydmS6SAACQxw
ok 947 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 947 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 948 - Destroy session h8A5ydmS6SAACQxw
PASS: tools/clear/test_ust 948 - Destroy session h8A5ydmS6SAACQxw
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=uid
ok 949 - Create session lF7AZLgbNzJCk7Gi with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 949 - Create session lF7AZLgbNzJCk7Gi with uri:net://localhost and opts:
ok 950 - Enable channel chan for session lF7AZLgbNzJCk7Gi
PASS: tools/clear/test_ust 950 - Enable channel chan for session lF7AZLgbNzJCk7Gi
ok 951 - Enable ust event tp:tptest for session lF7AZLgbNzJCk7Gi
PASS: tools/clear/test_ust 951 - Enable ust event tp:tptest for session lF7AZLgbNzJCk7Gi
ok 952 - Start tracing for session lF7AZLgbNzJCk7Gi
PASS: tools/clear/test_ust 952 - Start tracing for session lF7AZLgbNzJCk7Gi
ok 953 - Stop lttng tracing for session lF7AZLgbNzJCk7Gi
PASS: tools/clear/test_ust 953 - Stop lttng tracing for session lF7AZLgbNzJCk7Gi
ok 954 - Clear session lF7AZLgbNzJCk7Gi
PASS: tools/clear/test_ust 954 - Clear session lF7AZLgbNzJCk7Gi
ok 955 - Expected fail on rotate session lF7AZLgbNzJCk7Gi
PASS: tools/clear/test_ust 955 - Expected fail on rotate session lF7AZLgbNzJCk7Gi
ok 956 - Start tracing for session lF7AZLgbNzJCk7Gi
PASS: tools/clear/test_ust 956 - Start tracing for session lF7AZLgbNzJCk7Gi
ok 957 - Stop lttng tracing for session lF7AZLgbNzJCk7Gi
PASS: tools/clear/test_ust 957 - Stop lttng tracing for session lF7AZLgbNzJCk7Gi
ok 958 - Validate empty trace
PASS: tools/clear/test_ust 958 - Validate empty trace
ok 959 - Destroy session lF7AZLgbNzJCk7Gi
PASS: tools/clear/test_ust 959 - Destroy session lF7AZLgbNzJCk7Gi
# Test ust streaming rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=uid
ok 960 - Create session 19ST2hBBIbtkFM85 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 960 - Create session 19ST2hBBIbtkFM85 with uri:net://localhost and opts:
ok 961 - Enable channel chan for session 19ST2hBBIbtkFM85
PASS: tools/clear/test_ust 961 - Enable channel chan for session 19ST2hBBIbtkFM85
ok 962 - Enable ust event tp:tptest for session 19ST2hBBIbtkFM85
PASS: tools/clear/test_ust 962 - Enable ust event tp:tptest for session 19ST2hBBIbtkFM85
ok 963 - Start tracing for session 19ST2hBBIbtkFM85
PASS: tools/clear/test_ust 963 - Start tracing for session 19ST2hBBIbtkFM85
ok 964 - Rotate session 19ST2hBBIbtkFM85
PASS: tools/clear/test_ust 964 - Rotate session 19ST2hBBIbtkFM85
ok 965 - Stop lttng tracing for session 19ST2hBBIbtkFM85
PASS: tools/clear/test_ust 965 - Stop lttng tracing for session 19ST2hBBIbtkFM85
ok 966 - Clear session 19ST2hBBIbtkFM85
PASS: tools/clear/test_ust 966 - Clear session 19ST2hBBIbtkFM85
ok 967 - Expected fail on rotate session 19ST2hBBIbtkFM85
PASS: tools/clear/test_ust 967 - Expected fail on rotate session 19ST2hBBIbtkFM85
ok 968 - Start tracing for session 19ST2hBBIbtkFM85
PASS: tools/clear/test_ust 968 - Start tracing for session 19ST2hBBIbtkFM85
ok 969 - Stop lttng tracing for session 19ST2hBBIbtkFM85
PASS: tools/clear/test_ust 969 - Stop lttng tracing for session 19ST2hBBIbtkFM85
ok 970 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 970 - Validate trace for event tp:tptest, 4 events
ok 971 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 971 - Read a total of 4 events, expected 4
ok 972 - Destroy session 19ST2hBBIbtkFM85
PASS: tools/clear/test_ust 972 - Destroy session 19ST2hBBIbtkFM85
# Test ust streaming clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=uid
ok 973 - Create session ydhMkB8lVMDpouTs with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 973 - Create session ydhMkB8lVMDpouTs with uri:net://localhost and opts:
ok 974 - Enable channel chan for session ydhMkB8lVMDpouTs
PASS: tools/clear/test_ust 974 - Enable channel chan for session ydhMkB8lVMDpouTs
ok 975 - Enable ust event tp:tptest for session ydhMkB8lVMDpouTs
PASS: tools/clear/test_ust 975 - Enable ust event tp:tptest for session ydhMkB8lVMDpouTs
ok 976 - Start tracing for session ydhMkB8lVMDpouTs
PASS: tools/clear/test_ust 976 - Start tracing for session ydhMkB8lVMDpouTs
ok 977 - Stop lttng tracing for session ydhMkB8lVMDpouTs
PASS: tools/clear/test_ust 977 - Stop lttng tracing for session ydhMkB8lVMDpouTs
ok 978 - Clear session ydhMkB8lVMDpouTs
PASS: tools/clear/test_ust 978 - Clear session ydhMkB8lVMDpouTs
ok 979 - Expected fail on rotate session ydhMkB8lVMDpouTs
PASS: tools/clear/test_ust 979 - Expected fail on rotate session ydhMkB8lVMDpouTs
ok 980 - Start tracing for session ydhMkB8lVMDpouTs
PASS: tools/clear/test_ust 980 - Start tracing for session ydhMkB8lVMDpouTs
ok 981 - Rotate session ydhMkB8lVMDpouTs
PASS: tools/clear/test_ust 981 - Rotate session ydhMkB8lVMDpouTs
ok 982 - Stop lttng tracing for session ydhMkB8lVMDpouTs
PASS: tools/clear/test_ust 982 - Stop lttng tracing for session ydhMkB8lVMDpouTs
ok 983 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 983 - Validate trace for event tp:tptest, 5 events
ok 984 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 984 - Read a total of 5 events, expected 5
ok 985 - Destroy session ydhMkB8lVMDpouTs
PASS: tools/clear/test_ust 985 - Destroy session ydhMkB8lVMDpouTs
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=uid
ok 986 - Create session LRbtf08md7bMExgb with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 986 - Create session LRbtf08md7bMExgb with uri:net://localhost and opts:
ok 987 - Enable channel rotchan for session LRbtf08md7bMExgb
PASS: tools/clear/test_ust 987 - Enable channel rotchan for session LRbtf08md7bMExgb
ok 988 - Enable ust event tp:tptest for session LRbtf08md7bMExgb
PASS: tools/clear/test_ust 988 - Enable ust event tp:tptest for session LRbtf08md7bMExgb
ok 989 - Start tracing for session LRbtf08md7bMExgb
PASS: tools/clear/test_ust 989 - Start tracing for session LRbtf08md7bMExgb
ok 990 - Stop lttng tracing for session LRbtf08md7bMExgb
PASS: tools/clear/test_ust 990 - Stop lttng tracing for session LRbtf08md7bMExgb
ok 991 - Clear session LRbtf08md7bMExgb
PASS: tools/clear/test_ust 991 - Clear session LRbtf08md7bMExgb
ok 992 - Expected fail on rotate session LRbtf08md7bMExgb
PASS: tools/clear/test_ust 992 - Expected fail on rotate session LRbtf08md7bMExgb
ok 993 - Start tracing for session LRbtf08md7bMExgb
PASS: tools/clear/test_ust 993 - Start tracing for session LRbtf08md7bMExgb
ok 994 - Stop lttng tracing for session LRbtf08md7bMExgb
PASS: tools/clear/test_ust 994 - Stop lttng tracing for session LRbtf08md7bMExgb
ok 995 - Validate empty trace
PASS: tools/clear/test_ust 995 - Validate empty trace
ok 996 - Start tracing for session LRbtf08md7bMExgb
PASS: tools/clear/test_ust 996 - Start tracing for session LRbtf08md7bMExgb
ok 997 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 997 - Stop lttng tracing for session
ok 998 - Validate trace for event tp:tptest, 20 events
PASS: tools/clear/test_ust 998 - Validate trace for event tp:tptest, 20 events
ok 999 - Read a total of 20 events, expected 20
PASS: tools/clear/test_ust 999 - Read a total of 20 events, expected 20
ok 1000 - Destroy session LRbtf08md7bMExgb
PASS: tools/clear/test_ust 1000 - Destroy session LRbtf08md7bMExgb
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=uid
ok 1001 - Create session CvL1Yp2M80JvdKYJ with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1001 - Create session CvL1Yp2M80JvdKYJ with uri:net://localhost and opts:
ok 1002 - Enable channel rotchan for session CvL1Yp2M80JvdKYJ
PASS: tools/clear/test_ust 1002 - Enable channel rotchan for session CvL1Yp2M80JvdKYJ
ok 1003 - Enable ust event tp:tptest for session CvL1Yp2M80JvdKYJ
PASS: tools/clear/test_ust 1003 - Enable ust event tp:tptest for session CvL1Yp2M80JvdKYJ
ok 1004 - Start tracing for session CvL1Yp2M80JvdKYJ
PASS: tools/clear/test_ust 1004 - Start tracing for session CvL1Yp2M80JvdKYJ
ok 1005 - Stop lttng tracing for session CvL1Yp2M80JvdKYJ
PASS: tools/clear/test_ust 1005 - Stop lttng tracing for session CvL1Yp2M80JvdKYJ
ok 1006 - Clear session CvL1Yp2M80JvdKYJ
PASS: tools/clear/test_ust 1006 - Clear session CvL1Yp2M80JvdKYJ
ok 1007 - Expected fail on rotate session CvL1Yp2M80JvdKYJ
PASS: tools/clear/test_ust 1007 - Expected fail on rotate session CvL1Yp2M80JvdKYJ
ok 1008 - Start tracing for session CvL1Yp2M80JvdKYJ
PASS: tools/clear/test_ust 1008 - Start tracing for session CvL1Yp2M80JvdKYJ
ok 1009 - Stop lttng tracing for session CvL1Yp2M80JvdKYJ
PASS: tools/clear/test_ust 1009 - Stop lttng tracing for session CvL1Yp2M80JvdKYJ
ok 1010 - Validate empty trace
PASS: tools/clear/test_ust 1010 - Validate empty trace
ok 1011 - Start tracing for session CvL1Yp2M80JvdKYJ
PASS: tools/clear/test_ust 1011 - Start tracing for session CvL1Yp2M80JvdKYJ
ok 1012 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1012 - Stop lttng tracing for session
ok 1013 - Validate trace for event tp:tptest, 38 events
PASS: tools/clear/test_ust 1013 - Validate trace for event tp:tptest, 38 events
ok 1014 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 1014 - Read a total of 38 events, expected between [1, 200000[
ok 1015 - Destroy session CvL1Yp2M80JvdKYJ
PASS: tools/clear/test_ust 1015 - Destroy session CvL1Yp2M80JvdKYJ
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 1016 - Create session lXm9IdprslNLYGgK with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1016 - Create session lXm9IdprslNLYGgK with uri:net://localhost and opts:
ok 1017 - Enable channel chan for session lXm9IdprslNLYGgK
PASS: tools/clear/test_ust 1017 - Enable channel chan for session lXm9IdprslNLYGgK
ok 1018 - Enable ust event tp:tptest for session lXm9IdprslNLYGgK
PASS: tools/clear/test_ust 1018 - Enable ust event tp:tptest for session lXm9IdprslNLYGgK
ok 1019 - Start tracing for session lXm9IdprslNLYGgK
PASS: tools/clear/test_ust 1019 - Start tracing for session lXm9IdprslNLYGgK
ok 1020 - Stop lttng tracing for session lXm9IdprslNLYGgK
PASS: tools/clear/test_ust 1020 - Stop lttng tracing for session lXm9IdprslNLYGgK
ok 1021 - Clear session lXm9IdprslNLYGgK
PASS: tools/clear/test_ust 1021 - Clear session lXm9IdprslNLYGgK
ok 1022 - Start tracing for session lXm9IdprslNLYGgK
PASS: tools/clear/test_ust 1022 - Start tracing for session lXm9IdprslNLYGgK
ok 1023 - Stop lttng tracing for session lXm9IdprslNLYGgK
PASS: tools/clear/test_ust 1023 - Stop lttng tracing for session lXm9IdprslNLYGgK
ok 1024 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/lXm9IdprslNLYGgK*" is empty
PASS: tools/clear/test_ust 1024 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/lXm9IdprslNLYGgK*" is empty
ok 1025 - Destroy session lXm9IdprslNLYGgK
PASS: tools/clear/test_ust 1025 - Destroy session lXm9IdprslNLYGgK
# Test ust local
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=uid
ok 1026 - Create session B2HTp37ZAxQIvLRs in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1026 - Create session B2HTp37ZAxQIvLRs in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1027 - Enable channel chan for session B2HTp37ZAxQIvLRs
PASS: tools/clear/test_ust 1027 - Enable channel chan for session B2HTp37ZAxQIvLRs
ok 1028 - Enable ust event tp:tptest for session B2HTp37ZAxQIvLRs
PASS: tools/clear/test_ust 1028 - Enable ust event tp:tptest for session B2HTp37ZAxQIvLRs
ok 1029 - Start tracing for session B2HTp37ZAxQIvLRs
PASS: tools/clear/test_ust 1029 - Start tracing for session B2HTp37ZAxQIvLRs
ok 1030 - Stop lttng tracing for session B2HTp37ZAxQIvLRs
PASS: tools/clear/test_ust 1030 - Stop lttng tracing for session B2HTp37ZAxQIvLRs
ok 1031 - Clear session B2HTp37ZAxQIvLRs
PASS: tools/clear/test_ust 1031 - Clear session B2HTp37ZAxQIvLRs
ok 1032 - Expected fail on rotate session B2HTp37ZAxQIvLRs
PASS: tools/clear/test_ust 1032 - Expected fail on rotate session B2HTp37ZAxQIvLRs
ok 1033 - Start tracing for session B2HTp37ZAxQIvLRs
PASS: tools/clear/test_ust 1033 - Start tracing for session B2HTp37ZAxQIvLRs
ok 1034 - Stop lttng tracing for session B2HTp37ZAxQIvLRs
PASS: tools/clear/test_ust 1034 - Stop lttng tracing for session B2HTp37ZAxQIvLRs
ok 1035 - Validate empty trace
PASS: tools/clear/test_ust 1035 - Validate empty trace
ok 1036 - Destroy session B2HTp37ZAxQIvLRs
PASS: tools/clear/test_ust 1036 - Destroy session B2HTp37ZAxQIvLRs
# Test ust local rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=uid
ok 1037 - Create session U9kqSWZyE6ZLeE3D in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1037 - Create session U9kqSWZyE6ZLeE3D in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1038 - Enable channel chan for session U9kqSWZyE6ZLeE3D
PASS: tools/clear/test_ust 1038 - Enable channel chan for session U9kqSWZyE6ZLeE3D
ok 1039 - Enable ust event tp:tptest for session U9kqSWZyE6ZLeE3D
PASS: tools/clear/test_ust 1039 - Enable ust event tp:tptest for session U9kqSWZyE6ZLeE3D
ok 1040 - Start tracing for session U9kqSWZyE6ZLeE3D
PASS: tools/clear/test_ust 1040 - Start tracing for session U9kqSWZyE6ZLeE3D
ok 1041 - Rotate session U9kqSWZyE6ZLeE3D
PASS: tools/clear/test_ust 1041 - Rotate session U9kqSWZyE6ZLeE3D
ok 1042 - Stop lttng tracing for session U9kqSWZyE6ZLeE3D
PASS: tools/clear/test_ust 1042 - Stop lttng tracing for session U9kqSWZyE6ZLeE3D
ok 1043 - Clear session U9kqSWZyE6ZLeE3D
PASS: tools/clear/test_ust 1043 - Clear session U9kqSWZyE6ZLeE3D
ok 1044 - Expected fail on rotate session U9kqSWZyE6ZLeE3D
PASS: tools/clear/test_ust 1044 - Expected fail on rotate session U9kqSWZyE6ZLeE3D
ok 1045 - Start tracing for session U9kqSWZyE6ZLeE3D
PASS: tools/clear/test_ust 1045 - Start tracing for session U9kqSWZyE6ZLeE3D
ok 1046 - Stop lttng tracing for session U9kqSWZyE6ZLeE3D
PASS: tools/clear/test_ust 1046 - Stop lttng tracing for session U9kqSWZyE6ZLeE3D
ok 1047 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 1047 - Validate trace for event tp:tptest, 4 events
ok 1048 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 1048 - Read a total of 4 events, expected 4
ok 1049 - Destroy session U9kqSWZyE6ZLeE3D
PASS: tools/clear/test_ust 1049 - Destroy session U9kqSWZyE6ZLeE3D
# Test ust local clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=uid
ok 1050 - Create session kyEeR8Ad4uYmHLg9 in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1050 - Create session kyEeR8Ad4uYmHLg9 in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1051 - Enable channel chan for session kyEeR8Ad4uYmHLg9
PASS: tools/clear/test_ust 1051 - Enable channel chan for session kyEeR8Ad4uYmHLg9
ok 1052 - Enable ust event tp:tptest for session kyEeR8Ad4uYmHLg9
PASS: tools/clear/test_ust 1052 - Enable ust event tp:tptest for session kyEeR8Ad4uYmHLg9
ok 1053 - Start tracing for session kyEeR8Ad4uYmHLg9
PASS: tools/clear/test_ust 1053 - Start tracing for session kyEeR8Ad4uYmHLg9
ok 1054 - Stop lttng tracing for session kyEeR8Ad4uYmHLg9
PASS: tools/clear/test_ust 1054 - Stop lttng tracing for session kyEeR8Ad4uYmHLg9
ok 1055 - Clear session kyEeR8Ad4uYmHLg9
PASS: tools/clear/test_ust 1055 - Clear session kyEeR8Ad4uYmHLg9
ok 1056 - Expected fail on rotate session kyEeR8Ad4uYmHLg9
PASS: tools/clear/test_ust 1056 - Expected fail on rotate session kyEeR8Ad4uYmHLg9
ok 1057 - Start tracing for session kyEeR8Ad4uYmHLg9
PASS: tools/clear/test_ust 1057 - Start tracing for session kyEeR8Ad4uYmHLg9
ok 1058 - Rotate session kyEeR8Ad4uYmHLg9
PASS: tools/clear/test_ust 1058 - Rotate session kyEeR8Ad4uYmHLg9
ok 1059 - Stop lttng tracing for session kyEeR8Ad4uYmHLg9
PASS: tools/clear/test_ust 1059 - Stop lttng tracing for session kyEeR8Ad4uYmHLg9
ok 1060 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 1060 - Validate trace for event tp:tptest, 5 events
ok 1061 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 1061 - Read a total of 5 events, expected 5
ok 1062 - Destroy session kyEeR8Ad4uYmHLg9
PASS: tools/clear/test_ust 1062 - Destroy session kyEeR8Ad4uYmHLg9
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 1063 - Create session NLubbXj9fX8yYjEl in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1063 - Create session NLubbXj9fX8yYjEl in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1064 - Enable channel chan for session NLubbXj9fX8yYjEl
PASS: tools/clear/test_ust 1064 - Enable channel chan for session NLubbXj9fX8yYjEl
ok 1065 - Enable ust event tp:tptest for session NLubbXj9fX8yYjEl
PASS: tools/clear/test_ust 1065 - Enable ust event tp:tptest for session NLubbXj9fX8yYjEl
ok 1066 - Start tracing for session NLubbXj9fX8yYjEl
PASS: tools/clear/test_ust 1066 - Start tracing for session NLubbXj9fX8yYjEl
ok 1067 - Stop lttng tracing for session NLubbXj9fX8yYjEl
PASS: tools/clear/test_ust 1067 - Stop lttng tracing for session NLubbXj9fX8yYjEl
ok 1068 - Clear session NLubbXj9fX8yYjEl
PASS: tools/clear/test_ust 1068 - Clear session NLubbXj9fX8yYjEl
ok 1069 - Start tracing for session NLubbXj9fX8yYjEl
PASS: tools/clear/test_ust 1069 - Start tracing for session NLubbXj9fX8yYjEl
ok 1070 - Stop lttng tracing for session NLubbXj9fX8yYjEl
PASS: tools/clear/test_ust 1070 - Stop lttng tracing for session NLubbXj9fX8yYjEl
ok 1071 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 1071 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 1072 - Destroy session NLubbXj9fX8yYjEl
PASS: tools/clear/test_ust 1072 - Destroy session NLubbXj9fX8yYjEl
# Test ust streaming clear
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1073 - Create session SGn8UR8wlJ96pzqD with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1073 - Create session SGn8UR8wlJ96pzqD with uri:net://localhost and opts:
ok 1074 - Enable channel chan for session SGn8UR8wlJ96pzqD
PASS: tools/clear/test_ust 1074 - Enable channel chan for session SGn8UR8wlJ96pzqD
ok 1075 - Enable ust event tp:tptest for session SGn8UR8wlJ96pzqD
PASS: tools/clear/test_ust 1075 - Enable ust event tp:tptest for session SGn8UR8wlJ96pzqD
ok 1076 - Start tracing for session SGn8UR8wlJ96pzqD
PASS: tools/clear/test_ust 1076 - Start tracing for session SGn8UR8wlJ96pzqD
ok 1077 - Clear session SGn8UR8wlJ96pzqD
PASS: tools/clear/test_ust 1077 - Clear session SGn8UR8wlJ96pzqD
ok 1078 - Stop lttng tracing for session SGn8UR8wlJ96pzqD
PASS: tools/clear/test_ust 1078 - Stop lttng tracing for session SGn8UR8wlJ96pzqD
ok 1079 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/SGn8UR8wlJ96pzqD-20250129-152432" is empty
PASS: tools/clear/test_ust 1079 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/SGn8UR8wlJ96pzqD-20250129-152432" is empty
ok 1080 - Destroy session SGn8UR8wlJ96pzqD
PASS: tools/clear/test_ust 1080 - Destroy session SGn8UR8wlJ96pzqD
# Test ust streaming rotate-clear
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1081 - Create session uWWxOM9a5GQ9jJat with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1081 - Create session uWWxOM9a5GQ9jJat with uri:net://localhost and opts:
ok 1082 - Enable channel chan for session uWWxOM9a5GQ9jJat
PASS: tools/clear/test_ust 1082 - Enable channel chan for session uWWxOM9a5GQ9jJat
ok 1083 - Enable ust event tp:tptest for session uWWxOM9a5GQ9jJat
PASS: tools/clear/test_ust 1083 - Enable ust event tp:tptest for session uWWxOM9a5GQ9jJat
ok 1084 - Start tracing for session uWWxOM9a5GQ9jJat
PASS: tools/clear/test_ust 1084 - Start tracing for session uWWxOM9a5GQ9jJat
ok 1085 - Rotate session uWWxOM9a5GQ9jJat
PASS: tools/clear/test_ust 1085 - Rotate session uWWxOM9a5GQ9jJat
ok 1086 - Clear session uWWxOM9a5GQ9jJat
PASS: tools/clear/test_ust 1086 - Clear session uWWxOM9a5GQ9jJat
ok 1087 - Stop lttng tracing for session uWWxOM9a5GQ9jJat
PASS: tools/clear/test_ust 1087 - Stop lttng tracing for session uWWxOM9a5GQ9jJat
ok 1088 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 1088 - Validate trace for event tp:tptest, 4 events
ok 1089 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 1089 - Read a total of 4 events, expected 4
ok 1090 - Destroy session uWWxOM9a5GQ9jJat
PASS: tools/clear/test_ust 1090 - Destroy session uWWxOM9a5GQ9jJat
# Test ust streaming clear-rotate
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1091 - Create session 4dIWaP7c3CW8rWUU with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1091 - Create session 4dIWaP7c3CW8rWUU with uri:net://localhost and opts:
ok 1092 - Enable channel chan for session 4dIWaP7c3CW8rWUU
PASS: tools/clear/test_ust 1092 - Enable channel chan for session 4dIWaP7c3CW8rWUU
ok 1093 - Enable ust event tp:tptest for session 4dIWaP7c3CW8rWUU
PASS: tools/clear/test_ust 1093 - Enable ust event tp:tptest for session 4dIWaP7c3CW8rWUU
ok 1094 - Start tracing for session 4dIWaP7c3CW8rWUU
PASS: tools/clear/test_ust 1094 - Start tracing for session 4dIWaP7c3CW8rWUU
ok 1095 - Clear session 4dIWaP7c3CW8rWUU
PASS: tools/clear/test_ust 1095 - Clear session 4dIWaP7c3CW8rWUU
ok 1096 - Rotate session 4dIWaP7c3CW8rWUU
PASS: tools/clear/test_ust 1096 - Rotate session 4dIWaP7c3CW8rWUU
ok 1097 - Stop lttng tracing for session 4dIWaP7c3CW8rWUU
PASS: tools/clear/test_ust 1097 - Stop lttng tracing for session 4dIWaP7c3CW8rWUU
ok 1098 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 1098 - Validate trace for event tp:tptest, 5 events
ok 1099 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 1099 - Read a total of 5 events, expected 5
ok 1100 - Destroy session 4dIWaP7c3CW8rWUU
PASS: tools/clear/test_ust 1100 - Destroy session 4dIWaP7c3CW8rWUU
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1101 - Create session Fb2SceOnHm4LgFwS with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1101 - Create session Fb2SceOnHm4LgFwS with uri:net://localhost and opts:
ok 1102 - Enable channel rotchan for session Fb2SceOnHm4LgFwS
PASS: tools/clear/test_ust 1102 - Enable channel rotchan for session Fb2SceOnHm4LgFwS
ok 1103 - Enable ust event tp:tptest for session Fb2SceOnHm4LgFwS
PASS: tools/clear/test_ust 1103 - Enable ust event tp:tptest for session Fb2SceOnHm4LgFwS
ok 1104 - Start tracing for session Fb2SceOnHm4LgFwS
PASS: tools/clear/test_ust 1104 - Start tracing for session Fb2SceOnHm4LgFwS
ok 1105 - Clear session Fb2SceOnHm4LgFwS
PASS: tools/clear/test_ust 1105 - Clear session Fb2SceOnHm4LgFwS
ok 1106 - Stop lttng tracing for session Fb2SceOnHm4LgFwS
PASS: tools/clear/test_ust 1106 - Stop lttng tracing for session Fb2SceOnHm4LgFwS
ok 1107 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/Fb2SceOnHm4LgFwS-20250129-152437" is empty
PASS: tools/clear/test_ust 1107 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/Fb2SceOnHm4LgFwS-20250129-152437" is empty
ok 1108 - Start tracing for session Fb2SceOnHm4LgFwS
PASS: tools/clear/test_ust 1108 - Start tracing for session Fb2SceOnHm4LgFwS
ok 1109 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1109 - Stop lttng tracing for session
ok 1110 - Validate trace for event tp:tptest, 20 events
PASS: tools/clear/test_ust 1110 - Validate trace for event tp:tptest, 20 events
ok 1111 - Read a total of 20 events, expected 20
PASS: tools/clear/test_ust 1111 - Read a total of 20 events, expected 20
ok 1112 - Destroy session Fb2SceOnHm4LgFwS
PASS: tools/clear/test_ust 1112 - Destroy session Fb2SceOnHm4LgFwS
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1113 - Create session OcYrr7KFQvb1Lpkv with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1113 - Create session OcYrr7KFQvb1Lpkv with uri:net://localhost and opts:
ok 1114 - Enable channel rotchan for session OcYrr7KFQvb1Lpkv
PASS: tools/clear/test_ust 1114 - Enable channel rotchan for session OcYrr7KFQvb1Lpkv
ok 1115 - Enable ust event tp:tptest for session OcYrr7KFQvb1Lpkv
PASS: tools/clear/test_ust 1115 - Enable ust event tp:tptest for session OcYrr7KFQvb1Lpkv
ok 1116 - Start tracing for session OcYrr7KFQvb1Lpkv
PASS: tools/clear/test_ust 1116 - Start tracing for session OcYrr7KFQvb1Lpkv
ok 1117 - Clear session OcYrr7KFQvb1Lpkv
PASS: tools/clear/test_ust 1117 - Clear session OcYrr7KFQvb1Lpkv
ok 1118 - Stop lttng tracing for session OcYrr7KFQvb1Lpkv
PASS: tools/clear/test_ust 1118 - Stop lttng tracing for session OcYrr7KFQvb1Lpkv
ok 1119 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/OcYrr7KFQvb1Lpkv-20250129-152438" is empty
PASS: tools/clear/test_ust 1119 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/OcYrr7KFQvb1Lpkv-20250129-152438" is empty
ok 1120 - Start tracing for session OcYrr7KFQvb1Lpkv
PASS: tools/clear/test_ust 1120 - Start tracing for session OcYrr7KFQvb1Lpkv
ok 1121 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1121 - Stop lttng tracing for session
ok 1122 - Validate trace for event tp:tptest, 29 events
PASS: tools/clear/test_ust 1122 - Validate trace for event tp:tptest, 29 events
ok 1123 - Read a total of 29 events, expected between [1, 200000[
PASS: tools/clear/test_ust 1123 - Read a total of 29 events, expected between [1, 200000[
ok 1124 - Destroy session OcYrr7KFQvb1Lpkv
PASS: tools/clear/test_ust 1124 - Destroy session OcYrr7KFQvb1Lpkv
# Test ust streaming clear no event
# Parameters: tracing_active=1, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 1125 - Create session jp6ofgtIPG5UnDXd with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1125 - Create session jp6ofgtIPG5UnDXd with uri:net://localhost and opts:
ok 1126 - Enable channel chan for session jp6ofgtIPG5UnDXd
PASS: tools/clear/test_ust 1126 - Enable channel chan for session jp6ofgtIPG5UnDXd
ok 1127 - Enable ust event tp:tptest for session jp6ofgtIPG5UnDXd
PASS: tools/clear/test_ust 1127 - Enable ust event tp:tptest for session jp6ofgtIPG5UnDXd
ok 1128 - Start tracing for session jp6ofgtIPG5UnDXd
PASS: tools/clear/test_ust 1128 - Start tracing for session jp6ofgtIPG5UnDXd
ok 1129 - Clear session jp6ofgtIPG5UnDXd
PASS: tools/clear/test_ust 1129 - Clear session jp6ofgtIPG5UnDXd
ok 1130 - Stop lttng tracing for session jp6ofgtIPG5UnDXd
PASS: tools/clear/test_ust 1130 - Stop lttng tracing for session jp6ofgtIPG5UnDXd
ok 1131 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/jp6ofgtIPG5UnDXd*" is empty
PASS: tools/clear/test_ust 1131 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/jp6ofgtIPG5UnDXd*" is empty
ok 1132 - Destroy session jp6ofgtIPG5UnDXd
PASS: tools/clear/test_ust 1132 - Destroy session jp6ofgtIPG5UnDXd
# Test ust streaming live clear
# Parameters: tracing_active=1, clear_twice=0, buffer_type=pid
ok 1133 - Create session zLzGUZFOgEwKNkuD with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1133 - Create session zLzGUZFOgEwKNkuD with uri:net://localhost and opts: --live
ok 1134 - Enable channel chan for session zLzGUZFOgEwKNkuD
PASS: tools/clear/test_ust 1134 - Enable channel chan for session zLzGUZFOgEwKNkuD
ok 1135 - Enable ust event tp:tptest for session zLzGUZFOgEwKNkuD
PASS: tools/clear/test_ust 1135 - Enable ust event tp:tptest for session zLzGUZFOgEwKNkuD
ok 1136 - Start tracing for session zLzGUZFOgEwKNkuD
PASS: tools/clear/test_ust 1136 - Start tracing for session zLzGUZFOgEwKNkuD
ok 1137 - Clear session zLzGUZFOgEwKNkuD
PASS: tools/clear/test_ust 1137 - Clear session zLzGUZFOgEwKNkuD
ok 1138 - Stop lttng tracing for session zLzGUZFOgEwKNkuD
PASS: tools/clear/test_ust 1138 - Stop lttng tracing for session zLzGUZFOgEwKNkuD
ok 1139 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/zLzGUZFOgEwKNkuD-20250129-152441" is empty
PASS: tools/clear/test_ust 1139 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/zLzGUZFOgEwKNkuD-20250129-152441" is empty
ok 1140 - Destroy session zLzGUZFOgEwKNkuD
PASS: tools/clear/test_ust 1140 - Destroy session zLzGUZFOgEwKNkuD
# Test ust basic streaming live with viewer
# Parameters: tracing_active=1, clear_twice=0, buffer_type=pid
ok 1141 - Create session HDEJAiwHvQSbRizc with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1141 - Create session HDEJAiwHvQSbRizc with uri:net://localhost and opts: --live
ok 1142 - Enable channel chan for session HDEJAiwHvQSbRizc
PASS: tools/clear/test_ust 1142 - Enable channel chan for session HDEJAiwHvQSbRizc
ok 1143 - Enable ust event tp:tptest for session HDEJAiwHvQSbRizc
PASS: tools/clear/test_ust 1143 - Enable ust event tp:tptest for session HDEJAiwHvQSbRizc
ok 1144 - Start tracing for session HDEJAiwHvQSbRizc
PASS: tools/clear/test_ust 1144 - Start tracing for session HDEJAiwHvQSbRizc
# Waiting for live trace at url: net://localhost
ok 1145 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1145 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1146 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1146 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 1147 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 1147 - Live viewer read 10 events, expect 10
ok 1148 - Destroy session HDEJAiwHvQSbRizc
PASS: tools/clear/test_ust 1148 - Destroy session HDEJAiwHvQSbRizc
# Waiting for application to exit
ok 1149 - Wait for application to exit
PASS: tools/clear/test_ust 1149 - Wait for application to exit
# Wait for viewer to exit
ok 1150 - Babeltrace succeeds
PASS: tools/clear/test_ust 1150 - Babeltrace succeeds
ok 1151 - Wait for viewer to exit
PASS: tools/clear/test_ust 1151 - Wait for viewer to exit
# Test ust streaming live clear with viewer
# Parameters: tracing_active=1, clear_twice=0, buffer_type=pid
ok 1152 - Create session V2rFQfCbrEVCp2Dw with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1152 - Create session V2rFQfCbrEVCp2Dw with uri:net://localhost and opts: --live
ok 1153 - Enable channel chan for session V2rFQfCbrEVCp2Dw
PASS: tools/clear/test_ust 1153 - Enable channel chan for session V2rFQfCbrEVCp2Dw
ok 1154 - Enable ust event tp:tptest for session V2rFQfCbrEVCp2Dw
PASS: tools/clear/test_ust 1154 - Enable ust event tp:tptest for session V2rFQfCbrEVCp2Dw
ok 1155 - Start tracing for session V2rFQfCbrEVCp2Dw
PASS: tools/clear/test_ust 1155 - Start tracing for session V2rFQfCbrEVCp2Dw
# Waiting for live trace at url: net://localhost
ok 1156 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1156 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1157 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1157 - Waiting for live viewers on url: net://localhost
ok 1158 - Clear session V2rFQfCbrEVCp2Dw
PASS: tools/clear/test_ust 1158 - Clear session V2rFQfCbrEVCp2Dw
ok 1159 - Stop lttng tracing for session V2rFQfCbrEVCp2Dw
PASS: tools/clear/test_ust 1159 - Stop lttng tracing for session V2rFQfCbrEVCp2Dw
ok 1160 - Destroy session V2rFQfCbrEVCp2Dw
PASS: tools/clear/test_ust 1160 - Destroy session V2rFQfCbrEVCp2Dw
# Wait for viewer to exit
ok 1161 - Babeltrace succeeds
PASS: tools/clear/test_ust 1161 - Babeltrace succeeds
ok 1162 - Wait for viewer to exit
PASS: tools/clear/test_ust 1162 - Wait for viewer to exit
# Test ust streaming live clear with viewer with new metadata after clear
# Parameters: tracing_active=1, clear_twice=0, buffer_type=pid
ok 1163 - Create session uwwcEwVmwYcOySVg with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1163 - Create session uwwcEwVmwYcOySVg with uri:net://localhost and opts: --live
ok 1164 - Enable channel chan for session uwwcEwVmwYcOySVg
PASS: tools/clear/test_ust 1164 - Enable channel chan for session uwwcEwVmwYcOySVg
ok 1165 - Add context command for type: vpid
PASS: tools/clear/test_ust 1165 - Add context command for type: vpid
ok 1166 - Enable ust event tp:tptest for session uwwcEwVmwYcOySVg
PASS: tools/clear/test_ust 1166 - Enable ust event tp:tptest for session uwwcEwVmwYcOySVg
ok 1167 - Start tracing for session uwwcEwVmwYcOySVg
PASS: tools/clear/test_ust 1167 - Start tracing for session uwwcEwVmwYcOySVg
# Waiting for live trace at url: net://localhost
ok 1168 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1168 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1169 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1169 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 1170 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 1170 - Live viewer read 10 events, expect 10
ok 1171 - Clear session uwwcEwVmwYcOySVg
PASS: tools/clear/test_ust 1171 - Clear session uwwcEwVmwYcOySVg
ok 1172 - Enable event lttng_ust_statedump:start with filtering for session uwwcEwVmwYcOySVg
PASS: tools/clear/test_ust 1172 - Enable event lttng_ust_statedump:start with filtering for session uwwcEwVmwYcOySVg
ok 1173 - Enable event lttng_ust_statedump:end with filtering for session uwwcEwVmwYcOySVg
PASS: tools/clear/test_ust 1173 - Enable event lttng_ust_statedump:end with filtering for session uwwcEwVmwYcOySVg
ok 1174 - Statedump regenerate uwwcEwVmwYcOySVg
PASS: tools/clear/test_ust 1174 - Statedump regenerate uwwcEwVmwYcOySVg
# Wait until viewer sees all 12 expected events
ok 1175 - Live viewer read 12 events, expect 12
PASS: tools/clear/test_ust 1175 - Live viewer read 12 events, expect 12
ok 1176 - Stop lttng tracing for session uwwcEwVmwYcOySVg
PASS: tools/clear/test_ust 1176 - Stop lttng tracing for session uwwcEwVmwYcOySVg
ok 1177 - Destroy session uwwcEwVmwYcOySVg
PASS: tools/clear/test_ust 1177 - Destroy session uwwcEwVmwYcOySVg
# Waiting for application to exit
ok 1178 - Wait for application to exit
PASS: tools/clear/test_ust 1178 - Wait for application to exit
# Wait for viewer to exit
ok 1179 - Babeltrace succeeds
PASS: tools/clear/test_ust 1179 - Babeltrace succeeds
ok 1180 - Wait for viewer to exit
PASS: tools/clear/test_ust 1180 - Wait for viewer to exit
# Test ust local
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1181 - Create session Ws8T52ggbC4I0r32 in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1181 - Create session Ws8T52ggbC4I0r32 in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1182 - Enable channel chan for session Ws8T52ggbC4I0r32
PASS: tools/clear/test_ust 1182 - Enable channel chan for session Ws8T52ggbC4I0r32
ok 1183 - Enable ust event tp:tptest for session Ws8T52ggbC4I0r32
PASS: tools/clear/test_ust 1183 - Enable ust event tp:tptest for session Ws8T52ggbC4I0r32
ok 1184 - Start tracing for session Ws8T52ggbC4I0r32
PASS: tools/clear/test_ust 1184 - Start tracing for session Ws8T52ggbC4I0r32
ok 1185 - Clear session Ws8T52ggbC4I0r32
PASS: tools/clear/test_ust 1185 - Clear session Ws8T52ggbC4I0r32
ok 1186 - Stop lttng tracing for session Ws8T52ggbC4I0r32
PASS: tools/clear/test_ust 1186 - Stop lttng tracing for session Ws8T52ggbC4I0r32
ok 1187 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/ust/" is empty
PASS: tools/clear/test_ust 1187 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/ust/" is empty
ok 1188 - Destroy session Ws8T52ggbC4I0r32
PASS: tools/clear/test_ust 1188 - Destroy session Ws8T52ggbC4I0r32
# Test ust local rotate-clear
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1189 - Create session jFcNjeZTQduGxQ1C in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1189 - Create session jFcNjeZTQduGxQ1C in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1190 - Enable channel chan for session jFcNjeZTQduGxQ1C
PASS: tools/clear/test_ust 1190 - Enable channel chan for session jFcNjeZTQduGxQ1C
ok 1191 - Enable ust event tp:tptest for session jFcNjeZTQduGxQ1C
PASS: tools/clear/test_ust 1191 - Enable ust event tp:tptest for session jFcNjeZTQduGxQ1C
ok 1192 - Start tracing for session jFcNjeZTQduGxQ1C
PASS: tools/clear/test_ust 1192 - Start tracing for session jFcNjeZTQduGxQ1C
ok 1193 - Rotate session jFcNjeZTQduGxQ1C
PASS: tools/clear/test_ust 1193 - Rotate session jFcNjeZTQduGxQ1C
ok 1194 - Clear session jFcNjeZTQduGxQ1C
PASS: tools/clear/test_ust 1194 - Clear session jFcNjeZTQduGxQ1C
ok 1195 - Stop lttng tracing for session jFcNjeZTQduGxQ1C
PASS: tools/clear/test_ust 1195 - Stop lttng tracing for session jFcNjeZTQduGxQ1C
ok 1196 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 1196 - Validate trace for event tp:tptest, 4 events
ok 1197 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 1197 - Read a total of 4 events, expected 4
ok 1198 - Destroy session jFcNjeZTQduGxQ1C
PASS: tools/clear/test_ust 1198 - Destroy session jFcNjeZTQduGxQ1C
# Test ust local clear-rotate
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1199 - Create session eTsOv1gsksF3shUt in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1199 - Create session eTsOv1gsksF3shUt in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1200 - Enable channel chan for session eTsOv1gsksF3shUt
PASS: tools/clear/test_ust 1200 - Enable channel chan for session eTsOv1gsksF3shUt
ok 1201 - Enable ust event tp:tptest for session eTsOv1gsksF3shUt
PASS: tools/clear/test_ust 1201 - Enable ust event tp:tptest for session eTsOv1gsksF3shUt
ok 1202 - Start tracing for session eTsOv1gsksF3shUt
PASS: tools/clear/test_ust 1202 - Start tracing for session eTsOv1gsksF3shUt
ok 1203 - Clear session eTsOv1gsksF3shUt
PASS: tools/clear/test_ust 1203 - Clear session eTsOv1gsksF3shUt
ok 1204 - Rotate session eTsOv1gsksF3shUt
PASS: tools/clear/test_ust 1204 - Rotate session eTsOv1gsksF3shUt
ok 1205 - Stop lttng tracing for session eTsOv1gsksF3shUt
PASS: tools/clear/test_ust 1205 - Stop lttng tracing for session eTsOv1gsksF3shUt
ok 1206 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 1206 - Validate trace for event tp:tptest, 5 events
ok 1207 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 1207 - Read a total of 5 events, expected 5
ok 1208 - Destroy session eTsOv1gsksF3shUt
PASS: tools/clear/test_ust 1208 - Destroy session eTsOv1gsksF3shUt
# Test ust local no event
# Parameters: tracing_active=1, clear_twice=0, rotate_before=, rotate_after=, buffer_type=pid
ok 1209 - Create session IIqS70oe7kmODKWe in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1209 - Create session IIqS70oe7kmODKWe in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1210 - Enable channel chan for session IIqS70oe7kmODKWe
PASS: tools/clear/test_ust 1210 - Enable channel chan for session IIqS70oe7kmODKWe
ok 1211 - Enable ust event tp:tptest for session IIqS70oe7kmODKWe
PASS: tools/clear/test_ust 1211 - Enable ust event tp:tptest for session IIqS70oe7kmODKWe
ok 1212 - Start tracing for session IIqS70oe7kmODKWe
PASS: tools/clear/test_ust 1212 - Start tracing for session IIqS70oe7kmODKWe
ok 1213 - Clear session IIqS70oe7kmODKWe
PASS: tools/clear/test_ust 1213 - Clear session IIqS70oe7kmODKWe
ok 1214 - Stop lttng tracing for session IIqS70oe7kmODKWe
PASS: tools/clear/test_ust 1214 - Stop lttng tracing for session IIqS70oe7kmODKWe
ok 1215 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 1215 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 1216 - Destroy session IIqS70oe7kmODKWe
PASS: tools/clear/test_ust 1216 - Destroy session IIqS70oe7kmODKWe
# Test ust local snapshot clear per pid
# Parameters: tracing_active=1, clear_twice=0, buffer_type=pid
ok 1217 - Create session FGUiX2BiTuuFGuKs in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1217 - Create session FGUiX2BiTuuFGuKs in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1218 - Enable channel channel0 for session FGUiX2BiTuuFGuKs
PASS: tools/clear/test_ust 1218 - Enable channel channel0 for session FGUiX2BiTuuFGuKs
ok 1219 - Enable ust event tp:tptest for session FGUiX2BiTuuFGuKs
PASS: tools/clear/test_ust 1219 - Enable ust event tp:tptest for session FGUiX2BiTuuFGuKs
ok 1220 - Start tracing for session FGUiX2BiTuuFGuKs
PASS: tools/clear/test_ust 1220 - Start tracing for session FGUiX2BiTuuFGuKs
ok 1221 - Snapshot recorded
PASS: tools/clear/test_ust 1221 - Snapshot recorded
ok 1222 - Stop lttng tracing for session FGUiX2BiTuuFGuKs
PASS: tools/clear/test_ust 1222 - Stop lttng tracing for session FGUiX2BiTuuFGuKs
ok 1223 - Validate trace for event tp:tptest, 9 events
PASS: tools/clear/test_ust 1223 - Validate trace for event tp:tptest, 9 events
ok 1224 - Read a total of 9 events, expected 9
PASS: tools/clear/test_ust 1224 - Read a total of 9 events, expected 9
ok 1225 - Start tracing for session FGUiX2BiTuuFGuKs
PASS: tools/clear/test_ust 1225 - Start tracing for session FGUiX2BiTuuFGuKs
ok 1226 - Clear session FGUiX2BiTuuFGuKs
PASS: tools/clear/test_ust 1226 - Clear session FGUiX2BiTuuFGuKs
ok 1227 - Snapshot recorded
PASS: tools/clear/test_ust 1227 - Snapshot recorded
ok 1228 - Stop lttng tracing for session FGUiX2BiTuuFGuKs
PASS: tools/clear/test_ust 1228 - Stop lttng tracing for session FGUiX2BiTuuFGuKs
ok 1229 - Validate empty trace
PASS: tools/clear/test_ust 1229 - Validate empty trace
ok 1230 - Start tracing for session FGUiX2BiTuuFGuKs
PASS: tools/clear/test_ust 1230 - Start tracing for session FGUiX2BiTuuFGuKs
ok 1231 - Snapshot recorded
PASS: tools/clear/test_ust 1231 - Snapshot recorded
ok 1232 - Stop lttng tracing for session FGUiX2BiTuuFGuKs
PASS: tools/clear/test_ust 1232 - Stop lttng tracing for session FGUiX2BiTuuFGuKs
ok 1233 - Validate trace for event tp:tptest, 1 events
PASS: tools/clear/test_ust 1233 - Validate trace for event tp:tptest, 1 events
ok 1234 - Read a total of 1 events, expected 1
PASS: tools/clear/test_ust 1234 - Read a total of 1 events, expected 1
ok 1235 - Destroy session FGUiX2BiTuuFGuKs
PASS: tools/clear/test_ust 1235 - Destroy session FGUiX2BiTuuFGuKs
# Test ust streaming clear
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1236 - Create session y2r1gMrbQCC9sTF3 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1236 - Create session y2r1gMrbQCC9sTF3 with uri:net://localhost and opts:
ok 1237 - Enable channel chan for session y2r1gMrbQCC9sTF3
PASS: tools/clear/test_ust 1237 - Enable channel chan for session y2r1gMrbQCC9sTF3
ok 1238 - Enable ust event tp:tptest for session y2r1gMrbQCC9sTF3
PASS: tools/clear/test_ust 1238 - Enable ust event tp:tptest for session y2r1gMrbQCC9sTF3
ok 1239 - Start tracing for session y2r1gMrbQCC9sTF3
PASS: tools/clear/test_ust 1239 - Start tracing for session y2r1gMrbQCC9sTF3
ok 1240 - Clear session y2r1gMrbQCC9sTF3
PASS: tools/clear/test_ust 1240 - Clear session y2r1gMrbQCC9sTF3
ok 1241 - Clear session y2r1gMrbQCC9sTF3
PASS: tools/clear/test_ust 1241 - Clear session y2r1gMrbQCC9sTF3
ok 1242 - Stop lttng tracing for session y2r1gMrbQCC9sTF3
PASS: tools/clear/test_ust 1242 - Stop lttng tracing for session y2r1gMrbQCC9sTF3
ok 1243 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/y2r1gMrbQCC9sTF3-20250129-152504" is empty
PASS: tools/clear/test_ust 1243 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/y2r1gMrbQCC9sTF3-20250129-152504" is empty
ok 1244 - Destroy session y2r1gMrbQCC9sTF3
PASS: tools/clear/test_ust 1244 - Destroy session y2r1gMrbQCC9sTF3
# Test ust streaming rotate-clear
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1245 - Create session wKvkiP9kZC4XNLvU with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1245 - Create session wKvkiP9kZC4XNLvU with uri:net://localhost and opts:
ok 1246 - Enable channel chan for session wKvkiP9kZC4XNLvU
PASS: tools/clear/test_ust 1246 - Enable channel chan for session wKvkiP9kZC4XNLvU
ok 1247 - Enable ust event tp:tptest for session wKvkiP9kZC4XNLvU
PASS: tools/clear/test_ust 1247 - Enable ust event tp:tptest for session wKvkiP9kZC4XNLvU
ok 1248 - Start tracing for session wKvkiP9kZC4XNLvU
PASS: tools/clear/test_ust 1248 - Start tracing for session wKvkiP9kZC4XNLvU
ok 1249 - Rotate session wKvkiP9kZC4XNLvU
PASS: tools/clear/test_ust 1249 - Rotate session wKvkiP9kZC4XNLvU
ok 1250 - Clear session wKvkiP9kZC4XNLvU
PASS: tools/clear/test_ust 1250 - Clear session wKvkiP9kZC4XNLvU
ok 1251 - Clear session wKvkiP9kZC4XNLvU
PASS: tools/clear/test_ust 1251 - Clear session wKvkiP9kZC4XNLvU
ok 1252 - Stop lttng tracing for session wKvkiP9kZC4XNLvU
PASS: tools/clear/test_ust 1252 - Stop lttng tracing for session wKvkiP9kZC4XNLvU
ok 1253 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 1253 - Validate trace for event tp:tptest, 4 events
ok 1254 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 1254 - Read a total of 4 events, expected 4
ok 1255 - Destroy session wKvkiP9kZC4XNLvU
PASS: tools/clear/test_ust 1255 - Destroy session wKvkiP9kZC4XNLvU
# Test ust streaming clear-rotate
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1256 - Create session 05VLRZUozjpRT8DO with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1256 - Create session 05VLRZUozjpRT8DO with uri:net://localhost and opts:
ok 1257 - Enable channel chan for session 05VLRZUozjpRT8DO
PASS: tools/clear/test_ust 1257 - Enable channel chan for session 05VLRZUozjpRT8DO
ok 1258 - Enable ust event tp:tptest for session 05VLRZUozjpRT8DO
PASS: tools/clear/test_ust 1258 - Enable ust event tp:tptest for session 05VLRZUozjpRT8DO
ok 1259 - Start tracing for session 05VLRZUozjpRT8DO
PASS: tools/clear/test_ust 1259 - Start tracing for session 05VLRZUozjpRT8DO
ok 1260 - Clear session 05VLRZUozjpRT8DO
PASS: tools/clear/test_ust 1260 - Clear session 05VLRZUozjpRT8DO
ok 1261 - Clear session 05VLRZUozjpRT8DO
PASS: tools/clear/test_ust 1261 - Clear session 05VLRZUozjpRT8DO
ok 1262 - Rotate session 05VLRZUozjpRT8DO
PASS: tools/clear/test_ust 1262 - Rotate session 05VLRZUozjpRT8DO
ok 1263 - Stop lttng tracing for session 05VLRZUozjpRT8DO
PASS: tools/clear/test_ust 1263 - Stop lttng tracing for session 05VLRZUozjpRT8DO
ok 1264 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 1264 - Validate trace for event tp:tptest, 5 events
ok 1265 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 1265 - Read a total of 5 events, expected 5
ok 1266 - Destroy session 05VLRZUozjpRT8DO
PASS: tools/clear/test_ust 1266 - Destroy session 05VLRZUozjpRT8DO
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1267 - Create session ScmEmjxi0gZ0ffog with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1267 - Create session ScmEmjxi0gZ0ffog with uri:net://localhost and opts:
ok 1268 - Enable channel rotchan for session ScmEmjxi0gZ0ffog
PASS: tools/clear/test_ust 1268 - Enable channel rotchan for session ScmEmjxi0gZ0ffog
ok 1269 - Enable ust event tp:tptest for session ScmEmjxi0gZ0ffog
PASS: tools/clear/test_ust 1269 - Enable ust event tp:tptest for session ScmEmjxi0gZ0ffog
ok 1270 - Start tracing for session ScmEmjxi0gZ0ffog
PASS: tools/clear/test_ust 1270 - Start tracing for session ScmEmjxi0gZ0ffog
ok 1271 - Clear session ScmEmjxi0gZ0ffog
PASS: tools/clear/test_ust 1271 - Clear session ScmEmjxi0gZ0ffog
ok 1272 - Clear session ScmEmjxi0gZ0ffog
PASS: tools/clear/test_ust 1272 - Clear session ScmEmjxi0gZ0ffog
ok 1273 - Stop lttng tracing for session ScmEmjxi0gZ0ffog
PASS: tools/clear/test_ust 1273 - Stop lttng tracing for session ScmEmjxi0gZ0ffog
ok 1274 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/ScmEmjxi0gZ0ffog-20250129-152511" is empty
PASS: tools/clear/test_ust 1274 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/ScmEmjxi0gZ0ffog-20250129-152511" is empty
ok 1275 - Start tracing for session ScmEmjxi0gZ0ffog
PASS: tools/clear/test_ust 1275 - Start tracing for session ScmEmjxi0gZ0ffog
ok 1276 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1276 - Stop lttng tracing for session
ok 1277 - Validate trace for event tp:tptest, 20 events
PASS: tools/clear/test_ust 1277 - Validate trace for event tp:tptest, 20 events
ok 1278 - Read a total of 20 events, expected 20
PASS: tools/clear/test_ust 1278 - Read a total of 20 events, expected 20
ok 1279 - Destroy session ScmEmjxi0gZ0ffog
PASS: tools/clear/test_ust 1279 - Destroy session ScmEmjxi0gZ0ffog
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1280 - Create session Voicz50iDtAF5rp7 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1280 - Create session Voicz50iDtAF5rp7 with uri:net://localhost and opts:
ok 1281 - Enable channel rotchan for session Voicz50iDtAF5rp7
PASS: tools/clear/test_ust 1281 - Enable channel rotchan for session Voicz50iDtAF5rp7
ok 1282 - Enable ust event tp:tptest for session Voicz50iDtAF5rp7
PASS: tools/clear/test_ust 1282 - Enable ust event tp:tptest for session Voicz50iDtAF5rp7
ok 1283 - Start tracing for session Voicz50iDtAF5rp7
PASS: tools/clear/test_ust 1283 - Start tracing for session Voicz50iDtAF5rp7
ok 1284 - Clear session Voicz50iDtAF5rp7
PASS: tools/clear/test_ust 1284 - Clear session Voicz50iDtAF5rp7
ok 1285 - Clear session Voicz50iDtAF5rp7
PASS: tools/clear/test_ust 1285 - Clear session Voicz50iDtAF5rp7
ok 1286 - Stop lttng tracing for session Voicz50iDtAF5rp7
PASS: tools/clear/test_ust 1286 - Stop lttng tracing for session Voicz50iDtAF5rp7
ok 1287 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/Voicz50iDtAF5rp7-20250129-152512" is empty
PASS: tools/clear/test_ust 1287 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/Voicz50iDtAF5rp7-20250129-152512" is empty
ok 1288 - Start tracing for session Voicz50iDtAF5rp7
PASS: tools/clear/test_ust 1288 - Start tracing for session Voicz50iDtAF5rp7
ok 1289 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1289 - Stop lttng tracing for session
ok 1290 - Validate trace for event tp:tptest, 38 events
PASS: tools/clear/test_ust 1290 - Validate trace for event tp:tptest, 38 events
ok 1291 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 1291 - Read a total of 38 events, expected between [1, 200000[
ok 1292 - Destroy session Voicz50iDtAF5rp7
PASS: tools/clear/test_ust 1292 - Destroy session Voicz50iDtAF5rp7
# Test ust streaming clear no event
# Parameters: tracing_active=1, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 1293 - Create session lubgg4rnqL2JYjPw with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1293 - Create session lubgg4rnqL2JYjPw with uri:net://localhost and opts:
ok 1294 - Enable channel chan for session lubgg4rnqL2JYjPw
PASS: tools/clear/test_ust 1294 - Enable channel chan for session lubgg4rnqL2JYjPw
ok 1295 - Enable ust event tp:tptest for session lubgg4rnqL2JYjPw
PASS: tools/clear/test_ust 1295 - Enable ust event tp:tptest for session lubgg4rnqL2JYjPw
ok 1296 - Start tracing for session lubgg4rnqL2JYjPw
PASS: tools/clear/test_ust 1296 - Start tracing for session lubgg4rnqL2JYjPw
ok 1297 - Clear session lubgg4rnqL2JYjPw
PASS: tools/clear/test_ust 1297 - Clear session lubgg4rnqL2JYjPw
ok 1298 - Clear session lubgg4rnqL2JYjPw
PASS: tools/clear/test_ust 1298 - Clear session lubgg4rnqL2JYjPw
ok 1299 - Stop lttng tracing for session lubgg4rnqL2JYjPw
PASS: tools/clear/test_ust 1299 - Stop lttng tracing for session lubgg4rnqL2JYjPw
ok 1300 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/lubgg4rnqL2JYjPw*" is empty
PASS: tools/clear/test_ust 1300 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/lubgg4rnqL2JYjPw*" is empty
ok 1301 - Destroy session lubgg4rnqL2JYjPw
PASS: tools/clear/test_ust 1301 - Destroy session lubgg4rnqL2JYjPw
# Test ust streaming live clear
# Parameters: tracing_active=1, clear_twice=1, buffer_type=pid
ok 1302 - Create session WGe4oIytkuUXsGcx with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1302 - Create session WGe4oIytkuUXsGcx with uri:net://localhost and opts: --live
ok 1303 - Enable channel chan for session WGe4oIytkuUXsGcx
PASS: tools/clear/test_ust 1303 - Enable channel chan for session WGe4oIytkuUXsGcx
ok 1304 - Enable ust event tp:tptest for session WGe4oIytkuUXsGcx
PASS: tools/clear/test_ust 1304 - Enable ust event tp:tptest for session WGe4oIytkuUXsGcx
ok 1305 - Start tracing for session WGe4oIytkuUXsGcx
PASS: tools/clear/test_ust 1305 - Start tracing for session WGe4oIytkuUXsGcx
ok 1306 - Clear session WGe4oIytkuUXsGcx
PASS: tools/clear/test_ust 1306 - Clear session WGe4oIytkuUXsGcx
ok 1307 - Clear session WGe4oIytkuUXsGcx
PASS: tools/clear/test_ust 1307 - Clear session WGe4oIytkuUXsGcx
ok 1308 - Stop lttng tracing for session WGe4oIytkuUXsGcx
PASS: tools/clear/test_ust 1308 - Stop lttng tracing for session WGe4oIytkuUXsGcx
ok 1309 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/WGe4oIytkuUXsGcx-20250129-152515" is empty
PASS: tools/clear/test_ust 1309 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/WGe4oIytkuUXsGcx-20250129-152515" is empty
ok 1310 - Destroy session WGe4oIytkuUXsGcx
PASS: tools/clear/test_ust 1310 - Destroy session WGe4oIytkuUXsGcx
# Test ust basic streaming live with viewer
# Parameters: tracing_active=1, clear_twice=1, buffer_type=pid
ok 1311 - Create session nHTB6Kz1brBU0qD2 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1311 - Create session nHTB6Kz1brBU0qD2 with uri:net://localhost and opts: --live
ok 1312 - Enable channel chan for session nHTB6Kz1brBU0qD2
PASS: tools/clear/test_ust 1312 - Enable channel chan for session nHTB6Kz1brBU0qD2
ok 1313 - Enable ust event tp:tptest for session nHTB6Kz1brBU0qD2
PASS: tools/clear/test_ust 1313 - Enable ust event tp:tptest for session nHTB6Kz1brBU0qD2
ok 1314 - Start tracing for session nHTB6Kz1brBU0qD2
PASS: tools/clear/test_ust 1314 - Start tracing for session nHTB6Kz1brBU0qD2
# Waiting for live trace at url: net://localhost
ok 1315 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1315 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1316 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1316 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 1317 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 1317 - Live viewer read 10 events, expect 10
ok 1318 - Destroy session nHTB6Kz1brBU0qD2
PASS: tools/clear/test_ust 1318 - Destroy session nHTB6Kz1brBU0qD2
# Waiting for application to exit
ok 1319 - Wait for application to exit
PASS: tools/clear/test_ust 1319 - Wait for application to exit
# Wait for viewer to exit
ok 1320 - Babeltrace succeeds
PASS: tools/clear/test_ust 1320 - Babeltrace succeeds
ok 1321 - Wait for viewer to exit
PASS: tools/clear/test_ust 1321 - Wait for viewer to exit
# Test ust streaming live clear with viewer
# Parameters: tracing_active=1, clear_twice=1, buffer_type=pid
ok 1322 - Create session GWWU0wPKgjk1X9cJ with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1322 - Create session GWWU0wPKgjk1X9cJ with uri:net://localhost and opts: --live
ok 1323 - Enable channel chan for session GWWU0wPKgjk1X9cJ
PASS: tools/clear/test_ust 1323 - Enable channel chan for session GWWU0wPKgjk1X9cJ
ok 1324 - Enable ust event tp:tptest for session GWWU0wPKgjk1X9cJ
PASS: tools/clear/test_ust 1324 - Enable ust event tp:tptest for session GWWU0wPKgjk1X9cJ
ok 1325 - Start tracing for session GWWU0wPKgjk1X9cJ
PASS: tools/clear/test_ust 1325 - Start tracing for session GWWU0wPKgjk1X9cJ
# Waiting for live trace at url: net://localhost
ok 1326 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1326 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1327 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1327 - Waiting for live viewers on url: net://localhost
ok 1328 - Clear session GWWU0wPKgjk1X9cJ
PASS: tools/clear/test_ust 1328 - Clear session GWWU0wPKgjk1X9cJ
ok 1329 - Clear session GWWU0wPKgjk1X9cJ
PASS: tools/clear/test_ust 1329 - Clear session GWWU0wPKgjk1X9cJ
ok 1330 - Stop lttng tracing for session GWWU0wPKgjk1X9cJ
PASS: tools/clear/test_ust 1330 - Stop lttng tracing for session GWWU0wPKgjk1X9cJ
ok 1331 - Destroy session GWWU0wPKgjk1X9cJ
PASS: tools/clear/test_ust 1331 - Destroy session GWWU0wPKgjk1X9cJ
# Wait for viewer to exit
ok 1332 - Babeltrace succeeds
PASS: tools/clear/test_ust 1332 - Babeltrace succeeds
ok 1333 - Wait for viewer to exit
PASS: tools/clear/test_ust 1333 - Wait for viewer to exit
# Test ust streaming live clear with viewer with new metadata after clear
# Parameters: tracing_active=1, clear_twice=1, buffer_type=pid
ok 1334 - Create session raISMkD6lAWkQnr1 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1334 - Create session raISMkD6lAWkQnr1 with uri:net://localhost and opts: --live
ok 1335 - Enable channel chan for session raISMkD6lAWkQnr1
PASS: tools/clear/test_ust 1335 - Enable channel chan for session raISMkD6lAWkQnr1
ok 1336 - Add context command for type: vpid
PASS: tools/clear/test_ust 1336 - Add context command for type: vpid
ok 1337 - Enable ust event tp:tptest for session raISMkD6lAWkQnr1
PASS: tools/clear/test_ust 1337 - Enable ust event tp:tptest for session raISMkD6lAWkQnr1
ok 1338 - Start tracing for session raISMkD6lAWkQnr1
PASS: tools/clear/test_ust 1338 - Start tracing for session raISMkD6lAWkQnr1
# Waiting for live trace at url: net://localhost
ok 1339 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1339 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1340 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1340 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 1341 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 1341 - Live viewer read 10 events, expect 10
ok 1342 - Clear session raISMkD6lAWkQnr1
PASS: tools/clear/test_ust 1342 - Clear session raISMkD6lAWkQnr1
ok 1343 - Clear session raISMkD6lAWkQnr1
PASS: tools/clear/test_ust 1343 - Clear session raISMkD6lAWkQnr1
ok 1344 - Enable event lttng_ust_statedump:start with filtering for session raISMkD6lAWkQnr1
PASS: tools/clear/test_ust 1344 - Enable event lttng_ust_statedump:start with filtering for session raISMkD6lAWkQnr1
ok 1345 - Enable event lttng_ust_statedump:end with filtering for session raISMkD6lAWkQnr1
PASS: tools/clear/test_ust 1345 - Enable event lttng_ust_statedump:end with filtering for session raISMkD6lAWkQnr1
ok 1346 - Statedump regenerate raISMkD6lAWkQnr1
PASS: tools/clear/test_ust 1346 - Statedump regenerate raISMkD6lAWkQnr1
# Wait until viewer sees all 12 expected events
ok 1347 - Live viewer read 12 events, expect 12
PASS: tools/clear/test_ust 1347 - Live viewer read 12 events, expect 12
ok 1348 - Stop lttng tracing for session raISMkD6lAWkQnr1
PASS: tools/clear/test_ust 1348 - Stop lttng tracing for session raISMkD6lAWkQnr1
ok 1349 - Destroy session raISMkD6lAWkQnr1
PASS: tools/clear/test_ust 1349 - Destroy session raISMkD6lAWkQnr1
# Waiting for application to exit
ok 1350 - Wait for application to exit
PASS: tools/clear/test_ust 1350 - Wait for application to exit
# Wait for viewer to exit
ok 1351 - Babeltrace succeeds
PASS: tools/clear/test_ust 1351 - Babeltrace succeeds
ok 1352 - Wait for viewer to exit
PASS: tools/clear/test_ust 1352 - Wait for viewer to exit
# Test ust local
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1353 - Create session ffihAbuPrCBahRTi in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1353 - Create session ffihAbuPrCBahRTi in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1354 - Enable channel chan for session ffihAbuPrCBahRTi
PASS: tools/clear/test_ust 1354 - Enable channel chan for session ffihAbuPrCBahRTi
ok 1355 - Enable ust event tp:tptest for session ffihAbuPrCBahRTi
PASS: tools/clear/test_ust 1355 - Enable ust event tp:tptest for session ffihAbuPrCBahRTi
ok 1356 - Start tracing for session ffihAbuPrCBahRTi
PASS: tools/clear/test_ust 1356 - Start tracing for session ffihAbuPrCBahRTi
ok 1357 - Clear session ffihAbuPrCBahRTi
PASS: tools/clear/test_ust 1357 - Clear session ffihAbuPrCBahRTi
ok 1358 - Clear session ffihAbuPrCBahRTi
PASS: tools/clear/test_ust 1358 - Clear session ffihAbuPrCBahRTi
ok 1359 - Stop lttng tracing for session ffihAbuPrCBahRTi
PASS: tools/clear/test_ust 1359 - Stop lttng tracing for session ffihAbuPrCBahRTi
ok 1360 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/ust/" is empty
PASS: tools/clear/test_ust 1360 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/ust/" is empty
ok 1361 - Destroy session ffihAbuPrCBahRTi
PASS: tools/clear/test_ust 1361 - Destroy session ffihAbuPrCBahRTi
# Test ust local rotate-clear
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1362 - Create session zHXBViaAufRWC1w9 in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1362 - Create session zHXBViaAufRWC1w9 in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1363 - Enable channel chan for session zHXBViaAufRWC1w9
PASS: tools/clear/test_ust 1363 - Enable channel chan for session zHXBViaAufRWC1w9
ok 1364 - Enable ust event tp:tptest for session zHXBViaAufRWC1w9
PASS: tools/clear/test_ust 1364 - Enable ust event tp:tptest for session zHXBViaAufRWC1w9
ok 1365 - Start tracing for session zHXBViaAufRWC1w9
PASS: tools/clear/test_ust 1365 - Start tracing for session zHXBViaAufRWC1w9
ok 1366 - Rotate session zHXBViaAufRWC1w9
PASS: tools/clear/test_ust 1366 - Rotate session zHXBViaAufRWC1w9
ok 1367 - Clear session zHXBViaAufRWC1w9
PASS: tools/clear/test_ust 1367 - Clear session zHXBViaAufRWC1w9
ok 1368 - Clear session zHXBViaAufRWC1w9
PASS: tools/clear/test_ust 1368 - Clear session zHXBViaAufRWC1w9
ok 1369 - Stop lttng tracing for session zHXBViaAufRWC1w9
PASS: tools/clear/test_ust 1369 - Stop lttng tracing for session zHXBViaAufRWC1w9
ok 1370 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 1370 - Validate trace for event tp:tptest, 4 events
ok 1371 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 1371 - Read a total of 4 events, expected 4
ok 1372 - Destroy session zHXBViaAufRWC1w9
PASS: tools/clear/test_ust 1372 - Destroy session zHXBViaAufRWC1w9
# Test ust local clear-rotate
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1373 - Create session KZ5pDMshF0ilukyg in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1373 - Create session KZ5pDMshF0ilukyg in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1374 - Enable channel chan for session KZ5pDMshF0ilukyg
PASS: tools/clear/test_ust 1374 - Enable channel chan for session KZ5pDMshF0ilukyg
ok 1375 - Enable ust event tp:tptest for session KZ5pDMshF0ilukyg
PASS: tools/clear/test_ust 1375 - Enable ust event tp:tptest for session KZ5pDMshF0ilukyg
ok 1376 - Start tracing for session KZ5pDMshF0ilukyg
PASS: tools/clear/test_ust 1376 - Start tracing for session KZ5pDMshF0ilukyg
ok 1377 - Clear session KZ5pDMshF0ilukyg
PASS: tools/clear/test_ust 1377 - Clear session KZ5pDMshF0ilukyg
ok 1378 - Clear session KZ5pDMshF0ilukyg
PASS: tools/clear/test_ust 1378 - Clear session KZ5pDMshF0ilukyg
ok 1379 - Rotate session KZ5pDMshF0ilukyg
PASS: tools/clear/test_ust 1379 - Rotate session KZ5pDMshF0ilukyg
ok 1380 - Stop lttng tracing for session KZ5pDMshF0ilukyg
PASS: tools/clear/test_ust 1380 - Stop lttng tracing for session KZ5pDMshF0ilukyg
ok 1381 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 1381 - Validate trace for event tp:tptest, 5 events
ok 1382 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 1382 - Read a total of 5 events, expected 5
ok 1383 - Destroy session KZ5pDMshF0ilukyg
PASS: tools/clear/test_ust 1383 - Destroy session KZ5pDMshF0ilukyg
# Test ust local no event
# Parameters: tracing_active=1, clear_twice=1, rotate_before=, rotate_after=, buffer_type=pid
ok 1384 - Create session 8uUztQZg9UpoJxvX in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1384 - Create session 8uUztQZg9UpoJxvX in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1385 - Enable channel chan for session 8uUztQZg9UpoJxvX
PASS: tools/clear/test_ust 1385 - Enable channel chan for session 8uUztQZg9UpoJxvX
ok 1386 - Enable ust event tp:tptest for session 8uUztQZg9UpoJxvX
PASS: tools/clear/test_ust 1386 - Enable ust event tp:tptest for session 8uUztQZg9UpoJxvX
ok 1387 - Start tracing for session 8uUztQZg9UpoJxvX
PASS: tools/clear/test_ust 1387 - Start tracing for session 8uUztQZg9UpoJxvX
ok 1388 - Clear session 8uUztQZg9UpoJxvX
PASS: tools/clear/test_ust 1388 - Clear session 8uUztQZg9UpoJxvX
ok 1389 - Clear session 8uUztQZg9UpoJxvX
PASS: tools/clear/test_ust 1389 - Clear session 8uUztQZg9UpoJxvX
ok 1390 - Stop lttng tracing for session 8uUztQZg9UpoJxvX
PASS: tools/clear/test_ust 1390 - Stop lttng tracing for session 8uUztQZg9UpoJxvX
ok 1391 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 1391 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 1392 - Destroy session 8uUztQZg9UpoJxvX
PASS: tools/clear/test_ust 1392 - Destroy session 8uUztQZg9UpoJxvX
# Test ust local snapshot clear per pid
# Parameters: tracing_active=1, clear_twice=1, buffer_type=pid
ok 1393 - Create session KyXVOCU3pxYfYMaG in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1393 - Create session KyXVOCU3pxYfYMaG in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1394 - Enable channel channel0 for session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1394 - Enable channel channel0 for session KyXVOCU3pxYfYMaG
ok 1395 - Enable ust event tp:tptest for session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1395 - Enable ust event tp:tptest for session KyXVOCU3pxYfYMaG
ok 1396 - Start tracing for session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1396 - Start tracing for session KyXVOCU3pxYfYMaG
ok 1397 - Snapshot recorded
PASS: tools/clear/test_ust 1397 - Snapshot recorded
ok 1398 - Stop lttng tracing for session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1398 - Stop lttng tracing for session KyXVOCU3pxYfYMaG
ok 1399 - Validate trace for event tp:tptest, 9 events
PASS: tools/clear/test_ust 1399 - Validate trace for event tp:tptest, 9 events
ok 1400 - Read a total of 9 events, expected 9
PASS: tools/clear/test_ust 1400 - Read a total of 9 events, expected 9
ok 1401 - Start tracing for session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1401 - Start tracing for session KyXVOCU3pxYfYMaG
ok 1402 - Clear session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1402 - Clear session KyXVOCU3pxYfYMaG
ok 1403 - Clear session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1403 - Clear session KyXVOCU3pxYfYMaG
ok 1404 - Snapshot recorded
PASS: tools/clear/test_ust 1404 - Snapshot recorded
ok 1405 - Stop lttng tracing for session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1405 - Stop lttng tracing for session KyXVOCU3pxYfYMaG
ok 1406 - Validate empty trace
PASS: tools/clear/test_ust 1406 - Validate empty trace
ok 1407 - Start tracing for session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1407 - Start tracing for session KyXVOCU3pxYfYMaG
ok 1408 - Snapshot recorded
PASS: tools/clear/test_ust 1408 - Snapshot recorded
ok 1409 - Stop lttng tracing for session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1409 - Stop lttng tracing for session KyXVOCU3pxYfYMaG
ok 1410 - Validate trace for event tp:tptest, 1 events
PASS: tools/clear/test_ust 1410 - Validate trace for event tp:tptest, 1 events
ok 1411 - Read a total of 1 events, expected 1
PASS: tools/clear/test_ust 1411 - Read a total of 1 events, expected 1
ok 1412 - Destroy session KyXVOCU3pxYfYMaG
PASS: tools/clear/test_ust 1412 - Destroy session KyXVOCU3pxYfYMaG
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1413 - Create session 12SlTS6VyTHllrI6 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1413 - Create session 12SlTS6VyTHllrI6 with uri:net://localhost and opts:
ok 1414 - Enable channel chan for session 12SlTS6VyTHllrI6
PASS: tools/clear/test_ust 1414 - Enable channel chan for session 12SlTS6VyTHllrI6
ok 1415 - Enable ust event tp:tptest for session 12SlTS6VyTHllrI6
PASS: tools/clear/test_ust 1415 - Enable ust event tp:tptest for session 12SlTS6VyTHllrI6
ok 1416 - Start tracing for session 12SlTS6VyTHllrI6
PASS: tools/clear/test_ust 1416 - Start tracing for session 12SlTS6VyTHllrI6
ok 1417 - Stop lttng tracing for session 12SlTS6VyTHllrI6
PASS: tools/clear/test_ust 1417 - Stop lttng tracing for session 12SlTS6VyTHllrI6
ok 1418 - Clear session 12SlTS6VyTHllrI6
PASS: tools/clear/test_ust 1418 - Clear session 12SlTS6VyTHllrI6
ok 1419 - Start tracing for session 12SlTS6VyTHllrI6
PASS: tools/clear/test_ust 1419 - Start tracing for session 12SlTS6VyTHllrI6
ok 1420 - Stop lttng tracing for session 12SlTS6VyTHllrI6
PASS: tools/clear/test_ust 1420 - Stop lttng tracing for session 12SlTS6VyTHllrI6
ok 1421 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/12SlTS6VyTHllrI6-20250129-152541" is empty
PASS: tools/clear/test_ust 1421 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/12SlTS6VyTHllrI6-20250129-152541" is empty
ok 1422 - Destroy session 12SlTS6VyTHllrI6
PASS: tools/clear/test_ust 1422 - Destroy session 12SlTS6VyTHllrI6
# Test ust streaming rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1423 - Create session r7zr0McAvlUDiBpo with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1423 - Create session r7zr0McAvlUDiBpo with uri:net://localhost and opts:
ok 1424 - Enable channel chan for session r7zr0McAvlUDiBpo
PASS: tools/clear/test_ust 1424 - Enable channel chan for session r7zr0McAvlUDiBpo
ok 1425 - Enable ust event tp:tptest for session r7zr0McAvlUDiBpo
PASS: tools/clear/test_ust 1425 - Enable ust event tp:tptest for session r7zr0McAvlUDiBpo
ok 1426 - Start tracing for session r7zr0McAvlUDiBpo
PASS: tools/clear/test_ust 1426 - Start tracing for session r7zr0McAvlUDiBpo
ok 1427 - Rotate session r7zr0McAvlUDiBpo
PASS: tools/clear/test_ust 1427 - Rotate session r7zr0McAvlUDiBpo
ok 1428 - Stop lttng tracing for session r7zr0McAvlUDiBpo
PASS: tools/clear/test_ust 1428 - Stop lttng tracing for session r7zr0McAvlUDiBpo
ok 1429 - Clear session r7zr0McAvlUDiBpo
PASS: tools/clear/test_ust 1429 - Clear session r7zr0McAvlUDiBpo
ok 1430 - Start tracing for session r7zr0McAvlUDiBpo
PASS: tools/clear/test_ust 1430 - Start tracing for session r7zr0McAvlUDiBpo
ok 1431 - Stop lttng tracing for session r7zr0McAvlUDiBpo
PASS: tools/clear/test_ust 1431 - Stop lttng tracing for session r7zr0McAvlUDiBpo
ok 1432 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 1432 - Validate trace for event tp:tptest, 4 events
ok 1433 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 1433 - Read a total of 4 events, expected 4
ok 1434 - Destroy session r7zr0McAvlUDiBpo
PASS: tools/clear/test_ust 1434 - Destroy session r7zr0McAvlUDiBpo
# Test ust streaming clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1435 - Create session zPxVbwGKjUGQ9WE3 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1435 - Create session zPxVbwGKjUGQ9WE3 with uri:net://localhost and opts:
ok 1436 - Enable channel chan for session zPxVbwGKjUGQ9WE3
PASS: tools/clear/test_ust 1436 - Enable channel chan for session zPxVbwGKjUGQ9WE3
ok 1437 - Enable ust event tp:tptest for session zPxVbwGKjUGQ9WE3
PASS: tools/clear/test_ust 1437 - Enable ust event tp:tptest for session zPxVbwGKjUGQ9WE3
ok 1438 - Start tracing for session zPxVbwGKjUGQ9WE3
PASS: tools/clear/test_ust 1438 - Start tracing for session zPxVbwGKjUGQ9WE3
ok 1439 - Stop lttng tracing for session zPxVbwGKjUGQ9WE3
PASS: tools/clear/test_ust 1439 - Stop lttng tracing for session zPxVbwGKjUGQ9WE3
ok 1440 - Clear session zPxVbwGKjUGQ9WE3
PASS: tools/clear/test_ust 1440 - Clear session zPxVbwGKjUGQ9WE3
ok 1441 - Start tracing for session zPxVbwGKjUGQ9WE3
PASS: tools/clear/test_ust 1441 - Start tracing for session zPxVbwGKjUGQ9WE3
ok 1442 - Rotate session zPxVbwGKjUGQ9WE3
PASS: tools/clear/test_ust 1442 - Rotate session zPxVbwGKjUGQ9WE3
ok 1443 - Stop lttng tracing for session zPxVbwGKjUGQ9WE3
PASS: tools/clear/test_ust 1443 - Stop lttng tracing for session zPxVbwGKjUGQ9WE3
ok 1444 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 1444 - Validate trace for event tp:tptest, 5 events
ok 1445 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 1445 - Read a total of 5 events, expected 5
ok 1446 - Destroy session zPxVbwGKjUGQ9WE3
PASS: tools/clear/test_ust 1446 - Destroy session zPxVbwGKjUGQ9WE3
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1447 - Create session 5bB9qUWiD3P82GZh with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1447 - Create session 5bB9qUWiD3P82GZh with uri:net://localhost and opts:
ok 1448 - Enable channel rotchan for session 5bB9qUWiD3P82GZh
PASS: tools/clear/test_ust 1448 - Enable channel rotchan for session 5bB9qUWiD3P82GZh
ok 1449 - Enable ust event tp:tptest for session 5bB9qUWiD3P82GZh
PASS: tools/clear/test_ust 1449 - Enable ust event tp:tptest for session 5bB9qUWiD3P82GZh
ok 1450 - Start tracing for session 5bB9qUWiD3P82GZh
PASS: tools/clear/test_ust 1450 - Start tracing for session 5bB9qUWiD3P82GZh
ok 1451 - Stop lttng tracing for session 5bB9qUWiD3P82GZh
PASS: tools/clear/test_ust 1451 - Stop lttng tracing for session 5bB9qUWiD3P82GZh
ok 1452 - Clear session 5bB9qUWiD3P82GZh
PASS: tools/clear/test_ust 1452 - Clear session 5bB9qUWiD3P82GZh
ok 1453 - Start tracing for session 5bB9qUWiD3P82GZh
PASS: tools/clear/test_ust 1453 - Start tracing for session 5bB9qUWiD3P82GZh
ok 1454 - Stop lttng tracing for session 5bB9qUWiD3P82GZh
PASS: tools/clear/test_ust 1454 - Stop lttng tracing for session 5bB9qUWiD3P82GZh
ok 1455 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/5bB9qUWiD3P82GZh-20250129-152546" is empty
PASS: tools/clear/test_ust 1455 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/5bB9qUWiD3P82GZh-20250129-152546" is empty
ok 1456 - Start tracing for session 5bB9qUWiD3P82GZh
PASS: tools/clear/test_ust 1456 - Start tracing for session 5bB9qUWiD3P82GZh
ok 1457 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1457 - Stop lttng tracing for session
ok 1458 - Validate trace for event tp:tptest, 20 events
PASS: tools/clear/test_ust 1458 - Validate trace for event tp:tptest, 20 events
ok 1459 - Read a total of 20 events, expected 20
PASS: tools/clear/test_ust 1459 - Read a total of 20 events, expected 20
ok 1460 - Destroy session 5bB9qUWiD3P82GZh
PASS: tools/clear/test_ust 1460 - Destroy session 5bB9qUWiD3P82GZh
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1461 - Create session pMSmcClgG9bGY0ow with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1461 - Create session pMSmcClgG9bGY0ow with uri:net://localhost and opts:
ok 1462 - Enable channel rotchan for session pMSmcClgG9bGY0ow
PASS: tools/clear/test_ust 1462 - Enable channel rotchan for session pMSmcClgG9bGY0ow
ok 1463 - Enable ust event tp:tptest for session pMSmcClgG9bGY0ow
PASS: tools/clear/test_ust 1463 - Enable ust event tp:tptest for session pMSmcClgG9bGY0ow
ok 1464 - Start tracing for session pMSmcClgG9bGY0ow
PASS: tools/clear/test_ust 1464 - Start tracing for session pMSmcClgG9bGY0ow
ok 1465 - Stop lttng tracing for session pMSmcClgG9bGY0ow
PASS: tools/clear/test_ust 1465 - Stop lttng tracing for session pMSmcClgG9bGY0ow
ok 1466 - Clear session pMSmcClgG9bGY0ow
PASS: tools/clear/test_ust 1466 - Clear session pMSmcClgG9bGY0ow
ok 1467 - Start tracing for session pMSmcClgG9bGY0ow
PASS: tools/clear/test_ust 1467 - Start tracing for session pMSmcClgG9bGY0ow
ok 1468 - Stop lttng tracing for session pMSmcClgG9bGY0ow
PASS: tools/clear/test_ust 1468 - Stop lttng tracing for session pMSmcClgG9bGY0ow
ok 1469 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/pMSmcClgG9bGY0ow-20250129-152547" is empty
PASS: tools/clear/test_ust 1469 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/pMSmcClgG9bGY0ow-20250129-152547" is empty
ok 1470 - Start tracing for session pMSmcClgG9bGY0ow
PASS: tools/clear/test_ust 1470 - Start tracing for session pMSmcClgG9bGY0ow
ok 1471 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1471 - Stop lttng tracing for session
ok 1472 - Validate trace for event tp:tptest, 38 events
PASS: tools/clear/test_ust 1472 - Validate trace for event tp:tptest, 38 events
ok 1473 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 1473 - Read a total of 38 events, expected between [1, 200000[
ok 1474 - Destroy session pMSmcClgG9bGY0ow
PASS: tools/clear/test_ust 1474 - Destroy session pMSmcClgG9bGY0ow
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 1475 - Create session ll8piLymUsfz9mwN with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1475 - Create session ll8piLymUsfz9mwN with uri:net://localhost and opts:
ok 1476 - Enable channel chan for session ll8piLymUsfz9mwN
PASS: tools/clear/test_ust 1476 - Enable channel chan for session ll8piLymUsfz9mwN
ok 1477 - Enable ust event tp:tptest for session ll8piLymUsfz9mwN
PASS: tools/clear/test_ust 1477 - Enable ust event tp:tptest for session ll8piLymUsfz9mwN
ok 1478 - Start tracing for session ll8piLymUsfz9mwN
PASS: tools/clear/test_ust 1478 - Start tracing for session ll8piLymUsfz9mwN
ok 1479 - Stop lttng tracing for session ll8piLymUsfz9mwN
PASS: tools/clear/test_ust 1479 - Stop lttng tracing for session ll8piLymUsfz9mwN
ok 1480 - Clear session ll8piLymUsfz9mwN
PASS: tools/clear/test_ust 1480 - Clear session ll8piLymUsfz9mwN
ok 1481 - Start tracing for session ll8piLymUsfz9mwN
PASS: tools/clear/test_ust 1481 - Start tracing for session ll8piLymUsfz9mwN
ok 1482 - Stop lttng tracing for session ll8piLymUsfz9mwN
PASS: tools/clear/test_ust 1482 - Stop lttng tracing for session ll8piLymUsfz9mwN
ok 1483 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/ll8piLymUsfz9mwN*" is empty
PASS: tools/clear/test_ust 1483 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/ll8piLymUsfz9mwN*" is empty
ok 1484 - Destroy session ll8piLymUsfz9mwN
PASS: tools/clear/test_ust 1484 - Destroy session ll8piLymUsfz9mwN
# Test ust streaming live clear
# Parameters: tracing_active=0, clear_twice=0, buffer_type=pid
ok 1485 - Create session QcXMUvIQ3P2xVImG with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1485 - Create session QcXMUvIQ3P2xVImG with uri:net://localhost and opts: --live
ok 1486 - Enable channel chan for session QcXMUvIQ3P2xVImG
PASS: tools/clear/test_ust 1486 - Enable channel chan for session QcXMUvIQ3P2xVImG
ok 1487 - Enable ust event tp:tptest for session QcXMUvIQ3P2xVImG
PASS: tools/clear/test_ust 1487 - Enable ust event tp:tptest for session QcXMUvIQ3P2xVImG
ok 1488 - Start tracing for session QcXMUvIQ3P2xVImG
PASS: tools/clear/test_ust 1488 - Start tracing for session QcXMUvIQ3P2xVImG
ok 1489 - Stop lttng tracing for session QcXMUvIQ3P2xVImG
PASS: tools/clear/test_ust 1489 - Stop lttng tracing for session QcXMUvIQ3P2xVImG
ok 1490 - Clear session QcXMUvIQ3P2xVImG
PASS: tools/clear/test_ust 1490 - Clear session QcXMUvIQ3P2xVImG
ok 1491 - Start tracing for session QcXMUvIQ3P2xVImG
PASS: tools/clear/test_ust 1491 - Start tracing for session QcXMUvIQ3P2xVImG
ok 1492 - Stop lttng tracing for session QcXMUvIQ3P2xVImG
PASS: tools/clear/test_ust 1492 - Stop lttng tracing for session QcXMUvIQ3P2xVImG
ok 1493 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/QcXMUvIQ3P2xVImG-20250129-152549" is empty
PASS: tools/clear/test_ust 1493 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/QcXMUvIQ3P2xVImG-20250129-152549" is empty
ok 1494 - Destroy session QcXMUvIQ3P2xVImG
PASS: tools/clear/test_ust 1494 - Destroy session QcXMUvIQ3P2xVImG
# Test ust basic streaming live with viewer
# Parameters: tracing_active=0, clear_twice=0, buffer_type=pid
ok 1495 - Create session XkSaEOcTIIWFjZdZ with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1495 - Create session XkSaEOcTIIWFjZdZ with uri:net://localhost and opts: --live
ok 1496 - Enable channel chan for session XkSaEOcTIIWFjZdZ
PASS: tools/clear/test_ust 1496 - Enable channel chan for session XkSaEOcTIIWFjZdZ
ok 1497 - Enable ust event tp:tptest for session XkSaEOcTIIWFjZdZ
PASS: tools/clear/test_ust 1497 - Enable ust event tp:tptest for session XkSaEOcTIIWFjZdZ
ok 1498 - Start tracing for session XkSaEOcTIIWFjZdZ
PASS: tools/clear/test_ust 1498 - Start tracing for session XkSaEOcTIIWFjZdZ
# Waiting for live trace at url: net://localhost
ok 1499 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1499 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1500 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1500 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 1501 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 1501 - Live viewer read 10 events, expect 10
ok 1502 - Destroy session XkSaEOcTIIWFjZdZ
PASS: tools/clear/test_ust 1502 - Destroy session XkSaEOcTIIWFjZdZ
# Waiting for application to exit
ok 1503 - Wait for application to exit
PASS: tools/clear/test_ust 1503 - Wait for application to exit
# Wait for viewer to exit
ok 1504 - Babeltrace succeeds
PASS: tools/clear/test_ust 1504 - Babeltrace succeeds
ok 1505 - Wait for viewer to exit
PASS: tools/clear/test_ust 1505 - Wait for viewer to exit
# Test ust streaming live clear with viewer
# Parameters: tracing_active=0, clear_twice=0, buffer_type=pid
ok 1506 - Create session yEsJU51dZWGC2YrM with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1506 - Create session yEsJU51dZWGC2YrM with uri:net://localhost and opts: --live
ok 1507 - Enable channel chan for session yEsJU51dZWGC2YrM
PASS: tools/clear/test_ust 1507 - Enable channel chan for session yEsJU51dZWGC2YrM
ok 1508 - Enable ust event tp:tptest for session yEsJU51dZWGC2YrM
PASS: tools/clear/test_ust 1508 - Enable ust event tp:tptest for session yEsJU51dZWGC2YrM
ok 1509 - Start tracing for session yEsJU51dZWGC2YrM
PASS: tools/clear/test_ust 1509 - Start tracing for session yEsJU51dZWGC2YrM
# Waiting for live trace at url: net://localhost
ok 1510 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1510 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1511 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1511 - Waiting for live viewers on url: net://localhost
ok 1512 - Stop lttng tracing for session yEsJU51dZWGC2YrM
PASS: tools/clear/test_ust 1512 - Stop lttng tracing for session yEsJU51dZWGC2YrM
ok 1513 - Clear session yEsJU51dZWGC2YrM
PASS: tools/clear/test_ust 1513 - Clear session yEsJU51dZWGC2YrM
ok 1514 - Start tracing for session yEsJU51dZWGC2YrM
PASS: tools/clear/test_ust 1514 - Start tracing for session yEsJU51dZWGC2YrM
ok 1515 - Stop lttng tracing for session yEsJU51dZWGC2YrM
PASS: tools/clear/test_ust 1515 - Stop lttng tracing for session yEsJU51dZWGC2YrM
ok 1516 - Destroy session yEsJU51dZWGC2YrM
PASS: tools/clear/test_ust 1516 - Destroy session yEsJU51dZWGC2YrM
# Wait for viewer to exit
ok 1517 - Babeltrace succeeds
PASS: tools/clear/test_ust 1517 - Babeltrace succeeds
ok 1518 - Wait for viewer to exit
PASS: tools/clear/test_ust 1518 - Wait for viewer to exit
# Test ust streaming live clear with viewer with new metadata after clear
# Parameters: tracing_active=0, clear_twice=0, buffer_type=pid
ok 1519 - Create session QhkOiZDxZt7fKmjS with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1519 - Create session QhkOiZDxZt7fKmjS with uri:net://localhost and opts: --live
ok 1520 - Enable channel chan for session QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1520 - Enable channel chan for session QhkOiZDxZt7fKmjS
ok 1521 - Add context command for type: vpid
PASS: tools/clear/test_ust 1521 - Add context command for type: vpid
ok 1522 - Enable ust event tp:tptest for session QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1522 - Enable ust event tp:tptest for session QhkOiZDxZt7fKmjS
ok 1523 - Start tracing for session QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1523 - Start tracing for session QhkOiZDxZt7fKmjS
# Waiting for live trace at url: net://localhost
ok 1524 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1524 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1525 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1525 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 1526 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 1526 - Live viewer read 10 events, expect 10
ok 1527 - Stop lttng tracing for session QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1527 - Stop lttng tracing for session QhkOiZDxZt7fKmjS
ok 1528 - Clear session QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1528 - Clear session QhkOiZDxZt7fKmjS
ok 1529 - Start tracing for session QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1529 - Start tracing for session QhkOiZDxZt7fKmjS
ok 1530 - Enable event lttng_ust_statedump:start with filtering for session QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1530 - Enable event lttng_ust_statedump:start with filtering for session QhkOiZDxZt7fKmjS
ok 1531 - Enable event lttng_ust_statedump:end with filtering for session QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1531 - Enable event lttng_ust_statedump:end with filtering for session QhkOiZDxZt7fKmjS
ok 1532 - Statedump regenerate QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1532 - Statedump regenerate QhkOiZDxZt7fKmjS
# Wait until viewer sees all 12 expected events
ok 1533 - Live viewer read 12 events, expect 12
PASS: tools/clear/test_ust 1533 - Live viewer read 12 events, expect 12
ok 1534 - Stop lttng tracing for session QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1534 - Stop lttng tracing for session QhkOiZDxZt7fKmjS
ok 1535 - Destroy session QhkOiZDxZt7fKmjS
PASS: tools/clear/test_ust 1535 - Destroy session QhkOiZDxZt7fKmjS
# Waiting for application to exit
ok 1536 - Wait for application to exit
PASS: tools/clear/test_ust 1536 - Wait for application to exit
# Wait for viewer to exit
ok 1537 - Babeltrace succeeds
PASS: tools/clear/test_ust 1537 - Babeltrace succeeds
ok 1538 - Wait for viewer to exit
PASS: tools/clear/test_ust 1538 - Wait for viewer to exit
# Test ust local
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1539 - Create session 1CUOR1V8j33P7f3o in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1539 - Create session 1CUOR1V8j33P7f3o in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1540 - Enable channel chan for session 1CUOR1V8j33P7f3o
PASS: tools/clear/test_ust 1540 - Enable channel chan for session 1CUOR1V8j33P7f3o
ok 1541 - Enable ust event tp:tptest for session 1CUOR1V8j33P7f3o
PASS: tools/clear/test_ust 1541 - Enable ust event tp:tptest for session 1CUOR1V8j33P7f3o
ok 1542 - Start tracing for session 1CUOR1V8j33P7f3o
PASS: tools/clear/test_ust 1542 - Start tracing for session 1CUOR1V8j33P7f3o
ok 1543 - Stop lttng tracing for session 1CUOR1V8j33P7f3o
PASS: tools/clear/test_ust 1543 - Stop lttng tracing for session 1CUOR1V8j33P7f3o
ok 1544 - Clear session 1CUOR1V8j33P7f3o
PASS: tools/clear/test_ust 1544 - Clear session 1CUOR1V8j33P7f3o
ok 1545 - Start tracing for session 1CUOR1V8j33P7f3o
PASS: tools/clear/test_ust 1545 - Start tracing for session 1CUOR1V8j33P7f3o
ok 1546 - Stop lttng tracing for session 1CUOR1V8j33P7f3o
PASS: tools/clear/test_ust 1546 - Stop lttng tracing for session 1CUOR1V8j33P7f3o
ok 1547 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/ust/" is empty
PASS: tools/clear/test_ust 1547 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/ust/" is empty
ok 1548 - Destroy session 1CUOR1V8j33P7f3o
PASS: tools/clear/test_ust 1548 - Destroy session 1CUOR1V8j33P7f3o
# Test ust local rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1549 - Create session 7l45KIFrLKTTqHvi in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1549 - Create session 7l45KIFrLKTTqHvi in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1550 - Enable channel chan for session 7l45KIFrLKTTqHvi
PASS: tools/clear/test_ust 1550 - Enable channel chan for session 7l45KIFrLKTTqHvi
ok 1551 - Enable ust event tp:tptest for session 7l45KIFrLKTTqHvi
PASS: tools/clear/test_ust 1551 - Enable ust event tp:tptest for session 7l45KIFrLKTTqHvi
ok 1552 - Start tracing for session 7l45KIFrLKTTqHvi
PASS: tools/clear/test_ust 1552 - Start tracing for session 7l45KIFrLKTTqHvi
ok 1553 - Rotate session 7l45KIFrLKTTqHvi
PASS: tools/clear/test_ust 1553 - Rotate session 7l45KIFrLKTTqHvi
ok 1554 - Stop lttng tracing for session 7l45KIFrLKTTqHvi
PASS: tools/clear/test_ust 1554 - Stop lttng tracing for session 7l45KIFrLKTTqHvi
ok 1555 - Clear session 7l45KIFrLKTTqHvi
PASS: tools/clear/test_ust 1555 - Clear session 7l45KIFrLKTTqHvi
ok 1556 - Start tracing for session 7l45KIFrLKTTqHvi
PASS: tools/clear/test_ust 1556 - Start tracing for session 7l45KIFrLKTTqHvi
ok 1557 - Stop lttng tracing for session 7l45KIFrLKTTqHvi
PASS: tools/clear/test_ust 1557 - Stop lttng tracing for session 7l45KIFrLKTTqHvi
ok 1558 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 1558 - Validate trace for event tp:tptest, 4 events
ok 1559 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 1559 - Read a total of 4 events, expected 4
ok 1560 - Destroy session 7l45KIFrLKTTqHvi
PASS: tools/clear/test_ust 1560 - Destroy session 7l45KIFrLKTTqHvi
# Test ust local clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1561 - Create session nfTDToaoBVghpG03 in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1561 - Create session nfTDToaoBVghpG03 in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1562 - Enable channel chan for session nfTDToaoBVghpG03
PASS: tools/clear/test_ust 1562 - Enable channel chan for session nfTDToaoBVghpG03
ok 1563 - Enable ust event tp:tptest for session nfTDToaoBVghpG03
PASS: tools/clear/test_ust 1563 - Enable ust event tp:tptest for session nfTDToaoBVghpG03
ok 1564 - Start tracing for session nfTDToaoBVghpG03
PASS: tools/clear/test_ust 1564 - Start tracing for session nfTDToaoBVghpG03
ok 1565 - Stop lttng tracing for session nfTDToaoBVghpG03
PASS: tools/clear/test_ust 1565 - Stop lttng tracing for session nfTDToaoBVghpG03
ok 1566 - Clear session nfTDToaoBVghpG03
PASS: tools/clear/test_ust 1566 - Clear session nfTDToaoBVghpG03
ok 1567 - Start tracing for session nfTDToaoBVghpG03
PASS: tools/clear/test_ust 1567 - Start tracing for session nfTDToaoBVghpG03
ok 1568 - Rotate session nfTDToaoBVghpG03
PASS: tools/clear/test_ust 1568 - Rotate session nfTDToaoBVghpG03
ok 1569 - Stop lttng tracing for session nfTDToaoBVghpG03
PASS: tools/clear/test_ust 1569 - Stop lttng tracing for session nfTDToaoBVghpG03
ok 1570 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 1570 - Validate trace for event tp:tptest, 5 events
ok 1571 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 1571 - Read a total of 5 events, expected 5
ok 1572 - Destroy session nfTDToaoBVghpG03
PASS: tools/clear/test_ust 1572 - Destroy session nfTDToaoBVghpG03
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=pid
ok 1573 - Create session sI3qakkhxDaHHdNn in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1573 - Create session sI3qakkhxDaHHdNn in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1574 - Enable channel chan for session sI3qakkhxDaHHdNn
PASS: tools/clear/test_ust 1574 - Enable channel chan for session sI3qakkhxDaHHdNn
ok 1575 - Enable ust event tp:tptest for session sI3qakkhxDaHHdNn
PASS: tools/clear/test_ust 1575 - Enable ust event tp:tptest for session sI3qakkhxDaHHdNn
ok 1576 - Start tracing for session sI3qakkhxDaHHdNn
PASS: tools/clear/test_ust 1576 - Start tracing for session sI3qakkhxDaHHdNn
ok 1577 - Stop lttng tracing for session sI3qakkhxDaHHdNn
PASS: tools/clear/test_ust 1577 - Stop lttng tracing for session sI3qakkhxDaHHdNn
ok 1578 - Clear session sI3qakkhxDaHHdNn
PASS: tools/clear/test_ust 1578 - Clear session sI3qakkhxDaHHdNn
ok 1579 - Start tracing for session sI3qakkhxDaHHdNn
PASS: tools/clear/test_ust 1579 - Start tracing for session sI3qakkhxDaHHdNn
ok 1580 - Stop lttng tracing for session sI3qakkhxDaHHdNn
PASS: tools/clear/test_ust 1580 - Stop lttng tracing for session sI3qakkhxDaHHdNn
ok 1581 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 1581 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 1582 - Destroy session sI3qakkhxDaHHdNn
PASS: tools/clear/test_ust 1582 - Destroy session sI3qakkhxDaHHdNn
# Test ust local snapshot clear per pid
# Parameters: tracing_active=0, clear_twice=0, buffer_type=pid
ok 1583 - Create session Z6ATkTDwlOwsVtKR in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1583 - Create session Z6ATkTDwlOwsVtKR in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1584 - Enable channel channel0 for session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1584 - Enable channel channel0 for session Z6ATkTDwlOwsVtKR
ok 1585 - Enable ust event tp:tptest for session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1585 - Enable ust event tp:tptest for session Z6ATkTDwlOwsVtKR
ok 1586 - Start tracing for session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1586 - Start tracing for session Z6ATkTDwlOwsVtKR
ok 1587 - Snapshot recorded
PASS: tools/clear/test_ust 1587 - Snapshot recorded
ok 1588 - Stop lttng tracing for session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1588 - Stop lttng tracing for session Z6ATkTDwlOwsVtKR
ok 1589 - Validate trace for event tp:tptest, 9 events
PASS: tools/clear/test_ust 1589 - Validate trace for event tp:tptest, 9 events
ok 1590 - Read a total of 9 events, expected 9
PASS: tools/clear/test_ust 1590 - Read a total of 9 events, expected 9
ok 1591 - Start tracing for session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1591 - Start tracing for session Z6ATkTDwlOwsVtKR
ok 1592 - Stop lttng tracing for session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1592 - Stop lttng tracing for session Z6ATkTDwlOwsVtKR
ok 1593 - Clear session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1593 - Clear session Z6ATkTDwlOwsVtKR
ok 1594 - Start tracing for session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1594 - Start tracing for session Z6ATkTDwlOwsVtKR
ok 1595 - Snapshot recorded
PASS: tools/clear/test_ust 1595 - Snapshot recorded
ok 1596 - Stop lttng tracing for session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1596 - Stop lttng tracing for session Z6ATkTDwlOwsVtKR
ok 1597 - Validate empty trace
PASS: tools/clear/test_ust 1597 - Validate empty trace
ok 1598 - Start tracing for session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1598 - Start tracing for session Z6ATkTDwlOwsVtKR
ok 1599 - Snapshot recorded
PASS: tools/clear/test_ust 1599 - Snapshot recorded
ok 1600 - Stop lttng tracing for session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1600 - Stop lttng tracing for session Z6ATkTDwlOwsVtKR
ok 1601 - Validate trace for event tp:tptest, 1 events
PASS: tools/clear/test_ust 1601 - Validate trace for event tp:tptest, 1 events
ok 1602 - Read a total of 1 events, expected 1
PASS: tools/clear/test_ust 1602 - Read a total of 1 events, expected 1
ok 1603 - Destroy session Z6ATkTDwlOwsVtKR
PASS: tools/clear/test_ust 1603 - Destroy session Z6ATkTDwlOwsVtKR
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1604 - Create session DhSTxl7GXhqLPGOn with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1604 - Create session DhSTxl7GXhqLPGOn with uri:net://localhost and opts:
ok 1605 - Enable channel chan for session DhSTxl7GXhqLPGOn
PASS: tools/clear/test_ust 1605 - Enable channel chan for session DhSTxl7GXhqLPGOn
ok 1606 - Enable ust event tp:tptest for session DhSTxl7GXhqLPGOn
PASS: tools/clear/test_ust 1606 - Enable ust event tp:tptest for session DhSTxl7GXhqLPGOn
ok 1607 - Start tracing for session DhSTxl7GXhqLPGOn
PASS: tools/clear/test_ust 1607 - Start tracing for session DhSTxl7GXhqLPGOn
ok 1608 - Stop lttng tracing for session DhSTxl7GXhqLPGOn
PASS: tools/clear/test_ust 1608 - Stop lttng tracing for session DhSTxl7GXhqLPGOn
ok 1609 - Clear session DhSTxl7GXhqLPGOn
PASS: tools/clear/test_ust 1609 - Clear session DhSTxl7GXhqLPGOn
ok 1610 - Clear session DhSTxl7GXhqLPGOn
PASS: tools/clear/test_ust 1610 - Clear session DhSTxl7GXhqLPGOn
ok 1611 - Start tracing for session DhSTxl7GXhqLPGOn
PASS: tools/clear/test_ust 1611 - Start tracing for session DhSTxl7GXhqLPGOn
ok 1612 - Stop lttng tracing for session DhSTxl7GXhqLPGOn
PASS: tools/clear/test_ust 1612 - Stop lttng tracing for session DhSTxl7GXhqLPGOn
ok 1613 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/DhSTxl7GXhqLPGOn-20250129-152613" is empty
PASS: tools/clear/test_ust 1613 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/DhSTxl7GXhqLPGOn-20250129-152613" is empty
ok 1614 - Destroy session DhSTxl7GXhqLPGOn
PASS: tools/clear/test_ust 1614 - Destroy session DhSTxl7GXhqLPGOn
# Test ust streaming rotate-clear
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1615 - Create session q3enVbxg6GHxzyll with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1615 - Create session q3enVbxg6GHxzyll with uri:net://localhost and opts:
ok 1616 - Enable channel chan for session q3enVbxg6GHxzyll
PASS: tools/clear/test_ust 1616 - Enable channel chan for session q3enVbxg6GHxzyll
ok 1617 - Enable ust event tp:tptest for session q3enVbxg6GHxzyll
PASS: tools/clear/test_ust 1617 - Enable ust event tp:tptest for session q3enVbxg6GHxzyll
ok 1618 - Start tracing for session q3enVbxg6GHxzyll
PASS: tools/clear/test_ust 1618 - Start tracing for session q3enVbxg6GHxzyll
ok 1619 - Rotate session q3enVbxg6GHxzyll
PASS: tools/clear/test_ust 1619 - Rotate session q3enVbxg6GHxzyll
ok 1620 - Stop lttng tracing for session q3enVbxg6GHxzyll
PASS: tools/clear/test_ust 1620 - Stop lttng tracing for session q3enVbxg6GHxzyll
ok 1621 - Clear session q3enVbxg6GHxzyll
PASS: tools/clear/test_ust 1621 - Clear session q3enVbxg6GHxzyll
ok 1622 - Clear session q3enVbxg6GHxzyll
PASS: tools/clear/test_ust 1622 - Clear session q3enVbxg6GHxzyll
ok 1623 - Start tracing for session q3enVbxg6GHxzyll
PASS: tools/clear/test_ust 1623 - Start tracing for session q3enVbxg6GHxzyll
ok 1624 - Stop lttng tracing for session q3enVbxg6GHxzyll
PASS: tools/clear/test_ust 1624 - Stop lttng tracing for session q3enVbxg6GHxzyll
ok 1625 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 1625 - Validate trace for event tp:tptest, 4 events
ok 1626 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 1626 - Read a total of 4 events, expected 4
ok 1627 - Destroy session q3enVbxg6GHxzyll
PASS: tools/clear/test_ust 1627 - Destroy session q3enVbxg6GHxzyll
# Test ust streaming clear-rotate
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1628 - Create session A0qLaJGHMK6iWnku with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1628 - Create session A0qLaJGHMK6iWnku with uri:net://localhost and opts:
ok 1629 - Enable channel chan for session A0qLaJGHMK6iWnku
PASS: tools/clear/test_ust 1629 - Enable channel chan for session A0qLaJGHMK6iWnku
ok 1630 - Enable ust event tp:tptest for session A0qLaJGHMK6iWnku
PASS: tools/clear/test_ust 1630 - Enable ust event tp:tptest for session A0qLaJGHMK6iWnku
ok 1631 - Start tracing for session A0qLaJGHMK6iWnku
PASS: tools/clear/test_ust 1631 - Start tracing for session A0qLaJGHMK6iWnku
ok 1632 - Stop lttng tracing for session A0qLaJGHMK6iWnku
PASS: tools/clear/test_ust 1632 - Stop lttng tracing for session A0qLaJGHMK6iWnku
ok 1633 - Clear session A0qLaJGHMK6iWnku
PASS: tools/clear/test_ust 1633 - Clear session A0qLaJGHMK6iWnku
ok 1634 - Clear session A0qLaJGHMK6iWnku
PASS: tools/clear/test_ust 1634 - Clear session A0qLaJGHMK6iWnku
ok 1635 - Start tracing for session A0qLaJGHMK6iWnku
PASS: tools/clear/test_ust 1635 - Start tracing for session A0qLaJGHMK6iWnku
ok 1636 - Rotate session A0qLaJGHMK6iWnku
PASS: tools/clear/test_ust 1636 - Rotate session A0qLaJGHMK6iWnku
ok 1637 - Stop lttng tracing for session A0qLaJGHMK6iWnku
PASS: tools/clear/test_ust 1637 - Stop lttng tracing for session A0qLaJGHMK6iWnku
ok 1638 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 1638 - Validate trace for event tp:tptest, 5 events
ok 1639 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 1639 - Read a total of 5 events, expected 5
ok 1640 - Destroy session A0qLaJGHMK6iWnku
PASS: tools/clear/test_ust 1640 - Destroy session A0qLaJGHMK6iWnku
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1641 - Create session pfgsGWe8u1bod0pU with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1641 - Create session pfgsGWe8u1bod0pU with uri:net://localhost and opts:
ok 1642 - Enable channel rotchan for session pfgsGWe8u1bod0pU
PASS: tools/clear/test_ust 1642 - Enable channel rotchan for session pfgsGWe8u1bod0pU
ok 1643 - Enable ust event tp:tptest for session pfgsGWe8u1bod0pU
PASS: tools/clear/test_ust 1643 - Enable ust event tp:tptest for session pfgsGWe8u1bod0pU
ok 1644 - Start tracing for session pfgsGWe8u1bod0pU
PASS: tools/clear/test_ust 1644 - Start tracing for session pfgsGWe8u1bod0pU
ok 1645 - Stop lttng tracing for session pfgsGWe8u1bod0pU
PASS: tools/clear/test_ust 1645 - Stop lttng tracing for session pfgsGWe8u1bod0pU
ok 1646 - Clear session pfgsGWe8u1bod0pU
PASS: tools/clear/test_ust 1646 - Clear session pfgsGWe8u1bod0pU
ok 1647 - Clear session pfgsGWe8u1bod0pU
PASS: tools/clear/test_ust 1647 - Clear session pfgsGWe8u1bod0pU
ok 1648 - Start tracing for session pfgsGWe8u1bod0pU
PASS: tools/clear/test_ust 1648 - Start tracing for session pfgsGWe8u1bod0pU
ok 1649 - Stop lttng tracing for session pfgsGWe8u1bod0pU
PASS: tools/clear/test_ust 1649 - Stop lttng tracing for session pfgsGWe8u1bod0pU
ok 1650 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/pfgsGWe8u1bod0pU-20250129-152618" is empty
PASS: tools/clear/test_ust 1650 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/pfgsGWe8u1bod0pU-20250129-152618" is empty
ok 1651 - Start tracing for session pfgsGWe8u1bod0pU
PASS: tools/clear/test_ust 1651 - Start tracing for session pfgsGWe8u1bod0pU
ok 1652 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1652 - Stop lttng tracing for session
ok 1653 - Validate trace for event tp:tptest, 20 events
PASS: tools/clear/test_ust 1653 - Validate trace for event tp:tptest, 20 events
ok 1654 - Read a total of 20 events, expected 20
PASS: tools/clear/test_ust 1654 - Read a total of 20 events, expected 20
ok 1655 - Destroy session pfgsGWe8u1bod0pU
PASS: tools/clear/test_ust 1655 - Destroy session pfgsGWe8u1bod0pU
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1656 - Create session gC4seQz4GEUGVLwB with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1656 - Create session gC4seQz4GEUGVLwB with uri:net://localhost and opts:
ok 1657 - Enable channel rotchan for session gC4seQz4GEUGVLwB
PASS: tools/clear/test_ust 1657 - Enable channel rotchan for session gC4seQz4GEUGVLwB
ok 1658 - Enable ust event tp:tptest for session gC4seQz4GEUGVLwB
PASS: tools/clear/test_ust 1658 - Enable ust event tp:tptest for session gC4seQz4GEUGVLwB
ok 1659 - Start tracing for session gC4seQz4GEUGVLwB
PASS: tools/clear/test_ust 1659 - Start tracing for session gC4seQz4GEUGVLwB
ok 1660 - Stop lttng tracing for session gC4seQz4GEUGVLwB
PASS: tools/clear/test_ust 1660 - Stop lttng tracing for session gC4seQz4GEUGVLwB
ok 1661 - Clear session gC4seQz4GEUGVLwB
PASS: tools/clear/test_ust 1661 - Clear session gC4seQz4GEUGVLwB
ok 1662 - Clear session gC4seQz4GEUGVLwB
PASS: tools/clear/test_ust 1662 - Clear session gC4seQz4GEUGVLwB
ok 1663 - Start tracing for session gC4seQz4GEUGVLwB
PASS: tools/clear/test_ust 1663 - Start tracing for session gC4seQz4GEUGVLwB
ok 1664 - Stop lttng tracing for session gC4seQz4GEUGVLwB
PASS: tools/clear/test_ust 1664 - Stop lttng tracing for session gC4seQz4GEUGVLwB
ok 1665 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/gC4seQz4GEUGVLwB-20250129-152619" is empty
PASS: tools/clear/test_ust 1665 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/gC4seQz4GEUGVLwB-20250129-152619" is empty
ok 1666 - Start tracing for session gC4seQz4GEUGVLwB
PASS: tools/clear/test_ust 1666 - Start tracing for session gC4seQz4GEUGVLwB
ok 1667 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1667 - Stop lttng tracing for session
ok 1668 - Validate trace for event tp:tptest, 38 events
PASS: tools/clear/test_ust 1668 - Validate trace for event tp:tptest, 38 events
ok 1669 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 1669 - Read a total of 38 events, expected between [1, 200000[
ok 1670 - Destroy session gC4seQz4GEUGVLwB
PASS: tools/clear/test_ust 1670 - Destroy session gC4seQz4GEUGVLwB
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 1671 - Create session K5XjFOLhEigmn8aG with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1671 - Create session K5XjFOLhEigmn8aG with uri:net://localhost and opts:
ok 1672 - Enable channel chan for session K5XjFOLhEigmn8aG
PASS: tools/clear/test_ust 1672 - Enable channel chan for session K5XjFOLhEigmn8aG
ok 1673 - Enable ust event tp:tptest for session K5XjFOLhEigmn8aG
PASS: tools/clear/test_ust 1673 - Enable ust event tp:tptest for session K5XjFOLhEigmn8aG
ok 1674 - Start tracing for session K5XjFOLhEigmn8aG
PASS: tools/clear/test_ust 1674 - Start tracing for session K5XjFOLhEigmn8aG
ok 1675 - Stop lttng tracing for session K5XjFOLhEigmn8aG
PASS: tools/clear/test_ust 1675 - Stop lttng tracing for session K5XjFOLhEigmn8aG
ok 1676 - Clear session K5XjFOLhEigmn8aG
PASS: tools/clear/test_ust 1676 - Clear session K5XjFOLhEigmn8aG
ok 1677 - Clear session K5XjFOLhEigmn8aG
PASS: tools/clear/test_ust 1677 - Clear session K5XjFOLhEigmn8aG
ok 1678 - Start tracing for session K5XjFOLhEigmn8aG
PASS: tools/clear/test_ust 1678 - Start tracing for session K5XjFOLhEigmn8aG
ok 1679 - Stop lttng tracing for session K5XjFOLhEigmn8aG
PASS: tools/clear/test_ust 1679 - Stop lttng tracing for session K5XjFOLhEigmn8aG
ok 1680 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/K5XjFOLhEigmn8aG*" is empty
PASS: tools/clear/test_ust 1680 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/K5XjFOLhEigmn8aG*" is empty
ok 1681 - Destroy session K5XjFOLhEigmn8aG
PASS: tools/clear/test_ust 1681 - Destroy session K5XjFOLhEigmn8aG
# Test ust streaming live clear
# Parameters: tracing_active=0, clear_twice=1, buffer_type=pid
ok 1682 - Create session v7pTxRYpWpNQFtOK with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1682 - Create session v7pTxRYpWpNQFtOK with uri:net://localhost and opts: --live
ok 1683 - Enable channel chan for session v7pTxRYpWpNQFtOK
PASS: tools/clear/test_ust 1683 - Enable channel chan for session v7pTxRYpWpNQFtOK
ok 1684 - Enable ust event tp:tptest for session v7pTxRYpWpNQFtOK
PASS: tools/clear/test_ust 1684 - Enable ust event tp:tptest for session v7pTxRYpWpNQFtOK
ok 1685 - Start tracing for session v7pTxRYpWpNQFtOK
PASS: tools/clear/test_ust 1685 - Start tracing for session v7pTxRYpWpNQFtOK
ok 1686 - Stop lttng tracing for session v7pTxRYpWpNQFtOK
PASS: tools/clear/test_ust 1686 - Stop lttng tracing for session v7pTxRYpWpNQFtOK
ok 1687 - Clear session v7pTxRYpWpNQFtOK
PASS: tools/clear/test_ust 1687 - Clear session v7pTxRYpWpNQFtOK
ok 1688 - Clear session v7pTxRYpWpNQFtOK
PASS: tools/clear/test_ust 1688 - Clear session v7pTxRYpWpNQFtOK
ok 1689 - Start tracing for session v7pTxRYpWpNQFtOK
PASS: tools/clear/test_ust 1689 - Start tracing for session v7pTxRYpWpNQFtOK
ok 1690 - Stop lttng tracing for session v7pTxRYpWpNQFtOK
PASS: tools/clear/test_ust 1690 - Stop lttng tracing for session v7pTxRYpWpNQFtOK
ok 1691 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/v7pTxRYpWpNQFtOK-20250129-152621" is empty
PASS: tools/clear/test_ust 1691 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/v7pTxRYpWpNQFtOK-20250129-152621" is empty
ok 1692 - Destroy session v7pTxRYpWpNQFtOK
PASS: tools/clear/test_ust 1692 - Destroy session v7pTxRYpWpNQFtOK
# Test ust basic streaming live with viewer
# Parameters: tracing_active=0, clear_twice=1, buffer_type=pid
ok 1693 - Create session FOGHsfA2FLqvzikq with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1693 - Create session FOGHsfA2FLqvzikq with uri:net://localhost and opts: --live
ok 1694 - Enable channel chan for session FOGHsfA2FLqvzikq
PASS: tools/clear/test_ust 1694 - Enable channel chan for session FOGHsfA2FLqvzikq
ok 1695 - Enable ust event tp:tptest for session FOGHsfA2FLqvzikq
PASS: tools/clear/test_ust 1695 - Enable ust event tp:tptest for session FOGHsfA2FLqvzikq
ok 1696 - Start tracing for session FOGHsfA2FLqvzikq
PASS: tools/clear/test_ust 1696 - Start tracing for session FOGHsfA2FLqvzikq
# Waiting for live trace at url: net://localhost
ok 1697 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1697 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1698 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1698 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 1699 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 1699 - Live viewer read 10 events, expect 10
ok 1700 - Destroy session FOGHsfA2FLqvzikq
PASS: tools/clear/test_ust 1700 - Destroy session FOGHsfA2FLqvzikq
# Waiting for application to exit
ok 1701 - Wait for application to exit
PASS: tools/clear/test_ust 1701 - Wait for application to exit
# Wait for viewer to exit
ok 1702 - Babeltrace succeeds
PASS: tools/clear/test_ust 1702 - Babeltrace succeeds
ok 1703 - Wait for viewer to exit
PASS: tools/clear/test_ust 1703 - Wait for viewer to exit
# Test ust streaming live clear with viewer
# Parameters: tracing_active=0, clear_twice=1, buffer_type=pid
ok 1704 - Create session qYAwwmWvX5P2BVkH with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1704 - Create session qYAwwmWvX5P2BVkH with uri:net://localhost and opts: --live
ok 1705 - Enable channel chan for session qYAwwmWvX5P2BVkH
PASS: tools/clear/test_ust 1705 - Enable channel chan for session qYAwwmWvX5P2BVkH
ok 1706 - Enable ust event tp:tptest for session qYAwwmWvX5P2BVkH
PASS: tools/clear/test_ust 1706 - Enable ust event tp:tptest for session qYAwwmWvX5P2BVkH
ok 1707 - Start tracing for session qYAwwmWvX5P2BVkH
PASS: tools/clear/test_ust 1707 - Start tracing for session qYAwwmWvX5P2BVkH
# Waiting for live trace at url: net://localhost
ok 1708 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1708 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1709 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1709 - Waiting for live viewers on url: net://localhost
ok 1710 - Stop lttng tracing for session qYAwwmWvX5P2BVkH
PASS: tools/clear/test_ust 1710 - Stop lttng tracing for session qYAwwmWvX5P2BVkH
ok 1711 - Clear session qYAwwmWvX5P2BVkH
PASS: tools/clear/test_ust 1711 - Clear session qYAwwmWvX5P2BVkH
ok 1712 - Clear session qYAwwmWvX5P2BVkH
PASS: tools/clear/test_ust 1712 - Clear session qYAwwmWvX5P2BVkH
ok 1713 - Start tracing for session qYAwwmWvX5P2BVkH
PASS: tools/clear/test_ust 1713 - Start tracing for session qYAwwmWvX5P2BVkH
ok 1714 - Stop lttng tracing for session qYAwwmWvX5P2BVkH
PASS: tools/clear/test_ust 1714 - Stop lttng tracing for session qYAwwmWvX5P2BVkH
ok 1715 - Destroy session qYAwwmWvX5P2BVkH
PASS: tools/clear/test_ust 1715 - Destroy session qYAwwmWvX5P2BVkH
# Wait for viewer to exit
ok 1716 - Babeltrace succeeds
PASS: tools/clear/test_ust 1716 - Babeltrace succeeds
ok 1717 - Wait for viewer to exit
PASS: tools/clear/test_ust 1717 - Wait for viewer to exit
# Test ust streaming live clear with viewer with new metadata after clear
# Parameters: tracing_active=0, clear_twice=1, buffer_type=pid
ok 1718 - Create session YUAWRUYFqMYbmMr7 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1718 - Create session YUAWRUYFqMYbmMr7 with uri:net://localhost and opts: --live
ok 1719 - Enable channel chan for session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1719 - Enable channel chan for session YUAWRUYFqMYbmMr7
ok 1720 - Add context command for type: vpid
PASS: tools/clear/test_ust 1720 - Add context command for type: vpid
ok 1721 - Enable ust event tp:tptest for session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1721 - Enable ust event tp:tptest for session YUAWRUYFqMYbmMr7
ok 1722 - Start tracing for session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1722 - Start tracing for session YUAWRUYFqMYbmMr7
# Waiting for live trace at url: net://localhost
ok 1723 - Waiting for live trace at url: net://localhost
PASS: tools/clear/test_ust 1723 - Waiting for live trace at url: net://localhost
# Waiting for live viewers on url: net://localhost
ok 1724 - Waiting for live viewers on url: net://localhost
PASS: tools/clear/test_ust 1724 - Waiting for live viewers on url: net://localhost
# Wait until viewer sees all 10 expected events
ok 1725 - Live viewer read 10 events, expect 10
PASS: tools/clear/test_ust 1725 - Live viewer read 10 events, expect 10
ok 1726 - Stop lttng tracing for session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1726 - Stop lttng tracing for session YUAWRUYFqMYbmMr7
ok 1727 - Clear session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1727 - Clear session YUAWRUYFqMYbmMr7
ok 1728 - Clear session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1728 - Clear session YUAWRUYFqMYbmMr7
ok 1729 - Start tracing for session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1729 - Start tracing for session YUAWRUYFqMYbmMr7
ok 1730 - Enable event lttng_ust_statedump:start with filtering for session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1730 - Enable event lttng_ust_statedump:start with filtering for session YUAWRUYFqMYbmMr7
ok 1731 - Enable event lttng_ust_statedump:end with filtering for session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1731 - Enable event lttng_ust_statedump:end with filtering for session YUAWRUYFqMYbmMr7
ok 1732 - Statedump regenerate YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1732 - Statedump regenerate YUAWRUYFqMYbmMr7
# Wait until viewer sees all 12 expected events
ok 1733 - Live viewer read 12 events, expect 12
PASS: tools/clear/test_ust 1733 - Live viewer read 12 events, expect 12
ok 1734 - Stop lttng tracing for session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1734 - Stop lttng tracing for session YUAWRUYFqMYbmMr7
ok 1735 - Destroy session YUAWRUYFqMYbmMr7
PASS: tools/clear/test_ust 1735 - Destroy session YUAWRUYFqMYbmMr7
# Waiting for application to exit
ok 1736 - Wait for application to exit
PASS: tools/clear/test_ust 1736 - Wait for application to exit
# Wait for viewer to exit
ok 1737 - Babeltrace succeeds
PASS: tools/clear/test_ust 1737 - Babeltrace succeeds
ok 1738 - Wait for viewer to exit
PASS: tools/clear/test_ust 1738 - Wait for viewer to exit
# Test ust local
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1739 - Create session F43FrEtIzmRGk5dB in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1739 - Create session F43FrEtIzmRGk5dB in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1740 - Enable channel chan for session F43FrEtIzmRGk5dB
PASS: tools/clear/test_ust 1740 - Enable channel chan for session F43FrEtIzmRGk5dB
ok 1741 - Enable ust event tp:tptest for session F43FrEtIzmRGk5dB
PASS: tools/clear/test_ust 1741 - Enable ust event tp:tptest for session F43FrEtIzmRGk5dB
ok 1742 - Start tracing for session F43FrEtIzmRGk5dB
PASS: tools/clear/test_ust 1742 - Start tracing for session F43FrEtIzmRGk5dB
ok 1743 - Stop lttng tracing for session F43FrEtIzmRGk5dB
PASS: tools/clear/test_ust 1743 - Stop lttng tracing for session F43FrEtIzmRGk5dB
ok 1744 - Clear session F43FrEtIzmRGk5dB
PASS: tools/clear/test_ust 1744 - Clear session F43FrEtIzmRGk5dB
ok 1745 - Clear session F43FrEtIzmRGk5dB
PASS: tools/clear/test_ust 1745 - Clear session F43FrEtIzmRGk5dB
ok 1746 - Start tracing for session F43FrEtIzmRGk5dB
PASS: tools/clear/test_ust 1746 - Start tracing for session F43FrEtIzmRGk5dB
ok 1747 - Stop lttng tracing for session F43FrEtIzmRGk5dB
PASS: tools/clear/test_ust 1747 - Stop lttng tracing for session F43FrEtIzmRGk5dB
ok 1748 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/ust/" is empty
PASS: tools/clear/test_ust 1748 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/ust/" is empty
ok 1749 - Destroy session F43FrEtIzmRGk5dB
PASS: tools/clear/test_ust 1749 - Destroy session F43FrEtIzmRGk5dB
# Test ust local rotate-clear
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1750 - Create session fln1WarmpbbunpSy in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1750 - Create session fln1WarmpbbunpSy in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1751 - Enable channel chan for session fln1WarmpbbunpSy
PASS: tools/clear/test_ust 1751 - Enable channel chan for session fln1WarmpbbunpSy
ok 1752 - Enable ust event tp:tptest for session fln1WarmpbbunpSy
PASS: tools/clear/test_ust 1752 - Enable ust event tp:tptest for session fln1WarmpbbunpSy
ok 1753 - Start tracing for session fln1WarmpbbunpSy
PASS: tools/clear/test_ust 1753 - Start tracing for session fln1WarmpbbunpSy
ok 1754 - Rotate session fln1WarmpbbunpSy
PASS: tools/clear/test_ust 1754 - Rotate session fln1WarmpbbunpSy
ok 1755 - Stop lttng tracing for session fln1WarmpbbunpSy
PASS: tools/clear/test_ust 1755 - Stop lttng tracing for session fln1WarmpbbunpSy
ok 1756 - Clear session fln1WarmpbbunpSy
PASS: tools/clear/test_ust 1756 - Clear session fln1WarmpbbunpSy
ok 1757 - Clear session fln1WarmpbbunpSy
PASS: tools/clear/test_ust 1757 - Clear session fln1WarmpbbunpSy
ok 1758 - Start tracing for session fln1WarmpbbunpSy
PASS: tools/clear/test_ust 1758 - Start tracing for session fln1WarmpbbunpSy
ok 1759 - Stop lttng tracing for session fln1WarmpbbunpSy
PASS: tools/clear/test_ust 1759 - Stop lttng tracing for session fln1WarmpbbunpSy
ok 1760 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 1760 - Validate trace for event tp:tptest, 4 events
ok 1761 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 1761 - Read a total of 4 events, expected 4
ok 1762 - Destroy session fln1WarmpbbunpSy
PASS: tools/clear/test_ust 1762 - Destroy session fln1WarmpbbunpSy
# Test ust local clear-rotate
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1763 - Create session IP6n0tZI88yf3v2w in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1763 - Create session IP6n0tZI88yf3v2w in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1764 - Enable channel chan for session IP6n0tZI88yf3v2w
PASS: tools/clear/test_ust 1764 - Enable channel chan for session IP6n0tZI88yf3v2w
ok 1765 - Enable ust event tp:tptest for session IP6n0tZI88yf3v2w
PASS: tools/clear/test_ust 1765 - Enable ust event tp:tptest for session IP6n0tZI88yf3v2w
ok 1766 - Start tracing for session IP6n0tZI88yf3v2w
PASS: tools/clear/test_ust 1766 - Start tracing for session IP6n0tZI88yf3v2w
ok 1767 - Stop lttng tracing for session IP6n0tZI88yf3v2w
PASS: tools/clear/test_ust 1767 - Stop lttng tracing for session IP6n0tZI88yf3v2w
ok 1768 - Clear session IP6n0tZI88yf3v2w
PASS: tools/clear/test_ust 1768 - Clear session IP6n0tZI88yf3v2w
ok 1769 - Clear session IP6n0tZI88yf3v2w
PASS: tools/clear/test_ust 1769 - Clear session IP6n0tZI88yf3v2w
ok 1770 - Start tracing for session IP6n0tZI88yf3v2w
PASS: tools/clear/test_ust 1770 - Start tracing for session IP6n0tZI88yf3v2w
ok 1771 - Rotate session IP6n0tZI88yf3v2w
PASS: tools/clear/test_ust 1771 - Rotate session IP6n0tZI88yf3v2w
ok 1772 - Stop lttng tracing for session IP6n0tZI88yf3v2w
PASS: tools/clear/test_ust 1772 - Stop lttng tracing for session IP6n0tZI88yf3v2w
ok 1773 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 1773 - Validate trace for event tp:tptest, 5 events
ok 1774 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 1774 - Read a total of 5 events, expected 5
ok 1775 - Destroy session IP6n0tZI88yf3v2w
PASS: tools/clear/test_ust 1775 - Destroy session IP6n0tZI88yf3v2w
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=1, rotate_before=, rotate_after=, buffer_type=pid
ok 1776 - Create session eJ0JRtjYbRMFKAOy in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1776 - Create session eJ0JRtjYbRMFKAOy in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1777 - Enable channel chan for session eJ0JRtjYbRMFKAOy
PASS: tools/clear/test_ust 1777 - Enable channel chan for session eJ0JRtjYbRMFKAOy
ok 1778 - Enable ust event tp:tptest for session eJ0JRtjYbRMFKAOy
PASS: tools/clear/test_ust 1778 - Enable ust event tp:tptest for session eJ0JRtjYbRMFKAOy
ok 1779 - Start tracing for session eJ0JRtjYbRMFKAOy
PASS: tools/clear/test_ust 1779 - Start tracing for session eJ0JRtjYbRMFKAOy
ok 1780 - Stop lttng tracing for session eJ0JRtjYbRMFKAOy
PASS: tools/clear/test_ust 1780 - Stop lttng tracing for session eJ0JRtjYbRMFKAOy
ok 1781 - Clear session eJ0JRtjYbRMFKAOy
PASS: tools/clear/test_ust 1781 - Clear session eJ0JRtjYbRMFKAOy
ok 1782 - Clear session eJ0JRtjYbRMFKAOy
PASS: tools/clear/test_ust 1782 - Clear session eJ0JRtjYbRMFKAOy
ok 1783 - Start tracing for session eJ0JRtjYbRMFKAOy
PASS: tools/clear/test_ust 1783 - Start tracing for session eJ0JRtjYbRMFKAOy
ok 1784 - Stop lttng tracing for session eJ0JRtjYbRMFKAOy
PASS: tools/clear/test_ust 1784 - Stop lttng tracing for session eJ0JRtjYbRMFKAOy
ok 1785 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 1785 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 1786 - Destroy session eJ0JRtjYbRMFKAOy
PASS: tools/clear/test_ust 1786 - Destroy session eJ0JRtjYbRMFKAOy
# Test ust local snapshot clear per pid
# Parameters: tracing_active=0, clear_twice=1, buffer_type=pid
ok 1787 - Create session A8eZsOnVmJZUDJAK in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1787 - Create session A8eZsOnVmJZUDJAK in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1788 - Enable channel channel0 for session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1788 - Enable channel channel0 for session A8eZsOnVmJZUDJAK
ok 1789 - Enable ust event tp:tptest for session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1789 - Enable ust event tp:tptest for session A8eZsOnVmJZUDJAK
ok 1790 - Start tracing for session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1790 - Start tracing for session A8eZsOnVmJZUDJAK
ok 1791 - Snapshot recorded
PASS: tools/clear/test_ust 1791 - Snapshot recorded
ok 1792 - Stop lttng tracing for session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1792 - Stop lttng tracing for session A8eZsOnVmJZUDJAK
ok 1793 - Validate trace for event tp:tptest, 9 events
PASS: tools/clear/test_ust 1793 - Validate trace for event tp:tptest, 9 events
ok 1794 - Read a total of 9 events, expected 9
PASS: tools/clear/test_ust 1794 - Read a total of 9 events, expected 9
ok 1795 - Start tracing for session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1795 - Start tracing for session A8eZsOnVmJZUDJAK
ok 1796 - Stop lttng tracing for session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1796 - Stop lttng tracing for session A8eZsOnVmJZUDJAK
ok 1797 - Clear session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1797 - Clear session A8eZsOnVmJZUDJAK
ok 1798 - Clear session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1798 - Clear session A8eZsOnVmJZUDJAK
ok 1799 - Start tracing for session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1799 - Start tracing for session A8eZsOnVmJZUDJAK
ok 1800 - Snapshot recorded
PASS: tools/clear/test_ust 1800 - Snapshot recorded
ok 1801 - Stop lttng tracing for session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1801 - Stop lttng tracing for session A8eZsOnVmJZUDJAK
ok 1802 - Validate empty trace
PASS: tools/clear/test_ust 1802 - Validate empty trace
ok 1803 - Start tracing for session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1803 - Start tracing for session A8eZsOnVmJZUDJAK
ok 1804 - Snapshot recorded
PASS: tools/clear/test_ust 1804 - Snapshot recorded
ok 1805 - Stop lttng tracing for session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1805 - Stop lttng tracing for session A8eZsOnVmJZUDJAK
ok 1806 - Validate trace for event tp:tptest, 1 events
PASS: tools/clear/test_ust 1806 - Validate trace for event tp:tptest, 1 events
ok 1807 - Read a total of 1 events, expected 1
PASS: tools/clear/test_ust 1807 - Read a total of 1 events, expected 1
ok 1808 - Destroy session A8eZsOnVmJZUDJAK
PASS: tools/clear/test_ust 1808 - Destroy session A8eZsOnVmJZUDJAK
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=pid
ok 1809 - Create session JHa5GIr13rfJCLqf with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1809 - Create session JHa5GIr13rfJCLqf with uri:net://localhost and opts:
ok 1810 - Enable channel chan for session JHa5GIr13rfJCLqf
PASS: tools/clear/test_ust 1810 - Enable channel chan for session JHa5GIr13rfJCLqf
ok 1811 - Enable ust event tp:tptest for session JHa5GIr13rfJCLqf
PASS: tools/clear/test_ust 1811 - Enable ust event tp:tptest for session JHa5GIr13rfJCLqf
ok 1812 - Start tracing for session JHa5GIr13rfJCLqf
PASS: tools/clear/test_ust 1812 - Start tracing for session JHa5GIr13rfJCLqf
ok 1813 - Stop lttng tracing for session JHa5GIr13rfJCLqf
PASS: tools/clear/test_ust 1813 - Stop lttng tracing for session JHa5GIr13rfJCLqf
ok 1814 - Rotate session JHa5GIr13rfJCLqf
PASS: tools/clear/test_ust 1814 - Rotate session JHa5GIr13rfJCLqf
ok 1815 - Clear session JHa5GIr13rfJCLqf
PASS: tools/clear/test_ust 1815 - Clear session JHa5GIr13rfJCLqf
ok 1816 - Start tracing for session JHa5GIr13rfJCLqf
PASS: tools/clear/test_ust 1816 - Start tracing for session JHa5GIr13rfJCLqf
ok 1817 - Stop lttng tracing for session JHa5GIr13rfJCLqf
PASS: tools/clear/test_ust 1817 - Stop lttng tracing for session JHa5GIr13rfJCLqf
ok 1818 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 1818 - Validate trace for event tp:tptest, 10 events
ok 1819 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 1819 - Read a total of 10 events, expected 10
ok 1820 - Destroy session JHa5GIr13rfJCLqf
PASS: tools/clear/test_ust 1820 - Destroy session JHa5GIr13rfJCLqf
# Test ust streaming rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=pid
ok 1821 - Create session OzO6xK0hVUkMUShd with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1821 - Create session OzO6xK0hVUkMUShd with uri:net://localhost and opts:
ok 1822 - Enable channel chan for session OzO6xK0hVUkMUShd
PASS: tools/clear/test_ust 1822 - Enable channel chan for session OzO6xK0hVUkMUShd
ok 1823 - Enable ust event tp:tptest for session OzO6xK0hVUkMUShd
PASS: tools/clear/test_ust 1823 - Enable ust event tp:tptest for session OzO6xK0hVUkMUShd
ok 1824 - Start tracing for session OzO6xK0hVUkMUShd
PASS: tools/clear/test_ust 1824 - Start tracing for session OzO6xK0hVUkMUShd
ok 1825 - Rotate session OzO6xK0hVUkMUShd
PASS: tools/clear/test_ust 1825 - Rotate session OzO6xK0hVUkMUShd
ok 1826 - Stop lttng tracing for session OzO6xK0hVUkMUShd
PASS: tools/clear/test_ust 1826 - Stop lttng tracing for session OzO6xK0hVUkMUShd
ok 1827 - Rotate session OzO6xK0hVUkMUShd
PASS: tools/clear/test_ust 1827 - Rotate session OzO6xK0hVUkMUShd
ok 1828 - Clear session OzO6xK0hVUkMUShd
PASS: tools/clear/test_ust 1828 - Clear session OzO6xK0hVUkMUShd
ok 1829 - Start tracing for session OzO6xK0hVUkMUShd
PASS: tools/clear/test_ust 1829 - Start tracing for session OzO6xK0hVUkMUShd
ok 1830 - Stop lttng tracing for session OzO6xK0hVUkMUShd
PASS: tools/clear/test_ust 1830 - Stop lttng tracing for session OzO6xK0hVUkMUShd
ok 1831 - Validate trace for event tp:tptest, 6 events
PASS: tools/clear/test_ust 1831 - Validate trace for event tp:tptest, 6 events
ok 1832 - Read a total of 6 events, expected 6
PASS: tools/clear/test_ust 1832 - Read a total of 6 events, expected 6
ok 1833 - Destroy session OzO6xK0hVUkMUShd
PASS: tools/clear/test_ust 1833 - Destroy session OzO6xK0hVUkMUShd
# Test ust streaming clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=pid
ok 1834 - Create session MExffQQFTffd7RGM with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1834 - Create session MExffQQFTffd7RGM with uri:net://localhost and opts:
ok 1835 - Enable channel chan for session MExffQQFTffd7RGM
PASS: tools/clear/test_ust 1835 - Enable channel chan for session MExffQQFTffd7RGM
ok 1836 - Enable ust event tp:tptest for session MExffQQFTffd7RGM
PASS: tools/clear/test_ust 1836 - Enable ust event tp:tptest for session MExffQQFTffd7RGM
ok 1837 - Start tracing for session MExffQQFTffd7RGM
PASS: tools/clear/test_ust 1837 - Start tracing for session MExffQQFTffd7RGM
ok 1838 - Stop lttng tracing for session MExffQQFTffd7RGM
PASS: tools/clear/test_ust 1838 - Stop lttng tracing for session MExffQQFTffd7RGM
ok 1839 - Rotate session MExffQQFTffd7RGM
PASS: tools/clear/test_ust 1839 - Rotate session MExffQQFTffd7RGM
ok 1840 - Clear session MExffQQFTffd7RGM
PASS: tools/clear/test_ust 1840 - Clear session MExffQQFTffd7RGM
ok 1841 - Start tracing for session MExffQQFTffd7RGM
PASS: tools/clear/test_ust 1841 - Start tracing for session MExffQQFTffd7RGM
ok 1842 - Rotate session MExffQQFTffd7RGM
PASS: tools/clear/test_ust 1842 - Rotate session MExffQQFTffd7RGM
ok 1843 - Stop lttng tracing for session MExffQQFTffd7RGM
PASS: tools/clear/test_ust 1843 - Stop lttng tracing for session MExffQQFTffd7RGM
ok 1844 - Validate trace for event tp:tptest, 6 events
PASS: tools/clear/test_ust 1844 - Validate trace for event tp:tptest, 6 events
ok 1845 - Read a total of 6 events, expected 6
PASS: tools/clear/test_ust 1845 - Read a total of 6 events, expected 6
ok 1846 - Destroy session MExffQQFTffd7RGM
PASS: tools/clear/test_ust 1846 - Destroy session MExffQQFTffd7RGM
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=pid
ok 1847 - Create session BK9oNflwfQ9CLXvB with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1847 - Create session BK9oNflwfQ9CLXvB with uri:net://localhost and opts:
ok 1848 - Enable channel rotchan for session BK9oNflwfQ9CLXvB
PASS: tools/clear/test_ust 1848 - Enable channel rotchan for session BK9oNflwfQ9CLXvB
ok 1849 - Enable ust event tp:tptest for session BK9oNflwfQ9CLXvB
PASS: tools/clear/test_ust 1849 - Enable ust event tp:tptest for session BK9oNflwfQ9CLXvB
ok 1850 - Start tracing for session BK9oNflwfQ9CLXvB
PASS: tools/clear/test_ust 1850 - Start tracing for session BK9oNflwfQ9CLXvB
ok 1851 - Stop lttng tracing for session BK9oNflwfQ9CLXvB
PASS: tools/clear/test_ust 1851 - Stop lttng tracing for session BK9oNflwfQ9CLXvB
ok 1852 - Rotate session BK9oNflwfQ9CLXvB
PASS: tools/clear/test_ust 1852 - Rotate session BK9oNflwfQ9CLXvB
ok 1853 - Clear session BK9oNflwfQ9CLXvB
PASS: tools/clear/test_ust 1853 - Clear session BK9oNflwfQ9CLXvB
ok 1854 - Start tracing for session BK9oNflwfQ9CLXvB
PASS: tools/clear/test_ust 1854 - Start tracing for session BK9oNflwfQ9CLXvB
ok 1855 - Stop lttng tracing for session BK9oNflwfQ9CLXvB
PASS: tools/clear/test_ust 1855 - Stop lttng tracing for session BK9oNflwfQ9CLXvB
ok 1856 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 1856 - Validate trace for event tp:tptest, 10 events
ok 1857 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 1857 - Read a total of 10 events, expected 10
ok 1858 - Start tracing for session BK9oNflwfQ9CLXvB
PASS: tools/clear/test_ust 1858 - Start tracing for session BK9oNflwfQ9CLXvB
ok 1859 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1859 - Stop lttng tracing for session
ok 1860 - Validate trace for event tp:tptest, 30 events
PASS: tools/clear/test_ust 1860 - Validate trace for event tp:tptest, 30 events
ok 1861 - Read a total of 30 events, expected 30
PASS: tools/clear/test_ust 1861 - Read a total of 30 events, expected 30
ok 1862 - Destroy session BK9oNflwfQ9CLXvB
PASS: tools/clear/test_ust 1862 - Destroy session BK9oNflwfQ9CLXvB
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=pid
ok 1863 - Create session d8X0LlVz5ygWMl3y with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1863 - Create session d8X0LlVz5ygWMl3y with uri:net://localhost and opts:
ok 1864 - Enable channel rotchan for session d8X0LlVz5ygWMl3y
PASS: tools/clear/test_ust 1864 - Enable channel rotchan for session d8X0LlVz5ygWMl3y
ok 1865 - Enable ust event tp:tptest for session d8X0LlVz5ygWMl3y
PASS: tools/clear/test_ust 1865 - Enable ust event tp:tptest for session d8X0LlVz5ygWMl3y
ok 1866 - Start tracing for session d8X0LlVz5ygWMl3y
PASS: tools/clear/test_ust 1866 - Start tracing for session d8X0LlVz5ygWMl3y
ok 1867 - Stop lttng tracing for session d8X0LlVz5ygWMl3y
PASS: tools/clear/test_ust 1867 - Stop lttng tracing for session d8X0LlVz5ygWMl3y
ok 1868 - Rotate session d8X0LlVz5ygWMl3y
PASS: tools/clear/test_ust 1868 - Rotate session d8X0LlVz5ygWMl3y
ok 1869 - Clear session d8X0LlVz5ygWMl3y
PASS: tools/clear/test_ust 1869 - Clear session d8X0LlVz5ygWMl3y
ok 1870 - Start tracing for session d8X0LlVz5ygWMl3y
PASS: tools/clear/test_ust 1870 - Start tracing for session d8X0LlVz5ygWMl3y
ok 1871 - Stop lttng tracing for session d8X0LlVz5ygWMl3y
PASS: tools/clear/test_ust 1871 - Stop lttng tracing for session d8X0LlVz5ygWMl3y
ok 1872 - Validate trace for event tp:tptest, 38 events
PASS: tools/clear/test_ust 1872 - Validate trace for event tp:tptest, 38 events
ok 1873 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 1873 - Read a total of 38 events, expected between [1, 200000[
ok 1874 - Start tracing for session d8X0LlVz5ygWMl3y
PASS: tools/clear/test_ust 1874 - Start tracing for session d8X0LlVz5ygWMl3y
ok 1875 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1875 - Stop lttng tracing for session
ok 1876 - Validate trace for event tp:tptest, 76 events
PASS: tools/clear/test_ust 1876 - Validate trace for event tp:tptest, 76 events
ok 1877 - Read a total of 76 events, expected between [1, 600000[
PASS: tools/clear/test_ust 1877 - Read a total of 76 events, expected between [1, 600000[
ok 1878 - Destroy session d8X0LlVz5ygWMl3y
PASS: tools/clear/test_ust 1878 - Destroy session d8X0LlVz5ygWMl3y
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 1879 - Create session IhNpxZtkU81oyb2i with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1879 - Create session IhNpxZtkU81oyb2i with uri:net://localhost and opts:
ok 1880 - Enable channel chan for session IhNpxZtkU81oyb2i
PASS: tools/clear/test_ust 1880 - Enable channel chan for session IhNpxZtkU81oyb2i
ok 1881 - Enable ust event tp:tptest for session IhNpxZtkU81oyb2i
PASS: tools/clear/test_ust 1881 - Enable ust event tp:tptest for session IhNpxZtkU81oyb2i
ok 1882 - Start tracing for session IhNpxZtkU81oyb2i
PASS: tools/clear/test_ust 1882 - Start tracing for session IhNpxZtkU81oyb2i
ok 1883 - Stop lttng tracing for session IhNpxZtkU81oyb2i
PASS: tools/clear/test_ust 1883 - Stop lttng tracing for session IhNpxZtkU81oyb2i
ok 1884 - Clear session IhNpxZtkU81oyb2i
PASS: tools/clear/test_ust 1884 - Clear session IhNpxZtkU81oyb2i
ok 1885 - Start tracing for session IhNpxZtkU81oyb2i
PASS: tools/clear/test_ust 1885 - Start tracing for session IhNpxZtkU81oyb2i
ok 1886 - Stop lttng tracing for session IhNpxZtkU81oyb2i
PASS: tools/clear/test_ust 1886 - Stop lttng tracing for session IhNpxZtkU81oyb2i
ok 1887 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/IhNpxZtkU81oyb2i*" is empty
PASS: tools/clear/test_ust 1887 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/IhNpxZtkU81oyb2i*" is empty
ok 1888 - Destroy session IhNpxZtkU81oyb2i
PASS: tools/clear/test_ust 1888 - Destroy session IhNpxZtkU81oyb2i
# Test ust local
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=pid
ok 1889 - Create session WvI3aqdShLojzugv in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1889 - Create session WvI3aqdShLojzugv in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1890 - Enable channel chan for session WvI3aqdShLojzugv
PASS: tools/clear/test_ust 1890 - Enable channel chan for session WvI3aqdShLojzugv
ok 1891 - Enable ust event tp:tptest for session WvI3aqdShLojzugv
PASS: tools/clear/test_ust 1891 - Enable ust event tp:tptest for session WvI3aqdShLojzugv
ok 1892 - Start tracing for session WvI3aqdShLojzugv
PASS: tools/clear/test_ust 1892 - Start tracing for session WvI3aqdShLojzugv
ok 1893 - Stop lttng tracing for session WvI3aqdShLojzugv
PASS: tools/clear/test_ust 1893 - Stop lttng tracing for session WvI3aqdShLojzugv
ok 1894 - Rotate session WvI3aqdShLojzugv
PASS: tools/clear/test_ust 1894 - Rotate session WvI3aqdShLojzugv
ok 1895 - Clear session WvI3aqdShLojzugv
PASS: tools/clear/test_ust 1895 - Clear session WvI3aqdShLojzugv
ok 1896 - Start tracing for session WvI3aqdShLojzugv
PASS: tools/clear/test_ust 1896 - Start tracing for session WvI3aqdShLojzugv
ok 1897 - Stop lttng tracing for session WvI3aqdShLojzugv
PASS: tools/clear/test_ust 1897 - Stop lttng tracing for session WvI3aqdShLojzugv
ok 1898 - Validate trace for event tp:tptest, 10 events
PASS: tools/clear/test_ust 1898 - Validate trace for event tp:tptest, 10 events
ok 1899 - Read a total of 10 events, expected 10
PASS: tools/clear/test_ust 1899 - Read a total of 10 events, expected 10
ok 1900 - Destroy session WvI3aqdShLojzugv
PASS: tools/clear/test_ust 1900 - Destroy session WvI3aqdShLojzugv
# Test ust local rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=pid
ok 1901 - Create session WRsqG0YIvqVyAxsf in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1901 - Create session WRsqG0YIvqVyAxsf in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1902 - Enable channel chan for session WRsqG0YIvqVyAxsf
PASS: tools/clear/test_ust 1902 - Enable channel chan for session WRsqG0YIvqVyAxsf
ok 1903 - Enable ust event tp:tptest for session WRsqG0YIvqVyAxsf
PASS: tools/clear/test_ust 1903 - Enable ust event tp:tptest for session WRsqG0YIvqVyAxsf
ok 1904 - Start tracing for session WRsqG0YIvqVyAxsf
PASS: tools/clear/test_ust 1904 - Start tracing for session WRsqG0YIvqVyAxsf
ok 1905 - Rotate session WRsqG0YIvqVyAxsf
PASS: tools/clear/test_ust 1905 - Rotate session WRsqG0YIvqVyAxsf
ok 1906 - Stop lttng tracing for session WRsqG0YIvqVyAxsf
PASS: tools/clear/test_ust 1906 - Stop lttng tracing for session WRsqG0YIvqVyAxsf
ok 1907 - Rotate session WRsqG0YIvqVyAxsf
PASS: tools/clear/test_ust 1907 - Rotate session WRsqG0YIvqVyAxsf
ok 1908 - Clear session WRsqG0YIvqVyAxsf
PASS: tools/clear/test_ust 1908 - Clear session WRsqG0YIvqVyAxsf
ok 1909 - Start tracing for session WRsqG0YIvqVyAxsf
PASS: tools/clear/test_ust 1909 - Start tracing for session WRsqG0YIvqVyAxsf
ok 1910 - Stop lttng tracing for session WRsqG0YIvqVyAxsf
PASS: tools/clear/test_ust 1910 - Stop lttng tracing for session WRsqG0YIvqVyAxsf
ok 1911 - Validate trace for event tp:tptest, 6 events
PASS: tools/clear/test_ust 1911 - Validate trace for event tp:tptest, 6 events
ok 1912 - Read a total of 6 events, expected 6
PASS: tools/clear/test_ust 1912 - Read a total of 6 events, expected 6
ok 1913 - Destroy session WRsqG0YIvqVyAxsf
PASS: tools/clear/test_ust 1913 - Destroy session WRsqG0YIvqVyAxsf
# Test ust local clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=pid
ok 1914 - Create session eR0B7iLR32ej52NC in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1914 - Create session eR0B7iLR32ej52NC in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1915 - Enable channel chan for session eR0B7iLR32ej52NC
PASS: tools/clear/test_ust 1915 - Enable channel chan for session eR0B7iLR32ej52NC
ok 1916 - Enable ust event tp:tptest for session eR0B7iLR32ej52NC
PASS: tools/clear/test_ust 1916 - Enable ust event tp:tptest for session eR0B7iLR32ej52NC
ok 1917 - Start tracing for session eR0B7iLR32ej52NC
PASS: tools/clear/test_ust 1917 - Start tracing for session eR0B7iLR32ej52NC
ok 1918 - Stop lttng tracing for session eR0B7iLR32ej52NC
PASS: tools/clear/test_ust 1918 - Stop lttng tracing for session eR0B7iLR32ej52NC
ok 1919 - Rotate session eR0B7iLR32ej52NC
PASS: tools/clear/test_ust 1919 - Rotate session eR0B7iLR32ej52NC
ok 1920 - Clear session eR0B7iLR32ej52NC
PASS: tools/clear/test_ust 1920 - Clear session eR0B7iLR32ej52NC
ok 1921 - Start tracing for session eR0B7iLR32ej52NC
PASS: tools/clear/test_ust 1921 - Start tracing for session eR0B7iLR32ej52NC
ok 1922 - Rotate session eR0B7iLR32ej52NC
PASS: tools/clear/test_ust 1922 - Rotate session eR0B7iLR32ej52NC
ok 1923 - Stop lttng tracing for session eR0B7iLR32ej52NC
PASS: tools/clear/test_ust 1923 - Stop lttng tracing for session eR0B7iLR32ej52NC
ok 1924 - Validate trace for event tp:tptest, 6 events
PASS: tools/clear/test_ust 1924 - Validate trace for event tp:tptest, 6 events
ok 1925 - Read a total of 6 events, expected 6
PASS: tools/clear/test_ust 1925 - Read a total of 6 events, expected 6
ok 1926 - Destroy session eR0B7iLR32ej52NC
PASS: tools/clear/test_ust 1926 - Destroy session eR0B7iLR32ej52NC
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=pid
ok 1927 - Create session cSjqejP67lVZ4FTg in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 1927 - Create session cSjqejP67lVZ4FTg in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 1928 - Enable channel chan for session cSjqejP67lVZ4FTg
PASS: tools/clear/test_ust 1928 - Enable channel chan for session cSjqejP67lVZ4FTg
ok 1929 - Enable ust event tp:tptest for session cSjqejP67lVZ4FTg
PASS: tools/clear/test_ust 1929 - Enable ust event tp:tptest for session cSjqejP67lVZ4FTg
ok 1930 - Start tracing for session cSjqejP67lVZ4FTg
PASS: tools/clear/test_ust 1930 - Start tracing for session cSjqejP67lVZ4FTg
ok 1931 - Stop lttng tracing for session cSjqejP67lVZ4FTg
PASS: tools/clear/test_ust 1931 - Stop lttng tracing for session cSjqejP67lVZ4FTg
ok 1932 - Clear session cSjqejP67lVZ4FTg
PASS: tools/clear/test_ust 1932 - Clear session cSjqejP67lVZ4FTg
ok 1933 - Start tracing for session cSjqejP67lVZ4FTg
PASS: tools/clear/test_ust 1933 - Start tracing for session cSjqejP67lVZ4FTg
ok 1934 - Stop lttng tracing for session cSjqejP67lVZ4FTg
PASS: tools/clear/test_ust 1934 - Stop lttng tracing for session cSjqejP67lVZ4FTg
ok 1935 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 1935 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 1936 - Destroy session cSjqejP67lVZ4FTg
PASS: tools/clear/test_ust 1936 - Destroy session cSjqejP67lVZ4FTg
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=pid
ok 1937 - Create session SeGOt9NoZ1pRL9wY with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1937 - Create session SeGOt9NoZ1pRL9wY with uri:net://localhost and opts:
ok 1938 - Enable channel chan for session SeGOt9NoZ1pRL9wY
PASS: tools/clear/test_ust 1938 - Enable channel chan for session SeGOt9NoZ1pRL9wY
ok 1939 - Enable ust event tp:tptest for session SeGOt9NoZ1pRL9wY
PASS: tools/clear/test_ust 1939 - Enable ust event tp:tptest for session SeGOt9NoZ1pRL9wY
ok 1940 - Start tracing for session SeGOt9NoZ1pRL9wY
PASS: tools/clear/test_ust 1940 - Start tracing for session SeGOt9NoZ1pRL9wY
ok 1941 - Stop lttng tracing for session SeGOt9NoZ1pRL9wY
PASS: tools/clear/test_ust 1941 - Stop lttng tracing for session SeGOt9NoZ1pRL9wY
ok 1942 - Clear session SeGOt9NoZ1pRL9wY
PASS: tools/clear/test_ust 1942 - Clear session SeGOt9NoZ1pRL9wY
ok 1943 - Expected fail on rotate session SeGOt9NoZ1pRL9wY
PASS: tools/clear/test_ust 1943 - Expected fail on rotate session SeGOt9NoZ1pRL9wY
ok 1944 - Start tracing for session SeGOt9NoZ1pRL9wY
PASS: tools/clear/test_ust 1944 - Start tracing for session SeGOt9NoZ1pRL9wY
ok 1945 - Stop lttng tracing for session SeGOt9NoZ1pRL9wY
PASS: tools/clear/test_ust 1945 - Stop lttng tracing for session SeGOt9NoZ1pRL9wY
ok 1946 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/SeGOt9NoZ1pRL9wY-20250129-152659" is empty
PASS: tools/clear/test_ust 1946 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/SeGOt9NoZ1pRL9wY-20250129-152659" is empty
ok 1947 - Destroy session SeGOt9NoZ1pRL9wY
PASS: tools/clear/test_ust 1947 - Destroy session SeGOt9NoZ1pRL9wY
# Test ust streaming rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=pid
ok 1948 - Create session vQGFbeTgY1Bi7uRf with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1948 - Create session vQGFbeTgY1Bi7uRf with uri:net://localhost and opts:
ok 1949 - Enable channel chan for session vQGFbeTgY1Bi7uRf
PASS: tools/clear/test_ust 1949 - Enable channel chan for session vQGFbeTgY1Bi7uRf
ok 1950 - Enable ust event tp:tptest for session vQGFbeTgY1Bi7uRf
PASS: tools/clear/test_ust 1950 - Enable ust event tp:tptest for session vQGFbeTgY1Bi7uRf
ok 1951 - Start tracing for session vQGFbeTgY1Bi7uRf
PASS: tools/clear/test_ust 1951 - Start tracing for session vQGFbeTgY1Bi7uRf
ok 1952 - Rotate session vQGFbeTgY1Bi7uRf
PASS: tools/clear/test_ust 1952 - Rotate session vQGFbeTgY1Bi7uRf
ok 1953 - Stop lttng tracing for session vQGFbeTgY1Bi7uRf
PASS: tools/clear/test_ust 1953 - Stop lttng tracing for session vQGFbeTgY1Bi7uRf
ok 1954 - Clear session vQGFbeTgY1Bi7uRf
PASS: tools/clear/test_ust 1954 - Clear session vQGFbeTgY1Bi7uRf
ok 1955 - Expected fail on rotate session vQGFbeTgY1Bi7uRf
PASS: tools/clear/test_ust 1955 - Expected fail on rotate session vQGFbeTgY1Bi7uRf
ok 1956 - Start tracing for session vQGFbeTgY1Bi7uRf
PASS: tools/clear/test_ust 1956 - Start tracing for session vQGFbeTgY1Bi7uRf
ok 1957 - Stop lttng tracing for session vQGFbeTgY1Bi7uRf
PASS: tools/clear/test_ust 1957 - Stop lttng tracing for session vQGFbeTgY1Bi7uRf
ok 1958 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 1958 - Validate trace for event tp:tptest, 4 events
ok 1959 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 1959 - Read a total of 4 events, expected 4
ok 1960 - Destroy session vQGFbeTgY1Bi7uRf
PASS: tools/clear/test_ust 1960 - Destroy session vQGFbeTgY1Bi7uRf
# Test ust streaming clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=pid
ok 1961 - Create session Zap2lNJ7RU2uG70r with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1961 - Create session Zap2lNJ7RU2uG70r with uri:net://localhost and opts:
ok 1962 - Enable channel chan for session Zap2lNJ7RU2uG70r
PASS: tools/clear/test_ust 1962 - Enable channel chan for session Zap2lNJ7RU2uG70r
ok 1963 - Enable ust event tp:tptest for session Zap2lNJ7RU2uG70r
PASS: tools/clear/test_ust 1963 - Enable ust event tp:tptest for session Zap2lNJ7RU2uG70r
ok 1964 - Start tracing for session Zap2lNJ7RU2uG70r
PASS: tools/clear/test_ust 1964 - Start tracing for session Zap2lNJ7RU2uG70r
ok 1965 - Stop lttng tracing for session Zap2lNJ7RU2uG70r
PASS: tools/clear/test_ust 1965 - Stop lttng tracing for session Zap2lNJ7RU2uG70r
ok 1966 - Clear session Zap2lNJ7RU2uG70r
PASS: tools/clear/test_ust 1966 - Clear session Zap2lNJ7RU2uG70r
ok 1967 - Expected fail on rotate session Zap2lNJ7RU2uG70r
PASS: tools/clear/test_ust 1967 - Expected fail on rotate session Zap2lNJ7RU2uG70r
ok 1968 - Start tracing for session Zap2lNJ7RU2uG70r
PASS: tools/clear/test_ust 1968 - Start tracing for session Zap2lNJ7RU2uG70r
ok 1969 - Rotate session Zap2lNJ7RU2uG70r
PASS: tools/clear/test_ust 1969 - Rotate session Zap2lNJ7RU2uG70r
ok 1970 - Stop lttng tracing for session Zap2lNJ7RU2uG70r
PASS: tools/clear/test_ust 1970 - Stop lttng tracing for session Zap2lNJ7RU2uG70r
ok 1971 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 1971 - Validate trace for event tp:tptest, 5 events
ok 1972 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 1972 - Read a total of 5 events, expected 5
ok 1973 - Destroy session Zap2lNJ7RU2uG70r
PASS: tools/clear/test_ust 1973 - Destroy session Zap2lNJ7RU2uG70r
# Test ust streaming clear with tracefile rotation
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=pid
ok 1974 - Create session pWPXFzICzbG58Thi with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1974 - Create session pWPXFzICzbG58Thi with uri:net://localhost and opts:
ok 1975 - Enable channel rotchan for session pWPXFzICzbG58Thi
PASS: tools/clear/test_ust 1975 - Enable channel rotchan for session pWPXFzICzbG58Thi
ok 1976 - Enable ust event tp:tptest for session pWPXFzICzbG58Thi
PASS: tools/clear/test_ust 1976 - Enable ust event tp:tptest for session pWPXFzICzbG58Thi
ok 1977 - Start tracing for session pWPXFzICzbG58Thi
PASS: tools/clear/test_ust 1977 - Start tracing for session pWPXFzICzbG58Thi
ok 1978 - Stop lttng tracing for session pWPXFzICzbG58Thi
PASS: tools/clear/test_ust 1978 - Stop lttng tracing for session pWPXFzICzbG58Thi
ok 1979 - Clear session pWPXFzICzbG58Thi
PASS: tools/clear/test_ust 1979 - Clear session pWPXFzICzbG58Thi
ok 1980 - Expected fail on rotate session pWPXFzICzbG58Thi
PASS: tools/clear/test_ust 1980 - Expected fail on rotate session pWPXFzICzbG58Thi
ok 1981 - Start tracing for session pWPXFzICzbG58Thi
PASS: tools/clear/test_ust 1981 - Start tracing for session pWPXFzICzbG58Thi
ok 1982 - Stop lttng tracing for session pWPXFzICzbG58Thi
PASS: tools/clear/test_ust 1982 - Stop lttng tracing for session pWPXFzICzbG58Thi
ok 1983 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/pWPXFzICzbG58Thi-20250129-152704" is empty
PASS: tools/clear/test_ust 1983 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/pWPXFzICzbG58Thi-20250129-152704" is empty
ok 1984 - Start tracing for session pWPXFzICzbG58Thi
PASS: tools/clear/test_ust 1984 - Start tracing for session pWPXFzICzbG58Thi
ok 1985 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 1985 - Stop lttng tracing for session
ok 1986 - Validate trace for event tp:tptest, 20 events
PASS: tools/clear/test_ust 1986 - Validate trace for event tp:tptest, 20 events
ok 1987 - Read a total of 20 events, expected 20
PASS: tools/clear/test_ust 1987 - Read a total of 20 events, expected 20
ok 1988 - Destroy session pWPXFzICzbG58Thi
PASS: tools/clear/test_ust 1988 - Destroy session pWPXFzICzbG58Thi
# Test ust streaming clear with tracefile rotation, overwrite files
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=pid
ok 1989 - Create session XNxnRKwdWCxMYPpm with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1989 - Create session XNxnRKwdWCxMYPpm with uri:net://localhost and opts:
ok 1990 - Enable channel rotchan for session XNxnRKwdWCxMYPpm
PASS: tools/clear/test_ust 1990 - Enable channel rotchan for session XNxnRKwdWCxMYPpm
ok 1991 - Enable ust event tp:tptest for session XNxnRKwdWCxMYPpm
PASS: tools/clear/test_ust 1991 - Enable ust event tp:tptest for session XNxnRKwdWCxMYPpm
ok 1992 - Start tracing for session XNxnRKwdWCxMYPpm
PASS: tools/clear/test_ust 1992 - Start tracing for session XNxnRKwdWCxMYPpm
ok 1993 - Stop lttng tracing for session XNxnRKwdWCxMYPpm
PASS: tools/clear/test_ust 1993 - Stop lttng tracing for session XNxnRKwdWCxMYPpm
ok 1994 - Clear session XNxnRKwdWCxMYPpm
PASS: tools/clear/test_ust 1994 - Clear session XNxnRKwdWCxMYPpm
ok 1995 - Expected fail on rotate session XNxnRKwdWCxMYPpm
PASS: tools/clear/test_ust 1995 - Expected fail on rotate session XNxnRKwdWCxMYPpm
ok 1996 - Start tracing for session XNxnRKwdWCxMYPpm
PASS: tools/clear/test_ust 1996 - Start tracing for session XNxnRKwdWCxMYPpm
ok 1997 - Stop lttng tracing for session XNxnRKwdWCxMYPpm
PASS: tools/clear/test_ust 1997 - Stop lttng tracing for session XNxnRKwdWCxMYPpm
ok 1998 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/XNxnRKwdWCxMYPpm-20250129-152705" is empty
PASS: tools/clear/test_ust 1998 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/XNxnRKwdWCxMYPpm-20250129-152705" is empty
ok 1999 - Start tracing for session XNxnRKwdWCxMYPpm
PASS: tools/clear/test_ust 1999 - Start tracing for session XNxnRKwdWCxMYPpm
ok 2000 - Stop lttng tracing for session 
PASS: tools/clear/test_ust 2000 - Stop lttng tracing for session
ok 2001 - Validate trace for event tp:tptest, 38 events
PASS: tools/clear/test_ust 2001 - Validate trace for event tp:tptest, 38 events
ok 2002 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 2002 - Read a total of 38 events, expected between [1, 200000[
ok 2003 - Destroy session XNxnRKwdWCxMYPpm
PASS: tools/clear/test_ust 2003 - Destroy session XNxnRKwdWCxMYPpm
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 2004 - Create session lLYGJdWGI4xgYsnm with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 2004 - Create session lLYGJdWGI4xgYsnm with uri:net://localhost and opts:
ok 2005 - Enable channel chan for session lLYGJdWGI4xgYsnm
PASS: tools/clear/test_ust 2005 - Enable channel chan for session lLYGJdWGI4xgYsnm
ok 2006 - Enable ust event tp:tptest for session lLYGJdWGI4xgYsnm
PASS: tools/clear/test_ust 2006 - Enable ust event tp:tptest for session lLYGJdWGI4xgYsnm
ok 2007 - Start tracing for session lLYGJdWGI4xgYsnm
PASS: tools/clear/test_ust 2007 - Start tracing for session lLYGJdWGI4xgYsnm
ok 2008 - Stop lttng tracing for session lLYGJdWGI4xgYsnm
PASS: tools/clear/test_ust 2008 - Stop lttng tracing for session lLYGJdWGI4xgYsnm
ok 2009 - Clear session lLYGJdWGI4xgYsnm
PASS: tools/clear/test_ust 2009 - Clear session lLYGJdWGI4xgYsnm
ok 2010 - Start tracing for session lLYGJdWGI4xgYsnm
PASS: tools/clear/test_ust 2010 - Start tracing for session lLYGJdWGI4xgYsnm
ok 2011 - Stop lttng tracing for session lLYGJdWGI4xgYsnm
PASS: tools/clear/test_ust 2011 - Stop lttng tracing for session lLYGJdWGI4xgYsnm
ok 2012 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/lLYGJdWGI4xgYsnm*" is empty
PASS: tools/clear/test_ust 2012 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/qemux86-64/lLYGJdWGI4xgYsnm*" is empty
ok 2013 - Destroy session lLYGJdWGI4xgYsnm
PASS: tools/clear/test_ust 2013 - Destroy session lLYGJdWGI4xgYsnm
# Test ust local
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=pid
ok 2014 - Create session RqssX6OL1BoAl9lJ in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 2014 - Create session RqssX6OL1BoAl9lJ in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 2015 - Enable channel chan for session RqssX6OL1BoAl9lJ
PASS: tools/clear/test_ust 2015 - Enable channel chan for session RqssX6OL1BoAl9lJ
ok 2016 - Enable ust event tp:tptest for session RqssX6OL1BoAl9lJ
PASS: tools/clear/test_ust 2016 - Enable ust event tp:tptest for session RqssX6OL1BoAl9lJ
ok 2017 - Start tracing for session RqssX6OL1BoAl9lJ
PASS: tools/clear/test_ust 2017 - Start tracing for session RqssX6OL1BoAl9lJ
ok 2018 - Stop lttng tracing for session RqssX6OL1BoAl9lJ
PASS: tools/clear/test_ust 2018 - Stop lttng tracing for session RqssX6OL1BoAl9lJ
ok 2019 - Clear session RqssX6OL1BoAl9lJ
PASS: tools/clear/test_ust 2019 - Clear session RqssX6OL1BoAl9lJ
ok 2020 - Expected fail on rotate session RqssX6OL1BoAl9lJ
PASS: tools/clear/test_ust 2020 - Expected fail on rotate session RqssX6OL1BoAl9lJ
ok 2021 - Start tracing for session RqssX6OL1BoAl9lJ
PASS: tools/clear/test_ust 2021 - Start tracing for session RqssX6OL1BoAl9lJ
ok 2022 - Stop lttng tracing for session RqssX6OL1BoAl9lJ
PASS: tools/clear/test_ust 2022 - Stop lttng tracing for session RqssX6OL1BoAl9lJ
ok 2023 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/ust/" is empty
PASS: tools/clear/test_ust 2023 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN/ust/" is empty
ok 2024 - Destroy session RqssX6OL1BoAl9lJ
PASS: tools/clear/test_ust 2024 - Destroy session RqssX6OL1BoAl9lJ
# Test ust local rotate-clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=pid
ok 2025 - Create session 3Qui8mDwfds7bKdW in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 2025 - Create session 3Qui8mDwfds7bKdW in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 2026 - Enable channel chan for session 3Qui8mDwfds7bKdW
PASS: tools/clear/test_ust 2026 - Enable channel chan for session 3Qui8mDwfds7bKdW
ok 2027 - Enable ust event tp:tptest for session 3Qui8mDwfds7bKdW
PASS: tools/clear/test_ust 2027 - Enable ust event tp:tptest for session 3Qui8mDwfds7bKdW
ok 2028 - Start tracing for session 3Qui8mDwfds7bKdW
PASS: tools/clear/test_ust 2028 - Start tracing for session 3Qui8mDwfds7bKdW
ok 2029 - Rotate session 3Qui8mDwfds7bKdW
PASS: tools/clear/test_ust 2029 - Rotate session 3Qui8mDwfds7bKdW
ok 2030 - Stop lttng tracing for session 3Qui8mDwfds7bKdW
PASS: tools/clear/test_ust 2030 - Stop lttng tracing for session 3Qui8mDwfds7bKdW
ok 2031 - Clear session 3Qui8mDwfds7bKdW
PASS: tools/clear/test_ust 2031 - Clear session 3Qui8mDwfds7bKdW
ok 2032 - Expected fail on rotate session 3Qui8mDwfds7bKdW
PASS: tools/clear/test_ust 2032 - Expected fail on rotate session 3Qui8mDwfds7bKdW
ok 2033 - Start tracing for session 3Qui8mDwfds7bKdW
PASS: tools/clear/test_ust 2033 - Start tracing for session 3Qui8mDwfds7bKdW
ok 2034 - Stop lttng tracing for session 3Qui8mDwfds7bKdW
PASS: tools/clear/test_ust 2034 - Stop lttng tracing for session 3Qui8mDwfds7bKdW
ok 2035 - Validate trace for event tp:tptest, 4 events
PASS: tools/clear/test_ust 2035 - Validate trace for event tp:tptest, 4 events
ok 2036 - Read a total of 4 events, expected 4
PASS: tools/clear/test_ust 2036 - Read a total of 4 events, expected 4
ok 2037 - Destroy session 3Qui8mDwfds7bKdW
PASS: tools/clear/test_ust 2037 - Destroy session 3Qui8mDwfds7bKdW
# Test ust local clear-rotate
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=pid
ok 2038 - Create session 3O9RNwVRCQ0ZF2Y9 in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 2038 - Create session 3O9RNwVRCQ0ZF2Y9 in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 2039 - Enable channel chan for session 3O9RNwVRCQ0ZF2Y9
PASS: tools/clear/test_ust 2039 - Enable channel chan for session 3O9RNwVRCQ0ZF2Y9
ok 2040 - Enable ust event tp:tptest for session 3O9RNwVRCQ0ZF2Y9
PASS: tools/clear/test_ust 2040 - Enable ust event tp:tptest for session 3O9RNwVRCQ0ZF2Y9
ok 2041 - Start tracing for session 3O9RNwVRCQ0ZF2Y9
PASS: tools/clear/test_ust 2041 - Start tracing for session 3O9RNwVRCQ0ZF2Y9
ok 2042 - Stop lttng tracing for session 3O9RNwVRCQ0ZF2Y9
PASS: tools/clear/test_ust 2042 - Stop lttng tracing for session 3O9RNwVRCQ0ZF2Y9
ok 2043 - Clear session 3O9RNwVRCQ0ZF2Y9
PASS: tools/clear/test_ust 2043 - Clear session 3O9RNwVRCQ0ZF2Y9
ok 2044 - Expected fail on rotate session 3O9RNwVRCQ0ZF2Y9
PASS: tools/clear/test_ust 2044 - Expected fail on rotate session 3O9RNwVRCQ0ZF2Y9
ok 2045 - Start tracing for session 3O9RNwVRCQ0ZF2Y9
PASS: tools/clear/test_ust 2045 - Start tracing for session 3O9RNwVRCQ0ZF2Y9
ok 2046 - Rotate session 3O9RNwVRCQ0ZF2Y9
PASS: tools/clear/test_ust 2046 - Rotate session 3O9RNwVRCQ0ZF2Y9
ok 2047 - Stop lttng tracing for session 3O9RNwVRCQ0ZF2Y9
PASS: tools/clear/test_ust 2047 - Stop lttng tracing for session 3O9RNwVRCQ0ZF2Y9
ok 2048 - Validate trace for event tp:tptest, 5 events
PASS: tools/clear/test_ust 2048 - Validate trace for event tp:tptest, 5 events
ok 2049 - Read a total of 5 events, expected 5
PASS: tools/clear/test_ust 2049 - Read a total of 5 events, expected 5
ok 2050 - Destroy session 3O9RNwVRCQ0ZF2Y9
PASS: tools/clear/test_ust 2050 - Destroy session 3O9RNwVRCQ0ZF2Y9
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=pid
ok 2051 - Create session 7ABYSrWelTIuuc3L in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
PASS: tools/clear/test_ust 2051 - Create session 7ABYSrWelTIuuc3L in -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN
ok 2052 - Enable channel chan for session 7ABYSrWelTIuuc3L
PASS: tools/clear/test_ust 2052 - Enable channel chan for session 7ABYSrWelTIuuc3L
ok 2053 - Enable ust event tp:tptest for session 7ABYSrWelTIuuc3L
PASS: tools/clear/test_ust 2053 - Enable ust event tp:tptest for session 7ABYSrWelTIuuc3L
ok 2054 - Start tracing for session 7ABYSrWelTIuuc3L
PASS: tools/clear/test_ust 2054 - Start tracing for session 7ABYSrWelTIuuc3L
ok 2055 - Stop lttng tracing for session 7ABYSrWelTIuuc3L
PASS: tools/clear/test_ust 2055 - Stop lttng tracing for session 7ABYSrWelTIuuc3L
ok 2056 - Clear session 7ABYSrWelTIuuc3L
PASS: tools/clear/test_ust 2056 - Clear session 7ABYSrWelTIuuc3L
ok 2057 - Start tracing for session 7ABYSrWelTIuuc3L
PASS: tools/clear/test_ust 2057 - Start tracing for session 7ABYSrWelTIuuc3L
ok 2058 - Stop lttng tracing for session 7ABYSrWelTIuuc3L
PASS: tools/clear/test_ust 2058 - Stop lttng tracing for session 7ABYSrWelTIuuc3L
ok 2059 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
PASS: tools/clear/test_ust 2059 - Directory "/tmp/tmp.test_clear_ust_trace_path.n5BOXN" is empty
ok 2060 - Destroy session 7ABYSrWelTIuuc3L
PASS: tools/clear/test_ust 2060 - Destroy session 7ABYSrWelTIuuc3L
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 16483 16484 
ok 2061 - Wait after kill session daemon
PASS: tools/clear/test_ust 2061 - Wait after kill session daemon
# Killing (signal SIGTERM) lttng-relayd (pid: 16465)
ok 2062 - Wait after kill relay daemon
PASS: tools/clear/test_ust 2062 - Wait after kill relay daemon
# Test ust disallow clear on relay daemon
ok 2063 - Start lttng-relayd (process mode: -b opt: -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN)
PASS: tools/clear/test_ust 2063 - Start lttng-relayd (process mode: -b opt: -o /tmp/tmp.test_clear_ust_trace_path.n5BOXN)
ok 2064 - Start session daemon
PASS: tools/clear/test_ust 2064 - Start session daemon
ok 2065 - Create session mtjt24VVE2PZvPD2 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 2065 - Create session mtjt24VVE2PZvPD2 with uri:net://localhost and opts:
ok 2066 - Enable ust event tp:tptest for session mtjt24VVE2PZvPD2
PASS: tools/clear/test_ust 2066 - Enable ust event tp:tptest for session mtjt24VVE2PZvPD2
ok 2067 - Start tracing for session mtjt24VVE2PZvPD2
PASS: tools/clear/test_ust 2067 - Start tracing for session mtjt24VVE2PZvPD2
ok 2068 - Expected fail on clear session mtjt24VVE2PZvPD2
PASS: tools/clear/test_ust 2068 - Expected fail on clear session mtjt24VVE2PZvPD2
ok 2069 - Destroy session mtjt24VVE2PZvPD2
PASS: tools/clear/test_ust 2069 - Destroy session mtjt24VVE2PZvPD2
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 21866 21867 
ok 2070 - Wait after kill session daemon
PASS: tools/clear/test_ust 2070 - Wait after kill session daemon
# Killing (signal SIGTERM) lttng-relayd (pid: 21848)
ok 2071 - Wait after kill relay daemon
PASS: tools/clear/test_ust 2071 - Wait after kill relay daemon
# Looks like you failed 1 test of 2071.

PASS: tools/trigger/test_list_triggers_cli
==========================================

realpath: ./tools/trigger/../../../utils/testapp/userspace-probe-sdt-binary/.libs/userspace-probe-sdt-binary: No such file or directory
1..150
# Listing top level options
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name hello --condition event-rule-matches --type=user --name=test-name --action notify
ok 1 - Add trigger hello
PASS: tools/trigger/test_list_triggers_cli 1 - Add trigger hello
# ./tools/trigger/../../../../src/bin/lttng/lttng list-triggers
ok 2 - top level options: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 2 - top level options: exit code is 0
ok 3 - top level options: expected stdout
PASS: tools/trigger/test_list_triggers_cli 3 - top level options: expected stdout
ok 4 - top level options: expected stderr
PASS: tools/trigger/test_list_triggers_cli 4 - top level options: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng --mi xml list-triggers
ok 5 - MI top level options: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 5 - MI top level options: exit code is 0
ok 6 - list-trigger mi is valid
PASS: tools/trigger/test_list_triggers_cli 6 - list-trigger mi is valid
ok 7 - MI top level options: expected stdout
PASS: tools/trigger/test_list_triggers_cli 7 - MI top level options: expected stdout
ok 8 - MI top level options: expected stderr
PASS: tools/trigger/test_list_triggers_cli 8 - MI top level options: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger hello 
ok 9 - Remove trigger hello
PASS: tools/trigger/test_list_triggers_cli 9 - Remove trigger hello
# Listing event-rule-matches tracepoint
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name C --condition event-rule-matches --type=user --action notify
ok 10 - Add trigger C
PASS: tools/trigger/test_list_triggers_cli 10 - Add trigger C
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name A --condition event-rule-matches --name=aaa --type=user --filter p == 2 --action notify
ok 11 - Add trigger A
PASS: tools/trigger/test_list_triggers_cli 11 - Add trigger A
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name D --condition event-rule-matches --name=hello* --type=user -x hello2 --exclude-name hello3 -x hello4 --action notify
ok 12 - Add trigger D
PASS: tools/trigger/test_list_triggers_cli 12 - Add trigger D
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name B --condition event-rule-matches --type=user --name=gerboise --log-level INFO.. --action notify
ok 13 - Add trigger B
PASS: tools/trigger/test_list_triggers_cli 13 - Add trigger B
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name E --condition event-rule-matches --type=user --name=lemming --log-level WARNING --action notify
ok 14 - Add trigger E
PASS: tools/trigger/test_list_triggers_cli 14 - Add trigger E
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name J --condition event-rule-matches --type=user --name=lemming --log-level .. --action notify
ok 15 - Add trigger J
PASS: tools/trigger/test_list_triggers_cli 15 - Add trigger J
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name F --condition event-rule-matches --type=user --name=capture-payload-field --capture a --action notify
ok 16 - Add trigger F
PASS: tools/trigger/test_list_triggers_cli 16 - Add trigger F
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name G --condition event-rule-matches --type=user --name=capture-array --capture a[2] --capture $ctx.tourlou[18] --action notify
ok 17 - Add trigger G
PASS: tools/trigger/test_list_triggers_cli 17 - Add trigger G
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name H --condition event-rule-matches --type=user --name=capture-chan-ctx --capture $ctx.vpid --action notify
ok 18 - Add trigger H
PASS: tools/trigger/test_list_triggers_cli 18 - Add trigger H
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name I --condition event-rule-matches --type=user --name=capture-app-ctx --capture $app.iga:active_clients --action notify
ok 19 - Add trigger I
PASS: tools/trigger/test_list_triggers_cli 19 - Add trigger I
# ./tools/trigger/../../../../src/bin/lttng/lttng list-triggers
ok 20 - event-rule-matches, tracepoint event rule: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 20 - event-rule-matches, tracepoint event rule: exit code is 0
ok 21 - event-rule-matches, tracepoint event rule: expected stdout
PASS: tools/trigger/test_list_triggers_cli 21 - event-rule-matches, tracepoint event rule: expected stdout
ok 22 - event-rule-matches, tracepoint event rule: expected stderr
PASS: tools/trigger/test_list_triggers_cli 22 - event-rule-matches, tracepoint event rule: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng --mi xml list-triggers
ok 23 - MI event-rule-matches, tracepoint event rule: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 23 - MI event-rule-matches, tracepoint event rule: exit code is 0
ok 24 - list-trigger mi is valid
PASS: tools/trigger/test_list_triggers_cli 24 - list-trigger mi is valid
ok 25 - MI event-rule-matches, tracepoint event rule: expected stdout
PASS: tools/trigger/test_list_triggers_cli 25 - MI event-rule-matches, tracepoint event rule: expected stdout
ok 26 - MI event-rule-matches, tracepoint event rule: expected stderr
PASS: tools/trigger/test_list_triggers_cli 26 - MI event-rule-matches, tracepoint event rule: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger A 
ok 27 - Remove trigger A
PASS: tools/trigger/test_list_triggers_cli 27 - Remove trigger A
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger B 
ok 28 - Remove trigger B
PASS: tools/trigger/test_list_triggers_cli 28 - Remove trigger B
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger C 
ok 29 - Remove trigger C
PASS: tools/trigger/test_list_triggers_cli 29 - Remove trigger C
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger D 
ok 30 - Remove trigger D
PASS: tools/trigger/test_list_triggers_cli 30 - Remove trigger D
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger E 
ok 31 - Remove trigger E
PASS: tools/trigger/test_list_triggers_cli 31 - Remove trigger E
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger F 
ok 32 - Remove trigger F
PASS: tools/trigger/test_list_triggers_cli 32 - Remove trigger F
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger G 
ok 33 - Remove trigger G
PASS: tools/trigger/test_list_triggers_cli 33 - Remove trigger G
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger H 
ok 34 - Remove trigger H
PASS: tools/trigger/test_list_triggers_cli 34 - Remove trigger H
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger I 
ok 35 - Remove trigger I
PASS: tools/trigger/test_list_triggers_cli 35 - Remove trigger I
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger J 
ok 36 - Remove trigger J
PASS: tools/trigger/test_list_triggers_cli 36 - Remove trigger J
# Listing event-rule-matches kernel probe
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T0 --condition event-rule-matches --type=kprobe --location=lttng_channel_enable --event-name=my_channel_enable --action notify
ok 37 - Add trigger T0
PASS: tools/trigger/test_list_triggers_cli 37 - Add trigger T0
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T1 --condition event-rule-matches --type=kprobe --location=lttng_channel_enable+0x80 --event-name=my_channel_enable --action notify
ok 38 - Add trigger T1
PASS: tools/trigger/test_list_triggers_cli 38 - Add trigger T1
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T2 --condition event-rule-matches --type=kprobe --location=0xffffffffc045ec10 --event-name=my_channel_enable --action notify
ok 39 - Add trigger T2
PASS: tools/trigger/test_list_triggers_cli 39 - Add trigger T2
# ./tools/trigger/../../../../src/bin/lttng/lttng list-triggers
ok 40 - event-rule-matches, probe event rule: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 40 - event-rule-matches, probe event rule: exit code is 0
ok 41 - event-rule-matches, probe event rule: expected stdout
PASS: tools/trigger/test_list_triggers_cli 41 - event-rule-matches, probe event rule: expected stdout
ok 42 - event-rule-matches, probe event rule: expected stderr
PASS: tools/trigger/test_list_triggers_cli 42 - event-rule-matches, probe event rule: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng --mi xml list-triggers
ok 43 - MI event-rule-matches, probe event rule: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 43 - MI event-rule-matches, probe event rule: exit code is 0
ok 44 - list-trigger mi is valid
PASS: tools/trigger/test_list_triggers_cli 44 - list-trigger mi is valid
ok 45 - MI event-rule-matches, probe event rule: expected stdout
PASS: tools/trigger/test_list_triggers_cli 45 - MI event-rule-matches, probe event rule: expected stdout
ok 46 - MI event-rule-matches, probe event rule: expected stderr
PASS: tools/trigger/test_list_triggers_cli 46 - MI event-rule-matches, probe event rule: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T0 
ok 47 - Remove trigger T0
PASS: tools/trigger/test_list_triggers_cli 47 - Remove trigger T0
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T1 
ok 48 - Remove trigger T1
PASS: tools/trigger/test_list_triggers_cli 48 - Remove trigger T1
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T2 
ok 49 - Remove trigger T2
PASS: tools/trigger/test_list_triggers_cli 49 - Remove trigger T2
# Listing event-rule-matches userspace-probe elf
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T0 --condition event-rule-matches --type=kernel:uprobe --location=/usr/lib/lttng-tools/ptest/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary:test_function --event-name=ma-probe-elf --action notify
ok 50 - Add trigger T0
PASS: tools/trigger/test_list_triggers_cli 50 - Add trigger T0
# ./tools/trigger/../../../../src/bin/lttng/lttng list-triggers
ok 51 - event-rule-matches, userspace-probe event rule: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 51 - event-rule-matches, userspace-probe event rule: exit code is 0
ok 52 - event-rule-matches, userspace-probe event rule: expected stdout
PASS: tools/trigger/test_list_triggers_cli 52 - event-rule-matches, userspace-probe event rule: expected stdout
ok 53 - event-rule-matches, userspace-probe event rule: expected stderr
PASS: tools/trigger/test_list_triggers_cli 53 - event-rule-matches, userspace-probe event rule: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng --mi xml list-triggers
ok 54 - MI event-rule-matches, userspace-probe event rule: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 54 - MI event-rule-matches, userspace-probe event rule: exit code is 0
ok 55 - list-trigger mi is valid
PASS: tools/trigger/test_list_triggers_cli 55 - list-trigger mi is valid
ok 56 - MI event-rule-matches, userspace-probe event rule: expected stdout
PASS: tools/trigger/test_list_triggers_cli 56 - MI event-rule-matches, userspace-probe event rule: expected stdout
ok 57 - MI event-rule-matches, userspace-probe event rule: expected stderr
PASS: tools/trigger/test_list_triggers_cli 57 - MI event-rule-matches, userspace-probe event rule: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T0 
ok 58 - Remove trigger T0
PASS: tools/trigger/test_list_triggers_cli 58 - Remove trigger T0
ok 59 # skip: No SDT binary. Skipping userspace probe SDT tests
SKIP: tools/trigger/test_list_triggers_cli 59 # SKIP : No SDT binary. Skipping userspace probe SDT tests
ok 60 # skip: No SDT binary. Skipping userspace probe SDT tests
SKIP: tools/trigger/test_list_triggers_cli 60 # SKIP : No SDT binary. Skipping userspace probe SDT tests
ok 61 # skip: No SDT binary. Skipping userspace probe SDT tests
SKIP: tools/trigger/test_list_triggers_cli 61 # SKIP : No SDT binary. Skipping userspace probe SDT tests
ok 62 # skip: No SDT binary. Skipping userspace probe SDT tests
SKIP: tools/trigger/test_list_triggers_cli 62 # SKIP : No SDT binary. Skipping userspace probe SDT tests
ok 63 # skip: No SDT binary. Skipping userspace probe SDT tests
SKIP: tools/trigger/test_list_triggers_cli 63 # SKIP : No SDT binary. Skipping userspace probe SDT tests
ok 64 # skip: No SDT binary. Skipping userspace probe SDT tests
SKIP: tools/trigger/test_list_triggers_cli 64 # SKIP : No SDT binary. Skipping userspace probe SDT tests
ok 65 # skip: No SDT binary. Skipping userspace probe SDT tests
SKIP: tools/trigger/test_list_triggers_cli 65 # SKIP : No SDT binary. Skipping userspace probe SDT tests
ok 66 # skip: No SDT binary. Skipping userspace probe SDT tests
SKIP: tools/trigger/test_list_triggers_cli 66 # SKIP : No SDT binary. Skipping userspace probe SDT tests
ok 67 # skip: No SDT binary. Skipping userspace probe SDT tests
SKIP: tools/trigger/test_list_triggers_cli 67 # SKIP : No SDT binary. Skipping userspace probe SDT tests
# Listing event-rule-matches syscall
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T0 --condition event-rule-matches --type=syscall --name=open --action notify
ok 68 - Add trigger T0
PASS: tools/trigger/test_list_triggers_cli 68 - Add trigger T0
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T1 --condition event-rule-matches --type=syscall:entry --name=open --action notify
ok 69 - Add trigger T1
PASS: tools/trigger/test_list_triggers_cli 69 - Add trigger T1
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T2 --condition event-rule-matches --type=syscall:exit --name=open --action notify
ok 70 - Add trigger T2
PASS: tools/trigger/test_list_triggers_cli 70 - Add trigger T2
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T3 --condition event-rule-matches --type=syscall:entry+exit --name=open --action notify
ok 71 - Add trigger T3
PASS: tools/trigger/test_list_triggers_cli 71 - Add trigger T3
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T4 --condition event-rule-matches --type=syscall --name=ptrace --filter a > 2 --action notify
ok 72 - Add trigger T4
PASS: tools/trigger/test_list_triggers_cli 72 - Add trigger T4
# ./tools/trigger/../../../../src/bin/lttng/lttng list-triggers
ok 73 - event-rule-matches, syscall event rule: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 73 - event-rule-matches, syscall event rule: exit code is 0
ok 74 - event-rule-matches, syscall event rule: expected stdout
PASS: tools/trigger/test_list_triggers_cli 74 - event-rule-matches, syscall event rule: expected stdout
ok 75 - event-rule-matches, syscall event rule: expected stderr
PASS: tools/trigger/test_list_triggers_cli 75 - event-rule-matches, syscall event rule: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng --mi xml list-triggers
ok 76 - MI event-rule-matches, syscall event rule: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 76 - MI event-rule-matches, syscall event rule: exit code is 0
ok 77 - list-trigger mi is valid
PASS: tools/trigger/test_list_triggers_cli 77 - list-trigger mi is valid
ok 78 - MI event-rule-matches, syscall event rule: expected stdout
PASS: tools/trigger/test_list_triggers_cli 78 - MI event-rule-matches, syscall event rule: expected stdout
ok 79 - MI event-rule-matches, syscall event rule: expected stderr
PASS: tools/trigger/test_list_triggers_cli 79 - MI event-rule-matches, syscall event rule: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T0 
ok 80 - Remove trigger T0
PASS: tools/trigger/test_list_triggers_cli 80 - Remove trigger T0
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T1 
ok 81 - Remove trigger T1
PASS: tools/trigger/test_list_triggers_cli 81 - Remove trigger T1
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T2 
ok 82 - Remove trigger T2
PASS: tools/trigger/test_list_triggers_cli 82 - Remove trigger T2
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T3 
ok 83 - Remove trigger T3
PASS: tools/trigger/test_list_triggers_cli 83 - Remove trigger T3
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T4 
ok 84 - Remove trigger T4
PASS: tools/trigger/test_list_triggers_cli 84 - Remove trigger T4
# ./tools/trigger/../../../../src/bin/lttng/lttng list-triggers
ok 85 - session consumed size condition: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 85 - session consumed size condition: exit code is 0
ok 86 - session consumed size condition: expected stdout
PASS: tools/trigger/test_list_triggers_cli 86 - session consumed size condition: expected stdout
ok 87 - session consumed size condition: expected stderr
PASS: tools/trigger/test_list_triggers_cli 87 - session consumed size condition: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng --mi xml list-triggers
ok 88 - MI session consumed size condition: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 88 - MI session consumed size condition: exit code is 0
ok 89 - list-trigger mi is valid
PASS: tools/trigger/test_list_triggers_cli 89 - list-trigger mi is valid
ok 90 - MI session consumed size condition: expected stdout
PASS: tools/trigger/test_list_triggers_cli 90 - MI session consumed size condition: expected stdout
ok 91 - MI session consumed size condition: expected stderr
PASS: tools/trigger/test_list_triggers_cli 91 - MI session consumed size condition: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger trigger-with-session-consumed-size-condition 
ok 92 - Remove trigger trigger-with-session-consumed-size-condition
PASS: tools/trigger/test_list_triggers_cli 92 - Remove trigger trigger-with-session-consumed-size-condition
# ./tools/trigger/../../../../src/bin/lttng/lttng list-triggers
ok 93 - buffer usage condition: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 93 - buffer usage condition: exit code is 0
ok 94 - buffer usage condition: expected stdout
PASS: tools/trigger/test_list_triggers_cli 94 - buffer usage condition: expected stdout
ok 95 - buffer usage condition: expected stderr
PASS: tools/trigger/test_list_triggers_cli 95 - buffer usage condition: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng --mi xml list-triggers
ok 96 - MI buffer usage condition: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 96 - MI buffer usage condition: exit code is 0
ok 97 - list-trigger mi is valid
PASS: tools/trigger/test_list_triggers_cli 97 - list-trigger mi is valid
ok 98 - MI buffer usage condition: expected stdout
PASS: tools/trigger/test_list_triggers_cli 98 - MI buffer usage condition: expected stdout
ok 99 - MI buffer usage condition: expected stderr
PASS: tools/trigger/test_list_triggers_cli 99 - MI buffer usage condition: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger trigger-with-buffer-usage-high-bytes-condition 
ok 100 - Remove trigger trigger-with-buffer-usage-high-bytes-condition
PASS: tools/trigger/test_list_triggers_cli 100 - Remove trigger trigger-with-buffer-usage-high-bytes-condition
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger trigger-with-buffer-usage-high-ratio-condition 
ok 101 - Remove trigger trigger-with-buffer-usage-high-ratio-condition
PASS: tools/trigger/test_list_triggers_cli 101 - Remove trigger trigger-with-buffer-usage-high-ratio-condition
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger trigger-with-buffer-usage-low-bytes-condition 
ok 102 - Remove trigger trigger-with-buffer-usage-low-bytes-condition
PASS: tools/trigger/test_list_triggers_cli 102 - Remove trigger trigger-with-buffer-usage-low-bytes-condition
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger trigger-with-buffer-usage-low-ratio-condition 
ok 103 - Remove trigger trigger-with-buffer-usage-low-ratio-condition
PASS: tools/trigger/test_list_triggers_cli 103 - Remove trigger trigger-with-buffer-usage-low-ratio-condition
# ./tools/trigger/../../../../src/bin/lttng/lttng list-triggers
ok 104 - session rotation conditions: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 104 - session rotation conditions: exit code is 0
ok 105 - session rotation conditions: expected stdout
PASS: tools/trigger/test_list_triggers_cli 105 - session rotation conditions: expected stdout
ok 106 - session rotation conditions: expected stderr
PASS: tools/trigger/test_list_triggers_cli 106 - session rotation conditions: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng --mi xml list-triggers
ok 107 - MI session rotation conditions: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 107 - MI session rotation conditions: exit code is 0
ok 108 - list-trigger mi is valid
PASS: tools/trigger/test_list_triggers_cli 108 - list-trigger mi is valid
ok 109 - MI session rotation conditions: expected stdout
PASS: tools/trigger/test_list_triggers_cli 109 - MI session rotation conditions: expected stdout
ok 110 - MI session rotation conditions: expected stderr
PASS: tools/trigger/test_list_triggers_cli 110 - MI session rotation conditions: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger trigger-with-session-rotation-completed-condition 
ok 111 - Remove trigger trigger-with-session-rotation-completed-condition
PASS: tools/trigger/test_list_triggers_cli 111 - Remove trigger trigger-with-session-rotation-completed-condition
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger trigger-with-session-rotation-ongoing-condition 
ok 112 - Remove trigger trigger-with-session-rotation-ongoing-condition
PASS: tools/trigger/test_list_triggers_cli 112 - Remove trigger trigger-with-session-rotation-ongoing-condition
# Listing snapshot actions
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T0 --condition event-rule-matches --type=user --name=some-event --action snapshot-session ze-session
ok 113 - Add trigger T0
PASS: tools/trigger/test_list_triggers_cli 113 - Add trigger T0
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T1 --condition event-rule-matches --type=user --name=some-event --action snapshot-session ze-session --path /some/path
ok 114 - Add trigger T1
PASS: tools/trigger/test_list_triggers_cli 114 - Add trigger T1
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T2 --condition event-rule-matches --type=user --name=some-event --action snapshot-session ze-session --url file:///some/other/path
ok 115 - Add trigger T2
PASS: tools/trigger/test_list_triggers_cli 115 - Add trigger T2
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T3 --condition event-rule-matches --type=user --name=some-event --action snapshot-session ze-session --url net://1.2.3.4
ok 116 - Add trigger T3
PASS: tools/trigger/test_list_triggers_cli 116 - Add trigger T3
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T4 --condition event-rule-matches --type=user --name=some-event --action snapshot-session ze-session --url net://1.2.3.4:1234:1235
ok 117 - Add trigger T4
PASS: tools/trigger/test_list_triggers_cli 117 - Add trigger T4
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T5 --condition event-rule-matches --type=user --name=some-event --action snapshot-session ze-session --ctrl-url=tcp://1.2.3.4:1111 --data-url=tcp://1.2.3.4:1112
ok 118 - Add trigger T5
PASS: tools/trigger/test_list_triggers_cli 118 - Add trigger T5
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T6 --condition event-rule-matches --type=user --name=some-event --action snapshot-session ze-session --path /some/path --max-size=1234
ok 119 - Add trigger T6
PASS: tools/trigger/test_list_triggers_cli 119 - Add trigger T6
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T7 --condition event-rule-matches --type=user --name=some-event --action snapshot-session ze-session --path /some/path --name=meh
ok 120 - Add trigger T7
PASS: tools/trigger/test_list_triggers_cli 120 - Add trigger T7
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T8 --condition event-rule-matches --type=user --name=some-event --action snapshot-session ze-session --rate-policy=every:10
ok 121 - Add trigger T8
PASS: tools/trigger/test_list_triggers_cli 121 - Add trigger T8
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T9 --condition event-rule-matches --type=user --name=some-event --action snapshot-session ze-session --rate-policy=once-after:10
ok 122 - Add trigger T9
PASS: tools/trigger/test_list_triggers_cli 122 - Add trigger T9
# ./tools/trigger/../../../../src/bin/lttng/lttng list-triggers
ok 123 - snapshot action: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 123 - snapshot action: exit code is 0
ok 124 - snapshot action: expected stdout
PASS: tools/trigger/test_list_triggers_cli 124 - snapshot action: expected stdout
ok 125 - snapshot action: expected stderr
PASS: tools/trigger/test_list_triggers_cli 125 - snapshot action: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng --mi xml list-triggers
ok 126 - MI snapshot action: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 126 - MI snapshot action: exit code is 0
ok 127 - list-trigger mi is valid
PASS: tools/trigger/test_list_triggers_cli 127 - list-trigger mi is valid
ok 128 - MI snapshot action: expected stdout
PASS: tools/trigger/test_list_triggers_cli 128 - MI snapshot action: expected stdout
ok 129 - MI snapshot action: expected stderr
PASS: tools/trigger/test_list_triggers_cli 129 - MI snapshot action: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T0 
ok 130 - Remove trigger T0
PASS: tools/trigger/test_list_triggers_cli 130 - Remove trigger T0
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T1 
ok 131 - Remove trigger T1
PASS: tools/trigger/test_list_triggers_cli 131 - Remove trigger T1
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T2 
ok 132 - Remove trigger T2
PASS: tools/trigger/test_list_triggers_cli 132 - Remove trigger T2
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T3 
ok 133 - Remove trigger T3
PASS: tools/trigger/test_list_triggers_cli 133 - Remove trigger T3
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T4 
ok 134 - Remove trigger T4
PASS: tools/trigger/test_list_triggers_cli 134 - Remove trigger T4
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T5 
ok 135 - Remove trigger T5
PASS: tools/trigger/test_list_triggers_cli 135 - Remove trigger T5
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T6 
ok 136 - Remove trigger T6
PASS: tools/trigger/test_list_triggers_cli 136 - Remove trigger T6
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T7 
ok 137 - Remove trigger T7
PASS: tools/trigger/test_list_triggers_cli 137 - Remove trigger T7
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T8 
ok 138 - Remove trigger T8
PASS: tools/trigger/test_list_triggers_cli 138 - Remove trigger T8
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T9 
ok 139 - Remove trigger T9
PASS: tools/trigger/test_list_triggers_cli 139 - Remove trigger T9
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T0 --condition event-rule-matches --type=user --name=some-event --action notify --rate-policy=once-after:5
ok 140 - Add trigger T0
PASS: tools/trigger/test_list_triggers_cli 140 - Add trigger T0
# ./tools/trigger/../../../../src/bin/lttng/lttng add-trigger --name T1 --condition event-rule-matches --type=user --name=some-event --action notify --rate-policy=every:10
ok 141 - Add trigger T1
PASS: tools/trigger/test_list_triggers_cli 141 - Add trigger T1
# ./tools/trigger/../../../../src/bin/lttng/lttng list-triggers
ok 142 - notify action: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 142 - notify action: exit code is 0
ok 143 - notify action: expected stdout
PASS: tools/trigger/test_list_triggers_cli 143 - notify action: expected stdout
ok 144 - notify action: expected stderr
PASS: tools/trigger/test_list_triggers_cli 144 - notify action: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng --mi xml list-triggers
ok 145 - MI notify action: exit code is 0
PASS: tools/trigger/test_list_triggers_cli 145 - MI notify action: exit code is 0
ok 146 - list-trigger mi is valid
PASS: tools/trigger/test_list_triggers_cli 146 - list-trigger mi is valid
ok 147 - MI notify action: expected stdout
PASS: tools/trigger/test_list_triggers_cli 147 - MI notify action: expected stdout
ok 148 - MI notify action: expected stderr
PASS: tools/trigger/test_list_triggers_cli 148 - MI notify action: expected stderr
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T0 
ok 149 - Remove trigger T0
PASS: tools/trigger/test_list_triggers_cli 149 - Remove trigger T0
# ./tools/trigger/../../../../src/bin/lttng/lttng remove-trigger T1 
ok 150 - Remove trigger T1
PASS: tools/trigger/test_list_triggers_cli 150 - Remove trigger T1
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 26349 26350 

SKIP: ust/python-logging/test_python_logging
============================================

1..1
# Python support
ok 1 # skip: Python agent test skipped.
SKIP: ust/python-logging/test_python_logging 1 # SKIP : Python agent test skipped.

