==========================================================
   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: 16044)
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.hFT5Mg)
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.hFT5Mg)
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: 16080)
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: 16118)
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.zjnRYE)
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.zjnRYE)
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: 16158)
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: 16196)
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: 16247)
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.LZdyys)
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.LZdyys)
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: 16289)
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.S57g8e)
PASS: tools/clear/test_ust 1 - Start lttng-relayd (process mode: -b opt: -o /tmp/tmp.test_clear_ust_trace_path.S57g8e)
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 Dy3v1FviqHCYScS9 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 3 - Create session Dy3v1FviqHCYScS9 with uri:net://localhost and opts:
ok 4 - Enable channel chan for session Dy3v1FviqHCYScS9
PASS: tools/clear/test_ust 4 - Enable channel chan for session Dy3v1FviqHCYScS9
ok 5 - Enable ust event tp:tptest for session Dy3v1FviqHCYScS9
PASS: tools/clear/test_ust 5 - Enable ust event tp:tptest for session Dy3v1FviqHCYScS9
ok 6 - Start tracing for session Dy3v1FviqHCYScS9
PASS: tools/clear/test_ust 6 - Start tracing for session Dy3v1FviqHCYScS9
ok 7 - Clear session Dy3v1FviqHCYScS9
PASS: tools/clear/test_ust 7 - Clear session Dy3v1FviqHCYScS9
ok 8 - Stop lttng tracing for session Dy3v1FviqHCYScS9
PASS: tools/clear/test_ust 8 - Stop lttng tracing for session Dy3v1FviqHCYScS9
ok 9 - Validate empty trace
PASS: tools/clear/test_ust 9 - Validate empty trace
ok 10 - Destroy session Dy3v1FviqHCYScS9
PASS: tools/clear/test_ust 10 - Destroy session Dy3v1FviqHCYScS9
# 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 Oh6gx9KkeJf6wwCN with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 11 - Create session Oh6gx9KkeJf6wwCN with uri:net://localhost and opts:
ok 12 - Enable channel chan for session Oh6gx9KkeJf6wwCN
PASS: tools/clear/test_ust 12 - Enable channel chan for session Oh6gx9KkeJf6wwCN
ok 13 - Enable ust event tp:tptest for session Oh6gx9KkeJf6wwCN
PASS: tools/clear/test_ust 13 - Enable ust event tp:tptest for session Oh6gx9KkeJf6wwCN
ok 14 - Start tracing for session Oh6gx9KkeJf6wwCN
PASS: tools/clear/test_ust 14 - Start tracing for session Oh6gx9KkeJf6wwCN
ok 15 - Rotate session Oh6gx9KkeJf6wwCN
PASS: tools/clear/test_ust 15 - Rotate session Oh6gx9KkeJf6wwCN
ok 16 - Clear session Oh6gx9KkeJf6wwCN
PASS: tools/clear/test_ust 16 - Clear session Oh6gx9KkeJf6wwCN
ok 17 - Stop lttng tracing for session Oh6gx9KkeJf6wwCN
PASS: tools/clear/test_ust 17 - Stop lttng tracing for session Oh6gx9KkeJf6wwCN
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 Oh6gx9KkeJf6wwCN
PASS: tools/clear/test_ust 20 - Destroy session Oh6gx9KkeJf6wwCN
# 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 Ld5rYMSzs7FMKZpZ with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 21 - Create session Ld5rYMSzs7FMKZpZ with uri:net://localhost and opts:
ok 22 - Enable channel chan for session Ld5rYMSzs7FMKZpZ
PASS: tools/clear/test_ust 22 - Enable channel chan for session Ld5rYMSzs7FMKZpZ
ok 23 - Enable ust event tp:tptest for session Ld5rYMSzs7FMKZpZ
PASS: tools/clear/test_ust 23 - Enable ust event tp:tptest for session Ld5rYMSzs7FMKZpZ
ok 24 - Start tracing for session Ld5rYMSzs7FMKZpZ
PASS: tools/clear/test_ust 24 - Start tracing for session Ld5rYMSzs7FMKZpZ
ok 25 - Clear session Ld5rYMSzs7FMKZpZ
PASS: tools/clear/test_ust 25 - Clear session Ld5rYMSzs7FMKZpZ
ok 26 - Rotate session Ld5rYMSzs7FMKZpZ
PASS: tools/clear/test_ust 26 - Rotate session Ld5rYMSzs7FMKZpZ
ok 27 - Stop lttng tracing for session Ld5rYMSzs7FMKZpZ
PASS: tools/clear/test_ust 27 - Stop lttng tracing for session Ld5rYMSzs7FMKZpZ
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 Ld5rYMSzs7FMKZpZ
PASS: tools/clear/test_ust 30 - Destroy session Ld5rYMSzs7FMKZpZ
# 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 xL0NyHP4V7oonarO with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 31 - Create session xL0NyHP4V7oonarO with uri:net://localhost and opts:
ok 32 - Enable channel rotchan for session xL0NyHP4V7oonarO
PASS: tools/clear/test_ust 32 - Enable channel rotchan for session xL0NyHP4V7oonarO
ok 33 - Enable ust event tp:tptest for session xL0NyHP4V7oonarO
PASS: tools/clear/test_ust 33 - Enable ust event tp:tptest for session xL0NyHP4V7oonarO
ok 34 - Start tracing for session xL0NyHP4V7oonarO
PASS: tools/clear/test_ust 34 - Start tracing for session xL0NyHP4V7oonarO
ok 35 - Clear session xL0NyHP4V7oonarO
PASS: tools/clear/test_ust 35 - Clear session xL0NyHP4V7oonarO
ok 36 - Stop lttng tracing for session xL0NyHP4V7oonarO
PASS: tools/clear/test_ust 36 - Stop lttng tracing for session xL0NyHP4V7oonarO
ok 37 - Validate empty trace
PASS: tools/clear/test_ust 37 - Validate empty trace
ok 38 - Start tracing for session xL0NyHP4V7oonarO
PASS: tools/clear/test_ust 38 - Start tracing for session xL0NyHP4V7oonarO
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 xL0NyHP4V7oonarO
PASS: tools/clear/test_ust 42 - Destroy session xL0NyHP4V7oonarO
# 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 wKWnpnCRYGr0NMZj with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 43 - Create session wKWnpnCRYGr0NMZj with uri:net://localhost and opts:
ok 44 - Enable channel rotchan for session wKWnpnCRYGr0NMZj
PASS: tools/clear/test_ust 44 - Enable channel rotchan for session wKWnpnCRYGr0NMZj
ok 45 - Enable ust event tp:tptest for session wKWnpnCRYGr0NMZj
PASS: tools/clear/test_ust 45 - Enable ust event tp:tptest for session wKWnpnCRYGr0NMZj
ok 46 - Start tracing for session wKWnpnCRYGr0NMZj
PASS: tools/clear/test_ust 46 - Start tracing for session wKWnpnCRYGr0NMZj
ok 47 - Clear session wKWnpnCRYGr0NMZj
PASS: tools/clear/test_ust 47 - Clear session wKWnpnCRYGr0NMZj
ok 48 - Stop lttng tracing for session wKWnpnCRYGr0NMZj
PASS: tools/clear/test_ust 48 - Stop lttng tracing for session wKWnpnCRYGr0NMZj
ok 49 - Validate empty trace
PASS: tools/clear/test_ust 49 - Validate empty trace
ok 50 - Start tracing for session wKWnpnCRYGr0NMZj
PASS: tools/clear/test_ust 50 - Start tracing for session wKWnpnCRYGr0NMZj
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, 22 events
PASS: tools/clear/test_ust 52 - Validate trace for event tp:tptest, 22 events
ok 53 - Read a total of 22 events, expected between [1, 200000[
PASS: tools/clear/test_ust 53 - Read a total of 22 events, expected between [1, 200000[
ok 54 - Destroy session wKWnpnCRYGr0NMZj
PASS: tools/clear/test_ust 54 - Destroy session wKWnpnCRYGr0NMZj
# Test ust streaming clear no event
# Parameters: tracing_active=1, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 55 - Create session Wk9pu3PMoJLXmHL3 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 55 - Create session Wk9pu3PMoJLXmHL3 with uri:net://localhost and opts:
ok 56 - Enable channel chan for session Wk9pu3PMoJLXmHL3
PASS: tools/clear/test_ust 56 - Enable channel chan for session Wk9pu3PMoJLXmHL3
ok 57 - Enable ust event tp:tptest for session Wk9pu3PMoJLXmHL3
PASS: tools/clear/test_ust 57 - Enable ust event tp:tptest for session Wk9pu3PMoJLXmHL3
ok 58 - Start tracing for session Wk9pu3PMoJLXmHL3
PASS: tools/clear/test_ust 58 - Start tracing for session Wk9pu3PMoJLXmHL3
ok 59 - Clear session Wk9pu3PMoJLXmHL3
PASS: tools/clear/test_ust 59 - Clear session Wk9pu3PMoJLXmHL3
ok 60 - Stop lttng tracing for session Wk9pu3PMoJLXmHL3
PASS: tools/clear/test_ust 60 - Stop lttng tracing for session Wk9pu3PMoJLXmHL3
ok 61 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/Wk9pu3PMoJLXmHL3*" is empty
PASS: tools/clear/test_ust 61 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/Wk9pu3PMoJLXmHL3*" is empty
ok 62 - Destroy session Wk9pu3PMoJLXmHL3
PASS: tools/clear/test_ust 62 - Destroy session Wk9pu3PMoJLXmHL3
# Test ust streaming live clear
# Parameters: tracing_active=1, clear_twice=0, buffer_type=uid
ok 63 - Create session vaeL8LLmzFQ0PNqE with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 63 - Create session vaeL8LLmzFQ0PNqE with uri:net://localhost and opts: --live
ok 64 - Enable channel chan for session vaeL8LLmzFQ0PNqE
PASS: tools/clear/test_ust 64 - Enable channel chan for session vaeL8LLmzFQ0PNqE
ok 65 - Enable ust event tp:tptest for session vaeL8LLmzFQ0PNqE
PASS: tools/clear/test_ust 65 - Enable ust event tp:tptest for session vaeL8LLmzFQ0PNqE
ok 66 - Start tracing for session vaeL8LLmzFQ0PNqE
PASS: tools/clear/test_ust 66 - Start tracing for session vaeL8LLmzFQ0PNqE
ok 67 - Clear session vaeL8LLmzFQ0PNqE
PASS: tools/clear/test_ust 67 - Clear session vaeL8LLmzFQ0PNqE
ok 68 - Stop lttng tracing for session vaeL8LLmzFQ0PNqE
PASS: tools/clear/test_ust 68 - Stop lttng tracing for session vaeL8LLmzFQ0PNqE
ok 69 - Validate empty trace
PASS: tools/clear/test_ust 69 - Validate empty trace
ok 70 - Destroy session vaeL8LLmzFQ0PNqE
PASS: tools/clear/test_ust 70 - Destroy session vaeL8LLmzFQ0PNqE
# Test ust basic streaming live with viewer
# Parameters: tracing_active=1, clear_twice=0, buffer_type=uid
ok 71 - Create session 3p1fH9yBDBbYmDkY with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 71 - Create session 3p1fH9yBDBbYmDkY with uri:net://localhost and opts: --live
ok 72 - Enable channel chan for session 3p1fH9yBDBbYmDkY
PASS: tools/clear/test_ust 72 - Enable channel chan for session 3p1fH9yBDBbYmDkY
ok 73 - Enable ust event tp:tptest for session 3p1fH9yBDBbYmDkY
PASS: tools/clear/test_ust 73 - Enable ust event tp:tptest for session 3p1fH9yBDBbYmDkY
ok 74 - Start tracing for session 3p1fH9yBDBbYmDkY
PASS: tools/clear/test_ust 74 - Start tracing for session 3p1fH9yBDBbYmDkY
# 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 3p1fH9yBDBbYmDkY
PASS: tools/clear/test_ust 78 - Destroy session 3p1fH9yBDBbYmDkY
# 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 ctA3CmmpnF0NdJD4 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 82 - Create session ctA3CmmpnF0NdJD4 with uri:net://localhost and opts: --live
ok 83 - Enable channel chan for session ctA3CmmpnF0NdJD4
PASS: tools/clear/test_ust 83 - Enable channel chan for session ctA3CmmpnF0NdJD4
ok 84 - Enable ust event tp:tptest for session ctA3CmmpnF0NdJD4
PASS: tools/clear/test_ust 84 - Enable ust event tp:tptest for session ctA3CmmpnF0NdJD4
ok 85 - Start tracing for session ctA3CmmpnF0NdJD4
PASS: tools/clear/test_ust 85 - Start tracing for session ctA3CmmpnF0NdJD4
# 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 ctA3CmmpnF0NdJD4
PASS: tools/clear/test_ust 88 - Clear session ctA3CmmpnF0NdJD4
ok 89 - Stop lttng tracing for session ctA3CmmpnF0NdJD4
PASS: tools/clear/test_ust 89 - Stop lttng tracing for session ctA3CmmpnF0NdJD4
ok 90 - Destroy session ctA3CmmpnF0NdJD4
PASS: tools/clear/test_ust 90 - Destroy session ctA3CmmpnF0NdJD4
# 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 8wAgN0UzuQFPS5WJ with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 93 - Create session 8wAgN0UzuQFPS5WJ with uri:net://localhost and opts: --live
ok 94 - Enable channel chan for session 8wAgN0UzuQFPS5WJ
PASS: tools/clear/test_ust 94 - Enable channel chan for session 8wAgN0UzuQFPS5WJ
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 8wAgN0UzuQFPS5WJ
PASS: tools/clear/test_ust 96 - Enable ust event tp:tptest for session 8wAgN0UzuQFPS5WJ
ok 97 - Start tracing for session 8wAgN0UzuQFPS5WJ
PASS: tools/clear/test_ust 97 - Start tracing for session 8wAgN0UzuQFPS5WJ
# 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 8wAgN0UzuQFPS5WJ
PASS: tools/clear/test_ust 101 - Clear session 8wAgN0UzuQFPS5WJ
ok 102 - Enable event lttng_ust_statedump:start with filtering for session 8wAgN0UzuQFPS5WJ
PASS: tools/clear/test_ust 102 - Enable event lttng_ust_statedump:start with filtering for session 8wAgN0UzuQFPS5WJ
ok 103 - Enable event lttng_ust_statedump:end with filtering for session 8wAgN0UzuQFPS5WJ
PASS: tools/clear/test_ust 103 - Enable event lttng_ust_statedump:end with filtering for session 8wAgN0UzuQFPS5WJ
ok 104 - Statedump regenerate 8wAgN0UzuQFPS5WJ
PASS: tools/clear/test_ust 104 - Statedump regenerate 8wAgN0UzuQFPS5WJ
# 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 8wAgN0UzuQFPS5WJ
PASS: tools/clear/test_ust 106 - Stop lttng tracing for session 8wAgN0UzuQFPS5WJ
ok 107 - Destroy session 8wAgN0UzuQFPS5WJ
PASS: tools/clear/test_ust 107 - Destroy session 8wAgN0UzuQFPS5WJ
# 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 10TBi5DYQoQfi0hC in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 111 - Create session 10TBi5DYQoQfi0hC in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 112 - Enable channel chan for session 10TBi5DYQoQfi0hC
PASS: tools/clear/test_ust 112 - Enable channel chan for session 10TBi5DYQoQfi0hC
ok 113 - Enable ust event tp:tptest for session 10TBi5DYQoQfi0hC
PASS: tools/clear/test_ust 113 - Enable ust event tp:tptest for session 10TBi5DYQoQfi0hC
ok 114 - Start tracing for session 10TBi5DYQoQfi0hC
PASS: tools/clear/test_ust 114 - Start tracing for session 10TBi5DYQoQfi0hC
ok 115 - Clear session 10TBi5DYQoQfi0hC
PASS: tools/clear/test_ust 115 - Clear session 10TBi5DYQoQfi0hC
ok 116 - Stop lttng tracing for session 10TBi5DYQoQfi0hC
PASS: tools/clear/test_ust 116 - Stop lttng tracing for session 10TBi5DYQoQfi0hC
ok 117 - Validate empty trace
PASS: tools/clear/test_ust 117 - Validate empty trace
ok 118 - Destroy session 10TBi5DYQoQfi0hC
PASS: tools/clear/test_ust 118 - Destroy session 10TBi5DYQoQfi0hC
# 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 eY39F5IrdWxlZCsJ in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 119 - Create session eY39F5IrdWxlZCsJ in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 120 - Enable channel chan for session eY39F5IrdWxlZCsJ
PASS: tools/clear/test_ust 120 - Enable channel chan for session eY39F5IrdWxlZCsJ
ok 121 - Enable ust event tp:tptest for session eY39F5IrdWxlZCsJ
PASS: tools/clear/test_ust 121 - Enable ust event tp:tptest for session eY39F5IrdWxlZCsJ
ok 122 - Start tracing for session eY39F5IrdWxlZCsJ
PASS: tools/clear/test_ust 122 - Start tracing for session eY39F5IrdWxlZCsJ
ok 123 - Rotate session eY39F5IrdWxlZCsJ
PASS: tools/clear/test_ust 123 - Rotate session eY39F5IrdWxlZCsJ
ok 124 - Clear session eY39F5IrdWxlZCsJ
PASS: tools/clear/test_ust 124 - Clear session eY39F5IrdWxlZCsJ
ok 125 - Stop lttng tracing for session eY39F5IrdWxlZCsJ
PASS: tools/clear/test_ust 125 - Stop lttng tracing for session eY39F5IrdWxlZCsJ
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 eY39F5IrdWxlZCsJ
PASS: tools/clear/test_ust 128 - Destroy session eY39F5IrdWxlZCsJ
# 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 VjSGioPAkYTUezUI in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 129 - Create session VjSGioPAkYTUezUI in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 130 - Enable channel chan for session VjSGioPAkYTUezUI
PASS: tools/clear/test_ust 130 - Enable channel chan for session VjSGioPAkYTUezUI
ok 131 - Enable ust event tp:tptest for session VjSGioPAkYTUezUI
PASS: tools/clear/test_ust 131 - Enable ust event tp:tptest for session VjSGioPAkYTUezUI
ok 132 - Start tracing for session VjSGioPAkYTUezUI
PASS: tools/clear/test_ust 132 - Start tracing for session VjSGioPAkYTUezUI
ok 133 - Clear session VjSGioPAkYTUezUI
PASS: tools/clear/test_ust 133 - Clear session VjSGioPAkYTUezUI
ok 134 - Rotate session VjSGioPAkYTUezUI
PASS: tools/clear/test_ust 134 - Rotate session VjSGioPAkYTUezUI
ok 135 - Stop lttng tracing for session VjSGioPAkYTUezUI
PASS: tools/clear/test_ust 135 - Stop lttng tracing for session VjSGioPAkYTUezUI
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 VjSGioPAkYTUezUI
PASS: tools/clear/test_ust 138 - Destroy session VjSGioPAkYTUezUI
# Test ust local no event
# Parameters: tracing_active=1, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 139 - Create session 352jQe59a37Ux7CQ in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 139 - Create session 352jQe59a37Ux7CQ in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 140 - Enable channel chan for session 352jQe59a37Ux7CQ
PASS: tools/clear/test_ust 140 - Enable channel chan for session 352jQe59a37Ux7CQ
ok 141 - Enable ust event tp:tptest for session 352jQe59a37Ux7CQ
PASS: tools/clear/test_ust 141 - Enable ust event tp:tptest for session 352jQe59a37Ux7CQ
ok 142 - Start tracing for session 352jQe59a37Ux7CQ
PASS: tools/clear/test_ust 142 - Start tracing for session 352jQe59a37Ux7CQ
ok 143 - Clear session 352jQe59a37Ux7CQ
PASS: tools/clear/test_ust 143 - Clear session 352jQe59a37Ux7CQ
ok 144 - Stop lttng tracing for session 352jQe59a37Ux7CQ
PASS: tools/clear/test_ust 144 - Stop lttng tracing for session 352jQe59a37Ux7CQ
ok 145 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 145 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 146 - Destroy session 352jQe59a37Ux7CQ
PASS: tools/clear/test_ust 146 - Destroy session 352jQe59a37Ux7CQ
# Test ust streaming snapshot clear
# Parameters: tracing_active=1, clear_twice=0, buffer_type=uid
ok 147 - Create session 2hnRnEHB2bTqQtA5 with uri:net://localhost and opts: --snapshot
PASS: tools/clear/test_ust 147 - Create session 2hnRnEHB2bTqQtA5 with uri:net://localhost and opts: --snapshot
ok 148 - Enable channel snapshot for session 2hnRnEHB2bTqQtA5
PASS: tools/clear/test_ust 148 - Enable channel snapshot for session 2hnRnEHB2bTqQtA5
ok 149 - Enable ust event tp:tptest for session 2hnRnEHB2bTqQtA5
PASS: tools/clear/test_ust 149 - Enable ust event tp:tptest for session 2hnRnEHB2bTqQtA5
ok 150 - Start tracing for session 2hnRnEHB2bTqQtA5
PASS: tools/clear/test_ust 150 - Start tracing for session 2hnRnEHB2bTqQtA5
ok 151 - Snapshot recorded
PASS: tools/clear/test_ust 151 - Snapshot recorded
ok 152 - Stop lttng tracing for session 2hnRnEHB2bTqQtA5
PASS: tools/clear/test_ust 152 - Stop lttng tracing for session 2hnRnEHB2bTqQtA5
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 2hnRnEHB2bTqQtA5
PASS: tools/clear/test_ust 155 - Start tracing for session 2hnRnEHB2bTqQtA5
ok 156 - Clear session 2hnRnEHB2bTqQtA5
PASS: tools/clear/test_ust 156 - Clear session 2hnRnEHB2bTqQtA5
ok 157 - Snapshot recorded
PASS: tools/clear/test_ust 157 - Snapshot recorded
ok 158 - Stop lttng tracing for session 2hnRnEHB2bTqQtA5
PASS: tools/clear/test_ust 158 - Stop lttng tracing for session 2hnRnEHB2bTqQtA5
ok 159 - Validate empty trace
PASS: tools/clear/test_ust 159 - Validate empty trace
ok 160 - Start tracing for session 2hnRnEHB2bTqQtA5
PASS: tools/clear/test_ust 160 - Start tracing for session 2hnRnEHB2bTqQtA5
ok 161 - Snapshot recorded
PASS: tools/clear/test_ust 161 - Snapshot recorded
ok 162 - Stop lttng tracing for session 2hnRnEHB2bTqQtA5
PASS: tools/clear/test_ust 162 - Stop lttng tracing for session 2hnRnEHB2bTqQtA5
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 2hnRnEHB2bTqQtA5
PASS: tools/clear/test_ust 165 - Destroy session 2hnRnEHB2bTqQtA5
# Test ust local snapshot clear
# Parameters: tracing_active=1, clear_twice=0, buffer_type=uid
ok 166 - Create session 0Qef31QRyezwEKCv in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 166 - Create session 0Qef31QRyezwEKCv in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 167 - Enable channel snapshot for session 0Qef31QRyezwEKCv
PASS: tools/clear/test_ust 167 - Enable channel snapshot for session 0Qef31QRyezwEKCv
ok 168 - Enable ust event tp:tptest for session 0Qef31QRyezwEKCv
PASS: tools/clear/test_ust 168 - Enable ust event tp:tptest for session 0Qef31QRyezwEKCv
ok 169 - Start tracing for session 0Qef31QRyezwEKCv
PASS: tools/clear/test_ust 169 - Start tracing for session 0Qef31QRyezwEKCv
ok 170 - Snapshot recorded
PASS: tools/clear/test_ust 170 - Snapshot recorded
ok 171 - Stop lttng tracing for session 0Qef31QRyezwEKCv
PASS: tools/clear/test_ust 171 - Stop lttng tracing for session 0Qef31QRyezwEKCv
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 0Qef31QRyezwEKCv
PASS: tools/clear/test_ust 174 - Start tracing for session 0Qef31QRyezwEKCv
ok 175 - Clear session 0Qef31QRyezwEKCv
PASS: tools/clear/test_ust 175 - Clear session 0Qef31QRyezwEKCv
ok 176 - Snapshot recorded
PASS: tools/clear/test_ust 176 - Snapshot recorded
ok 177 - Stop lttng tracing for session 0Qef31QRyezwEKCv
PASS: tools/clear/test_ust 177 - Stop lttng tracing for session 0Qef31QRyezwEKCv
ok 178 - Validate empty trace
PASS: tools/clear/test_ust 178 - Validate empty trace
ok 179 - Start tracing for session 0Qef31QRyezwEKCv
PASS: tools/clear/test_ust 179 - Start tracing for session 0Qef31QRyezwEKCv
ok 180 - Snapshot recorded
PASS: tools/clear/test_ust 180 - Snapshot recorded
ok 181 - Stop lttng tracing for session 0Qef31QRyezwEKCv
PASS: tools/clear/test_ust 181 - Stop lttng tracing for session 0Qef31QRyezwEKCv
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 0Qef31QRyezwEKCv
PASS: tools/clear/test_ust 184 - Destroy session 0Qef31QRyezwEKCv
# Test ust streaming clear
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 185 - Create session C1rvldVCBOtcbfSr with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 185 - Create session C1rvldVCBOtcbfSr with uri:net://localhost and opts:
ok 186 - Enable channel chan for session C1rvldVCBOtcbfSr
PASS: tools/clear/test_ust 186 - Enable channel chan for session C1rvldVCBOtcbfSr
ok 187 - Enable ust event tp:tptest for session C1rvldVCBOtcbfSr
PASS: tools/clear/test_ust 187 - Enable ust event tp:tptest for session C1rvldVCBOtcbfSr
ok 188 - Start tracing for session C1rvldVCBOtcbfSr
PASS: tools/clear/test_ust 188 - Start tracing for session C1rvldVCBOtcbfSr
ok 189 - Clear session C1rvldVCBOtcbfSr
PASS: tools/clear/test_ust 189 - Clear session C1rvldVCBOtcbfSr
ok 190 - Clear session C1rvldVCBOtcbfSr
PASS: tools/clear/test_ust 190 - Clear session C1rvldVCBOtcbfSr
ok 191 - Stop lttng tracing for session C1rvldVCBOtcbfSr
PASS: tools/clear/test_ust 191 - Stop lttng tracing for session C1rvldVCBOtcbfSr
ok 192 - Validate empty trace
PASS: tools/clear/test_ust 192 - Validate empty trace
ok 193 - Destroy session C1rvldVCBOtcbfSr
PASS: tools/clear/test_ust 193 - Destroy session C1rvldVCBOtcbfSr
# 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 2sFOOw270AXjUeGy with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 194 - Create session 2sFOOw270AXjUeGy with uri:net://localhost and opts:
ok 195 - Enable channel chan for session 2sFOOw270AXjUeGy
PASS: tools/clear/test_ust 195 - Enable channel chan for session 2sFOOw270AXjUeGy
ok 196 - Enable ust event tp:tptest for session 2sFOOw270AXjUeGy
PASS: tools/clear/test_ust 196 - Enable ust event tp:tptest for session 2sFOOw270AXjUeGy
ok 197 - Start tracing for session 2sFOOw270AXjUeGy
PASS: tools/clear/test_ust 197 - Start tracing for session 2sFOOw270AXjUeGy
ok 198 - Rotate session 2sFOOw270AXjUeGy
PASS: tools/clear/test_ust 198 - Rotate session 2sFOOw270AXjUeGy
ok 199 - Clear session 2sFOOw270AXjUeGy
PASS: tools/clear/test_ust 199 - Clear session 2sFOOw270AXjUeGy
ok 200 - Clear session 2sFOOw270AXjUeGy
PASS: tools/clear/test_ust 200 - Clear session 2sFOOw270AXjUeGy
ok 201 - Stop lttng tracing for session 2sFOOw270AXjUeGy
PASS: tools/clear/test_ust 201 - Stop lttng tracing for session 2sFOOw270AXjUeGy
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 2sFOOw270AXjUeGy
PASS: tools/clear/test_ust 204 - Destroy session 2sFOOw270AXjUeGy
# 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 EXhkAk73dCwAXySa with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 205 - Create session EXhkAk73dCwAXySa with uri:net://localhost and opts:
ok 206 - Enable channel chan for session EXhkAk73dCwAXySa
PASS: tools/clear/test_ust 206 - Enable channel chan for session EXhkAk73dCwAXySa
ok 207 - Enable ust event tp:tptest for session EXhkAk73dCwAXySa
PASS: tools/clear/test_ust 207 - Enable ust event tp:tptest for session EXhkAk73dCwAXySa
ok 208 - Start tracing for session EXhkAk73dCwAXySa
PASS: tools/clear/test_ust 208 - Start tracing for session EXhkAk73dCwAXySa
ok 209 - Clear session EXhkAk73dCwAXySa
PASS: tools/clear/test_ust 209 - Clear session EXhkAk73dCwAXySa
ok 210 - Clear session EXhkAk73dCwAXySa
PASS: tools/clear/test_ust 210 - Clear session EXhkAk73dCwAXySa
ok 211 - Rotate session EXhkAk73dCwAXySa
PASS: tools/clear/test_ust 211 - Rotate session EXhkAk73dCwAXySa
ok 212 - Stop lttng tracing for session EXhkAk73dCwAXySa
PASS: tools/clear/test_ust 212 - Stop lttng tracing for session EXhkAk73dCwAXySa
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 EXhkAk73dCwAXySa
PASS: tools/clear/test_ust 215 - Destroy session EXhkAk73dCwAXySa
# 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 qdpV0OHtdBkrElLb with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 216 - Create session qdpV0OHtdBkrElLb with uri:net://localhost and opts:
ok 217 - Enable channel rotchan for session qdpV0OHtdBkrElLb
PASS: tools/clear/test_ust 217 - Enable channel rotchan for session qdpV0OHtdBkrElLb
ok 218 - Enable ust event tp:tptest for session qdpV0OHtdBkrElLb
PASS: tools/clear/test_ust 218 - Enable ust event tp:tptest for session qdpV0OHtdBkrElLb
ok 219 - Start tracing for session qdpV0OHtdBkrElLb
PASS: tools/clear/test_ust 219 - Start tracing for session qdpV0OHtdBkrElLb
ok 220 - Clear session qdpV0OHtdBkrElLb
PASS: tools/clear/test_ust 220 - Clear session qdpV0OHtdBkrElLb
ok 221 - Clear session qdpV0OHtdBkrElLb
PASS: tools/clear/test_ust 221 - Clear session qdpV0OHtdBkrElLb
ok 222 - Stop lttng tracing for session qdpV0OHtdBkrElLb
PASS: tools/clear/test_ust 222 - Stop lttng tracing for session qdpV0OHtdBkrElLb
ok 223 - Validate empty trace
PASS: tools/clear/test_ust 223 - Validate empty trace
ok 224 - Start tracing for session qdpV0OHtdBkrElLb
PASS: tools/clear/test_ust 224 - Start tracing for session qdpV0OHtdBkrElLb
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 qdpV0OHtdBkrElLb
PASS: tools/clear/test_ust 228 - Destroy session qdpV0OHtdBkrElLb
# 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 FL3aYdTMaYuTOjHM with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 229 - Create session FL3aYdTMaYuTOjHM with uri:net://localhost and opts:
ok 230 - Enable channel rotchan for session FL3aYdTMaYuTOjHM
PASS: tools/clear/test_ust 230 - Enable channel rotchan for session FL3aYdTMaYuTOjHM
ok 231 - Enable ust event tp:tptest for session FL3aYdTMaYuTOjHM
PASS: tools/clear/test_ust 231 - Enable ust event tp:tptest for session FL3aYdTMaYuTOjHM
ok 232 - Start tracing for session FL3aYdTMaYuTOjHM
PASS: tools/clear/test_ust 232 - Start tracing for session FL3aYdTMaYuTOjHM
ok 233 - Clear session FL3aYdTMaYuTOjHM
PASS: tools/clear/test_ust 233 - Clear session FL3aYdTMaYuTOjHM
ok 234 - Clear session FL3aYdTMaYuTOjHM
PASS: tools/clear/test_ust 234 - Clear session FL3aYdTMaYuTOjHM
ok 235 - Stop lttng tracing for session FL3aYdTMaYuTOjHM
PASS: tools/clear/test_ust 235 - Stop lttng tracing for session FL3aYdTMaYuTOjHM
ok 236 - Validate empty trace
PASS: tools/clear/test_ust 236 - Validate empty trace
ok 237 - Start tracing for session FL3aYdTMaYuTOjHM
PASS: tools/clear/test_ust 237 - Start tracing for session FL3aYdTMaYuTOjHM
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 FL3aYdTMaYuTOjHM
PASS: tools/clear/test_ust 241 - Destroy session FL3aYdTMaYuTOjHM
# Test ust streaming clear no event
# Parameters: tracing_active=1, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 242 - Create session MXuQoiEXsx5ot3oo with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 242 - Create session MXuQoiEXsx5ot3oo with uri:net://localhost and opts:
ok 243 - Enable channel chan for session MXuQoiEXsx5ot3oo
PASS: tools/clear/test_ust 243 - Enable channel chan for session MXuQoiEXsx5ot3oo
ok 244 - Enable ust event tp:tptest for session MXuQoiEXsx5ot3oo
PASS: tools/clear/test_ust 244 - Enable ust event tp:tptest for session MXuQoiEXsx5ot3oo
ok 245 - Start tracing for session MXuQoiEXsx5ot3oo
PASS: tools/clear/test_ust 245 - Start tracing for session MXuQoiEXsx5ot3oo
ok 246 - Clear session MXuQoiEXsx5ot3oo
PASS: tools/clear/test_ust 246 - Clear session MXuQoiEXsx5ot3oo
ok 247 - Clear session MXuQoiEXsx5ot3oo
PASS: tools/clear/test_ust 247 - Clear session MXuQoiEXsx5ot3oo
ok 248 - Stop lttng tracing for session MXuQoiEXsx5ot3oo
PASS: tools/clear/test_ust 248 - Stop lttng tracing for session MXuQoiEXsx5ot3oo
ok 249 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/MXuQoiEXsx5ot3oo*" is empty
PASS: tools/clear/test_ust 249 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/MXuQoiEXsx5ot3oo*" is empty
ok 250 - Destroy session MXuQoiEXsx5ot3oo
PASS: tools/clear/test_ust 250 - Destroy session MXuQoiEXsx5ot3oo
# Test ust streaming live clear
# Parameters: tracing_active=1, clear_twice=1, buffer_type=uid
ok 251 - Create session HVwHqBMrjsv35bhf with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 251 - Create session HVwHqBMrjsv35bhf with uri:net://localhost and opts: --live
ok 252 - Enable channel chan for session HVwHqBMrjsv35bhf
PASS: tools/clear/test_ust 252 - Enable channel chan for session HVwHqBMrjsv35bhf
ok 253 - Enable ust event tp:tptest for session HVwHqBMrjsv35bhf
PASS: tools/clear/test_ust 253 - Enable ust event tp:tptest for session HVwHqBMrjsv35bhf
ok 254 - Start tracing for session HVwHqBMrjsv35bhf
PASS: tools/clear/test_ust 254 - Start tracing for session HVwHqBMrjsv35bhf
ok 255 - Clear session HVwHqBMrjsv35bhf
PASS: tools/clear/test_ust 255 - Clear session HVwHqBMrjsv35bhf
ok 256 - Clear session HVwHqBMrjsv35bhf
PASS: tools/clear/test_ust 256 - Clear session HVwHqBMrjsv35bhf
ok 257 - Stop lttng tracing for session HVwHqBMrjsv35bhf
PASS: tools/clear/test_ust 257 - Stop lttng tracing for session HVwHqBMrjsv35bhf
ok 258 - Validate empty trace
PASS: tools/clear/test_ust 258 - Validate empty trace
ok 259 - Destroy session HVwHqBMrjsv35bhf
PASS: tools/clear/test_ust 259 - Destroy session HVwHqBMrjsv35bhf
# Test ust basic streaming live with viewer
# Parameters: tracing_active=1, clear_twice=1, buffer_type=uid
ok 260 - Create session 8za9xwQ3OrTzG3fg with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 260 - Create session 8za9xwQ3OrTzG3fg with uri:net://localhost and opts: --live
ok 261 - Enable channel chan for session 8za9xwQ3OrTzG3fg
PASS: tools/clear/test_ust 261 - Enable channel chan for session 8za9xwQ3OrTzG3fg
ok 262 - Enable ust event tp:tptest for session 8za9xwQ3OrTzG3fg
PASS: tools/clear/test_ust 262 - Enable ust event tp:tptest for session 8za9xwQ3OrTzG3fg
ok 263 - Start tracing for session 8za9xwQ3OrTzG3fg
PASS: tools/clear/test_ust 263 - Start tracing for session 8za9xwQ3OrTzG3fg
# 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 8za9xwQ3OrTzG3fg
PASS: tools/clear/test_ust 267 - Destroy session 8za9xwQ3OrTzG3fg
# 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 Gq775tS8v3QW12mm with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 271 - Create session Gq775tS8v3QW12mm with uri:net://localhost and opts: --live
ok 272 - Enable channel chan for session Gq775tS8v3QW12mm
PASS: tools/clear/test_ust 272 - Enable channel chan for session Gq775tS8v3QW12mm
ok 273 - Enable ust event tp:tptest for session Gq775tS8v3QW12mm
PASS: tools/clear/test_ust 273 - Enable ust event tp:tptest for session Gq775tS8v3QW12mm
ok 274 - Start tracing for session Gq775tS8v3QW12mm
PASS: tools/clear/test_ust 274 - Start tracing for session Gq775tS8v3QW12mm
# 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 Gq775tS8v3QW12mm
PASS: tools/clear/test_ust 277 - Clear session Gq775tS8v3QW12mm
ok 278 - Clear session Gq775tS8v3QW12mm
PASS: tools/clear/test_ust 278 - Clear session Gq775tS8v3QW12mm
ok 279 - Stop lttng tracing for session Gq775tS8v3QW12mm
PASS: tools/clear/test_ust 279 - Stop lttng tracing for session Gq775tS8v3QW12mm
ok 280 - Destroy session Gq775tS8v3QW12mm
PASS: tools/clear/test_ust 280 - Destroy session Gq775tS8v3QW12mm
# 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 85EUJqKm8DD0d9tQ with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 283 - Create session 85EUJqKm8DD0d9tQ with uri:net://localhost and opts: --live
ok 284 - Enable channel chan for session 85EUJqKm8DD0d9tQ
PASS: tools/clear/test_ust 284 - Enable channel chan for session 85EUJqKm8DD0d9tQ
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 85EUJqKm8DD0d9tQ
PASS: tools/clear/test_ust 286 - Enable ust event tp:tptest for session 85EUJqKm8DD0d9tQ
ok 287 - Start tracing for session 85EUJqKm8DD0d9tQ
PASS: tools/clear/test_ust 287 - Start tracing for session 85EUJqKm8DD0d9tQ
# 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 85EUJqKm8DD0d9tQ
PASS: tools/clear/test_ust 291 - Clear session 85EUJqKm8DD0d9tQ
ok 292 - Clear session 85EUJqKm8DD0d9tQ
PASS: tools/clear/test_ust 292 - Clear session 85EUJqKm8DD0d9tQ
ok 293 - Enable event lttng_ust_statedump:start with filtering for session 85EUJqKm8DD0d9tQ
PASS: tools/clear/test_ust 293 - Enable event lttng_ust_statedump:start with filtering for session 85EUJqKm8DD0d9tQ
ok 294 - Enable event lttng_ust_statedump:end with filtering for session 85EUJqKm8DD0d9tQ
PASS: tools/clear/test_ust 294 - Enable event lttng_ust_statedump:end with filtering for session 85EUJqKm8DD0d9tQ
ok 295 - Statedump regenerate 85EUJqKm8DD0d9tQ
PASS: tools/clear/test_ust 295 - Statedump regenerate 85EUJqKm8DD0d9tQ
# 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 85EUJqKm8DD0d9tQ
PASS: tools/clear/test_ust 297 - Stop lttng tracing for session 85EUJqKm8DD0d9tQ
ok 298 - Destroy session 85EUJqKm8DD0d9tQ
PASS: tools/clear/test_ust 298 - Destroy session 85EUJqKm8DD0d9tQ
# 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 k4NpGM1LVRQg2aTD in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 302 - Create session k4NpGM1LVRQg2aTD in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 303 - Enable channel chan for session k4NpGM1LVRQg2aTD
PASS: tools/clear/test_ust 303 - Enable channel chan for session k4NpGM1LVRQg2aTD
ok 304 - Enable ust event tp:tptest for session k4NpGM1LVRQg2aTD
PASS: tools/clear/test_ust 304 - Enable ust event tp:tptest for session k4NpGM1LVRQg2aTD
ok 305 - Start tracing for session k4NpGM1LVRQg2aTD
PASS: tools/clear/test_ust 305 - Start tracing for session k4NpGM1LVRQg2aTD
ok 306 - Clear session k4NpGM1LVRQg2aTD
PASS: tools/clear/test_ust 306 - Clear session k4NpGM1LVRQg2aTD
ok 307 - Clear session k4NpGM1LVRQg2aTD
PASS: tools/clear/test_ust 307 - Clear session k4NpGM1LVRQg2aTD
ok 308 - Stop lttng tracing for session k4NpGM1LVRQg2aTD
PASS: tools/clear/test_ust 308 - Stop lttng tracing for session k4NpGM1LVRQg2aTD
ok 309 - Validate empty trace
PASS: tools/clear/test_ust 309 - Validate empty trace
ok 310 - Destroy session k4NpGM1LVRQg2aTD
PASS: tools/clear/test_ust 310 - Destroy session k4NpGM1LVRQg2aTD
# 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 L5rIHLr5jyqAuMPj in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 311 - Create session L5rIHLr5jyqAuMPj in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 312 - Enable channel chan for session L5rIHLr5jyqAuMPj
PASS: tools/clear/test_ust 312 - Enable channel chan for session L5rIHLr5jyqAuMPj
ok 313 - Enable ust event tp:tptest for session L5rIHLr5jyqAuMPj
PASS: tools/clear/test_ust 313 - Enable ust event tp:tptest for session L5rIHLr5jyqAuMPj
ok 314 - Start tracing for session L5rIHLr5jyqAuMPj
PASS: tools/clear/test_ust 314 - Start tracing for session L5rIHLr5jyqAuMPj
ok 315 - Rotate session L5rIHLr5jyqAuMPj
PASS: tools/clear/test_ust 315 - Rotate session L5rIHLr5jyqAuMPj
ok 316 - Clear session L5rIHLr5jyqAuMPj
PASS: tools/clear/test_ust 316 - Clear session L5rIHLr5jyqAuMPj
ok 317 - Clear session L5rIHLr5jyqAuMPj
PASS: tools/clear/test_ust 317 - Clear session L5rIHLr5jyqAuMPj
ok 318 - Stop lttng tracing for session L5rIHLr5jyqAuMPj
PASS: tools/clear/test_ust 318 - Stop lttng tracing for session L5rIHLr5jyqAuMPj
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 L5rIHLr5jyqAuMPj
PASS: tools/clear/test_ust 321 - Destroy session L5rIHLr5jyqAuMPj
# 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 D8ydzsIByJCoFjP9 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 322 - Create session D8ydzsIByJCoFjP9 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 323 - Enable channel chan for session D8ydzsIByJCoFjP9
PASS: tools/clear/test_ust 323 - Enable channel chan for session D8ydzsIByJCoFjP9
ok 324 - Enable ust event tp:tptest for session D8ydzsIByJCoFjP9
PASS: tools/clear/test_ust 324 - Enable ust event tp:tptest for session D8ydzsIByJCoFjP9
ok 325 - Start tracing for session D8ydzsIByJCoFjP9
PASS: tools/clear/test_ust 325 - Start tracing for session D8ydzsIByJCoFjP9
ok 326 - Clear session D8ydzsIByJCoFjP9
PASS: tools/clear/test_ust 326 - Clear session D8ydzsIByJCoFjP9
ok 327 - Clear session D8ydzsIByJCoFjP9
PASS: tools/clear/test_ust 327 - Clear session D8ydzsIByJCoFjP9
ok 328 - Rotate session D8ydzsIByJCoFjP9
PASS: tools/clear/test_ust 328 - Rotate session D8ydzsIByJCoFjP9
ok 329 - Stop lttng tracing for session D8ydzsIByJCoFjP9
PASS: tools/clear/test_ust 329 - Stop lttng tracing for session D8ydzsIByJCoFjP9
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 D8ydzsIByJCoFjP9
PASS: tools/clear/test_ust 332 - Destroy session D8ydzsIByJCoFjP9
# Test ust local no event
# Parameters: tracing_active=1, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 333 - Create session JcFD6521MkTvgJ3E in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 333 - Create session JcFD6521MkTvgJ3E in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 334 - Enable channel chan for session JcFD6521MkTvgJ3E
PASS: tools/clear/test_ust 334 - Enable channel chan for session JcFD6521MkTvgJ3E
ok 335 - Enable ust event tp:tptest for session JcFD6521MkTvgJ3E
PASS: tools/clear/test_ust 335 - Enable ust event tp:tptest for session JcFD6521MkTvgJ3E
ok 336 - Start tracing for session JcFD6521MkTvgJ3E
PASS: tools/clear/test_ust 336 - Start tracing for session JcFD6521MkTvgJ3E
ok 337 - Clear session JcFD6521MkTvgJ3E
PASS: tools/clear/test_ust 337 - Clear session JcFD6521MkTvgJ3E
ok 338 - Clear session JcFD6521MkTvgJ3E
PASS: tools/clear/test_ust 338 - Clear session JcFD6521MkTvgJ3E
ok 339 - Stop lttng tracing for session JcFD6521MkTvgJ3E
PASS: tools/clear/test_ust 339 - Stop lttng tracing for session JcFD6521MkTvgJ3E
ok 340 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 340 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 341 - Destroy session JcFD6521MkTvgJ3E
PASS: tools/clear/test_ust 341 - Destroy session JcFD6521MkTvgJ3E
# Test ust streaming snapshot clear
# Parameters: tracing_active=1, clear_twice=1, buffer_type=uid
ok 342 - Create session uSWoqj0aRj4mb52S with uri:net://localhost and opts: --snapshot
PASS: tools/clear/test_ust 342 - Create session uSWoqj0aRj4mb52S with uri:net://localhost and opts: --snapshot
ok 343 - Enable channel snapshot for session uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 343 - Enable channel snapshot for session uSWoqj0aRj4mb52S
ok 344 - Enable ust event tp:tptest for session uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 344 - Enable ust event tp:tptest for session uSWoqj0aRj4mb52S
ok 345 - Start tracing for session uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 345 - Start tracing for session uSWoqj0aRj4mb52S
ok 346 - Snapshot recorded
PASS: tools/clear/test_ust 346 - Snapshot recorded
ok 347 - Stop lttng tracing for session uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 347 - Stop lttng tracing for session uSWoqj0aRj4mb52S
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 uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 350 - Start tracing for session uSWoqj0aRj4mb52S
ok 351 - Clear session uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 351 - Clear session uSWoqj0aRj4mb52S
ok 352 - Clear session uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 352 - Clear session uSWoqj0aRj4mb52S
ok 353 - Snapshot recorded
PASS: tools/clear/test_ust 353 - Snapshot recorded
ok 354 - Stop lttng tracing for session uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 354 - Stop lttng tracing for session uSWoqj0aRj4mb52S
ok 355 - Validate empty trace
PASS: tools/clear/test_ust 355 - Validate empty trace
ok 356 - Start tracing for session uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 356 - Start tracing for session uSWoqj0aRj4mb52S
ok 357 - Snapshot recorded
PASS: tools/clear/test_ust 357 - Snapshot recorded
ok 358 - Stop lttng tracing for session uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 358 - Stop lttng tracing for session uSWoqj0aRj4mb52S
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 uSWoqj0aRj4mb52S
PASS: tools/clear/test_ust 361 - Destroy session uSWoqj0aRj4mb52S
# Test ust local snapshot clear
# Parameters: tracing_active=1, clear_twice=1, buffer_type=uid
ok 362 - Create session tr0G5o54F8kn9pID in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 362 - Create session tr0G5o54F8kn9pID in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 363 - Enable channel snapshot for session tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 363 - Enable channel snapshot for session tr0G5o54F8kn9pID
ok 364 - Enable ust event tp:tptest for session tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 364 - Enable ust event tp:tptest for session tr0G5o54F8kn9pID
ok 365 - Start tracing for session tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 365 - Start tracing for session tr0G5o54F8kn9pID
ok 366 - Snapshot recorded
PASS: tools/clear/test_ust 366 - Snapshot recorded
ok 367 - Stop lttng tracing for session tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 367 - Stop lttng tracing for session tr0G5o54F8kn9pID
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 tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 370 - Start tracing for session tr0G5o54F8kn9pID
ok 371 - Clear session tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 371 - Clear session tr0G5o54F8kn9pID
ok 372 - Clear session tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 372 - Clear session tr0G5o54F8kn9pID
ok 373 - Snapshot recorded
PASS: tools/clear/test_ust 373 - Snapshot recorded
ok 374 - Stop lttng tracing for session tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 374 - Stop lttng tracing for session tr0G5o54F8kn9pID
ok 375 - Validate empty trace
PASS: tools/clear/test_ust 375 - Validate empty trace
ok 376 - Start tracing for session tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 376 - Start tracing for session tr0G5o54F8kn9pID
ok 377 - Snapshot recorded
PASS: tools/clear/test_ust 377 - Snapshot recorded
ok 378 - Stop lttng tracing for session tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 378 - Stop lttng tracing for session tr0G5o54F8kn9pID
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 tr0G5o54F8kn9pID
PASS: tools/clear/test_ust 381 - Destroy session tr0G5o54F8kn9pID
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=uid
ok 382 - Create session JAlHbe4mQlGUmO6f with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 382 - Create session JAlHbe4mQlGUmO6f with uri:net://localhost and opts:
ok 383 - Enable channel chan for session JAlHbe4mQlGUmO6f
PASS: tools/clear/test_ust 383 - Enable channel chan for session JAlHbe4mQlGUmO6f
ok 384 - Enable ust event tp:tptest for session JAlHbe4mQlGUmO6f
PASS: tools/clear/test_ust 384 - Enable ust event tp:tptest for session JAlHbe4mQlGUmO6f
ok 385 - Start tracing for session JAlHbe4mQlGUmO6f
PASS: tools/clear/test_ust 385 - Start tracing for session JAlHbe4mQlGUmO6f
ok 386 - Stop lttng tracing for session JAlHbe4mQlGUmO6f
PASS: tools/clear/test_ust 386 - Stop lttng tracing for session JAlHbe4mQlGUmO6f
ok 387 - Clear session JAlHbe4mQlGUmO6f
PASS: tools/clear/test_ust 387 - Clear session JAlHbe4mQlGUmO6f
ok 388 - Start tracing for session JAlHbe4mQlGUmO6f
PASS: tools/clear/test_ust 388 - Start tracing for session JAlHbe4mQlGUmO6f
ok 389 - Stop lttng tracing for session JAlHbe4mQlGUmO6f
PASS: tools/clear/test_ust 389 - Stop lttng tracing for session JAlHbe4mQlGUmO6f
ok 390 - Validate empty trace
PASS: tools/clear/test_ust 390 - Validate empty trace
ok 391 - Destroy session JAlHbe4mQlGUmO6f
PASS: tools/clear/test_ust 391 - Destroy session JAlHbe4mQlGUmO6f
# 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 4XKnAPtyXUIh3nMi with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 392 - Create session 4XKnAPtyXUIh3nMi with uri:net://localhost and opts:
ok 393 - Enable channel chan for session 4XKnAPtyXUIh3nMi
PASS: tools/clear/test_ust 393 - Enable channel chan for session 4XKnAPtyXUIh3nMi
ok 394 - Enable ust event tp:tptest for session 4XKnAPtyXUIh3nMi
PASS: tools/clear/test_ust 394 - Enable ust event tp:tptest for session 4XKnAPtyXUIh3nMi
ok 395 - Start tracing for session 4XKnAPtyXUIh3nMi
PASS: tools/clear/test_ust 395 - Start tracing for session 4XKnAPtyXUIh3nMi
ok 396 - Rotate session 4XKnAPtyXUIh3nMi
PASS: tools/clear/test_ust 396 - Rotate session 4XKnAPtyXUIh3nMi
ok 397 - Stop lttng tracing for session 4XKnAPtyXUIh3nMi
PASS: tools/clear/test_ust 397 - Stop lttng tracing for session 4XKnAPtyXUIh3nMi
ok 398 - Clear session 4XKnAPtyXUIh3nMi
PASS: tools/clear/test_ust 398 - Clear session 4XKnAPtyXUIh3nMi
ok 399 - Start tracing for session 4XKnAPtyXUIh3nMi
PASS: tools/clear/test_ust 399 - Start tracing for session 4XKnAPtyXUIh3nMi
ok 400 - Stop lttng tracing for session 4XKnAPtyXUIh3nMi
PASS: tools/clear/test_ust 400 - Stop lttng tracing for session 4XKnAPtyXUIh3nMi
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 4XKnAPtyXUIh3nMi
PASS: tools/clear/test_ust 403 - Destroy session 4XKnAPtyXUIh3nMi
# 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 8rtiAlSCYHAcf2xO with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 404 - Create session 8rtiAlSCYHAcf2xO with uri:net://localhost and opts:
ok 405 - Enable channel chan for session 8rtiAlSCYHAcf2xO
PASS: tools/clear/test_ust 405 - Enable channel chan for session 8rtiAlSCYHAcf2xO
ok 406 - Enable ust event tp:tptest for session 8rtiAlSCYHAcf2xO
PASS: tools/clear/test_ust 406 - Enable ust event tp:tptest for session 8rtiAlSCYHAcf2xO
ok 407 - Start tracing for session 8rtiAlSCYHAcf2xO
PASS: tools/clear/test_ust 407 - Start tracing for session 8rtiAlSCYHAcf2xO
ok 408 - Stop lttng tracing for session 8rtiAlSCYHAcf2xO
PASS: tools/clear/test_ust 408 - Stop lttng tracing for session 8rtiAlSCYHAcf2xO
ok 409 - Clear session 8rtiAlSCYHAcf2xO
PASS: tools/clear/test_ust 409 - Clear session 8rtiAlSCYHAcf2xO
ok 410 - Start tracing for session 8rtiAlSCYHAcf2xO
PASS: tools/clear/test_ust 410 - Start tracing for session 8rtiAlSCYHAcf2xO
ok 411 - Rotate session 8rtiAlSCYHAcf2xO
PASS: tools/clear/test_ust 411 - Rotate session 8rtiAlSCYHAcf2xO
ok 412 - Stop lttng tracing for session 8rtiAlSCYHAcf2xO
PASS: tools/clear/test_ust 412 - Stop lttng tracing for session 8rtiAlSCYHAcf2xO
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 8rtiAlSCYHAcf2xO
PASS: tools/clear/test_ust 415 - Destroy session 8rtiAlSCYHAcf2xO
# 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 MzQOO44WusaXqrzf with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 416 - Create session MzQOO44WusaXqrzf with uri:net://localhost and opts:
ok 417 - Enable channel rotchan for session MzQOO44WusaXqrzf
PASS: tools/clear/test_ust 417 - Enable channel rotchan for session MzQOO44WusaXqrzf
ok 418 - Enable ust event tp:tptest for session MzQOO44WusaXqrzf
PASS: tools/clear/test_ust 418 - Enable ust event tp:tptest for session MzQOO44WusaXqrzf
ok 419 - Start tracing for session MzQOO44WusaXqrzf
PASS: tools/clear/test_ust 419 - Start tracing for session MzQOO44WusaXqrzf
ok 420 - Stop lttng tracing for session MzQOO44WusaXqrzf
PASS: tools/clear/test_ust 420 - Stop lttng tracing for session MzQOO44WusaXqrzf
ok 421 - Clear session MzQOO44WusaXqrzf
PASS: tools/clear/test_ust 421 - Clear session MzQOO44WusaXqrzf
ok 422 - Start tracing for session MzQOO44WusaXqrzf
PASS: tools/clear/test_ust 422 - Start tracing for session MzQOO44WusaXqrzf
ok 423 - Stop lttng tracing for session MzQOO44WusaXqrzf
PASS: tools/clear/test_ust 423 - Stop lttng tracing for session MzQOO44WusaXqrzf
ok 424 - Validate empty trace
PASS: tools/clear/test_ust 424 - Validate empty trace
ok 425 - Start tracing for session MzQOO44WusaXqrzf
PASS: tools/clear/test_ust 425 - Start tracing for session MzQOO44WusaXqrzf
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 MzQOO44WusaXqrzf
PASS: tools/clear/test_ust 429 - Destroy session MzQOO44WusaXqrzf
# 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 q5BXcm8LmE0ZEadg with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 430 - Create session q5BXcm8LmE0ZEadg with uri:net://localhost and opts:
ok 431 - Enable channel rotchan for session q5BXcm8LmE0ZEadg
PASS: tools/clear/test_ust 431 - Enable channel rotchan for session q5BXcm8LmE0ZEadg
ok 432 - Enable ust event tp:tptest for session q5BXcm8LmE0ZEadg
PASS: tools/clear/test_ust 432 - Enable ust event tp:tptest for session q5BXcm8LmE0ZEadg
ok 433 - Start tracing for session q5BXcm8LmE0ZEadg
PASS: tools/clear/test_ust 433 - Start tracing for session q5BXcm8LmE0ZEadg
ok 434 - Stop lttng tracing for session q5BXcm8LmE0ZEadg
PASS: tools/clear/test_ust 434 - Stop lttng tracing for session q5BXcm8LmE0ZEadg
ok 435 - Clear session q5BXcm8LmE0ZEadg
PASS: tools/clear/test_ust 435 - Clear session q5BXcm8LmE0ZEadg
ok 436 - Start tracing for session q5BXcm8LmE0ZEadg
PASS: tools/clear/test_ust 436 - Start tracing for session q5BXcm8LmE0ZEadg
ok 437 - Stop lttng tracing for session q5BXcm8LmE0ZEadg
PASS: tools/clear/test_ust 437 - Stop lttng tracing for session q5BXcm8LmE0ZEadg
ok 438 - Validate empty trace
PASS: tools/clear/test_ust 438 - Validate empty trace
ok 439 - Start tracing for session q5BXcm8LmE0ZEadg
PASS: tools/clear/test_ust 439 - Start tracing for session q5BXcm8LmE0ZEadg
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 q5BXcm8LmE0ZEadg
PASS: tools/clear/test_ust 443 - Destroy session q5BXcm8LmE0ZEadg
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 444 - Create session 2K0u3rUkLFzpKyB4 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 444 - Create session 2K0u3rUkLFzpKyB4 with uri:net://localhost and opts:
ok 445 - Enable channel chan for session 2K0u3rUkLFzpKyB4
PASS: tools/clear/test_ust 445 - Enable channel chan for session 2K0u3rUkLFzpKyB4
ok 446 - Enable ust event tp:tptest for session 2K0u3rUkLFzpKyB4
PASS: tools/clear/test_ust 446 - Enable ust event tp:tptest for session 2K0u3rUkLFzpKyB4
ok 447 - Start tracing for session 2K0u3rUkLFzpKyB4
PASS: tools/clear/test_ust 447 - Start tracing for session 2K0u3rUkLFzpKyB4
ok 448 - Stop lttng tracing for session 2K0u3rUkLFzpKyB4
PASS: tools/clear/test_ust 448 - Stop lttng tracing for session 2K0u3rUkLFzpKyB4
ok 449 - Clear session 2K0u3rUkLFzpKyB4
PASS: tools/clear/test_ust 449 - Clear session 2K0u3rUkLFzpKyB4
ok 450 - Start tracing for session 2K0u3rUkLFzpKyB4
PASS: tools/clear/test_ust 450 - Start tracing for session 2K0u3rUkLFzpKyB4
ok 451 - Stop lttng tracing for session 2K0u3rUkLFzpKyB4
PASS: tools/clear/test_ust 451 - Stop lttng tracing for session 2K0u3rUkLFzpKyB4
ok 452 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/2K0u3rUkLFzpKyB4*" is empty
PASS: tools/clear/test_ust 452 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/2K0u3rUkLFzpKyB4*" is empty
ok 453 - Destroy session 2K0u3rUkLFzpKyB4
PASS: tools/clear/test_ust 453 - Destroy session 2K0u3rUkLFzpKyB4
# Test ust streaming live clear
# Parameters: tracing_active=0, clear_twice=0, buffer_type=uid
ok 454 - Create session O2O0oRa4v59QA983 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 454 - Create session O2O0oRa4v59QA983 with uri:net://localhost and opts: --live
ok 455 - Enable channel chan for session O2O0oRa4v59QA983
PASS: tools/clear/test_ust 455 - Enable channel chan for session O2O0oRa4v59QA983
ok 456 - Enable ust event tp:tptest for session O2O0oRa4v59QA983
PASS: tools/clear/test_ust 456 - Enable ust event tp:tptest for session O2O0oRa4v59QA983
ok 457 - Start tracing for session O2O0oRa4v59QA983
PASS: tools/clear/test_ust 457 - Start tracing for session O2O0oRa4v59QA983
ok 458 - Stop lttng tracing for session O2O0oRa4v59QA983
PASS: tools/clear/test_ust 458 - Stop lttng tracing for session O2O0oRa4v59QA983
ok 459 - Clear session O2O0oRa4v59QA983
PASS: tools/clear/test_ust 459 - Clear session O2O0oRa4v59QA983
ok 460 - Start tracing for session O2O0oRa4v59QA983
PASS: tools/clear/test_ust 460 - Start tracing for session O2O0oRa4v59QA983
ok 461 - Stop lttng tracing for session O2O0oRa4v59QA983
PASS: tools/clear/test_ust 461 - Stop lttng tracing for session O2O0oRa4v59QA983
ok 462 - Validate empty trace
PASS: tools/clear/test_ust 462 - Validate empty trace
ok 463 - Destroy session O2O0oRa4v59QA983
PASS: tools/clear/test_ust 463 - Destroy session O2O0oRa4v59QA983
# Test ust basic streaming live with viewer
# Parameters: tracing_active=0, clear_twice=0, buffer_type=uid
ok 464 - Create session I3UTJpWjBA4ETV99 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 464 - Create session I3UTJpWjBA4ETV99 with uri:net://localhost and opts: --live
ok 465 - Enable channel chan for session I3UTJpWjBA4ETV99
PASS: tools/clear/test_ust 465 - Enable channel chan for session I3UTJpWjBA4ETV99
ok 466 - Enable ust event tp:tptest for session I3UTJpWjBA4ETV99
PASS: tools/clear/test_ust 466 - Enable ust event tp:tptest for session I3UTJpWjBA4ETV99
ok 467 - Start tracing for session I3UTJpWjBA4ETV99
PASS: tools/clear/test_ust 467 - Start tracing for session I3UTJpWjBA4ETV99
# 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 I3UTJpWjBA4ETV99
PASS: tools/clear/test_ust 471 - Destroy session I3UTJpWjBA4ETV99
# 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 phIjXu15kcK2xHlg with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 475 - Create session phIjXu15kcK2xHlg with uri:net://localhost and opts: --live
ok 476 - Enable channel chan for session phIjXu15kcK2xHlg
PASS: tools/clear/test_ust 476 - Enable channel chan for session phIjXu15kcK2xHlg
ok 477 - Enable ust event tp:tptest for session phIjXu15kcK2xHlg
PASS: tools/clear/test_ust 477 - Enable ust event tp:tptest for session phIjXu15kcK2xHlg
ok 478 - Start tracing for session phIjXu15kcK2xHlg
PASS: tools/clear/test_ust 478 - Start tracing for session phIjXu15kcK2xHlg
# 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 phIjXu15kcK2xHlg
PASS: tools/clear/test_ust 481 - Stop lttng tracing for session phIjXu15kcK2xHlg
ok 482 - Clear session phIjXu15kcK2xHlg
PASS: tools/clear/test_ust 482 - Clear session phIjXu15kcK2xHlg
ok 483 - Start tracing for session phIjXu15kcK2xHlg
PASS: tools/clear/test_ust 483 - Start tracing for session phIjXu15kcK2xHlg
ok 484 - Stop lttng tracing for session phIjXu15kcK2xHlg
PASS: tools/clear/test_ust 484 - Stop lttng tracing for session phIjXu15kcK2xHlg
ok 485 - Destroy session phIjXu15kcK2xHlg
PASS: tools/clear/test_ust 485 - Destroy session phIjXu15kcK2xHlg
# 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 96eSRceUKmnS7EGM with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 488 - Create session 96eSRceUKmnS7EGM with uri:net://localhost and opts: --live
ok 489 - Enable channel chan for session 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 489 - Enable channel chan for session 96eSRceUKmnS7EGM
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 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 491 - Enable ust event tp:tptest for session 96eSRceUKmnS7EGM
ok 492 - Start tracing for session 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 492 - Start tracing for session 96eSRceUKmnS7EGM
# 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 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 496 - Stop lttng tracing for session 96eSRceUKmnS7EGM
ok 497 - Clear session 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 497 - Clear session 96eSRceUKmnS7EGM
ok 498 - Start tracing for session 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 498 - Start tracing for session 96eSRceUKmnS7EGM
ok 499 - Enable event lttng_ust_statedump:start with filtering for session 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 499 - Enable event lttng_ust_statedump:start with filtering for session 96eSRceUKmnS7EGM
ok 500 - Enable event lttng_ust_statedump:end with filtering for session 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 500 - Enable event lttng_ust_statedump:end with filtering for session 96eSRceUKmnS7EGM
ok 501 - Statedump regenerate 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 501 - Statedump regenerate 96eSRceUKmnS7EGM
# 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 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 503 - Stop lttng tracing for session 96eSRceUKmnS7EGM
ok 504 - Destroy session 96eSRceUKmnS7EGM
PASS: tools/clear/test_ust 504 - Destroy session 96eSRceUKmnS7EGM
# 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 U0xmkmyBwf6ti8WS in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 508 - Create session U0xmkmyBwf6ti8WS in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 509 - Enable channel chan for session U0xmkmyBwf6ti8WS
PASS: tools/clear/test_ust 509 - Enable channel chan for session U0xmkmyBwf6ti8WS
ok 510 - Enable ust event tp:tptest for session U0xmkmyBwf6ti8WS
PASS: tools/clear/test_ust 510 - Enable ust event tp:tptest for session U0xmkmyBwf6ti8WS
ok 511 - Start tracing for session U0xmkmyBwf6ti8WS
PASS: tools/clear/test_ust 511 - Start tracing for session U0xmkmyBwf6ti8WS
ok 512 - Stop lttng tracing for session U0xmkmyBwf6ti8WS
PASS: tools/clear/test_ust 512 - Stop lttng tracing for session U0xmkmyBwf6ti8WS
ok 513 - Clear session U0xmkmyBwf6ti8WS
PASS: tools/clear/test_ust 513 - Clear session U0xmkmyBwf6ti8WS
ok 514 - Start tracing for session U0xmkmyBwf6ti8WS
PASS: tools/clear/test_ust 514 - Start tracing for session U0xmkmyBwf6ti8WS
ok 515 - Stop lttng tracing for session U0xmkmyBwf6ti8WS
PASS: tools/clear/test_ust 515 - Stop lttng tracing for session U0xmkmyBwf6ti8WS
ok 516 - Validate empty trace
PASS: tools/clear/test_ust 516 - Validate empty trace
ok 517 - Destroy session U0xmkmyBwf6ti8WS
PASS: tools/clear/test_ust 517 - Destroy session U0xmkmyBwf6ti8WS
# 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 7sUNqwnsvopde7Dr in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 518 - Create session 7sUNqwnsvopde7Dr in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 519 - Enable channel chan for session 7sUNqwnsvopde7Dr
PASS: tools/clear/test_ust 519 - Enable channel chan for session 7sUNqwnsvopde7Dr
ok 520 - Enable ust event tp:tptest for session 7sUNqwnsvopde7Dr
PASS: tools/clear/test_ust 520 - Enable ust event tp:tptest for session 7sUNqwnsvopde7Dr
ok 521 - Start tracing for session 7sUNqwnsvopde7Dr
PASS: tools/clear/test_ust 521 - Start tracing for session 7sUNqwnsvopde7Dr
ok 522 - Rotate session 7sUNqwnsvopde7Dr
PASS: tools/clear/test_ust 522 - Rotate session 7sUNqwnsvopde7Dr
ok 523 - Stop lttng tracing for session 7sUNqwnsvopde7Dr
PASS: tools/clear/test_ust 523 - Stop lttng tracing for session 7sUNqwnsvopde7Dr
ok 524 - Clear session 7sUNqwnsvopde7Dr
PASS: tools/clear/test_ust 524 - Clear session 7sUNqwnsvopde7Dr
ok 525 - Start tracing for session 7sUNqwnsvopde7Dr
PASS: tools/clear/test_ust 525 - Start tracing for session 7sUNqwnsvopde7Dr
ok 526 - Stop lttng tracing for session 7sUNqwnsvopde7Dr
PASS: tools/clear/test_ust 526 - Stop lttng tracing for session 7sUNqwnsvopde7Dr
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 7sUNqwnsvopde7Dr
PASS: tools/clear/test_ust 529 - Destroy session 7sUNqwnsvopde7Dr
# 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 MTFV0nJkJIlqRd6m in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 530 - Create session MTFV0nJkJIlqRd6m in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 531 - Enable channel chan for session MTFV0nJkJIlqRd6m
PASS: tools/clear/test_ust 531 - Enable channel chan for session MTFV0nJkJIlqRd6m
ok 532 - Enable ust event tp:tptest for session MTFV0nJkJIlqRd6m
PASS: tools/clear/test_ust 532 - Enable ust event tp:tptest for session MTFV0nJkJIlqRd6m
ok 533 - Start tracing for session MTFV0nJkJIlqRd6m
PASS: tools/clear/test_ust 533 - Start tracing for session MTFV0nJkJIlqRd6m
ok 534 - Stop lttng tracing for session MTFV0nJkJIlqRd6m
PASS: tools/clear/test_ust 534 - Stop lttng tracing for session MTFV0nJkJIlqRd6m
ok 535 - Clear session MTFV0nJkJIlqRd6m
PASS: tools/clear/test_ust 535 - Clear session MTFV0nJkJIlqRd6m
ok 536 - Start tracing for session MTFV0nJkJIlqRd6m
PASS: tools/clear/test_ust 536 - Start tracing for session MTFV0nJkJIlqRd6m
ok 537 - Rotate session MTFV0nJkJIlqRd6m
PASS: tools/clear/test_ust 537 - Rotate session MTFV0nJkJIlqRd6m
ok 538 - Stop lttng tracing for session MTFV0nJkJIlqRd6m
PASS: tools/clear/test_ust 538 - Stop lttng tracing for session MTFV0nJkJIlqRd6m
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 MTFV0nJkJIlqRd6m
PASS: tools/clear/test_ust 541 - Destroy session MTFV0nJkJIlqRd6m
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 542 - Create session DGxpnZDOxPgC3zCi in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 542 - Create session DGxpnZDOxPgC3zCi in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 543 - Enable channel chan for session DGxpnZDOxPgC3zCi
PASS: tools/clear/test_ust 543 - Enable channel chan for session DGxpnZDOxPgC3zCi
ok 544 - Enable ust event tp:tptest for session DGxpnZDOxPgC3zCi
PASS: tools/clear/test_ust 544 - Enable ust event tp:tptest for session DGxpnZDOxPgC3zCi
ok 545 - Start tracing for session DGxpnZDOxPgC3zCi
PASS: tools/clear/test_ust 545 - Start tracing for session DGxpnZDOxPgC3zCi
ok 546 - Stop lttng tracing for session DGxpnZDOxPgC3zCi
PASS: tools/clear/test_ust 546 - Stop lttng tracing for session DGxpnZDOxPgC3zCi
ok 547 - Clear session DGxpnZDOxPgC3zCi
PASS: tools/clear/test_ust 547 - Clear session DGxpnZDOxPgC3zCi
ok 548 - Start tracing for session DGxpnZDOxPgC3zCi
PASS: tools/clear/test_ust 548 - Start tracing for session DGxpnZDOxPgC3zCi
ok 549 - Stop lttng tracing for session DGxpnZDOxPgC3zCi
PASS: tools/clear/test_ust 549 - Stop lttng tracing for session DGxpnZDOxPgC3zCi
ok 550 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 550 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 551 - Destroy session DGxpnZDOxPgC3zCi
PASS: tools/clear/test_ust 551 - Destroy session DGxpnZDOxPgC3zCi
# Test ust streaming snapshot clear
# Parameters: tracing_active=0, clear_twice=0, buffer_type=uid
ok 552 - Create session IrSeYbxSmMbTdBVz with uri:net://localhost and opts: --snapshot
PASS: tools/clear/test_ust 552 - Create session IrSeYbxSmMbTdBVz with uri:net://localhost and opts: --snapshot
ok 553 - Enable channel snapshot for session IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 553 - Enable channel snapshot for session IrSeYbxSmMbTdBVz
ok 554 - Enable ust event tp:tptest for session IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 554 - Enable ust event tp:tptest for session IrSeYbxSmMbTdBVz
ok 555 - Start tracing for session IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 555 - Start tracing for session IrSeYbxSmMbTdBVz
ok 556 - Snapshot recorded
PASS: tools/clear/test_ust 556 - Snapshot recorded
ok 557 - Stop lttng tracing for session IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 557 - Stop lttng tracing for session IrSeYbxSmMbTdBVz
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 IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 560 - Start tracing for session IrSeYbxSmMbTdBVz
ok 561 - Stop lttng tracing for session IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 561 - Stop lttng tracing for session IrSeYbxSmMbTdBVz
ok 562 - Clear session IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 562 - Clear session IrSeYbxSmMbTdBVz
ok 563 - Start tracing for session IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 563 - Start tracing for session IrSeYbxSmMbTdBVz
ok 564 - Snapshot recorded
PASS: tools/clear/test_ust 564 - Snapshot recorded
ok 565 - Stop lttng tracing for session IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 565 - Stop lttng tracing for session IrSeYbxSmMbTdBVz
ok 566 - Validate empty trace
PASS: tools/clear/test_ust 566 - Validate empty trace
ok 567 - Start tracing for session IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 567 - Start tracing for session IrSeYbxSmMbTdBVz
ok 568 - Snapshot recorded
PASS: tools/clear/test_ust 568 - Snapshot recorded
ok 569 - Stop lttng tracing for session IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 569 - Stop lttng tracing for session IrSeYbxSmMbTdBVz
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 IrSeYbxSmMbTdBVz
PASS: tools/clear/test_ust 572 - Destroy session IrSeYbxSmMbTdBVz
# Test ust local snapshot clear
# Parameters: tracing_active=0, clear_twice=0, buffer_type=uid
ok 573 - Create session sobzuPbGABZZdFKh in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 573 - Create session sobzuPbGABZZdFKh in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 574 - Enable channel snapshot for session sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 574 - Enable channel snapshot for session sobzuPbGABZZdFKh
ok 575 - Enable ust event tp:tptest for session sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 575 - Enable ust event tp:tptest for session sobzuPbGABZZdFKh
ok 576 - Start tracing for session sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 576 - Start tracing for session sobzuPbGABZZdFKh
ok 577 - Snapshot recorded
PASS: tools/clear/test_ust 577 - Snapshot recorded
ok 578 - Stop lttng tracing for session sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 578 - Stop lttng tracing for session sobzuPbGABZZdFKh
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 sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 581 - Start tracing for session sobzuPbGABZZdFKh
ok 582 - Stop lttng tracing for session sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 582 - Stop lttng tracing for session sobzuPbGABZZdFKh
ok 583 - Clear session sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 583 - Clear session sobzuPbGABZZdFKh
ok 584 - Start tracing for session sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 584 - Start tracing for session sobzuPbGABZZdFKh
ok 585 - Snapshot recorded
PASS: tools/clear/test_ust 585 - Snapshot recorded
ok 586 - Stop lttng tracing for session sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 586 - Stop lttng tracing for session sobzuPbGABZZdFKh
ok 587 - Validate empty trace
PASS: tools/clear/test_ust 587 - Validate empty trace
ok 588 - Start tracing for session sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 588 - Start tracing for session sobzuPbGABZZdFKh
ok 589 - Snapshot recorded
PASS: tools/clear/test_ust 589 - Snapshot recorded
ok 590 - Stop lttng tracing for session sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 590 - Stop lttng tracing for session sobzuPbGABZZdFKh
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 sobzuPbGABZZdFKh
PASS: tools/clear/test_ust 593 - Destroy session sobzuPbGABZZdFKh
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=uid
ok 594 - Create session W0sjiG5SDFJoNqQv with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 594 - Create session W0sjiG5SDFJoNqQv with uri:net://localhost and opts:
ok 595 - Enable channel chan for session W0sjiG5SDFJoNqQv
PASS: tools/clear/test_ust 595 - Enable channel chan for session W0sjiG5SDFJoNqQv
ok 596 - Enable ust event tp:tptest for session W0sjiG5SDFJoNqQv
PASS: tools/clear/test_ust 596 - Enable ust event tp:tptest for session W0sjiG5SDFJoNqQv
ok 597 - Start tracing for session W0sjiG5SDFJoNqQv
PASS: tools/clear/test_ust 597 - Start tracing for session W0sjiG5SDFJoNqQv
ok 598 - Stop lttng tracing for session W0sjiG5SDFJoNqQv
PASS: tools/clear/test_ust 598 - Stop lttng tracing for session W0sjiG5SDFJoNqQv
ok 599 - Clear session W0sjiG5SDFJoNqQv
PASS: tools/clear/test_ust 599 - Clear session W0sjiG5SDFJoNqQv
ok 600 - Clear session W0sjiG5SDFJoNqQv
PASS: tools/clear/test_ust 600 - Clear session W0sjiG5SDFJoNqQv
ok 601 - Start tracing for session W0sjiG5SDFJoNqQv
PASS: tools/clear/test_ust 601 - Start tracing for session W0sjiG5SDFJoNqQv
ok 602 - Stop lttng tracing for session W0sjiG5SDFJoNqQv
PASS: tools/clear/test_ust 602 - Stop lttng tracing for session W0sjiG5SDFJoNqQv
ok 603 - Validate empty trace
PASS: tools/clear/test_ust 603 - Validate empty trace
ok 604 - Destroy session W0sjiG5SDFJoNqQv
PASS: tools/clear/test_ust 604 - Destroy session W0sjiG5SDFJoNqQv
# 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 EFrVlVHJMuYqD2nj with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 605 - Create session EFrVlVHJMuYqD2nj with uri:net://localhost and opts:
ok 606 - Enable channel chan for session EFrVlVHJMuYqD2nj
PASS: tools/clear/test_ust 606 - Enable channel chan for session EFrVlVHJMuYqD2nj
ok 607 - Enable ust event tp:tptest for session EFrVlVHJMuYqD2nj
PASS: tools/clear/test_ust 607 - Enable ust event tp:tptest for session EFrVlVHJMuYqD2nj
ok 608 - Start tracing for session EFrVlVHJMuYqD2nj
PASS: tools/clear/test_ust 608 - Start tracing for session EFrVlVHJMuYqD2nj
ok 609 - Rotate session EFrVlVHJMuYqD2nj
PASS: tools/clear/test_ust 609 - Rotate session EFrVlVHJMuYqD2nj
ok 610 - Stop lttng tracing for session EFrVlVHJMuYqD2nj
PASS: tools/clear/test_ust 610 - Stop lttng tracing for session EFrVlVHJMuYqD2nj
ok 611 - Clear session EFrVlVHJMuYqD2nj
PASS: tools/clear/test_ust 611 - Clear session EFrVlVHJMuYqD2nj
ok 612 - Clear session EFrVlVHJMuYqD2nj
PASS: tools/clear/test_ust 612 - Clear session EFrVlVHJMuYqD2nj
ok 613 - Start tracing for session EFrVlVHJMuYqD2nj
PASS: tools/clear/test_ust 613 - Start tracing for session EFrVlVHJMuYqD2nj
ok 614 - Stop lttng tracing for session EFrVlVHJMuYqD2nj
PASS: tools/clear/test_ust 614 - Stop lttng tracing for session EFrVlVHJMuYqD2nj
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 EFrVlVHJMuYqD2nj
PASS: tools/clear/test_ust 617 - Destroy session EFrVlVHJMuYqD2nj
# 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 qQYDFY31XlHUEvxC with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 618 - Create session qQYDFY31XlHUEvxC with uri:net://localhost and opts:
ok 619 - Enable channel chan for session qQYDFY31XlHUEvxC
PASS: tools/clear/test_ust 619 - Enable channel chan for session qQYDFY31XlHUEvxC
ok 620 - Enable ust event tp:tptest for session qQYDFY31XlHUEvxC
PASS: tools/clear/test_ust 620 - Enable ust event tp:tptest for session qQYDFY31XlHUEvxC
ok 621 - Start tracing for session qQYDFY31XlHUEvxC
PASS: tools/clear/test_ust 621 - Start tracing for session qQYDFY31XlHUEvxC
ok 622 - Stop lttng tracing for session qQYDFY31XlHUEvxC
PASS: tools/clear/test_ust 622 - Stop lttng tracing for session qQYDFY31XlHUEvxC
ok 623 - Clear session qQYDFY31XlHUEvxC
PASS: tools/clear/test_ust 623 - Clear session qQYDFY31XlHUEvxC
ok 624 - Clear session qQYDFY31XlHUEvxC
PASS: tools/clear/test_ust 624 - Clear session qQYDFY31XlHUEvxC
ok 625 - Start tracing for session qQYDFY31XlHUEvxC
PASS: tools/clear/test_ust 625 - Start tracing for session qQYDFY31XlHUEvxC
ok 626 - Rotate session qQYDFY31XlHUEvxC
PASS: tools/clear/test_ust 626 - Rotate session qQYDFY31XlHUEvxC
ok 627 - Stop lttng tracing for session qQYDFY31XlHUEvxC
PASS: tools/clear/test_ust 627 - Stop lttng tracing for session qQYDFY31XlHUEvxC
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 qQYDFY31XlHUEvxC
PASS: tools/clear/test_ust 630 - Destroy session qQYDFY31XlHUEvxC
# 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 bpT0Cz1Duy0hxK02 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 631 - Create session bpT0Cz1Duy0hxK02 with uri:net://localhost and opts:
ok 632 - Enable channel rotchan for session bpT0Cz1Duy0hxK02
PASS: tools/clear/test_ust 632 - Enable channel rotchan for session bpT0Cz1Duy0hxK02
ok 633 - Enable ust event tp:tptest for session bpT0Cz1Duy0hxK02
PASS: tools/clear/test_ust 633 - Enable ust event tp:tptest for session bpT0Cz1Duy0hxK02
ok 634 - Start tracing for session bpT0Cz1Duy0hxK02
PASS: tools/clear/test_ust 634 - Start tracing for session bpT0Cz1Duy0hxK02
ok 635 - Stop lttng tracing for session bpT0Cz1Duy0hxK02
PASS: tools/clear/test_ust 635 - Stop lttng tracing for session bpT0Cz1Duy0hxK02
ok 636 - Clear session bpT0Cz1Duy0hxK02
PASS: tools/clear/test_ust 636 - Clear session bpT0Cz1Duy0hxK02
ok 637 - Clear session bpT0Cz1Duy0hxK02
PASS: tools/clear/test_ust 637 - Clear session bpT0Cz1Duy0hxK02
ok 638 - Start tracing for session bpT0Cz1Duy0hxK02
PASS: tools/clear/test_ust 638 - Start tracing for session bpT0Cz1Duy0hxK02
ok 639 - Stop lttng tracing for session bpT0Cz1Duy0hxK02
PASS: tools/clear/test_ust 639 - Stop lttng tracing for session bpT0Cz1Duy0hxK02
ok 640 - Validate empty trace
PASS: tools/clear/test_ust 640 - Validate empty trace
ok 641 - Start tracing for session bpT0Cz1Duy0hxK02
PASS: tools/clear/test_ust 641 - Start tracing for session bpT0Cz1Duy0hxK02
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 bpT0Cz1Duy0hxK02
PASS: tools/clear/test_ust 645 - Destroy session bpT0Cz1Duy0hxK02
# 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 UrcUWbOTLv56TGdo with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 646 - Create session UrcUWbOTLv56TGdo with uri:net://localhost and opts:
ok 647 - Enable channel rotchan for session UrcUWbOTLv56TGdo
PASS: tools/clear/test_ust 647 - Enable channel rotchan for session UrcUWbOTLv56TGdo
ok 648 - Enable ust event tp:tptest for session UrcUWbOTLv56TGdo
PASS: tools/clear/test_ust 648 - Enable ust event tp:tptest for session UrcUWbOTLv56TGdo
ok 649 - Start tracing for session UrcUWbOTLv56TGdo
PASS: tools/clear/test_ust 649 - Start tracing for session UrcUWbOTLv56TGdo
ok 650 - Stop lttng tracing for session UrcUWbOTLv56TGdo
PASS: tools/clear/test_ust 650 - Stop lttng tracing for session UrcUWbOTLv56TGdo
ok 651 - Clear session UrcUWbOTLv56TGdo
PASS: tools/clear/test_ust 651 - Clear session UrcUWbOTLv56TGdo
ok 652 - Clear session UrcUWbOTLv56TGdo
PASS: tools/clear/test_ust 652 - Clear session UrcUWbOTLv56TGdo
ok 653 - Start tracing for session UrcUWbOTLv56TGdo
PASS: tools/clear/test_ust 653 - Start tracing for session UrcUWbOTLv56TGdo
ok 654 - Stop lttng tracing for session UrcUWbOTLv56TGdo
PASS: tools/clear/test_ust 654 - Stop lttng tracing for session UrcUWbOTLv56TGdo
ok 655 - Validate empty trace
PASS: tools/clear/test_ust 655 - Validate empty trace
ok 656 - Start tracing for session UrcUWbOTLv56TGdo
PASS: tools/clear/test_ust 656 - Start tracing for session UrcUWbOTLv56TGdo
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 UrcUWbOTLv56TGdo
PASS: tools/clear/test_ust 660 - Destroy session UrcUWbOTLv56TGdo
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 661 - Create session rElm9poG9huQz1FC with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 661 - Create session rElm9poG9huQz1FC with uri:net://localhost and opts:
ok 662 - Enable channel chan for session rElm9poG9huQz1FC
PASS: tools/clear/test_ust 662 - Enable channel chan for session rElm9poG9huQz1FC
ok 663 - Enable ust event tp:tptest for session rElm9poG9huQz1FC
PASS: tools/clear/test_ust 663 - Enable ust event tp:tptest for session rElm9poG9huQz1FC
ok 664 - Start tracing for session rElm9poG9huQz1FC
PASS: tools/clear/test_ust 664 - Start tracing for session rElm9poG9huQz1FC
ok 665 - Stop lttng tracing for session rElm9poG9huQz1FC
PASS: tools/clear/test_ust 665 - Stop lttng tracing for session rElm9poG9huQz1FC
ok 666 - Clear session rElm9poG9huQz1FC
PASS: tools/clear/test_ust 666 - Clear session rElm9poG9huQz1FC
ok 667 - Clear session rElm9poG9huQz1FC
PASS: tools/clear/test_ust 667 - Clear session rElm9poG9huQz1FC
ok 668 - Start tracing for session rElm9poG9huQz1FC
PASS: tools/clear/test_ust 668 - Start tracing for session rElm9poG9huQz1FC
ok 669 - Stop lttng tracing for session rElm9poG9huQz1FC
PASS: tools/clear/test_ust 669 - Stop lttng tracing for session rElm9poG9huQz1FC
ok 670 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/rElm9poG9huQz1FC*" is empty
PASS: tools/clear/test_ust 670 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/rElm9poG9huQz1FC*" is empty
ok 671 - Destroy session rElm9poG9huQz1FC
PASS: tools/clear/test_ust 671 - Destroy session rElm9poG9huQz1FC
# Test ust streaming live clear
# Parameters: tracing_active=0, clear_twice=1, buffer_type=uid
ok 672 - Create session HmYEEQCZJuUJquqe with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 672 - Create session HmYEEQCZJuUJquqe with uri:net://localhost and opts: --live
ok 673 - Enable channel chan for session HmYEEQCZJuUJquqe
PASS: tools/clear/test_ust 673 - Enable channel chan for session HmYEEQCZJuUJquqe
ok 674 - Enable ust event tp:tptest for session HmYEEQCZJuUJquqe
PASS: tools/clear/test_ust 674 - Enable ust event tp:tptest for session HmYEEQCZJuUJquqe
ok 675 - Start tracing for session HmYEEQCZJuUJquqe
PASS: tools/clear/test_ust 675 - Start tracing for session HmYEEQCZJuUJquqe
ok 676 - Stop lttng tracing for session HmYEEQCZJuUJquqe
PASS: tools/clear/test_ust 676 - Stop lttng tracing for session HmYEEQCZJuUJquqe
ok 677 - Clear session HmYEEQCZJuUJquqe
PASS: tools/clear/test_ust 677 - Clear session HmYEEQCZJuUJquqe
ok 678 - Clear session HmYEEQCZJuUJquqe
PASS: tools/clear/test_ust 678 - Clear session HmYEEQCZJuUJquqe
ok 679 - Start tracing for session HmYEEQCZJuUJquqe
PASS: tools/clear/test_ust 679 - Start tracing for session HmYEEQCZJuUJquqe
ok 680 - Stop lttng tracing for session HmYEEQCZJuUJquqe
PASS: tools/clear/test_ust 680 - Stop lttng tracing for session HmYEEQCZJuUJquqe
ok 681 - Validate empty trace
PASS: tools/clear/test_ust 681 - Validate empty trace
ok 682 - Destroy session HmYEEQCZJuUJquqe
PASS: tools/clear/test_ust 682 - Destroy session HmYEEQCZJuUJquqe
# Test ust basic streaming live with viewer
# Parameters: tracing_active=0, clear_twice=1, buffer_type=uid
ok 683 - Create session hXKoRcq42GSR25oT with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 683 - Create session hXKoRcq42GSR25oT with uri:net://localhost and opts: --live
ok 684 - Enable channel chan for session hXKoRcq42GSR25oT
PASS: tools/clear/test_ust 684 - Enable channel chan for session hXKoRcq42GSR25oT
ok 685 - Enable ust event tp:tptest for session hXKoRcq42GSR25oT
PASS: tools/clear/test_ust 685 - Enable ust event tp:tptest for session hXKoRcq42GSR25oT
ok 686 - Start tracing for session hXKoRcq42GSR25oT
PASS: tools/clear/test_ust 686 - Start tracing for session hXKoRcq42GSR25oT
# 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 hXKoRcq42GSR25oT
PASS: tools/clear/test_ust 690 - Destroy session hXKoRcq42GSR25oT
# 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 EnBrcsRCCV8jI4pY with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 694 - Create session EnBrcsRCCV8jI4pY with uri:net://localhost and opts: --live
ok 695 - Enable channel chan for session EnBrcsRCCV8jI4pY
PASS: tools/clear/test_ust 695 - Enable channel chan for session EnBrcsRCCV8jI4pY
ok 696 - Enable ust event tp:tptest for session EnBrcsRCCV8jI4pY
PASS: tools/clear/test_ust 696 - Enable ust event tp:tptest for session EnBrcsRCCV8jI4pY
ok 697 - Start tracing for session EnBrcsRCCV8jI4pY
PASS: tools/clear/test_ust 697 - Start tracing for session EnBrcsRCCV8jI4pY
# 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 EnBrcsRCCV8jI4pY
PASS: tools/clear/test_ust 700 - Stop lttng tracing for session EnBrcsRCCV8jI4pY
ok 701 - Clear session EnBrcsRCCV8jI4pY
PASS: tools/clear/test_ust 701 - Clear session EnBrcsRCCV8jI4pY
ok 702 - Clear session EnBrcsRCCV8jI4pY
PASS: tools/clear/test_ust 702 - Clear session EnBrcsRCCV8jI4pY
ok 703 - Start tracing for session EnBrcsRCCV8jI4pY
PASS: tools/clear/test_ust 703 - Start tracing for session EnBrcsRCCV8jI4pY
ok 704 - Stop lttng tracing for session EnBrcsRCCV8jI4pY
PASS: tools/clear/test_ust 704 - Stop lttng tracing for session EnBrcsRCCV8jI4pY
ok 705 - Destroy session EnBrcsRCCV8jI4pY
PASS: tools/clear/test_ust 705 - Destroy session EnBrcsRCCV8jI4pY
[warning] [Context] Cannot open_trace of format lttng-live at path net://localhost/host/qemux86-64/EnBrcsRCCV8jI4pY.
[warning] [Context] cannot open trace "net://localhost/host/qemux86-64/EnBrcsRCCV8jI4pY" for reading.
[error] opening trace "net://localhost/host/qemux86-64/EnBrcsRCCV8jI4pY" 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 SUmI8RmNyN5Lz65K with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 708 - Create session SUmI8RmNyN5Lz65K with uri:net://localhost and opts: --live
ok 709 - Enable channel chan for session SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 709 - Enable channel chan for session SUmI8RmNyN5Lz65K
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 SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 711 - Enable ust event tp:tptest for session SUmI8RmNyN5Lz65K
ok 712 - Start tracing for session SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 712 - Start tracing for session SUmI8RmNyN5Lz65K
# 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 SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 716 - Stop lttng tracing for session SUmI8RmNyN5Lz65K
ok 717 - Clear session SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 717 - Clear session SUmI8RmNyN5Lz65K
ok 718 - Clear session SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 718 - Clear session SUmI8RmNyN5Lz65K
ok 719 - Start tracing for session SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 719 - Start tracing for session SUmI8RmNyN5Lz65K
ok 720 - Enable event lttng_ust_statedump:start with filtering for session SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 720 - Enable event lttng_ust_statedump:start with filtering for session SUmI8RmNyN5Lz65K
ok 721 - Enable event lttng_ust_statedump:end with filtering for session SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 721 - Enable event lttng_ust_statedump:end with filtering for session SUmI8RmNyN5Lz65K
ok 722 - Statedump regenerate SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 722 - Statedump regenerate SUmI8RmNyN5Lz65K
# 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 SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 724 - Stop lttng tracing for session SUmI8RmNyN5Lz65K
ok 725 - Destroy session SUmI8RmNyN5Lz65K
PASS: tools/clear/test_ust 725 - Destroy session SUmI8RmNyN5Lz65K
# 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 JVdCA4ngqgUr4KOl in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 729 - Create session JVdCA4ngqgUr4KOl in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 730 - Enable channel chan for session JVdCA4ngqgUr4KOl
PASS: tools/clear/test_ust 730 - Enable channel chan for session JVdCA4ngqgUr4KOl
ok 731 - Enable ust event tp:tptest for session JVdCA4ngqgUr4KOl
PASS: tools/clear/test_ust 731 - Enable ust event tp:tptest for session JVdCA4ngqgUr4KOl
ok 732 - Start tracing for session JVdCA4ngqgUr4KOl
PASS: tools/clear/test_ust 732 - Start tracing for session JVdCA4ngqgUr4KOl
ok 733 - Stop lttng tracing for session JVdCA4ngqgUr4KOl
PASS: tools/clear/test_ust 733 - Stop lttng tracing for session JVdCA4ngqgUr4KOl
ok 734 - Clear session JVdCA4ngqgUr4KOl
PASS: tools/clear/test_ust 734 - Clear session JVdCA4ngqgUr4KOl
ok 735 - Clear session JVdCA4ngqgUr4KOl
PASS: tools/clear/test_ust 735 - Clear session JVdCA4ngqgUr4KOl
ok 736 - Start tracing for session JVdCA4ngqgUr4KOl
PASS: tools/clear/test_ust 736 - Start tracing for session JVdCA4ngqgUr4KOl
ok 737 - Stop lttng tracing for session JVdCA4ngqgUr4KOl
PASS: tools/clear/test_ust 737 - Stop lttng tracing for session JVdCA4ngqgUr4KOl
ok 738 - Validate empty trace
PASS: tools/clear/test_ust 738 - Validate empty trace
ok 739 - Destroy session JVdCA4ngqgUr4KOl
PASS: tools/clear/test_ust 739 - Destroy session JVdCA4ngqgUr4KOl
# 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 mip6Z2UckOa2a8yW in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 740 - Create session mip6Z2UckOa2a8yW in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 741 - Enable channel chan for session mip6Z2UckOa2a8yW
PASS: tools/clear/test_ust 741 - Enable channel chan for session mip6Z2UckOa2a8yW
ok 742 - Enable ust event tp:tptest for session mip6Z2UckOa2a8yW
PASS: tools/clear/test_ust 742 - Enable ust event tp:tptest for session mip6Z2UckOa2a8yW
ok 743 - Start tracing for session mip6Z2UckOa2a8yW
PASS: tools/clear/test_ust 743 - Start tracing for session mip6Z2UckOa2a8yW
ok 744 - Rotate session mip6Z2UckOa2a8yW
PASS: tools/clear/test_ust 744 - Rotate session mip6Z2UckOa2a8yW
ok 745 - Stop lttng tracing for session mip6Z2UckOa2a8yW
PASS: tools/clear/test_ust 745 - Stop lttng tracing for session mip6Z2UckOa2a8yW
ok 746 - Clear session mip6Z2UckOa2a8yW
PASS: tools/clear/test_ust 746 - Clear session mip6Z2UckOa2a8yW
ok 747 - Clear session mip6Z2UckOa2a8yW
PASS: tools/clear/test_ust 747 - Clear session mip6Z2UckOa2a8yW
ok 748 - Start tracing for session mip6Z2UckOa2a8yW
PASS: tools/clear/test_ust 748 - Start tracing for session mip6Z2UckOa2a8yW
ok 749 - Stop lttng tracing for session mip6Z2UckOa2a8yW
PASS: tools/clear/test_ust 749 - Stop lttng tracing for session mip6Z2UckOa2a8yW
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 mip6Z2UckOa2a8yW
PASS: tools/clear/test_ust 752 - Destroy session mip6Z2UckOa2a8yW
# 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 Z7p60fm1F3NmqGNZ in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 753 - Create session Z7p60fm1F3NmqGNZ in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 754 - Enable channel chan for session Z7p60fm1F3NmqGNZ
PASS: tools/clear/test_ust 754 - Enable channel chan for session Z7p60fm1F3NmqGNZ
ok 755 - Enable ust event tp:tptest for session Z7p60fm1F3NmqGNZ
PASS: tools/clear/test_ust 755 - Enable ust event tp:tptest for session Z7p60fm1F3NmqGNZ
ok 756 - Start tracing for session Z7p60fm1F3NmqGNZ
PASS: tools/clear/test_ust 756 - Start tracing for session Z7p60fm1F3NmqGNZ
ok 757 - Stop lttng tracing for session Z7p60fm1F3NmqGNZ
PASS: tools/clear/test_ust 757 - Stop lttng tracing for session Z7p60fm1F3NmqGNZ
ok 758 - Clear session Z7p60fm1F3NmqGNZ
PASS: tools/clear/test_ust 758 - Clear session Z7p60fm1F3NmqGNZ
ok 759 - Clear session Z7p60fm1F3NmqGNZ
PASS: tools/clear/test_ust 759 - Clear session Z7p60fm1F3NmqGNZ
ok 760 - Start tracing for session Z7p60fm1F3NmqGNZ
PASS: tools/clear/test_ust 760 - Start tracing for session Z7p60fm1F3NmqGNZ
ok 761 - Rotate session Z7p60fm1F3NmqGNZ
PASS: tools/clear/test_ust 761 - Rotate session Z7p60fm1F3NmqGNZ
ok 762 - Stop lttng tracing for session Z7p60fm1F3NmqGNZ
PASS: tools/clear/test_ust 762 - Stop lttng tracing for session Z7p60fm1F3NmqGNZ
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 Z7p60fm1F3NmqGNZ
PASS: tools/clear/test_ust 765 - Destroy session Z7p60fm1F3NmqGNZ
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 766 - Create session tu1nOBT5WYFscWoM in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 766 - Create session tu1nOBT5WYFscWoM in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 767 - Enable channel chan for session tu1nOBT5WYFscWoM
PASS: tools/clear/test_ust 767 - Enable channel chan for session tu1nOBT5WYFscWoM
ok 768 - Enable ust event tp:tptest for session tu1nOBT5WYFscWoM
PASS: tools/clear/test_ust 768 - Enable ust event tp:tptest for session tu1nOBT5WYFscWoM
ok 769 - Start tracing for session tu1nOBT5WYFscWoM
PASS: tools/clear/test_ust 769 - Start tracing for session tu1nOBT5WYFscWoM
ok 770 - Stop lttng tracing for session tu1nOBT5WYFscWoM
PASS: tools/clear/test_ust 770 - Stop lttng tracing for session tu1nOBT5WYFscWoM
ok 771 - Clear session tu1nOBT5WYFscWoM
PASS: tools/clear/test_ust 771 - Clear session tu1nOBT5WYFscWoM
ok 772 - Clear session tu1nOBT5WYFscWoM
PASS: tools/clear/test_ust 772 - Clear session tu1nOBT5WYFscWoM
ok 773 - Start tracing for session tu1nOBT5WYFscWoM
PASS: tools/clear/test_ust 773 - Start tracing for session tu1nOBT5WYFscWoM
ok 774 - Stop lttng tracing for session tu1nOBT5WYFscWoM
PASS: tools/clear/test_ust 774 - Stop lttng tracing for session tu1nOBT5WYFscWoM
ok 775 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 775 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 776 - Destroy session tu1nOBT5WYFscWoM
PASS: tools/clear/test_ust 776 - Destroy session tu1nOBT5WYFscWoM
# Test ust streaming snapshot clear
# Parameters: tracing_active=0, clear_twice=1, buffer_type=uid
ok 777 - Create session WQeKghlk7g11XyMF with uri:net://localhost and opts: --snapshot
PASS: tools/clear/test_ust 777 - Create session WQeKghlk7g11XyMF with uri:net://localhost and opts: --snapshot
ok 778 - Enable channel snapshot for session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 778 - Enable channel snapshot for session WQeKghlk7g11XyMF
ok 779 - Enable ust event tp:tptest for session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 779 - Enable ust event tp:tptest for session WQeKghlk7g11XyMF
ok 780 - Start tracing for session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 780 - Start tracing for session WQeKghlk7g11XyMF
ok 781 - Snapshot recorded
PASS: tools/clear/test_ust 781 - Snapshot recorded
ok 782 - Stop lttng tracing for session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 782 - Stop lttng tracing for session WQeKghlk7g11XyMF
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 WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 785 - Start tracing for session WQeKghlk7g11XyMF
ok 786 - Stop lttng tracing for session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 786 - Stop lttng tracing for session WQeKghlk7g11XyMF
ok 787 - Clear session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 787 - Clear session WQeKghlk7g11XyMF
ok 788 - Clear session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 788 - Clear session WQeKghlk7g11XyMF
ok 789 - Start tracing for session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 789 - Start tracing for session WQeKghlk7g11XyMF
ok 790 - Snapshot recorded
PASS: tools/clear/test_ust 790 - Snapshot recorded
ok 791 - Stop lttng tracing for session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 791 - Stop lttng tracing for session WQeKghlk7g11XyMF
ok 792 - Validate empty trace
PASS: tools/clear/test_ust 792 - Validate empty trace
ok 793 - Start tracing for session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 793 - Start tracing for session WQeKghlk7g11XyMF
ok 794 - Snapshot recorded
PASS: tools/clear/test_ust 794 - Snapshot recorded
ok 795 - Stop lttng tracing for session WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 795 - Stop lttng tracing for session WQeKghlk7g11XyMF
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 WQeKghlk7g11XyMF
PASS: tools/clear/test_ust 798 - Destroy session WQeKghlk7g11XyMF
# Test ust local snapshot clear
# Parameters: tracing_active=0, clear_twice=1, buffer_type=uid
ok 799 - Create session nqUkaFZM6Cu3hzC7 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 799 - Create session nqUkaFZM6Cu3hzC7 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 800 - Enable channel snapshot for session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 800 - Enable channel snapshot for session nqUkaFZM6Cu3hzC7
ok 801 - Enable ust event tp:tptest for session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 801 - Enable ust event tp:tptest for session nqUkaFZM6Cu3hzC7
ok 802 - Start tracing for session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 802 - Start tracing for session nqUkaFZM6Cu3hzC7
ok 803 - Snapshot recorded
PASS: tools/clear/test_ust 803 - Snapshot recorded
ok 804 - Stop lttng tracing for session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 804 - Stop lttng tracing for session nqUkaFZM6Cu3hzC7
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 nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 807 - Start tracing for session nqUkaFZM6Cu3hzC7
ok 808 - Stop lttng tracing for session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 808 - Stop lttng tracing for session nqUkaFZM6Cu3hzC7
ok 809 - Clear session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 809 - Clear session nqUkaFZM6Cu3hzC7
ok 810 - Clear session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 810 - Clear session nqUkaFZM6Cu3hzC7
ok 811 - Start tracing for session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 811 - Start tracing for session nqUkaFZM6Cu3hzC7
ok 812 - Snapshot recorded
PASS: tools/clear/test_ust 812 - Snapshot recorded
ok 813 - Stop lttng tracing for session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 813 - Stop lttng tracing for session nqUkaFZM6Cu3hzC7
ok 814 - Validate empty trace
PASS: tools/clear/test_ust 814 - Validate empty trace
ok 815 - Start tracing for session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 815 - Start tracing for session nqUkaFZM6Cu3hzC7
ok 816 - Snapshot recorded
PASS: tools/clear/test_ust 816 - Snapshot recorded
ok 817 - Stop lttng tracing for session nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 817 - Stop lttng tracing for session nqUkaFZM6Cu3hzC7
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 nqUkaFZM6Cu3hzC7
PASS: tools/clear/test_ust 820 - Destroy session nqUkaFZM6Cu3hzC7
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=uid
ok 821 - Create session u6Pw1dzOmSjVmuFt with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 821 - Create session u6Pw1dzOmSjVmuFt with uri:net://localhost and opts:
ok 822 - Enable channel chan for session u6Pw1dzOmSjVmuFt
PASS: tools/clear/test_ust 822 - Enable channel chan for session u6Pw1dzOmSjVmuFt
ok 823 - Enable ust event tp:tptest for session u6Pw1dzOmSjVmuFt
PASS: tools/clear/test_ust 823 - Enable ust event tp:tptest for session u6Pw1dzOmSjVmuFt
ok 824 - Start tracing for session u6Pw1dzOmSjVmuFt
PASS: tools/clear/test_ust 824 - Start tracing for session u6Pw1dzOmSjVmuFt
ok 825 - Stop lttng tracing for session u6Pw1dzOmSjVmuFt
PASS: tools/clear/test_ust 825 - Stop lttng tracing for session u6Pw1dzOmSjVmuFt
ok 826 - Rotate session u6Pw1dzOmSjVmuFt
PASS: tools/clear/test_ust 826 - Rotate session u6Pw1dzOmSjVmuFt
ok 827 - Clear session u6Pw1dzOmSjVmuFt
PASS: tools/clear/test_ust 827 - Clear session u6Pw1dzOmSjVmuFt
ok 828 - Start tracing for session u6Pw1dzOmSjVmuFt
PASS: tools/clear/test_ust 828 - Start tracing for session u6Pw1dzOmSjVmuFt
ok 829 - Stop lttng tracing for session u6Pw1dzOmSjVmuFt
PASS: tools/clear/test_ust 829 - Stop lttng tracing for session u6Pw1dzOmSjVmuFt
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 u6Pw1dzOmSjVmuFt
PASS: tools/clear/test_ust 832 - Destroy session u6Pw1dzOmSjVmuFt
# 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 OLUiCc65ic3LXJbX with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 833 - Create session OLUiCc65ic3LXJbX with uri:net://localhost and opts:
ok 834 - Enable channel chan for session OLUiCc65ic3LXJbX
PASS: tools/clear/test_ust 834 - Enable channel chan for session OLUiCc65ic3LXJbX
ok 835 - Enable ust event tp:tptest for session OLUiCc65ic3LXJbX
PASS: tools/clear/test_ust 835 - Enable ust event tp:tptest for session OLUiCc65ic3LXJbX
ok 836 - Start tracing for session OLUiCc65ic3LXJbX
PASS: tools/clear/test_ust 836 - Start tracing for session OLUiCc65ic3LXJbX
ok 837 - Rotate session OLUiCc65ic3LXJbX
PASS: tools/clear/test_ust 837 - Rotate session OLUiCc65ic3LXJbX
ok 838 - Stop lttng tracing for session OLUiCc65ic3LXJbX
PASS: tools/clear/test_ust 838 - Stop lttng tracing for session OLUiCc65ic3LXJbX
ok 839 - Rotate session OLUiCc65ic3LXJbX
PASS: tools/clear/test_ust 839 - Rotate session OLUiCc65ic3LXJbX
ok 840 - Clear session OLUiCc65ic3LXJbX
PASS: tools/clear/test_ust 840 - Clear session OLUiCc65ic3LXJbX
ok 841 - Start tracing for session OLUiCc65ic3LXJbX
PASS: tools/clear/test_ust 841 - Start tracing for session OLUiCc65ic3LXJbX
ok 842 - Stop lttng tracing for session OLUiCc65ic3LXJbX
PASS: tools/clear/test_ust 842 - Stop lttng tracing for session OLUiCc65ic3LXJbX
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 OLUiCc65ic3LXJbX
PASS: tools/clear/test_ust 845 - Destroy session OLUiCc65ic3LXJbX
# 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 PdKNlqXBTzbSwd4S with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 846 - Create session PdKNlqXBTzbSwd4S with uri:net://localhost and opts:
ok 847 - Enable channel chan for session PdKNlqXBTzbSwd4S
PASS: tools/clear/test_ust 847 - Enable channel chan for session PdKNlqXBTzbSwd4S
ok 848 - Enable ust event tp:tptest for session PdKNlqXBTzbSwd4S
PASS: tools/clear/test_ust 848 - Enable ust event tp:tptest for session PdKNlqXBTzbSwd4S
ok 849 - Start tracing for session PdKNlqXBTzbSwd4S
PASS: tools/clear/test_ust 849 - Start tracing for session PdKNlqXBTzbSwd4S
ok 850 - Stop lttng tracing for session PdKNlqXBTzbSwd4S
PASS: tools/clear/test_ust 850 - Stop lttng tracing for session PdKNlqXBTzbSwd4S
ok 851 - Rotate session PdKNlqXBTzbSwd4S
PASS: tools/clear/test_ust 851 - Rotate session PdKNlqXBTzbSwd4S
ok 852 - Clear session PdKNlqXBTzbSwd4S
PASS: tools/clear/test_ust 852 - Clear session PdKNlqXBTzbSwd4S
ok 853 - Start tracing for session PdKNlqXBTzbSwd4S
PASS: tools/clear/test_ust 853 - Start tracing for session PdKNlqXBTzbSwd4S
ok 854 - Rotate session PdKNlqXBTzbSwd4S
PASS: tools/clear/test_ust 854 - Rotate session PdKNlqXBTzbSwd4S
ok 855 - Stop lttng tracing for session PdKNlqXBTzbSwd4S
PASS: tools/clear/test_ust 855 - Stop lttng tracing for session PdKNlqXBTzbSwd4S
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 PdKNlqXBTzbSwd4S
PASS: tools/clear/test_ust 858 - Destroy session PdKNlqXBTzbSwd4S
# 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 Tjw5CMywL1H94E1P with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 859 - Create session Tjw5CMywL1H94E1P with uri:net://localhost and opts:
ok 860 - Enable channel rotchan for session Tjw5CMywL1H94E1P
PASS: tools/clear/test_ust 860 - Enable channel rotchan for session Tjw5CMywL1H94E1P
ok 861 - Enable ust event tp:tptest for session Tjw5CMywL1H94E1P
PASS: tools/clear/test_ust 861 - Enable ust event tp:tptest for session Tjw5CMywL1H94E1P
ok 862 - Start tracing for session Tjw5CMywL1H94E1P
PASS: tools/clear/test_ust 862 - Start tracing for session Tjw5CMywL1H94E1P
ok 863 - Stop lttng tracing for session Tjw5CMywL1H94E1P
PASS: tools/clear/test_ust 863 - Stop lttng tracing for session Tjw5CMywL1H94E1P
ok 864 - Rotate session Tjw5CMywL1H94E1P
PASS: tools/clear/test_ust 864 - Rotate session Tjw5CMywL1H94E1P
ok 865 - Clear session Tjw5CMywL1H94E1P
PASS: tools/clear/test_ust 865 - Clear session Tjw5CMywL1H94E1P
ok 866 - Start tracing for session Tjw5CMywL1H94E1P
PASS: tools/clear/test_ust 866 - Start tracing for session Tjw5CMywL1H94E1P
ok 867 - Stop lttng tracing for session Tjw5CMywL1H94E1P
PASS: tools/clear/test_ust 867 - Stop lttng tracing for session Tjw5CMywL1H94E1P
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 Tjw5CMywL1H94E1P
PASS: tools/clear/test_ust 870 - Start tracing for session Tjw5CMywL1H94E1P
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 Tjw5CMywL1H94E1P
PASS: tools/clear/test_ust 874 - Destroy session Tjw5CMywL1H94E1P
# 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 GDXj02QR8DjDXzDq with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 875 - Create session GDXj02QR8DjDXzDq with uri:net://localhost and opts:
ok 876 - Enable channel rotchan for session GDXj02QR8DjDXzDq
PASS: tools/clear/test_ust 876 - Enable channel rotchan for session GDXj02QR8DjDXzDq
ok 877 - Enable ust event tp:tptest for session GDXj02QR8DjDXzDq
PASS: tools/clear/test_ust 877 - Enable ust event tp:tptest for session GDXj02QR8DjDXzDq
ok 878 - Start tracing for session GDXj02QR8DjDXzDq
PASS: tools/clear/test_ust 878 - Start tracing for session GDXj02QR8DjDXzDq
ok 879 - Stop lttng tracing for session GDXj02QR8DjDXzDq
PASS: tools/clear/test_ust 879 - Stop lttng tracing for session GDXj02QR8DjDXzDq
ok 880 - Rotate session GDXj02QR8DjDXzDq
PASS: tools/clear/test_ust 880 - Rotate session GDXj02QR8DjDXzDq
ok 881 - Clear session GDXj02QR8DjDXzDq
PASS: tools/clear/test_ust 881 - Clear session GDXj02QR8DjDXzDq
ok 882 - Start tracing for session GDXj02QR8DjDXzDq
PASS: tools/clear/test_ust 882 - Start tracing for session GDXj02QR8DjDXzDq
ok 883 - Stop lttng tracing for session GDXj02QR8DjDXzDq
PASS: tools/clear/test_ust 883 - Stop lttng tracing for session GDXj02QR8DjDXzDq
ok 884 - Validate trace for event tp:tptest, 38 events
PASS: tools/clear/test_ust 884 - Validate trace for event tp:tptest, 38 events
ok 885 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 885 - Read a total of 38 events, expected between [1, 200000[
ok 886 - Start tracing for session GDXj02QR8DjDXzDq
PASS: tools/clear/test_ust 886 - Start tracing for session GDXj02QR8DjDXzDq
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, 76 events
PASS: tools/clear/test_ust 888 - Validate trace for event tp:tptest, 76 events
ok 889 - Read a total of 76 events, expected between [1, 600000[
PASS: tools/clear/test_ust 889 - Read a total of 76 events, expected between [1, 600000[
ok 890 - Destroy session GDXj02QR8DjDXzDq
PASS: tools/clear/test_ust 890 - Destroy session GDXj02QR8DjDXzDq
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 891 - Create session 7aP9L0a9gnBZazaf with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 891 - Create session 7aP9L0a9gnBZazaf with uri:net://localhost and opts:
ok 892 - Enable channel chan for session 7aP9L0a9gnBZazaf
PASS: tools/clear/test_ust 892 - Enable channel chan for session 7aP9L0a9gnBZazaf
ok 893 - Enable ust event tp:tptest for session 7aP9L0a9gnBZazaf
PASS: tools/clear/test_ust 893 - Enable ust event tp:tptest for session 7aP9L0a9gnBZazaf
ok 894 - Start tracing for session 7aP9L0a9gnBZazaf
PASS: tools/clear/test_ust 894 - Start tracing for session 7aP9L0a9gnBZazaf
ok 895 - Stop lttng tracing for session 7aP9L0a9gnBZazaf
PASS: tools/clear/test_ust 895 - Stop lttng tracing for session 7aP9L0a9gnBZazaf
ok 896 - Clear session 7aP9L0a9gnBZazaf
PASS: tools/clear/test_ust 896 - Clear session 7aP9L0a9gnBZazaf
ok 897 - Start tracing for session 7aP9L0a9gnBZazaf
PASS: tools/clear/test_ust 897 - Start tracing for session 7aP9L0a9gnBZazaf
ok 898 - Stop lttng tracing for session 7aP9L0a9gnBZazaf
PASS: tools/clear/test_ust 898 - Stop lttng tracing for session 7aP9L0a9gnBZazaf
ok 899 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/7aP9L0a9gnBZazaf*" is empty
PASS: tools/clear/test_ust 899 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/7aP9L0a9gnBZazaf*" is empty
ok 900 - Destroy session 7aP9L0a9gnBZazaf
PASS: tools/clear/test_ust 900 - Destroy session 7aP9L0a9gnBZazaf
# Test ust local
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=uid
ok 901 - Create session nyRkEa0M0HTO2Chu in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 901 - Create session nyRkEa0M0HTO2Chu in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 902 - Enable channel chan for session nyRkEa0M0HTO2Chu
PASS: tools/clear/test_ust 902 - Enable channel chan for session nyRkEa0M0HTO2Chu
ok 903 - Enable ust event tp:tptest for session nyRkEa0M0HTO2Chu
PASS: tools/clear/test_ust 903 - Enable ust event tp:tptest for session nyRkEa0M0HTO2Chu
ok 904 - Start tracing for session nyRkEa0M0HTO2Chu
PASS: tools/clear/test_ust 904 - Start tracing for session nyRkEa0M0HTO2Chu
ok 905 - Stop lttng tracing for session nyRkEa0M0HTO2Chu
PASS: tools/clear/test_ust 905 - Stop lttng tracing for session nyRkEa0M0HTO2Chu
ok 906 - Rotate session nyRkEa0M0HTO2Chu
PASS: tools/clear/test_ust 906 - Rotate session nyRkEa0M0HTO2Chu
ok 907 - Clear session nyRkEa0M0HTO2Chu
PASS: tools/clear/test_ust 907 - Clear session nyRkEa0M0HTO2Chu
ok 908 - Start tracing for session nyRkEa0M0HTO2Chu
PASS: tools/clear/test_ust 908 - Start tracing for session nyRkEa0M0HTO2Chu
ok 909 - Stop lttng tracing for session nyRkEa0M0HTO2Chu
PASS: tools/clear/test_ust 909 - Stop lttng tracing for session nyRkEa0M0HTO2Chu
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 nyRkEa0M0HTO2Chu
PASS: tools/clear/test_ust 912 - Destroy session nyRkEa0M0HTO2Chu
# 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 6NOsHwBRCOVmvZcU in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 913 - Create session 6NOsHwBRCOVmvZcU in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 914 - Enable channel chan for session 6NOsHwBRCOVmvZcU
PASS: tools/clear/test_ust 914 - Enable channel chan for session 6NOsHwBRCOVmvZcU
ok 915 - Enable ust event tp:tptest for session 6NOsHwBRCOVmvZcU
PASS: tools/clear/test_ust 915 - Enable ust event tp:tptest for session 6NOsHwBRCOVmvZcU
ok 916 - Start tracing for session 6NOsHwBRCOVmvZcU
PASS: tools/clear/test_ust 916 - Start tracing for session 6NOsHwBRCOVmvZcU
ok 917 - Rotate session 6NOsHwBRCOVmvZcU
PASS: tools/clear/test_ust 917 - Rotate session 6NOsHwBRCOVmvZcU
ok 918 - Stop lttng tracing for session 6NOsHwBRCOVmvZcU
PASS: tools/clear/test_ust 918 - Stop lttng tracing for session 6NOsHwBRCOVmvZcU
ok 919 - Rotate session 6NOsHwBRCOVmvZcU
PASS: tools/clear/test_ust 919 - Rotate session 6NOsHwBRCOVmvZcU
ok 920 - Clear session 6NOsHwBRCOVmvZcU
PASS: tools/clear/test_ust 920 - Clear session 6NOsHwBRCOVmvZcU
ok 921 - Start tracing for session 6NOsHwBRCOVmvZcU
PASS: tools/clear/test_ust 921 - Start tracing for session 6NOsHwBRCOVmvZcU
ok 922 - Stop lttng tracing for session 6NOsHwBRCOVmvZcU
PASS: tools/clear/test_ust 922 - Stop lttng tracing for session 6NOsHwBRCOVmvZcU
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 6NOsHwBRCOVmvZcU
PASS: tools/clear/test_ust 925 - Destroy session 6NOsHwBRCOVmvZcU
# 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 DAPMoPpkSRmbgZed in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 926 - Create session DAPMoPpkSRmbgZed in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 927 - Enable channel chan for session DAPMoPpkSRmbgZed
PASS: tools/clear/test_ust 927 - Enable channel chan for session DAPMoPpkSRmbgZed
ok 928 - Enable ust event tp:tptest for session DAPMoPpkSRmbgZed
PASS: tools/clear/test_ust 928 - Enable ust event tp:tptest for session DAPMoPpkSRmbgZed
ok 929 - Start tracing for session DAPMoPpkSRmbgZed
PASS: tools/clear/test_ust 929 - Start tracing for session DAPMoPpkSRmbgZed
ok 930 - Stop lttng tracing for session DAPMoPpkSRmbgZed
PASS: tools/clear/test_ust 930 - Stop lttng tracing for session DAPMoPpkSRmbgZed
ok 931 - Rotate session DAPMoPpkSRmbgZed
PASS: tools/clear/test_ust 931 - Rotate session DAPMoPpkSRmbgZed
ok 932 - Clear session DAPMoPpkSRmbgZed
PASS: tools/clear/test_ust 932 - Clear session DAPMoPpkSRmbgZed
ok 933 - Start tracing for session DAPMoPpkSRmbgZed
PASS: tools/clear/test_ust 933 - Start tracing for session DAPMoPpkSRmbgZed
ok 934 - Rotate session DAPMoPpkSRmbgZed
PASS: tools/clear/test_ust 934 - Rotate session DAPMoPpkSRmbgZed
ok 935 - Stop lttng tracing for session DAPMoPpkSRmbgZed
PASS: tools/clear/test_ust 935 - Stop lttng tracing for session DAPMoPpkSRmbgZed
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 DAPMoPpkSRmbgZed
PASS: tools/clear/test_ust 938 - Destroy session DAPMoPpkSRmbgZed
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 939 - Create session ZmZsQBYPPxsXS313 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 939 - Create session ZmZsQBYPPxsXS313 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 940 - Enable channel chan for session ZmZsQBYPPxsXS313
PASS: tools/clear/test_ust 940 - Enable channel chan for session ZmZsQBYPPxsXS313
ok 941 - Enable ust event tp:tptest for session ZmZsQBYPPxsXS313
PASS: tools/clear/test_ust 941 - Enable ust event tp:tptest for session ZmZsQBYPPxsXS313
ok 942 - Start tracing for session ZmZsQBYPPxsXS313
PASS: tools/clear/test_ust 942 - Start tracing for session ZmZsQBYPPxsXS313
ok 943 - Stop lttng tracing for session ZmZsQBYPPxsXS313
PASS: tools/clear/test_ust 943 - Stop lttng tracing for session ZmZsQBYPPxsXS313
ok 944 - Clear session ZmZsQBYPPxsXS313
PASS: tools/clear/test_ust 944 - Clear session ZmZsQBYPPxsXS313
ok 945 - Start tracing for session ZmZsQBYPPxsXS313
PASS: tools/clear/test_ust 945 - Start tracing for session ZmZsQBYPPxsXS313
ok 946 - Stop lttng tracing for session ZmZsQBYPPxsXS313
PASS: tools/clear/test_ust 946 - Stop lttng tracing for session ZmZsQBYPPxsXS313
ok 947 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 947 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 948 - Destroy session ZmZsQBYPPxsXS313
PASS: tools/clear/test_ust 948 - Destroy session ZmZsQBYPPxsXS313
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=uid
ok 949 - Create session qcfZ3IahHdow3asj with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 949 - Create session qcfZ3IahHdow3asj with uri:net://localhost and opts:
ok 950 - Enable channel chan for session qcfZ3IahHdow3asj
PASS: tools/clear/test_ust 950 - Enable channel chan for session qcfZ3IahHdow3asj
ok 951 - Enable ust event tp:tptest for session qcfZ3IahHdow3asj
PASS: tools/clear/test_ust 951 - Enable ust event tp:tptest for session qcfZ3IahHdow3asj
ok 952 - Start tracing for session qcfZ3IahHdow3asj
PASS: tools/clear/test_ust 952 - Start tracing for session qcfZ3IahHdow3asj
ok 953 - Stop lttng tracing for session qcfZ3IahHdow3asj
PASS: tools/clear/test_ust 953 - Stop lttng tracing for session qcfZ3IahHdow3asj
ok 954 - Clear session qcfZ3IahHdow3asj
PASS: tools/clear/test_ust 954 - Clear session qcfZ3IahHdow3asj
ok 955 - Expected fail on rotate session qcfZ3IahHdow3asj
PASS: tools/clear/test_ust 955 - Expected fail on rotate session qcfZ3IahHdow3asj
ok 956 - Start tracing for session qcfZ3IahHdow3asj
PASS: tools/clear/test_ust 956 - Start tracing for session qcfZ3IahHdow3asj
ok 957 - Stop lttng tracing for session qcfZ3IahHdow3asj
PASS: tools/clear/test_ust 957 - Stop lttng tracing for session qcfZ3IahHdow3asj
ok 958 - Validate empty trace
PASS: tools/clear/test_ust 958 - Validate empty trace
ok 959 - Destroy session qcfZ3IahHdow3asj
PASS: tools/clear/test_ust 959 - Destroy session qcfZ3IahHdow3asj
# 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 840fznMbOlmpEM4P with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 960 - Create session 840fznMbOlmpEM4P with uri:net://localhost and opts:
ok 961 - Enable channel chan for session 840fznMbOlmpEM4P
PASS: tools/clear/test_ust 961 - Enable channel chan for session 840fznMbOlmpEM4P
ok 962 - Enable ust event tp:tptest for session 840fznMbOlmpEM4P
PASS: tools/clear/test_ust 962 - Enable ust event tp:tptest for session 840fznMbOlmpEM4P
ok 963 - Start tracing for session 840fznMbOlmpEM4P
PASS: tools/clear/test_ust 963 - Start tracing for session 840fznMbOlmpEM4P
ok 964 - Rotate session 840fznMbOlmpEM4P
PASS: tools/clear/test_ust 964 - Rotate session 840fznMbOlmpEM4P
ok 965 - Stop lttng tracing for session 840fznMbOlmpEM4P
PASS: tools/clear/test_ust 965 - Stop lttng tracing for session 840fznMbOlmpEM4P
ok 966 - Clear session 840fznMbOlmpEM4P
PASS: tools/clear/test_ust 966 - Clear session 840fznMbOlmpEM4P
ok 967 - Expected fail on rotate session 840fznMbOlmpEM4P
PASS: tools/clear/test_ust 967 - Expected fail on rotate session 840fznMbOlmpEM4P
ok 968 - Start tracing for session 840fznMbOlmpEM4P
PASS: tools/clear/test_ust 968 - Start tracing for session 840fznMbOlmpEM4P
ok 969 - Stop lttng tracing for session 840fznMbOlmpEM4P
PASS: tools/clear/test_ust 969 - Stop lttng tracing for session 840fznMbOlmpEM4P
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 840fznMbOlmpEM4P
PASS: tools/clear/test_ust 972 - Destroy session 840fznMbOlmpEM4P
# 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 VpesTuMHAdbjV8Fl with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 973 - Create session VpesTuMHAdbjV8Fl with uri:net://localhost and opts:
ok 974 - Enable channel chan for session VpesTuMHAdbjV8Fl
PASS: tools/clear/test_ust 974 - Enable channel chan for session VpesTuMHAdbjV8Fl
ok 975 - Enable ust event tp:tptest for session VpesTuMHAdbjV8Fl
PASS: tools/clear/test_ust 975 - Enable ust event tp:tptest for session VpesTuMHAdbjV8Fl
ok 976 - Start tracing for session VpesTuMHAdbjV8Fl
PASS: tools/clear/test_ust 976 - Start tracing for session VpesTuMHAdbjV8Fl
ok 977 - Stop lttng tracing for session VpesTuMHAdbjV8Fl
PASS: tools/clear/test_ust 977 - Stop lttng tracing for session VpesTuMHAdbjV8Fl
ok 978 - Clear session VpesTuMHAdbjV8Fl
PASS: tools/clear/test_ust 978 - Clear session VpesTuMHAdbjV8Fl
ok 979 - Expected fail on rotate session VpesTuMHAdbjV8Fl
PASS: tools/clear/test_ust 979 - Expected fail on rotate session VpesTuMHAdbjV8Fl
ok 980 - Start tracing for session VpesTuMHAdbjV8Fl
PASS: tools/clear/test_ust 980 - Start tracing for session VpesTuMHAdbjV8Fl
ok 981 - Rotate session VpesTuMHAdbjV8Fl
PASS: tools/clear/test_ust 981 - Rotate session VpesTuMHAdbjV8Fl
ok 982 - Stop lttng tracing for session VpesTuMHAdbjV8Fl
PASS: tools/clear/test_ust 982 - Stop lttng tracing for session VpesTuMHAdbjV8Fl
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 VpesTuMHAdbjV8Fl
PASS: tools/clear/test_ust 985 - Destroy session VpesTuMHAdbjV8Fl
# 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 UkCuF2w10r6lubIZ with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 986 - Create session UkCuF2w10r6lubIZ with uri:net://localhost and opts:
ok 987 - Enable channel rotchan for session UkCuF2w10r6lubIZ
PASS: tools/clear/test_ust 987 - Enable channel rotchan for session UkCuF2w10r6lubIZ
ok 988 - Enable ust event tp:tptest for session UkCuF2w10r6lubIZ
PASS: tools/clear/test_ust 988 - Enable ust event tp:tptest for session UkCuF2w10r6lubIZ
ok 989 - Start tracing for session UkCuF2w10r6lubIZ
PASS: tools/clear/test_ust 989 - Start tracing for session UkCuF2w10r6lubIZ
ok 990 - Stop lttng tracing for session UkCuF2w10r6lubIZ
PASS: tools/clear/test_ust 990 - Stop lttng tracing for session UkCuF2w10r6lubIZ
ok 991 - Clear session UkCuF2w10r6lubIZ
PASS: tools/clear/test_ust 991 - Clear session UkCuF2w10r6lubIZ
ok 992 - Expected fail on rotate session UkCuF2w10r6lubIZ
PASS: tools/clear/test_ust 992 - Expected fail on rotate session UkCuF2w10r6lubIZ
ok 993 - Start tracing for session UkCuF2w10r6lubIZ
PASS: tools/clear/test_ust 993 - Start tracing for session UkCuF2w10r6lubIZ
ok 994 - Stop lttng tracing for session UkCuF2w10r6lubIZ
PASS: tools/clear/test_ust 994 - Stop lttng tracing for session UkCuF2w10r6lubIZ
ok 995 - Validate empty trace
PASS: tools/clear/test_ust 995 - Validate empty trace
ok 996 - Start tracing for session UkCuF2w10r6lubIZ
PASS: tools/clear/test_ust 996 - Start tracing for session UkCuF2w10r6lubIZ
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 UkCuF2w10r6lubIZ
PASS: tools/clear/test_ust 1000 - Destroy session UkCuF2w10r6lubIZ
# 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 7GThcEhtwPjINnhH with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1001 - Create session 7GThcEhtwPjINnhH with uri:net://localhost and opts:
ok 1002 - Enable channel rotchan for session 7GThcEhtwPjINnhH
PASS: tools/clear/test_ust 1002 - Enable channel rotchan for session 7GThcEhtwPjINnhH
ok 1003 - Enable ust event tp:tptest for session 7GThcEhtwPjINnhH
PASS: tools/clear/test_ust 1003 - Enable ust event tp:tptest for session 7GThcEhtwPjINnhH
ok 1004 - Start tracing for session 7GThcEhtwPjINnhH
PASS: tools/clear/test_ust 1004 - Start tracing for session 7GThcEhtwPjINnhH
ok 1005 - Stop lttng tracing for session 7GThcEhtwPjINnhH
PASS: tools/clear/test_ust 1005 - Stop lttng tracing for session 7GThcEhtwPjINnhH
ok 1006 - Clear session 7GThcEhtwPjINnhH
PASS: tools/clear/test_ust 1006 - Clear session 7GThcEhtwPjINnhH
ok 1007 - Expected fail on rotate session 7GThcEhtwPjINnhH
PASS: tools/clear/test_ust 1007 - Expected fail on rotate session 7GThcEhtwPjINnhH
ok 1008 - Start tracing for session 7GThcEhtwPjINnhH
PASS: tools/clear/test_ust 1008 - Start tracing for session 7GThcEhtwPjINnhH
ok 1009 - Stop lttng tracing for session 7GThcEhtwPjINnhH
PASS: tools/clear/test_ust 1009 - Stop lttng tracing for session 7GThcEhtwPjINnhH
ok 1010 - Validate empty trace
PASS: tools/clear/test_ust 1010 - Validate empty trace
ok 1011 - Start tracing for session 7GThcEhtwPjINnhH
PASS: tools/clear/test_ust 1011 - Start tracing for session 7GThcEhtwPjINnhH
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 7GThcEhtwPjINnhH
PASS: tools/clear/test_ust 1015 - Destroy session 7GThcEhtwPjINnhH
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 1016 - Create session gTJNwExnIi4zHAcn with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1016 - Create session gTJNwExnIi4zHAcn with uri:net://localhost and opts:
ok 1017 - Enable channel chan for session gTJNwExnIi4zHAcn
PASS: tools/clear/test_ust 1017 - Enable channel chan for session gTJNwExnIi4zHAcn
ok 1018 - Enable ust event tp:tptest for session gTJNwExnIi4zHAcn
PASS: tools/clear/test_ust 1018 - Enable ust event tp:tptest for session gTJNwExnIi4zHAcn
ok 1019 - Start tracing for session gTJNwExnIi4zHAcn
PASS: tools/clear/test_ust 1019 - Start tracing for session gTJNwExnIi4zHAcn
ok 1020 - Stop lttng tracing for session gTJNwExnIi4zHAcn
PASS: tools/clear/test_ust 1020 - Stop lttng tracing for session gTJNwExnIi4zHAcn
ok 1021 - Clear session gTJNwExnIi4zHAcn
PASS: tools/clear/test_ust 1021 - Clear session gTJNwExnIi4zHAcn
ok 1022 - Start tracing for session gTJNwExnIi4zHAcn
PASS: tools/clear/test_ust 1022 - Start tracing for session gTJNwExnIi4zHAcn
ok 1023 - Stop lttng tracing for session gTJNwExnIi4zHAcn
PASS: tools/clear/test_ust 1023 - Stop lttng tracing for session gTJNwExnIi4zHAcn
ok 1024 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/gTJNwExnIi4zHAcn*" is empty
PASS: tools/clear/test_ust 1024 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/gTJNwExnIi4zHAcn*" is empty
ok 1025 - Destroy session gTJNwExnIi4zHAcn
PASS: tools/clear/test_ust 1025 - Destroy session gTJNwExnIi4zHAcn
# Test ust local
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=uid
ok 1026 - Create session QiL4IXuW8SZbU6NR in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1026 - Create session QiL4IXuW8SZbU6NR in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1027 - Enable channel chan for session QiL4IXuW8SZbU6NR
PASS: tools/clear/test_ust 1027 - Enable channel chan for session QiL4IXuW8SZbU6NR
ok 1028 - Enable ust event tp:tptest for session QiL4IXuW8SZbU6NR
PASS: tools/clear/test_ust 1028 - Enable ust event tp:tptest for session QiL4IXuW8SZbU6NR
ok 1029 - Start tracing for session QiL4IXuW8SZbU6NR
PASS: tools/clear/test_ust 1029 - Start tracing for session QiL4IXuW8SZbU6NR
ok 1030 - Stop lttng tracing for session QiL4IXuW8SZbU6NR
PASS: tools/clear/test_ust 1030 - Stop lttng tracing for session QiL4IXuW8SZbU6NR
ok 1031 - Clear session QiL4IXuW8SZbU6NR
PASS: tools/clear/test_ust 1031 - Clear session QiL4IXuW8SZbU6NR
ok 1032 - Expected fail on rotate session QiL4IXuW8SZbU6NR
PASS: tools/clear/test_ust 1032 - Expected fail on rotate session QiL4IXuW8SZbU6NR
ok 1033 - Start tracing for session QiL4IXuW8SZbU6NR
PASS: tools/clear/test_ust 1033 - Start tracing for session QiL4IXuW8SZbU6NR
ok 1034 - Stop lttng tracing for session QiL4IXuW8SZbU6NR
PASS: tools/clear/test_ust 1034 - Stop lttng tracing for session QiL4IXuW8SZbU6NR
ok 1035 - Validate empty trace
PASS: tools/clear/test_ust 1035 - Validate empty trace
ok 1036 - Destroy session QiL4IXuW8SZbU6NR
PASS: tools/clear/test_ust 1036 - Destroy session QiL4IXuW8SZbU6NR
# 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 g0GC5qyfJQHkIs1Z in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1037 - Create session g0GC5qyfJQHkIs1Z in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1038 - Enable channel chan for session g0GC5qyfJQHkIs1Z
PASS: tools/clear/test_ust 1038 - Enable channel chan for session g0GC5qyfJQHkIs1Z
ok 1039 - Enable ust event tp:tptest for session g0GC5qyfJQHkIs1Z
PASS: tools/clear/test_ust 1039 - Enable ust event tp:tptest for session g0GC5qyfJQHkIs1Z
ok 1040 - Start tracing for session g0GC5qyfJQHkIs1Z
PASS: tools/clear/test_ust 1040 - Start tracing for session g0GC5qyfJQHkIs1Z
ok 1041 - Rotate session g0GC5qyfJQHkIs1Z
PASS: tools/clear/test_ust 1041 - Rotate session g0GC5qyfJQHkIs1Z
ok 1042 - Stop lttng tracing for session g0GC5qyfJQHkIs1Z
PASS: tools/clear/test_ust 1042 - Stop lttng tracing for session g0GC5qyfJQHkIs1Z
ok 1043 - Clear session g0GC5qyfJQHkIs1Z
PASS: tools/clear/test_ust 1043 - Clear session g0GC5qyfJQHkIs1Z
ok 1044 - Expected fail on rotate session g0GC5qyfJQHkIs1Z
PASS: tools/clear/test_ust 1044 - Expected fail on rotate session g0GC5qyfJQHkIs1Z
ok 1045 - Start tracing for session g0GC5qyfJQHkIs1Z
PASS: tools/clear/test_ust 1045 - Start tracing for session g0GC5qyfJQHkIs1Z
ok 1046 - Stop lttng tracing for session g0GC5qyfJQHkIs1Z
PASS: tools/clear/test_ust 1046 - Stop lttng tracing for session g0GC5qyfJQHkIs1Z
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 g0GC5qyfJQHkIs1Z
PASS: tools/clear/test_ust 1049 - Destroy session g0GC5qyfJQHkIs1Z
# 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 X6clgqF6gb03XhXG in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1050 - Create session X6clgqF6gb03XhXG in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1051 - Enable channel chan for session X6clgqF6gb03XhXG
PASS: tools/clear/test_ust 1051 - Enable channel chan for session X6clgqF6gb03XhXG
ok 1052 - Enable ust event tp:tptest for session X6clgqF6gb03XhXG
PASS: tools/clear/test_ust 1052 - Enable ust event tp:tptest for session X6clgqF6gb03XhXG
ok 1053 - Start tracing for session X6clgqF6gb03XhXG
PASS: tools/clear/test_ust 1053 - Start tracing for session X6clgqF6gb03XhXG
ok 1054 - Stop lttng tracing for session X6clgqF6gb03XhXG
PASS: tools/clear/test_ust 1054 - Stop lttng tracing for session X6clgqF6gb03XhXG
ok 1055 - Clear session X6clgqF6gb03XhXG
PASS: tools/clear/test_ust 1055 - Clear session X6clgqF6gb03XhXG
ok 1056 - Expected fail on rotate session X6clgqF6gb03XhXG
PASS: tools/clear/test_ust 1056 - Expected fail on rotate session X6clgqF6gb03XhXG
ok 1057 - Start tracing for session X6clgqF6gb03XhXG
PASS: tools/clear/test_ust 1057 - Start tracing for session X6clgqF6gb03XhXG
ok 1058 - Rotate session X6clgqF6gb03XhXG
PASS: tools/clear/test_ust 1058 - Rotate session X6clgqF6gb03XhXG
ok 1059 - Stop lttng tracing for session X6clgqF6gb03XhXG
PASS: tools/clear/test_ust 1059 - Stop lttng tracing for session X6clgqF6gb03XhXG
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 X6clgqF6gb03XhXG
PASS: tools/clear/test_ust 1062 - Destroy session X6clgqF6gb03XhXG
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 1063 - Create session gldzRxjOwcTzOKoQ in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1063 - Create session gldzRxjOwcTzOKoQ in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1064 - Enable channel chan for session gldzRxjOwcTzOKoQ
PASS: tools/clear/test_ust 1064 - Enable channel chan for session gldzRxjOwcTzOKoQ
ok 1065 - Enable ust event tp:tptest for session gldzRxjOwcTzOKoQ
PASS: tools/clear/test_ust 1065 - Enable ust event tp:tptest for session gldzRxjOwcTzOKoQ
ok 1066 - Start tracing for session gldzRxjOwcTzOKoQ
PASS: tools/clear/test_ust 1066 - Start tracing for session gldzRxjOwcTzOKoQ
ok 1067 - Stop lttng tracing for session gldzRxjOwcTzOKoQ
PASS: tools/clear/test_ust 1067 - Stop lttng tracing for session gldzRxjOwcTzOKoQ
ok 1068 - Clear session gldzRxjOwcTzOKoQ
PASS: tools/clear/test_ust 1068 - Clear session gldzRxjOwcTzOKoQ
ok 1069 - Start tracing for session gldzRxjOwcTzOKoQ
PASS: tools/clear/test_ust 1069 - Start tracing for session gldzRxjOwcTzOKoQ
ok 1070 - Stop lttng tracing for session gldzRxjOwcTzOKoQ
PASS: tools/clear/test_ust 1070 - Stop lttng tracing for session gldzRxjOwcTzOKoQ
ok 1071 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 1071 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 1072 - Destroy session gldzRxjOwcTzOKoQ
PASS: tools/clear/test_ust 1072 - Destroy session gldzRxjOwcTzOKoQ
# Test ust streaming clear
# Parameters: tracing_active=1, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1073 - Create session w6xYHkZWIv3nD2RA with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1073 - Create session w6xYHkZWIv3nD2RA with uri:net://localhost and opts:
ok 1074 - Enable channel chan for session w6xYHkZWIv3nD2RA
PASS: tools/clear/test_ust 1074 - Enable channel chan for session w6xYHkZWIv3nD2RA
ok 1075 - Enable ust event tp:tptest for session w6xYHkZWIv3nD2RA
PASS: tools/clear/test_ust 1075 - Enable ust event tp:tptest for session w6xYHkZWIv3nD2RA
ok 1076 - Start tracing for session w6xYHkZWIv3nD2RA
PASS: tools/clear/test_ust 1076 - Start tracing for session w6xYHkZWIv3nD2RA
ok 1077 - Clear session w6xYHkZWIv3nD2RA
PASS: tools/clear/test_ust 1077 - Clear session w6xYHkZWIv3nD2RA
ok 1078 - Stop lttng tracing for session w6xYHkZWIv3nD2RA
PASS: tools/clear/test_ust 1078 - Stop lttng tracing for session w6xYHkZWIv3nD2RA
ok 1079 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/w6xYHkZWIv3nD2RA-20250509-162054" is empty
PASS: tools/clear/test_ust 1079 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/w6xYHkZWIv3nD2RA-20250509-162054" is empty
ok 1080 - Destroy session w6xYHkZWIv3nD2RA
PASS: tools/clear/test_ust 1080 - Destroy session w6xYHkZWIv3nD2RA
# 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 rb2EhDrQFLggTwbc with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1081 - Create session rb2EhDrQFLggTwbc with uri:net://localhost and opts:
ok 1082 - Enable channel chan for session rb2EhDrQFLggTwbc
PASS: tools/clear/test_ust 1082 - Enable channel chan for session rb2EhDrQFLggTwbc
ok 1083 - Enable ust event tp:tptest for session rb2EhDrQFLggTwbc
PASS: tools/clear/test_ust 1083 - Enable ust event tp:tptest for session rb2EhDrQFLggTwbc
ok 1084 - Start tracing for session rb2EhDrQFLggTwbc
PASS: tools/clear/test_ust 1084 - Start tracing for session rb2EhDrQFLggTwbc
ok 1085 - Rotate session rb2EhDrQFLggTwbc
PASS: tools/clear/test_ust 1085 - Rotate session rb2EhDrQFLggTwbc
ok 1086 - Clear session rb2EhDrQFLggTwbc
PASS: tools/clear/test_ust 1086 - Clear session rb2EhDrQFLggTwbc
ok 1087 - Stop lttng tracing for session rb2EhDrQFLggTwbc
PASS: tools/clear/test_ust 1087 - Stop lttng tracing for session rb2EhDrQFLggTwbc
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 rb2EhDrQFLggTwbc
PASS: tools/clear/test_ust 1090 - Destroy session rb2EhDrQFLggTwbc
# 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 SDXH4nwbyDc0pav1 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1091 - Create session SDXH4nwbyDc0pav1 with uri:net://localhost and opts:
ok 1092 - Enable channel chan for session SDXH4nwbyDc0pav1
PASS: tools/clear/test_ust 1092 - Enable channel chan for session SDXH4nwbyDc0pav1
ok 1093 - Enable ust event tp:tptest for session SDXH4nwbyDc0pav1
PASS: tools/clear/test_ust 1093 - Enable ust event tp:tptest for session SDXH4nwbyDc0pav1
ok 1094 - Start tracing for session SDXH4nwbyDc0pav1
PASS: tools/clear/test_ust 1094 - Start tracing for session SDXH4nwbyDc0pav1
ok 1095 - Clear session SDXH4nwbyDc0pav1
PASS: tools/clear/test_ust 1095 - Clear session SDXH4nwbyDc0pav1
ok 1096 - Rotate session SDXH4nwbyDc0pav1
PASS: tools/clear/test_ust 1096 - Rotate session SDXH4nwbyDc0pav1
ok 1097 - Stop lttng tracing for session SDXH4nwbyDc0pav1
PASS: tools/clear/test_ust 1097 - Stop lttng tracing for session SDXH4nwbyDc0pav1
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 SDXH4nwbyDc0pav1
PASS: tools/clear/test_ust 1100 - Destroy session SDXH4nwbyDc0pav1
# 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 f4GqDOo7BkJKMV78 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1101 - Create session f4GqDOo7BkJKMV78 with uri:net://localhost and opts:
ok 1102 - Enable channel rotchan for session f4GqDOo7BkJKMV78
PASS: tools/clear/test_ust 1102 - Enable channel rotchan for session f4GqDOo7BkJKMV78
ok 1103 - Enable ust event tp:tptest for session f4GqDOo7BkJKMV78
PASS: tools/clear/test_ust 1103 - Enable ust event tp:tptest for session f4GqDOo7BkJKMV78
ok 1104 - Start tracing for session f4GqDOo7BkJKMV78
PASS: tools/clear/test_ust 1104 - Start tracing for session f4GqDOo7BkJKMV78
ok 1105 - Clear session f4GqDOo7BkJKMV78
PASS: tools/clear/test_ust 1105 - Clear session f4GqDOo7BkJKMV78
ok 1106 - Stop lttng tracing for session f4GqDOo7BkJKMV78
PASS: tools/clear/test_ust 1106 - Stop lttng tracing for session f4GqDOo7BkJKMV78
ok 1107 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/f4GqDOo7BkJKMV78-20250509-162059" is empty
PASS: tools/clear/test_ust 1107 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/f4GqDOo7BkJKMV78-20250509-162059" is empty
ok 1108 - Start tracing for session f4GqDOo7BkJKMV78
PASS: tools/clear/test_ust 1108 - Start tracing for session f4GqDOo7BkJKMV78
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 f4GqDOo7BkJKMV78
PASS: tools/clear/test_ust 1112 - Destroy session f4GqDOo7BkJKMV78
# 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 JiRb2TzMWvUNgKiN with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1113 - Create session JiRb2TzMWvUNgKiN with uri:net://localhost and opts:
ok 1114 - Enable channel rotchan for session JiRb2TzMWvUNgKiN
PASS: tools/clear/test_ust 1114 - Enable channel rotchan for session JiRb2TzMWvUNgKiN
ok 1115 - Enable ust event tp:tptest for session JiRb2TzMWvUNgKiN
PASS: tools/clear/test_ust 1115 - Enable ust event tp:tptest for session JiRb2TzMWvUNgKiN
ok 1116 - Start tracing for session JiRb2TzMWvUNgKiN
PASS: tools/clear/test_ust 1116 - Start tracing for session JiRb2TzMWvUNgKiN
ok 1117 - Clear session JiRb2TzMWvUNgKiN
PASS: tools/clear/test_ust 1117 - Clear session JiRb2TzMWvUNgKiN
ok 1118 - Stop lttng tracing for session JiRb2TzMWvUNgKiN
PASS: tools/clear/test_ust 1118 - Stop lttng tracing for session JiRb2TzMWvUNgKiN
ok 1119 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/JiRb2TzMWvUNgKiN-20250509-162100" is empty
PASS: tools/clear/test_ust 1119 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/JiRb2TzMWvUNgKiN-20250509-162100" is empty
ok 1120 - Start tracing for session JiRb2TzMWvUNgKiN
PASS: tools/clear/test_ust 1120 - Start tracing for session JiRb2TzMWvUNgKiN
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, 38 events
PASS: tools/clear/test_ust 1122 - Validate trace for event tp:tptest, 38 events
ok 1123 - Read a total of 38 events, expected between [1, 200000[
PASS: tools/clear/test_ust 1123 - Read a total of 38 events, expected between [1, 200000[
ok 1124 - Destroy session JiRb2TzMWvUNgKiN
PASS: tools/clear/test_ust 1124 - Destroy session JiRb2TzMWvUNgKiN
# Test ust streaming clear no event
# Parameters: tracing_active=1, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 1125 - Create session UREf8QNOasqrxD9P with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1125 - Create session UREf8QNOasqrxD9P with uri:net://localhost and opts:
ok 1126 - Enable channel chan for session UREf8QNOasqrxD9P
PASS: tools/clear/test_ust 1126 - Enable channel chan for session UREf8QNOasqrxD9P
ok 1127 - Enable ust event tp:tptest for session UREf8QNOasqrxD9P
PASS: tools/clear/test_ust 1127 - Enable ust event tp:tptest for session UREf8QNOasqrxD9P
ok 1128 - Start tracing for session UREf8QNOasqrxD9P
PASS: tools/clear/test_ust 1128 - Start tracing for session UREf8QNOasqrxD9P
ok 1129 - Clear session UREf8QNOasqrxD9P
PASS: tools/clear/test_ust 1129 - Clear session UREf8QNOasqrxD9P
ok 1130 - Stop lttng tracing for session UREf8QNOasqrxD9P
PASS: tools/clear/test_ust 1130 - Stop lttng tracing for session UREf8QNOasqrxD9P
ok 1131 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/UREf8QNOasqrxD9P*" is empty
PASS: tools/clear/test_ust 1131 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/UREf8QNOasqrxD9P*" is empty
ok 1132 - Destroy session UREf8QNOasqrxD9P
PASS: tools/clear/test_ust 1132 - Destroy session UREf8QNOasqrxD9P
# Test ust streaming live clear
# Parameters: tracing_active=1, clear_twice=0, buffer_type=pid
ok 1133 - Create session fNu8ceSi4bq0S6FP with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1133 - Create session fNu8ceSi4bq0S6FP with uri:net://localhost and opts: --live
ok 1134 - Enable channel chan for session fNu8ceSi4bq0S6FP
PASS: tools/clear/test_ust 1134 - Enable channel chan for session fNu8ceSi4bq0S6FP
ok 1135 - Enable ust event tp:tptest for session fNu8ceSi4bq0S6FP
PASS: tools/clear/test_ust 1135 - Enable ust event tp:tptest for session fNu8ceSi4bq0S6FP
ok 1136 - Start tracing for session fNu8ceSi4bq0S6FP
PASS: tools/clear/test_ust 1136 - Start tracing for session fNu8ceSi4bq0S6FP
ok 1137 - Clear session fNu8ceSi4bq0S6FP
PASS: tools/clear/test_ust 1137 - Clear session fNu8ceSi4bq0S6FP
ok 1138 - Stop lttng tracing for session fNu8ceSi4bq0S6FP
PASS: tools/clear/test_ust 1138 - Stop lttng tracing for session fNu8ceSi4bq0S6FP
ok 1139 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/fNu8ceSi4bq0S6FP-20250509-162102" is empty
PASS: tools/clear/test_ust 1139 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/fNu8ceSi4bq0S6FP-20250509-162102" is empty
ok 1140 - Destroy session fNu8ceSi4bq0S6FP
PASS: tools/clear/test_ust 1140 - Destroy session fNu8ceSi4bq0S6FP
# Test ust basic streaming live with viewer
# Parameters: tracing_active=1, clear_twice=0, buffer_type=pid
ok 1141 - Create session 9KAb8nenVWN3tgaw with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1141 - Create session 9KAb8nenVWN3tgaw with uri:net://localhost and opts: --live
ok 1142 - Enable channel chan for session 9KAb8nenVWN3tgaw
PASS: tools/clear/test_ust 1142 - Enable channel chan for session 9KAb8nenVWN3tgaw
ok 1143 - Enable ust event tp:tptest for session 9KAb8nenVWN3tgaw
PASS: tools/clear/test_ust 1143 - Enable ust event tp:tptest for session 9KAb8nenVWN3tgaw
ok 1144 - Start tracing for session 9KAb8nenVWN3tgaw
PASS: tools/clear/test_ust 1144 - Start tracing for session 9KAb8nenVWN3tgaw
# 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 9KAb8nenVWN3tgaw
PASS: tools/clear/test_ust 1148 - Destroy session 9KAb8nenVWN3tgaw
# 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 LFGyEAoJIk2BI7h3 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1152 - Create session LFGyEAoJIk2BI7h3 with uri:net://localhost and opts: --live
ok 1153 - Enable channel chan for session LFGyEAoJIk2BI7h3
PASS: tools/clear/test_ust 1153 - Enable channel chan for session LFGyEAoJIk2BI7h3
ok 1154 - Enable ust event tp:tptest for session LFGyEAoJIk2BI7h3
PASS: tools/clear/test_ust 1154 - Enable ust event tp:tptest for session LFGyEAoJIk2BI7h3
ok 1155 - Start tracing for session LFGyEAoJIk2BI7h3
PASS: tools/clear/test_ust 1155 - Start tracing for session LFGyEAoJIk2BI7h3
# 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 LFGyEAoJIk2BI7h3
PASS: tools/clear/test_ust 1158 - Clear session LFGyEAoJIk2BI7h3
ok 1159 - Stop lttng tracing for session LFGyEAoJIk2BI7h3
PASS: tools/clear/test_ust 1159 - Stop lttng tracing for session LFGyEAoJIk2BI7h3
ok 1160 - Destroy session LFGyEAoJIk2BI7h3
PASS: tools/clear/test_ust 1160 - Destroy session LFGyEAoJIk2BI7h3
# 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 05zIM8T4bL78OYqB with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1163 - Create session 05zIM8T4bL78OYqB with uri:net://localhost and opts: --live
ok 1164 - Enable channel chan for session 05zIM8T4bL78OYqB
PASS: tools/clear/test_ust 1164 - Enable channel chan for session 05zIM8T4bL78OYqB
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 05zIM8T4bL78OYqB
PASS: tools/clear/test_ust 1166 - Enable ust event tp:tptest for session 05zIM8T4bL78OYqB
ok 1167 - Start tracing for session 05zIM8T4bL78OYqB
PASS: tools/clear/test_ust 1167 - Start tracing for session 05zIM8T4bL78OYqB
# 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 05zIM8T4bL78OYqB
PASS: tools/clear/test_ust 1171 - Clear session 05zIM8T4bL78OYqB
ok 1172 - Enable event lttng_ust_statedump:start with filtering for session 05zIM8T4bL78OYqB
PASS: tools/clear/test_ust 1172 - Enable event lttng_ust_statedump:start with filtering for session 05zIM8T4bL78OYqB
ok 1173 - Enable event lttng_ust_statedump:end with filtering for session 05zIM8T4bL78OYqB
PASS: tools/clear/test_ust 1173 - Enable event lttng_ust_statedump:end with filtering for session 05zIM8T4bL78OYqB
ok 1174 - Statedump regenerate 05zIM8T4bL78OYqB
PASS: tools/clear/test_ust 1174 - Statedump regenerate 05zIM8T4bL78OYqB
# 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 05zIM8T4bL78OYqB
PASS: tools/clear/test_ust 1176 - Stop lttng tracing for session 05zIM8T4bL78OYqB
ok 1177 - Destroy session 05zIM8T4bL78OYqB
PASS: tools/clear/test_ust 1177 - Destroy session 05zIM8T4bL78OYqB
# 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 FAzmQYbFyTaMvFiH in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1181 - Create session FAzmQYbFyTaMvFiH in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1182 - Enable channel chan for session FAzmQYbFyTaMvFiH
PASS: tools/clear/test_ust 1182 - Enable channel chan for session FAzmQYbFyTaMvFiH
ok 1183 - Enable ust event tp:tptest for session FAzmQYbFyTaMvFiH
PASS: tools/clear/test_ust 1183 - Enable ust event tp:tptest for session FAzmQYbFyTaMvFiH
ok 1184 - Start tracing for session FAzmQYbFyTaMvFiH
PASS: tools/clear/test_ust 1184 - Start tracing for session FAzmQYbFyTaMvFiH
ok 1185 - Clear session FAzmQYbFyTaMvFiH
PASS: tools/clear/test_ust 1185 - Clear session FAzmQYbFyTaMvFiH
ok 1186 - Stop lttng tracing for session FAzmQYbFyTaMvFiH
PASS: tools/clear/test_ust 1186 - Stop lttng tracing for session FAzmQYbFyTaMvFiH
ok 1187 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/ust/" is empty
PASS: tools/clear/test_ust 1187 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/ust/" is empty
ok 1188 - Destroy session FAzmQYbFyTaMvFiH
PASS: tools/clear/test_ust 1188 - Destroy session FAzmQYbFyTaMvFiH
# 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 Hz6mEipPvTEUTptz in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1189 - Create session Hz6mEipPvTEUTptz in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1190 - Enable channel chan for session Hz6mEipPvTEUTptz
PASS: tools/clear/test_ust 1190 - Enable channel chan for session Hz6mEipPvTEUTptz
ok 1191 - Enable ust event tp:tptest for session Hz6mEipPvTEUTptz
PASS: tools/clear/test_ust 1191 - Enable ust event tp:tptest for session Hz6mEipPvTEUTptz
ok 1192 - Start tracing for session Hz6mEipPvTEUTptz
PASS: tools/clear/test_ust 1192 - Start tracing for session Hz6mEipPvTEUTptz
ok 1193 - Rotate session Hz6mEipPvTEUTptz
PASS: tools/clear/test_ust 1193 - Rotate session Hz6mEipPvTEUTptz
ok 1194 - Clear session Hz6mEipPvTEUTptz
PASS: tools/clear/test_ust 1194 - Clear session Hz6mEipPvTEUTptz
ok 1195 - Stop lttng tracing for session Hz6mEipPvTEUTptz
PASS: tools/clear/test_ust 1195 - Stop lttng tracing for session Hz6mEipPvTEUTptz
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 Hz6mEipPvTEUTptz
PASS: tools/clear/test_ust 1198 - Destroy session Hz6mEipPvTEUTptz
# 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 w7lyHThD95wx0Tz1 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1199 - Create session w7lyHThD95wx0Tz1 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1200 - Enable channel chan for session w7lyHThD95wx0Tz1
PASS: tools/clear/test_ust 1200 - Enable channel chan for session w7lyHThD95wx0Tz1
ok 1201 - Enable ust event tp:tptest for session w7lyHThD95wx0Tz1
PASS: tools/clear/test_ust 1201 - Enable ust event tp:tptest for session w7lyHThD95wx0Tz1
ok 1202 - Start tracing for session w7lyHThD95wx0Tz1
PASS: tools/clear/test_ust 1202 - Start tracing for session w7lyHThD95wx0Tz1
ok 1203 - Clear session w7lyHThD95wx0Tz1
PASS: tools/clear/test_ust 1203 - Clear session w7lyHThD95wx0Tz1
ok 1204 - Rotate session w7lyHThD95wx0Tz1
PASS: tools/clear/test_ust 1204 - Rotate session w7lyHThD95wx0Tz1
ok 1205 - Stop lttng tracing for session w7lyHThD95wx0Tz1
PASS: tools/clear/test_ust 1205 - Stop lttng tracing for session w7lyHThD95wx0Tz1
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 w7lyHThD95wx0Tz1
PASS: tools/clear/test_ust 1208 - Destroy session w7lyHThD95wx0Tz1
# Test ust local no event
# Parameters: tracing_active=1, clear_twice=0, rotate_before=, rotate_after=, buffer_type=pid
ok 1209 - Create session 5sVYRPDAy10iDm1r in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1209 - Create session 5sVYRPDAy10iDm1r in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1210 - Enable channel chan for session 5sVYRPDAy10iDm1r
PASS: tools/clear/test_ust 1210 - Enable channel chan for session 5sVYRPDAy10iDm1r
ok 1211 - Enable ust event tp:tptest for session 5sVYRPDAy10iDm1r
PASS: tools/clear/test_ust 1211 - Enable ust event tp:tptest for session 5sVYRPDAy10iDm1r
ok 1212 - Start tracing for session 5sVYRPDAy10iDm1r
PASS: tools/clear/test_ust 1212 - Start tracing for session 5sVYRPDAy10iDm1r
ok 1213 - Clear session 5sVYRPDAy10iDm1r
PASS: tools/clear/test_ust 1213 - Clear session 5sVYRPDAy10iDm1r
ok 1214 - Stop lttng tracing for session 5sVYRPDAy10iDm1r
PASS: tools/clear/test_ust 1214 - Stop lttng tracing for session 5sVYRPDAy10iDm1r
ok 1215 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 1215 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 1216 - Destroy session 5sVYRPDAy10iDm1r
PASS: tools/clear/test_ust 1216 - Destroy session 5sVYRPDAy10iDm1r
# Test ust local snapshot clear per pid
# Parameters: tracing_active=1, clear_twice=0, buffer_type=pid
ok 1217 - Create session 3lbpUHHcBYNmGa17 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1217 - Create session 3lbpUHHcBYNmGa17 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1218 - Enable channel channel0 for session 3lbpUHHcBYNmGa17
PASS: tools/clear/test_ust 1218 - Enable channel channel0 for session 3lbpUHHcBYNmGa17
ok 1219 - Enable ust event tp:tptest for session 3lbpUHHcBYNmGa17
PASS: tools/clear/test_ust 1219 - Enable ust event tp:tptest for session 3lbpUHHcBYNmGa17
ok 1220 - Start tracing for session 3lbpUHHcBYNmGa17
PASS: tools/clear/test_ust 1220 - Start tracing for session 3lbpUHHcBYNmGa17
ok 1221 - Snapshot recorded
PASS: tools/clear/test_ust 1221 - Snapshot recorded
ok 1222 - Stop lttng tracing for session 3lbpUHHcBYNmGa17
PASS: tools/clear/test_ust 1222 - Stop lttng tracing for session 3lbpUHHcBYNmGa17
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 3lbpUHHcBYNmGa17
PASS: tools/clear/test_ust 1225 - Start tracing for session 3lbpUHHcBYNmGa17
ok 1226 - Clear session 3lbpUHHcBYNmGa17
PASS: tools/clear/test_ust 1226 - Clear session 3lbpUHHcBYNmGa17
ok 1227 - Snapshot recorded
PASS: tools/clear/test_ust 1227 - Snapshot recorded
ok 1228 - Stop lttng tracing for session 3lbpUHHcBYNmGa17
PASS: tools/clear/test_ust 1228 - Stop lttng tracing for session 3lbpUHHcBYNmGa17
ok 1229 - Validate empty trace
PASS: tools/clear/test_ust 1229 - Validate empty trace
ok 1230 - Start tracing for session 3lbpUHHcBYNmGa17
PASS: tools/clear/test_ust 1230 - Start tracing for session 3lbpUHHcBYNmGa17
ok 1231 - Snapshot recorded
PASS: tools/clear/test_ust 1231 - Snapshot recorded
ok 1232 - Stop lttng tracing for session 3lbpUHHcBYNmGa17
PASS: tools/clear/test_ust 1232 - Stop lttng tracing for session 3lbpUHHcBYNmGa17
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 3lbpUHHcBYNmGa17
PASS: tools/clear/test_ust 1235 - Destroy session 3lbpUHHcBYNmGa17
# Test ust streaming clear
# Parameters: tracing_active=1, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1236 - Create session 7C5jQILuIKJ6uMHc with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1236 - Create session 7C5jQILuIKJ6uMHc with uri:net://localhost and opts:
ok 1237 - Enable channel chan for session 7C5jQILuIKJ6uMHc
PASS: tools/clear/test_ust 1237 - Enable channel chan for session 7C5jQILuIKJ6uMHc
ok 1238 - Enable ust event tp:tptest for session 7C5jQILuIKJ6uMHc
PASS: tools/clear/test_ust 1238 - Enable ust event tp:tptest for session 7C5jQILuIKJ6uMHc
ok 1239 - Start tracing for session 7C5jQILuIKJ6uMHc
PASS: tools/clear/test_ust 1239 - Start tracing for session 7C5jQILuIKJ6uMHc
ok 1240 - Clear session 7C5jQILuIKJ6uMHc
PASS: tools/clear/test_ust 1240 - Clear session 7C5jQILuIKJ6uMHc
ok 1241 - Clear session 7C5jQILuIKJ6uMHc
PASS: tools/clear/test_ust 1241 - Clear session 7C5jQILuIKJ6uMHc
ok 1242 - Stop lttng tracing for session 7C5jQILuIKJ6uMHc
PASS: tools/clear/test_ust 1242 - Stop lttng tracing for session 7C5jQILuIKJ6uMHc
ok 1243 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/7C5jQILuIKJ6uMHc-20250509-162126" is empty
PASS: tools/clear/test_ust 1243 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/7C5jQILuIKJ6uMHc-20250509-162126" is empty
ok 1244 - Destroy session 7C5jQILuIKJ6uMHc
PASS: tools/clear/test_ust 1244 - Destroy session 7C5jQILuIKJ6uMHc
# 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 vJEHYdlFukh0Hiqm with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1245 - Create session vJEHYdlFukh0Hiqm with uri:net://localhost and opts:
ok 1246 - Enable channel chan for session vJEHYdlFukh0Hiqm
PASS: tools/clear/test_ust 1246 - Enable channel chan for session vJEHYdlFukh0Hiqm
ok 1247 - Enable ust event tp:tptest for session vJEHYdlFukh0Hiqm
PASS: tools/clear/test_ust 1247 - Enable ust event tp:tptest for session vJEHYdlFukh0Hiqm
ok 1248 - Start tracing for session vJEHYdlFukh0Hiqm
PASS: tools/clear/test_ust 1248 - Start tracing for session vJEHYdlFukh0Hiqm
ok 1249 - Rotate session vJEHYdlFukh0Hiqm
PASS: tools/clear/test_ust 1249 - Rotate session vJEHYdlFukh0Hiqm
ok 1250 - Clear session vJEHYdlFukh0Hiqm
PASS: tools/clear/test_ust 1250 - Clear session vJEHYdlFukh0Hiqm
ok 1251 - Clear session vJEHYdlFukh0Hiqm
PASS: tools/clear/test_ust 1251 - Clear session vJEHYdlFukh0Hiqm
ok 1252 - Stop lttng tracing for session vJEHYdlFukh0Hiqm
PASS: tools/clear/test_ust 1252 - Stop lttng tracing for session vJEHYdlFukh0Hiqm
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 vJEHYdlFukh0Hiqm
PASS: tools/clear/test_ust 1255 - Destroy session vJEHYdlFukh0Hiqm
# 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 dD2Aew28yPVE9EM8 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1256 - Create session dD2Aew28yPVE9EM8 with uri:net://localhost and opts:
ok 1257 - Enable channel chan for session dD2Aew28yPVE9EM8
PASS: tools/clear/test_ust 1257 - Enable channel chan for session dD2Aew28yPVE9EM8
ok 1258 - Enable ust event tp:tptest for session dD2Aew28yPVE9EM8
PASS: tools/clear/test_ust 1258 - Enable ust event tp:tptest for session dD2Aew28yPVE9EM8
ok 1259 - Start tracing for session dD2Aew28yPVE9EM8
PASS: tools/clear/test_ust 1259 - Start tracing for session dD2Aew28yPVE9EM8
ok 1260 - Clear session dD2Aew28yPVE9EM8
PASS: tools/clear/test_ust 1260 - Clear session dD2Aew28yPVE9EM8
ok 1261 - Clear session dD2Aew28yPVE9EM8
PASS: tools/clear/test_ust 1261 - Clear session dD2Aew28yPVE9EM8
ok 1262 - Rotate session dD2Aew28yPVE9EM8
PASS: tools/clear/test_ust 1262 - Rotate session dD2Aew28yPVE9EM8
ok 1263 - Stop lttng tracing for session dD2Aew28yPVE9EM8
PASS: tools/clear/test_ust 1263 - Stop lttng tracing for session dD2Aew28yPVE9EM8
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 dD2Aew28yPVE9EM8
PASS: tools/clear/test_ust 1266 - Destroy session dD2Aew28yPVE9EM8
# 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 448aLAEcz2wjRPg6 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1267 - Create session 448aLAEcz2wjRPg6 with uri:net://localhost and opts:
ok 1268 - Enable channel rotchan for session 448aLAEcz2wjRPg6
PASS: tools/clear/test_ust 1268 - Enable channel rotchan for session 448aLAEcz2wjRPg6
ok 1269 - Enable ust event tp:tptest for session 448aLAEcz2wjRPg6
PASS: tools/clear/test_ust 1269 - Enable ust event tp:tptest for session 448aLAEcz2wjRPg6
ok 1270 - Start tracing for session 448aLAEcz2wjRPg6
PASS: tools/clear/test_ust 1270 - Start tracing for session 448aLAEcz2wjRPg6
ok 1271 - Clear session 448aLAEcz2wjRPg6
PASS: tools/clear/test_ust 1271 - Clear session 448aLAEcz2wjRPg6
ok 1272 - Clear session 448aLAEcz2wjRPg6
PASS: tools/clear/test_ust 1272 - Clear session 448aLAEcz2wjRPg6
ok 1273 - Stop lttng tracing for session 448aLAEcz2wjRPg6
PASS: tools/clear/test_ust 1273 - Stop lttng tracing for session 448aLAEcz2wjRPg6
ok 1274 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/448aLAEcz2wjRPg6-20250509-162132" is empty
PASS: tools/clear/test_ust 1274 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/448aLAEcz2wjRPg6-20250509-162132" is empty
ok 1275 - Start tracing for session 448aLAEcz2wjRPg6
PASS: tools/clear/test_ust 1275 - Start tracing for session 448aLAEcz2wjRPg6
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 448aLAEcz2wjRPg6
PASS: tools/clear/test_ust 1279 - Destroy session 448aLAEcz2wjRPg6
# 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 hj3mwhQMBgtyjlpy with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1280 - Create session hj3mwhQMBgtyjlpy with uri:net://localhost and opts:
ok 1281 - Enable channel rotchan for session hj3mwhQMBgtyjlpy
PASS: tools/clear/test_ust 1281 - Enable channel rotchan for session hj3mwhQMBgtyjlpy
ok 1282 - Enable ust event tp:tptest for session hj3mwhQMBgtyjlpy
PASS: tools/clear/test_ust 1282 - Enable ust event tp:tptest for session hj3mwhQMBgtyjlpy
ok 1283 - Start tracing for session hj3mwhQMBgtyjlpy
PASS: tools/clear/test_ust 1283 - Start tracing for session hj3mwhQMBgtyjlpy
ok 1284 - Clear session hj3mwhQMBgtyjlpy
PASS: tools/clear/test_ust 1284 - Clear session hj3mwhQMBgtyjlpy
ok 1285 - Clear session hj3mwhQMBgtyjlpy
PASS: tools/clear/test_ust 1285 - Clear session hj3mwhQMBgtyjlpy
ok 1286 - Stop lttng tracing for session hj3mwhQMBgtyjlpy
PASS: tools/clear/test_ust 1286 - Stop lttng tracing for session hj3mwhQMBgtyjlpy
ok 1287 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/hj3mwhQMBgtyjlpy-20250509-162134" is empty
PASS: tools/clear/test_ust 1287 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/hj3mwhQMBgtyjlpy-20250509-162134" is empty
ok 1288 - Start tracing for session hj3mwhQMBgtyjlpy
PASS: tools/clear/test_ust 1288 - Start tracing for session hj3mwhQMBgtyjlpy
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 hj3mwhQMBgtyjlpy
PASS: tools/clear/test_ust 1292 - Destroy session hj3mwhQMBgtyjlpy
# Test ust streaming clear no event
# Parameters: tracing_active=1, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 1293 - Create session WuKOLZyq0O3ZCBHg with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1293 - Create session WuKOLZyq0O3ZCBHg with uri:net://localhost and opts:
ok 1294 - Enable channel chan for session WuKOLZyq0O3ZCBHg
PASS: tools/clear/test_ust 1294 - Enable channel chan for session WuKOLZyq0O3ZCBHg
ok 1295 - Enable ust event tp:tptest for session WuKOLZyq0O3ZCBHg
PASS: tools/clear/test_ust 1295 - Enable ust event tp:tptest for session WuKOLZyq0O3ZCBHg
ok 1296 - Start tracing for session WuKOLZyq0O3ZCBHg
PASS: tools/clear/test_ust 1296 - Start tracing for session WuKOLZyq0O3ZCBHg
ok 1297 - Clear session WuKOLZyq0O3ZCBHg
PASS: tools/clear/test_ust 1297 - Clear session WuKOLZyq0O3ZCBHg
ok 1298 - Clear session WuKOLZyq0O3ZCBHg
PASS: tools/clear/test_ust 1298 - Clear session WuKOLZyq0O3ZCBHg
ok 1299 - Stop lttng tracing for session WuKOLZyq0O3ZCBHg
PASS: tools/clear/test_ust 1299 - Stop lttng tracing for session WuKOLZyq0O3ZCBHg
ok 1300 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/WuKOLZyq0O3ZCBHg*" is empty
PASS: tools/clear/test_ust 1300 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/WuKOLZyq0O3ZCBHg*" is empty
ok 1301 - Destroy session WuKOLZyq0O3ZCBHg
PASS: tools/clear/test_ust 1301 - Destroy session WuKOLZyq0O3ZCBHg
# Test ust streaming live clear
# Parameters: tracing_active=1, clear_twice=1, buffer_type=pid
ok 1302 - Create session HO78HFDRjkuEvW92 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1302 - Create session HO78HFDRjkuEvW92 with uri:net://localhost and opts: --live
ok 1303 - Enable channel chan for session HO78HFDRjkuEvW92
PASS: tools/clear/test_ust 1303 - Enable channel chan for session HO78HFDRjkuEvW92
ok 1304 - Enable ust event tp:tptest for session HO78HFDRjkuEvW92
PASS: tools/clear/test_ust 1304 - Enable ust event tp:tptest for session HO78HFDRjkuEvW92
ok 1305 - Start tracing for session HO78HFDRjkuEvW92
PASS: tools/clear/test_ust 1305 - Start tracing for session HO78HFDRjkuEvW92
ok 1306 - Clear session HO78HFDRjkuEvW92
PASS: tools/clear/test_ust 1306 - Clear session HO78HFDRjkuEvW92
ok 1307 - Clear session HO78HFDRjkuEvW92
PASS: tools/clear/test_ust 1307 - Clear session HO78HFDRjkuEvW92
ok 1308 - Stop lttng tracing for session HO78HFDRjkuEvW92
PASS: tools/clear/test_ust 1308 - Stop lttng tracing for session HO78HFDRjkuEvW92
ok 1309 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/HO78HFDRjkuEvW92-20250509-162137" is empty
PASS: tools/clear/test_ust 1309 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/HO78HFDRjkuEvW92-20250509-162137" is empty
ok 1310 - Destroy session HO78HFDRjkuEvW92
PASS: tools/clear/test_ust 1310 - Destroy session HO78HFDRjkuEvW92
# Test ust basic streaming live with viewer
# Parameters: tracing_active=1, clear_twice=1, buffer_type=pid
ok 1311 - Create session lMrl2dFVELL7hovu with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1311 - Create session lMrl2dFVELL7hovu with uri:net://localhost and opts: --live
ok 1312 - Enable channel chan for session lMrl2dFVELL7hovu
PASS: tools/clear/test_ust 1312 - Enable channel chan for session lMrl2dFVELL7hovu
ok 1313 - Enable ust event tp:tptest for session lMrl2dFVELL7hovu
PASS: tools/clear/test_ust 1313 - Enable ust event tp:tptest for session lMrl2dFVELL7hovu
ok 1314 - Start tracing for session lMrl2dFVELL7hovu
PASS: tools/clear/test_ust 1314 - Start tracing for session lMrl2dFVELL7hovu
# 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 lMrl2dFVELL7hovu
PASS: tools/clear/test_ust 1318 - Destroy session lMrl2dFVELL7hovu
# 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 bsFlO0aMAjwGRzP8 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1322 - Create session bsFlO0aMAjwGRzP8 with uri:net://localhost and opts: --live
ok 1323 - Enable channel chan for session bsFlO0aMAjwGRzP8
PASS: tools/clear/test_ust 1323 - Enable channel chan for session bsFlO0aMAjwGRzP8
ok 1324 - Enable ust event tp:tptest for session bsFlO0aMAjwGRzP8
PASS: tools/clear/test_ust 1324 - Enable ust event tp:tptest for session bsFlO0aMAjwGRzP8
ok 1325 - Start tracing for session bsFlO0aMAjwGRzP8
PASS: tools/clear/test_ust 1325 - Start tracing for session bsFlO0aMAjwGRzP8
# 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 bsFlO0aMAjwGRzP8
PASS: tools/clear/test_ust 1328 - Clear session bsFlO0aMAjwGRzP8
ok 1329 - Clear session bsFlO0aMAjwGRzP8
PASS: tools/clear/test_ust 1329 - Clear session bsFlO0aMAjwGRzP8
ok 1330 - Stop lttng tracing for session bsFlO0aMAjwGRzP8
PASS: tools/clear/test_ust 1330 - Stop lttng tracing for session bsFlO0aMAjwGRzP8
ok 1331 - Destroy session bsFlO0aMAjwGRzP8
PASS: tools/clear/test_ust 1331 - Destroy session bsFlO0aMAjwGRzP8
# 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 eDslY9jRrmEUBLiu with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1334 - Create session eDslY9jRrmEUBLiu with uri:net://localhost and opts: --live
ok 1335 - Enable channel chan for session eDslY9jRrmEUBLiu
PASS: tools/clear/test_ust 1335 - Enable channel chan for session eDslY9jRrmEUBLiu
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 eDslY9jRrmEUBLiu
PASS: tools/clear/test_ust 1337 - Enable ust event tp:tptest for session eDslY9jRrmEUBLiu
ok 1338 - Start tracing for session eDslY9jRrmEUBLiu
PASS: tools/clear/test_ust 1338 - Start tracing for session eDslY9jRrmEUBLiu
# 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 eDslY9jRrmEUBLiu
PASS: tools/clear/test_ust 1342 - Clear session eDslY9jRrmEUBLiu
ok 1343 - Clear session eDslY9jRrmEUBLiu
PASS: tools/clear/test_ust 1343 - Clear session eDslY9jRrmEUBLiu
ok 1344 - Enable event lttng_ust_statedump:start with filtering for session eDslY9jRrmEUBLiu
PASS: tools/clear/test_ust 1344 - Enable event lttng_ust_statedump:start with filtering for session eDslY9jRrmEUBLiu
ok 1345 - Enable event lttng_ust_statedump:end with filtering for session eDslY9jRrmEUBLiu
PASS: tools/clear/test_ust 1345 - Enable event lttng_ust_statedump:end with filtering for session eDslY9jRrmEUBLiu
ok 1346 - Statedump regenerate eDslY9jRrmEUBLiu
PASS: tools/clear/test_ust 1346 - Statedump regenerate eDslY9jRrmEUBLiu
# 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 eDslY9jRrmEUBLiu
PASS: tools/clear/test_ust 1348 - Stop lttng tracing for session eDslY9jRrmEUBLiu
ok 1349 - Destroy session eDslY9jRrmEUBLiu
PASS: tools/clear/test_ust 1349 - Destroy session eDslY9jRrmEUBLiu
# 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 N2yUrjJF9cwMZonX in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1353 - Create session N2yUrjJF9cwMZonX in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1354 - Enable channel chan for session N2yUrjJF9cwMZonX
PASS: tools/clear/test_ust 1354 - Enable channel chan for session N2yUrjJF9cwMZonX
ok 1355 - Enable ust event tp:tptest for session N2yUrjJF9cwMZonX
PASS: tools/clear/test_ust 1355 - Enable ust event tp:tptest for session N2yUrjJF9cwMZonX
ok 1356 - Start tracing for session N2yUrjJF9cwMZonX
PASS: tools/clear/test_ust 1356 - Start tracing for session N2yUrjJF9cwMZonX
ok 1357 - Clear session N2yUrjJF9cwMZonX
PASS: tools/clear/test_ust 1357 - Clear session N2yUrjJF9cwMZonX
ok 1358 - Clear session N2yUrjJF9cwMZonX
PASS: tools/clear/test_ust 1358 - Clear session N2yUrjJF9cwMZonX
ok 1359 - Stop lttng tracing for session N2yUrjJF9cwMZonX
PASS: tools/clear/test_ust 1359 - Stop lttng tracing for session N2yUrjJF9cwMZonX
ok 1360 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/ust/" is empty
PASS: tools/clear/test_ust 1360 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/ust/" is empty
ok 1361 - Destroy session N2yUrjJF9cwMZonX
PASS: tools/clear/test_ust 1361 - Destroy session N2yUrjJF9cwMZonX
# 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 Vylj8RZ2Qe3yErcy in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1362 - Create session Vylj8RZ2Qe3yErcy in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1363 - Enable channel chan for session Vylj8RZ2Qe3yErcy
PASS: tools/clear/test_ust 1363 - Enable channel chan for session Vylj8RZ2Qe3yErcy
ok 1364 - Enable ust event tp:tptest for session Vylj8RZ2Qe3yErcy
PASS: tools/clear/test_ust 1364 - Enable ust event tp:tptest for session Vylj8RZ2Qe3yErcy
ok 1365 - Start tracing for session Vylj8RZ2Qe3yErcy
PASS: tools/clear/test_ust 1365 - Start tracing for session Vylj8RZ2Qe3yErcy
ok 1366 - Rotate session Vylj8RZ2Qe3yErcy
PASS: tools/clear/test_ust 1366 - Rotate session Vylj8RZ2Qe3yErcy
ok 1367 - Clear session Vylj8RZ2Qe3yErcy
PASS: tools/clear/test_ust 1367 - Clear session Vylj8RZ2Qe3yErcy
ok 1368 - Clear session Vylj8RZ2Qe3yErcy
PASS: tools/clear/test_ust 1368 - Clear session Vylj8RZ2Qe3yErcy
ok 1369 - Stop lttng tracing for session Vylj8RZ2Qe3yErcy
PASS: tools/clear/test_ust 1369 - Stop lttng tracing for session Vylj8RZ2Qe3yErcy
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 Vylj8RZ2Qe3yErcy
PASS: tools/clear/test_ust 1372 - Destroy session Vylj8RZ2Qe3yErcy
# 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 K4iJPi9VziEdShL2 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1373 - Create session K4iJPi9VziEdShL2 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1374 - Enable channel chan for session K4iJPi9VziEdShL2
PASS: tools/clear/test_ust 1374 - Enable channel chan for session K4iJPi9VziEdShL2
ok 1375 - Enable ust event tp:tptest for session K4iJPi9VziEdShL2
PASS: tools/clear/test_ust 1375 - Enable ust event tp:tptest for session K4iJPi9VziEdShL2
ok 1376 - Start tracing for session K4iJPi9VziEdShL2
PASS: tools/clear/test_ust 1376 - Start tracing for session K4iJPi9VziEdShL2
ok 1377 - Clear session K4iJPi9VziEdShL2
PASS: tools/clear/test_ust 1377 - Clear session K4iJPi9VziEdShL2
ok 1378 - Clear session K4iJPi9VziEdShL2
PASS: tools/clear/test_ust 1378 - Clear session K4iJPi9VziEdShL2
ok 1379 - Rotate session K4iJPi9VziEdShL2
PASS: tools/clear/test_ust 1379 - Rotate session K4iJPi9VziEdShL2
ok 1380 - Stop lttng tracing for session K4iJPi9VziEdShL2
PASS: tools/clear/test_ust 1380 - Stop lttng tracing for session K4iJPi9VziEdShL2
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 K4iJPi9VziEdShL2
PASS: tools/clear/test_ust 1383 - Destroy session K4iJPi9VziEdShL2
# Test ust local no event
# Parameters: tracing_active=1, clear_twice=1, rotate_before=, rotate_after=, buffer_type=pid
ok 1384 - Create session cp07ZckUpZ1vVCqM in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1384 - Create session cp07ZckUpZ1vVCqM in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1385 - Enable channel chan for session cp07ZckUpZ1vVCqM
PASS: tools/clear/test_ust 1385 - Enable channel chan for session cp07ZckUpZ1vVCqM
ok 1386 - Enable ust event tp:tptest for session cp07ZckUpZ1vVCqM
PASS: tools/clear/test_ust 1386 - Enable ust event tp:tptest for session cp07ZckUpZ1vVCqM
ok 1387 - Start tracing for session cp07ZckUpZ1vVCqM
PASS: tools/clear/test_ust 1387 - Start tracing for session cp07ZckUpZ1vVCqM
ok 1388 - Clear session cp07ZckUpZ1vVCqM
PASS: tools/clear/test_ust 1388 - Clear session cp07ZckUpZ1vVCqM
ok 1389 - Clear session cp07ZckUpZ1vVCqM
PASS: tools/clear/test_ust 1389 - Clear session cp07ZckUpZ1vVCqM
ok 1390 - Stop lttng tracing for session cp07ZckUpZ1vVCqM
PASS: tools/clear/test_ust 1390 - Stop lttng tracing for session cp07ZckUpZ1vVCqM
ok 1391 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 1391 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 1392 - Destroy session cp07ZckUpZ1vVCqM
PASS: tools/clear/test_ust 1392 - Destroy session cp07ZckUpZ1vVCqM
# Test ust local snapshot clear per pid
# Parameters: tracing_active=1, clear_twice=1, buffer_type=pid
ok 1393 - Create session 3d9aYGSjJnewB4Eg in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1393 - Create session 3d9aYGSjJnewB4Eg in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1394 - Enable channel channel0 for session 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1394 - Enable channel channel0 for session 3d9aYGSjJnewB4Eg
ok 1395 - Enable ust event tp:tptest for session 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1395 - Enable ust event tp:tptest for session 3d9aYGSjJnewB4Eg
ok 1396 - Start tracing for session 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1396 - Start tracing for session 3d9aYGSjJnewB4Eg
ok 1397 - Snapshot recorded
PASS: tools/clear/test_ust 1397 - Snapshot recorded
ok 1398 - Stop lttng tracing for session 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1398 - Stop lttng tracing for session 3d9aYGSjJnewB4Eg
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 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1401 - Start tracing for session 3d9aYGSjJnewB4Eg
ok 1402 - Clear session 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1402 - Clear session 3d9aYGSjJnewB4Eg
ok 1403 - Clear session 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1403 - Clear session 3d9aYGSjJnewB4Eg
ok 1404 - Snapshot recorded
PASS: tools/clear/test_ust 1404 - Snapshot recorded
ok 1405 - Stop lttng tracing for session 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1405 - Stop lttng tracing for session 3d9aYGSjJnewB4Eg
ok 1406 - Validate empty trace
PASS: tools/clear/test_ust 1406 - Validate empty trace
ok 1407 - Start tracing for session 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1407 - Start tracing for session 3d9aYGSjJnewB4Eg
ok 1408 - Snapshot recorded
PASS: tools/clear/test_ust 1408 - Snapshot recorded
ok 1409 - Stop lttng tracing for session 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1409 - Stop lttng tracing for session 3d9aYGSjJnewB4Eg
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 3d9aYGSjJnewB4Eg
PASS: tools/clear/test_ust 1412 - Destroy session 3d9aYGSjJnewB4Eg
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1413 - Create session 3nHXFUfVqEu9JQuD with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1413 - Create session 3nHXFUfVqEu9JQuD with uri:net://localhost and opts:
ok 1414 - Enable channel chan for session 3nHXFUfVqEu9JQuD
PASS: tools/clear/test_ust 1414 - Enable channel chan for session 3nHXFUfVqEu9JQuD
ok 1415 - Enable ust event tp:tptest for session 3nHXFUfVqEu9JQuD
PASS: tools/clear/test_ust 1415 - Enable ust event tp:tptest for session 3nHXFUfVqEu9JQuD
ok 1416 - Start tracing for session 3nHXFUfVqEu9JQuD
PASS: tools/clear/test_ust 1416 - Start tracing for session 3nHXFUfVqEu9JQuD
ok 1417 - Stop lttng tracing for session 3nHXFUfVqEu9JQuD
PASS: tools/clear/test_ust 1417 - Stop lttng tracing for session 3nHXFUfVqEu9JQuD
ok 1418 - Clear session 3nHXFUfVqEu9JQuD
PASS: tools/clear/test_ust 1418 - Clear session 3nHXFUfVqEu9JQuD
ok 1419 - Start tracing for session 3nHXFUfVqEu9JQuD
PASS: tools/clear/test_ust 1419 - Start tracing for session 3nHXFUfVqEu9JQuD
ok 1420 - Stop lttng tracing for session 3nHXFUfVqEu9JQuD
PASS: tools/clear/test_ust 1420 - Stop lttng tracing for session 3nHXFUfVqEu9JQuD
ok 1421 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/3nHXFUfVqEu9JQuD-20250509-162203" is empty
PASS: tools/clear/test_ust 1421 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/3nHXFUfVqEu9JQuD-20250509-162203" is empty
ok 1422 - Destroy session 3nHXFUfVqEu9JQuD
PASS: tools/clear/test_ust 1422 - Destroy session 3nHXFUfVqEu9JQuD
# 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 Nyjxu0GbLHFCNr12 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1423 - Create session Nyjxu0GbLHFCNr12 with uri:net://localhost and opts:
ok 1424 - Enable channel chan for session Nyjxu0GbLHFCNr12
PASS: tools/clear/test_ust 1424 - Enable channel chan for session Nyjxu0GbLHFCNr12
ok 1425 - Enable ust event tp:tptest for session Nyjxu0GbLHFCNr12
PASS: tools/clear/test_ust 1425 - Enable ust event tp:tptest for session Nyjxu0GbLHFCNr12
ok 1426 - Start tracing for session Nyjxu0GbLHFCNr12
PASS: tools/clear/test_ust 1426 - Start tracing for session Nyjxu0GbLHFCNr12
ok 1427 - Rotate session Nyjxu0GbLHFCNr12
PASS: tools/clear/test_ust 1427 - Rotate session Nyjxu0GbLHFCNr12
ok 1428 - Stop lttng tracing for session Nyjxu0GbLHFCNr12
PASS: tools/clear/test_ust 1428 - Stop lttng tracing for session Nyjxu0GbLHFCNr12
ok 1429 - Clear session Nyjxu0GbLHFCNr12
PASS: tools/clear/test_ust 1429 - Clear session Nyjxu0GbLHFCNr12
ok 1430 - Start tracing for session Nyjxu0GbLHFCNr12
PASS: tools/clear/test_ust 1430 - Start tracing for session Nyjxu0GbLHFCNr12
ok 1431 - Stop lttng tracing for session Nyjxu0GbLHFCNr12
PASS: tools/clear/test_ust 1431 - Stop lttng tracing for session Nyjxu0GbLHFCNr12
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 Nyjxu0GbLHFCNr12
PASS: tools/clear/test_ust 1434 - Destroy session Nyjxu0GbLHFCNr12
# 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 JLo8dBABVKaBji0G with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1435 - Create session JLo8dBABVKaBji0G with uri:net://localhost and opts:
ok 1436 - Enable channel chan for session JLo8dBABVKaBji0G
PASS: tools/clear/test_ust 1436 - Enable channel chan for session JLo8dBABVKaBji0G
ok 1437 - Enable ust event tp:tptest for session JLo8dBABVKaBji0G
PASS: tools/clear/test_ust 1437 - Enable ust event tp:tptest for session JLo8dBABVKaBji0G
ok 1438 - Start tracing for session JLo8dBABVKaBji0G
PASS: tools/clear/test_ust 1438 - Start tracing for session JLo8dBABVKaBji0G
ok 1439 - Stop lttng tracing for session JLo8dBABVKaBji0G
PASS: tools/clear/test_ust 1439 - Stop lttng tracing for session JLo8dBABVKaBji0G
ok 1440 - Clear session JLo8dBABVKaBji0G
PASS: tools/clear/test_ust 1440 - Clear session JLo8dBABVKaBji0G
ok 1441 - Start tracing for session JLo8dBABVKaBji0G
PASS: tools/clear/test_ust 1441 - Start tracing for session JLo8dBABVKaBji0G
ok 1442 - Rotate session JLo8dBABVKaBji0G
PASS: tools/clear/test_ust 1442 - Rotate session JLo8dBABVKaBji0G
ok 1443 - Stop lttng tracing for session JLo8dBABVKaBji0G
PASS: tools/clear/test_ust 1443 - Stop lttng tracing for session JLo8dBABVKaBji0G
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 JLo8dBABVKaBji0G
PASS: tools/clear/test_ust 1446 - Destroy session JLo8dBABVKaBji0G
# 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 FKTOIPjz6QHPngM5 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1447 - Create session FKTOIPjz6QHPngM5 with uri:net://localhost and opts:
ok 1448 - Enable channel rotchan for session FKTOIPjz6QHPngM5
PASS: tools/clear/test_ust 1448 - Enable channel rotchan for session FKTOIPjz6QHPngM5
ok 1449 - Enable ust event tp:tptest for session FKTOIPjz6QHPngM5
PASS: tools/clear/test_ust 1449 - Enable ust event tp:tptest for session FKTOIPjz6QHPngM5
ok 1450 - Start tracing for session FKTOIPjz6QHPngM5
PASS: tools/clear/test_ust 1450 - Start tracing for session FKTOIPjz6QHPngM5
ok 1451 - Stop lttng tracing for session FKTOIPjz6QHPngM5
PASS: tools/clear/test_ust 1451 - Stop lttng tracing for session FKTOIPjz6QHPngM5
ok 1452 - Clear session FKTOIPjz6QHPngM5
PASS: tools/clear/test_ust 1452 - Clear session FKTOIPjz6QHPngM5
ok 1453 - Start tracing for session FKTOIPjz6QHPngM5
PASS: tools/clear/test_ust 1453 - Start tracing for session FKTOIPjz6QHPngM5
ok 1454 - Stop lttng tracing for session FKTOIPjz6QHPngM5
PASS: tools/clear/test_ust 1454 - Stop lttng tracing for session FKTOIPjz6QHPngM5
ok 1455 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/FKTOIPjz6QHPngM5-20250509-162208" is empty
PASS: tools/clear/test_ust 1455 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/FKTOIPjz6QHPngM5-20250509-162208" is empty
ok 1456 - Start tracing for session FKTOIPjz6QHPngM5
PASS: tools/clear/test_ust 1456 - Start tracing for session FKTOIPjz6QHPngM5
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 FKTOIPjz6QHPngM5
PASS: tools/clear/test_ust 1460 - Destroy session FKTOIPjz6QHPngM5
# 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 nOw3Em4kRQmSlNLY with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1461 - Create session nOw3Em4kRQmSlNLY with uri:net://localhost and opts:
ok 1462 - Enable channel rotchan for session nOw3Em4kRQmSlNLY
PASS: tools/clear/test_ust 1462 - Enable channel rotchan for session nOw3Em4kRQmSlNLY
ok 1463 - Enable ust event tp:tptest for session nOw3Em4kRQmSlNLY
PASS: tools/clear/test_ust 1463 - Enable ust event tp:tptest for session nOw3Em4kRQmSlNLY
ok 1464 - Start tracing for session nOw3Em4kRQmSlNLY
PASS: tools/clear/test_ust 1464 - Start tracing for session nOw3Em4kRQmSlNLY
ok 1465 - Stop lttng tracing for session nOw3Em4kRQmSlNLY
PASS: tools/clear/test_ust 1465 - Stop lttng tracing for session nOw3Em4kRQmSlNLY
ok 1466 - Clear session nOw3Em4kRQmSlNLY
PASS: tools/clear/test_ust 1466 - Clear session nOw3Em4kRQmSlNLY
ok 1467 - Start tracing for session nOw3Em4kRQmSlNLY
PASS: tools/clear/test_ust 1467 - Start tracing for session nOw3Em4kRQmSlNLY
ok 1468 - Stop lttng tracing for session nOw3Em4kRQmSlNLY
PASS: tools/clear/test_ust 1468 - Stop lttng tracing for session nOw3Em4kRQmSlNLY
ok 1469 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/nOw3Em4kRQmSlNLY-20250509-162209" is empty
PASS: tools/clear/test_ust 1469 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/nOw3Em4kRQmSlNLY-20250509-162209" is empty
ok 1470 - Start tracing for session nOw3Em4kRQmSlNLY
PASS: tools/clear/test_ust 1470 - Start tracing for session nOw3Em4kRQmSlNLY
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 nOw3Em4kRQmSlNLY
PASS: tools/clear/test_ust 1474 - Destroy session nOw3Em4kRQmSlNLY
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 1475 - Create session ttCdE2RLN4KzsM8V with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1475 - Create session ttCdE2RLN4KzsM8V with uri:net://localhost and opts:
ok 1476 - Enable channel chan for session ttCdE2RLN4KzsM8V
PASS: tools/clear/test_ust 1476 - Enable channel chan for session ttCdE2RLN4KzsM8V
ok 1477 - Enable ust event tp:tptest for session ttCdE2RLN4KzsM8V
PASS: tools/clear/test_ust 1477 - Enable ust event tp:tptest for session ttCdE2RLN4KzsM8V
ok 1478 - Start tracing for session ttCdE2RLN4KzsM8V
PASS: tools/clear/test_ust 1478 - Start tracing for session ttCdE2RLN4KzsM8V
ok 1479 - Stop lttng tracing for session ttCdE2RLN4KzsM8V
PASS: tools/clear/test_ust 1479 - Stop lttng tracing for session ttCdE2RLN4KzsM8V
ok 1480 - Clear session ttCdE2RLN4KzsM8V
PASS: tools/clear/test_ust 1480 - Clear session ttCdE2RLN4KzsM8V
ok 1481 - Start tracing for session ttCdE2RLN4KzsM8V
PASS: tools/clear/test_ust 1481 - Start tracing for session ttCdE2RLN4KzsM8V
ok 1482 - Stop lttng tracing for session ttCdE2RLN4KzsM8V
PASS: tools/clear/test_ust 1482 - Stop lttng tracing for session ttCdE2RLN4KzsM8V
ok 1483 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/ttCdE2RLN4KzsM8V*" is empty
PASS: tools/clear/test_ust 1483 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/ttCdE2RLN4KzsM8V*" is empty
ok 1484 - Destroy session ttCdE2RLN4KzsM8V
PASS: tools/clear/test_ust 1484 - Destroy session ttCdE2RLN4KzsM8V
# Test ust streaming live clear
# Parameters: tracing_active=0, clear_twice=0, buffer_type=pid
ok 1485 - Create session VEeGgYKuz3IPTh6Z with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1485 - Create session VEeGgYKuz3IPTh6Z with uri:net://localhost and opts: --live
ok 1486 - Enable channel chan for session VEeGgYKuz3IPTh6Z
PASS: tools/clear/test_ust 1486 - Enable channel chan for session VEeGgYKuz3IPTh6Z
ok 1487 - Enable ust event tp:tptest for session VEeGgYKuz3IPTh6Z
PASS: tools/clear/test_ust 1487 - Enable ust event tp:tptest for session VEeGgYKuz3IPTh6Z
ok 1488 - Start tracing for session VEeGgYKuz3IPTh6Z
PASS: tools/clear/test_ust 1488 - Start tracing for session VEeGgYKuz3IPTh6Z
ok 1489 - Stop lttng tracing for session VEeGgYKuz3IPTh6Z
PASS: tools/clear/test_ust 1489 - Stop lttng tracing for session VEeGgYKuz3IPTh6Z
ok 1490 - Clear session VEeGgYKuz3IPTh6Z
PASS: tools/clear/test_ust 1490 - Clear session VEeGgYKuz3IPTh6Z
ok 1491 - Start tracing for session VEeGgYKuz3IPTh6Z
PASS: tools/clear/test_ust 1491 - Start tracing for session VEeGgYKuz3IPTh6Z
ok 1492 - Stop lttng tracing for session VEeGgYKuz3IPTh6Z
PASS: tools/clear/test_ust 1492 - Stop lttng tracing for session VEeGgYKuz3IPTh6Z
ok 1493 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/VEeGgYKuz3IPTh6Z-20250509-162212" is empty
PASS: tools/clear/test_ust 1493 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/VEeGgYKuz3IPTh6Z-20250509-162212" is empty
ok 1494 - Destroy session VEeGgYKuz3IPTh6Z
PASS: tools/clear/test_ust 1494 - Destroy session VEeGgYKuz3IPTh6Z
# Test ust basic streaming live with viewer
# Parameters: tracing_active=0, clear_twice=0, buffer_type=pid
ok 1495 - Create session UZSjhhjImA37WD54 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1495 - Create session UZSjhhjImA37WD54 with uri:net://localhost and opts: --live
ok 1496 - Enable channel chan for session UZSjhhjImA37WD54
PASS: tools/clear/test_ust 1496 - Enable channel chan for session UZSjhhjImA37WD54
ok 1497 - Enable ust event tp:tptest for session UZSjhhjImA37WD54
PASS: tools/clear/test_ust 1497 - Enable ust event tp:tptest for session UZSjhhjImA37WD54
ok 1498 - Start tracing for session UZSjhhjImA37WD54
PASS: tools/clear/test_ust 1498 - Start tracing for session UZSjhhjImA37WD54
# 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 UZSjhhjImA37WD54
PASS: tools/clear/test_ust 1502 - Destroy session UZSjhhjImA37WD54
# 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 Yh8dabaSp45E0yuv with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1506 - Create session Yh8dabaSp45E0yuv with uri:net://localhost and opts: --live
ok 1507 - Enable channel chan for session Yh8dabaSp45E0yuv
PASS: tools/clear/test_ust 1507 - Enable channel chan for session Yh8dabaSp45E0yuv
ok 1508 - Enable ust event tp:tptest for session Yh8dabaSp45E0yuv
PASS: tools/clear/test_ust 1508 - Enable ust event tp:tptest for session Yh8dabaSp45E0yuv
ok 1509 - Start tracing for session Yh8dabaSp45E0yuv
PASS: tools/clear/test_ust 1509 - Start tracing for session Yh8dabaSp45E0yuv
# 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 Yh8dabaSp45E0yuv
PASS: tools/clear/test_ust 1512 - Stop lttng tracing for session Yh8dabaSp45E0yuv
ok 1513 - Clear session Yh8dabaSp45E0yuv
PASS: tools/clear/test_ust 1513 - Clear session Yh8dabaSp45E0yuv
ok 1514 - Start tracing for session Yh8dabaSp45E0yuv
PASS: tools/clear/test_ust 1514 - Start tracing for session Yh8dabaSp45E0yuv
ok 1515 - Stop lttng tracing for session Yh8dabaSp45E0yuv
PASS: tools/clear/test_ust 1515 - Stop lttng tracing for session Yh8dabaSp45E0yuv
ok 1516 - Destroy session Yh8dabaSp45E0yuv
PASS: tools/clear/test_ust 1516 - Destroy session Yh8dabaSp45E0yuv
# 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 9xvydUGTwfknymrK with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1519 - Create session 9xvydUGTwfknymrK with uri:net://localhost and opts: --live
ok 1520 - Enable channel chan for session 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1520 - Enable channel chan for session 9xvydUGTwfknymrK
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 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1522 - Enable ust event tp:tptest for session 9xvydUGTwfknymrK
ok 1523 - Start tracing for session 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1523 - Start tracing for session 9xvydUGTwfknymrK
# 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 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1527 - Stop lttng tracing for session 9xvydUGTwfknymrK
ok 1528 - Clear session 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1528 - Clear session 9xvydUGTwfknymrK
ok 1529 - Start tracing for session 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1529 - Start tracing for session 9xvydUGTwfknymrK
ok 1530 - Enable event lttng_ust_statedump:start with filtering for session 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1530 - Enable event lttng_ust_statedump:start with filtering for session 9xvydUGTwfknymrK
ok 1531 - Enable event lttng_ust_statedump:end with filtering for session 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1531 - Enable event lttng_ust_statedump:end with filtering for session 9xvydUGTwfknymrK
ok 1532 - Statedump regenerate 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1532 - Statedump regenerate 9xvydUGTwfknymrK
# 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 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1534 - Stop lttng tracing for session 9xvydUGTwfknymrK
ok 1535 - Destroy session 9xvydUGTwfknymrK
PASS: tools/clear/test_ust 1535 - Destroy session 9xvydUGTwfknymrK
# 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 rzYBGjyHskNsGnE2 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1539 - Create session rzYBGjyHskNsGnE2 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1540 - Enable channel chan for session rzYBGjyHskNsGnE2
PASS: tools/clear/test_ust 1540 - Enable channel chan for session rzYBGjyHskNsGnE2
ok 1541 - Enable ust event tp:tptest for session rzYBGjyHskNsGnE2
PASS: tools/clear/test_ust 1541 - Enable ust event tp:tptest for session rzYBGjyHskNsGnE2
ok 1542 - Start tracing for session rzYBGjyHskNsGnE2
PASS: tools/clear/test_ust 1542 - Start tracing for session rzYBGjyHskNsGnE2
ok 1543 - Stop lttng tracing for session rzYBGjyHskNsGnE2
PASS: tools/clear/test_ust 1543 - Stop lttng tracing for session rzYBGjyHskNsGnE2
ok 1544 - Clear session rzYBGjyHskNsGnE2
PASS: tools/clear/test_ust 1544 - Clear session rzYBGjyHskNsGnE2
ok 1545 - Start tracing for session rzYBGjyHskNsGnE2
PASS: tools/clear/test_ust 1545 - Start tracing for session rzYBGjyHskNsGnE2
ok 1546 - Stop lttng tracing for session rzYBGjyHskNsGnE2
PASS: tools/clear/test_ust 1546 - Stop lttng tracing for session rzYBGjyHskNsGnE2
ok 1547 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/ust/" is empty
PASS: tools/clear/test_ust 1547 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/ust/" is empty
ok 1548 - Destroy session rzYBGjyHskNsGnE2
PASS: tools/clear/test_ust 1548 - Destroy session rzYBGjyHskNsGnE2
# 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 O619JW8o2al4xaPv in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1549 - Create session O619JW8o2al4xaPv in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1550 - Enable channel chan for session O619JW8o2al4xaPv
PASS: tools/clear/test_ust 1550 - Enable channel chan for session O619JW8o2al4xaPv
ok 1551 - Enable ust event tp:tptest for session O619JW8o2al4xaPv
PASS: tools/clear/test_ust 1551 - Enable ust event tp:tptest for session O619JW8o2al4xaPv
ok 1552 - Start tracing for session O619JW8o2al4xaPv
PASS: tools/clear/test_ust 1552 - Start tracing for session O619JW8o2al4xaPv
ok 1553 - Rotate session O619JW8o2al4xaPv
PASS: tools/clear/test_ust 1553 - Rotate session O619JW8o2al4xaPv
ok 1554 - Stop lttng tracing for session O619JW8o2al4xaPv
PASS: tools/clear/test_ust 1554 - Stop lttng tracing for session O619JW8o2al4xaPv
ok 1555 - Clear session O619JW8o2al4xaPv
PASS: tools/clear/test_ust 1555 - Clear session O619JW8o2al4xaPv
ok 1556 - Start tracing for session O619JW8o2al4xaPv
PASS: tools/clear/test_ust 1556 - Start tracing for session O619JW8o2al4xaPv
ok 1557 - Stop lttng tracing for session O619JW8o2al4xaPv
PASS: tools/clear/test_ust 1557 - Stop lttng tracing for session O619JW8o2al4xaPv
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 O619JW8o2al4xaPv
PASS: tools/clear/test_ust 1560 - Destroy session O619JW8o2al4xaPv
# 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 MwPv0fjVBOvHJmLh in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1561 - Create session MwPv0fjVBOvHJmLh in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1562 - Enable channel chan for session MwPv0fjVBOvHJmLh
PASS: tools/clear/test_ust 1562 - Enable channel chan for session MwPv0fjVBOvHJmLh
ok 1563 - Enable ust event tp:tptest for session MwPv0fjVBOvHJmLh
PASS: tools/clear/test_ust 1563 - Enable ust event tp:tptest for session MwPv0fjVBOvHJmLh
ok 1564 - Start tracing for session MwPv0fjVBOvHJmLh
PASS: tools/clear/test_ust 1564 - Start tracing for session MwPv0fjVBOvHJmLh
ok 1565 - Stop lttng tracing for session MwPv0fjVBOvHJmLh
PASS: tools/clear/test_ust 1565 - Stop lttng tracing for session MwPv0fjVBOvHJmLh
ok 1566 - Clear session MwPv0fjVBOvHJmLh
PASS: tools/clear/test_ust 1566 - Clear session MwPv0fjVBOvHJmLh
ok 1567 - Start tracing for session MwPv0fjVBOvHJmLh
PASS: tools/clear/test_ust 1567 - Start tracing for session MwPv0fjVBOvHJmLh
ok 1568 - Rotate session MwPv0fjVBOvHJmLh
PASS: tools/clear/test_ust 1568 - Rotate session MwPv0fjVBOvHJmLh
ok 1569 - Stop lttng tracing for session MwPv0fjVBOvHJmLh
PASS: tools/clear/test_ust 1569 - Stop lttng tracing for session MwPv0fjVBOvHJmLh
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 MwPv0fjVBOvHJmLh
PASS: tools/clear/test_ust 1572 - Destroy session MwPv0fjVBOvHJmLh
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=pid
ok 1573 - Create session COByFtm5AmeTBGfW in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1573 - Create session COByFtm5AmeTBGfW in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1574 - Enable channel chan for session COByFtm5AmeTBGfW
PASS: tools/clear/test_ust 1574 - Enable channel chan for session COByFtm5AmeTBGfW
ok 1575 - Enable ust event tp:tptest for session COByFtm5AmeTBGfW
PASS: tools/clear/test_ust 1575 - Enable ust event tp:tptest for session COByFtm5AmeTBGfW
ok 1576 - Start tracing for session COByFtm5AmeTBGfW
PASS: tools/clear/test_ust 1576 - Start tracing for session COByFtm5AmeTBGfW
ok 1577 - Stop lttng tracing for session COByFtm5AmeTBGfW
PASS: tools/clear/test_ust 1577 - Stop lttng tracing for session COByFtm5AmeTBGfW
ok 1578 - Clear session COByFtm5AmeTBGfW
PASS: tools/clear/test_ust 1578 - Clear session COByFtm5AmeTBGfW
ok 1579 - Start tracing for session COByFtm5AmeTBGfW
PASS: tools/clear/test_ust 1579 - Start tracing for session COByFtm5AmeTBGfW
ok 1580 - Stop lttng tracing for session COByFtm5AmeTBGfW
PASS: tools/clear/test_ust 1580 - Stop lttng tracing for session COByFtm5AmeTBGfW
ok 1581 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 1581 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 1582 - Destroy session COByFtm5AmeTBGfW
PASS: tools/clear/test_ust 1582 - Destroy session COByFtm5AmeTBGfW
# Test ust local snapshot clear per pid
# Parameters: tracing_active=0, clear_twice=0, buffer_type=pid
ok 1583 - Create session 5Yd9yMnVSnOo3DRY in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1583 - Create session 5Yd9yMnVSnOo3DRY in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1584 - Enable channel channel0 for session 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1584 - Enable channel channel0 for session 5Yd9yMnVSnOo3DRY
ok 1585 - Enable ust event tp:tptest for session 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1585 - Enable ust event tp:tptest for session 5Yd9yMnVSnOo3DRY
ok 1586 - Start tracing for session 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1586 - Start tracing for session 5Yd9yMnVSnOo3DRY
ok 1587 - Snapshot recorded
PASS: tools/clear/test_ust 1587 - Snapshot recorded
ok 1588 - Stop lttng tracing for session 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1588 - Stop lttng tracing for session 5Yd9yMnVSnOo3DRY
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 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1591 - Start tracing for session 5Yd9yMnVSnOo3DRY
ok 1592 - Stop lttng tracing for session 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1592 - Stop lttng tracing for session 5Yd9yMnVSnOo3DRY
ok 1593 - Clear session 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1593 - Clear session 5Yd9yMnVSnOo3DRY
ok 1594 - Start tracing for session 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1594 - Start tracing for session 5Yd9yMnVSnOo3DRY
ok 1595 - Snapshot recorded
PASS: tools/clear/test_ust 1595 - Snapshot recorded
ok 1596 - Stop lttng tracing for session 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1596 - Stop lttng tracing for session 5Yd9yMnVSnOo3DRY
ok 1597 - Validate empty trace
PASS: tools/clear/test_ust 1597 - Validate empty trace
ok 1598 - Start tracing for session 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1598 - Start tracing for session 5Yd9yMnVSnOo3DRY
ok 1599 - Snapshot recorded
PASS: tools/clear/test_ust 1599 - Snapshot recorded
ok 1600 - Stop lttng tracing for session 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1600 - Stop lttng tracing for session 5Yd9yMnVSnOo3DRY
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 5Yd9yMnVSnOo3DRY
PASS: tools/clear/test_ust 1603 - Destroy session 5Yd9yMnVSnOo3DRY
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=1, rotate_before=0, rotate_after=0, buffer_type=pid
ok 1604 - Create session NUuMYPYCmeWWyugW with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1604 - Create session NUuMYPYCmeWWyugW with uri:net://localhost and opts:
ok 1605 - Enable channel chan for session NUuMYPYCmeWWyugW
PASS: tools/clear/test_ust 1605 - Enable channel chan for session NUuMYPYCmeWWyugW
ok 1606 - Enable ust event tp:tptest for session NUuMYPYCmeWWyugW
PASS: tools/clear/test_ust 1606 - Enable ust event tp:tptest for session NUuMYPYCmeWWyugW
ok 1607 - Start tracing for session NUuMYPYCmeWWyugW
PASS: tools/clear/test_ust 1607 - Start tracing for session NUuMYPYCmeWWyugW
ok 1608 - Stop lttng tracing for session NUuMYPYCmeWWyugW
PASS: tools/clear/test_ust 1608 - Stop lttng tracing for session NUuMYPYCmeWWyugW
ok 1609 - Clear session NUuMYPYCmeWWyugW
PASS: tools/clear/test_ust 1609 - Clear session NUuMYPYCmeWWyugW
ok 1610 - Clear session NUuMYPYCmeWWyugW
PASS: tools/clear/test_ust 1610 - Clear session NUuMYPYCmeWWyugW
ok 1611 - Start tracing for session NUuMYPYCmeWWyugW
PASS: tools/clear/test_ust 1611 - Start tracing for session NUuMYPYCmeWWyugW
ok 1612 - Stop lttng tracing for session NUuMYPYCmeWWyugW
PASS: tools/clear/test_ust 1612 - Stop lttng tracing for session NUuMYPYCmeWWyugW
ok 1613 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/NUuMYPYCmeWWyugW-20250509-162235" is empty
PASS: tools/clear/test_ust 1613 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/NUuMYPYCmeWWyugW-20250509-162235" is empty
ok 1614 - Destroy session NUuMYPYCmeWWyugW
PASS: tools/clear/test_ust 1614 - Destroy session NUuMYPYCmeWWyugW
# 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 WOjBTUOe5h0QLOV5 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1615 - Create session WOjBTUOe5h0QLOV5 with uri:net://localhost and opts:
ok 1616 - Enable channel chan for session WOjBTUOe5h0QLOV5
PASS: tools/clear/test_ust 1616 - Enable channel chan for session WOjBTUOe5h0QLOV5
ok 1617 - Enable ust event tp:tptest for session WOjBTUOe5h0QLOV5
PASS: tools/clear/test_ust 1617 - Enable ust event tp:tptest for session WOjBTUOe5h0QLOV5
ok 1618 - Start tracing for session WOjBTUOe5h0QLOV5
PASS: tools/clear/test_ust 1618 - Start tracing for session WOjBTUOe5h0QLOV5
ok 1619 - Rotate session WOjBTUOe5h0QLOV5
PASS: tools/clear/test_ust 1619 - Rotate session WOjBTUOe5h0QLOV5
ok 1620 - Stop lttng tracing for session WOjBTUOe5h0QLOV5
PASS: tools/clear/test_ust 1620 - Stop lttng tracing for session WOjBTUOe5h0QLOV5
ok 1621 - Clear session WOjBTUOe5h0QLOV5
PASS: tools/clear/test_ust 1621 - Clear session WOjBTUOe5h0QLOV5
ok 1622 - Clear session WOjBTUOe5h0QLOV5
PASS: tools/clear/test_ust 1622 - Clear session WOjBTUOe5h0QLOV5
ok 1623 - Start tracing for session WOjBTUOe5h0QLOV5
PASS: tools/clear/test_ust 1623 - Start tracing for session WOjBTUOe5h0QLOV5
ok 1624 - Stop lttng tracing for session WOjBTUOe5h0QLOV5
PASS: tools/clear/test_ust 1624 - Stop lttng tracing for session WOjBTUOe5h0QLOV5
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 WOjBTUOe5h0QLOV5
PASS: tools/clear/test_ust 1627 - Destroy session WOjBTUOe5h0QLOV5
# 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 kSCbirJTrXlcE6ih with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1628 - Create session kSCbirJTrXlcE6ih with uri:net://localhost and opts:
ok 1629 - Enable channel chan for session kSCbirJTrXlcE6ih
PASS: tools/clear/test_ust 1629 - Enable channel chan for session kSCbirJTrXlcE6ih
ok 1630 - Enable ust event tp:tptest for session kSCbirJTrXlcE6ih
PASS: tools/clear/test_ust 1630 - Enable ust event tp:tptest for session kSCbirJTrXlcE6ih
ok 1631 - Start tracing for session kSCbirJTrXlcE6ih
PASS: tools/clear/test_ust 1631 - Start tracing for session kSCbirJTrXlcE6ih
ok 1632 - Stop lttng tracing for session kSCbirJTrXlcE6ih
PASS: tools/clear/test_ust 1632 - Stop lttng tracing for session kSCbirJTrXlcE6ih
ok 1633 - Clear session kSCbirJTrXlcE6ih
PASS: tools/clear/test_ust 1633 - Clear session kSCbirJTrXlcE6ih
ok 1634 - Clear session kSCbirJTrXlcE6ih
PASS: tools/clear/test_ust 1634 - Clear session kSCbirJTrXlcE6ih
ok 1635 - Start tracing for session kSCbirJTrXlcE6ih
PASS: tools/clear/test_ust 1635 - Start tracing for session kSCbirJTrXlcE6ih
ok 1636 - Rotate session kSCbirJTrXlcE6ih
PASS: tools/clear/test_ust 1636 - Rotate session kSCbirJTrXlcE6ih
ok 1637 - Stop lttng tracing for session kSCbirJTrXlcE6ih
PASS: tools/clear/test_ust 1637 - Stop lttng tracing for session kSCbirJTrXlcE6ih
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 kSCbirJTrXlcE6ih
PASS: tools/clear/test_ust 1640 - Destroy session kSCbirJTrXlcE6ih
# 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 gQkWtJwtRwFvJmJS with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1641 - Create session gQkWtJwtRwFvJmJS with uri:net://localhost and opts:
ok 1642 - Enable channel rotchan for session gQkWtJwtRwFvJmJS
PASS: tools/clear/test_ust 1642 - Enable channel rotchan for session gQkWtJwtRwFvJmJS
ok 1643 - Enable ust event tp:tptest for session gQkWtJwtRwFvJmJS
PASS: tools/clear/test_ust 1643 - Enable ust event tp:tptest for session gQkWtJwtRwFvJmJS
ok 1644 - Start tracing for session gQkWtJwtRwFvJmJS
PASS: tools/clear/test_ust 1644 - Start tracing for session gQkWtJwtRwFvJmJS
ok 1645 - Stop lttng tracing for session gQkWtJwtRwFvJmJS
PASS: tools/clear/test_ust 1645 - Stop lttng tracing for session gQkWtJwtRwFvJmJS
ok 1646 - Clear session gQkWtJwtRwFvJmJS
PASS: tools/clear/test_ust 1646 - Clear session gQkWtJwtRwFvJmJS
ok 1647 - Clear session gQkWtJwtRwFvJmJS
PASS: tools/clear/test_ust 1647 - Clear session gQkWtJwtRwFvJmJS
ok 1648 - Start tracing for session gQkWtJwtRwFvJmJS
PASS: tools/clear/test_ust 1648 - Start tracing for session gQkWtJwtRwFvJmJS
ok 1649 - Stop lttng tracing for session gQkWtJwtRwFvJmJS
PASS: tools/clear/test_ust 1649 - Stop lttng tracing for session gQkWtJwtRwFvJmJS
ok 1650 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/gQkWtJwtRwFvJmJS-20250509-162240" is empty
PASS: tools/clear/test_ust 1650 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/gQkWtJwtRwFvJmJS-20250509-162240" is empty
ok 1651 - Start tracing for session gQkWtJwtRwFvJmJS
PASS: tools/clear/test_ust 1651 - Start tracing for session gQkWtJwtRwFvJmJS
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 gQkWtJwtRwFvJmJS
PASS: tools/clear/test_ust 1655 - Destroy session gQkWtJwtRwFvJmJS
# 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 0jK8YsyJgZ1ywjnT with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1656 - Create session 0jK8YsyJgZ1ywjnT with uri:net://localhost and opts:
ok 1657 - Enable channel rotchan for session 0jK8YsyJgZ1ywjnT
PASS: tools/clear/test_ust 1657 - Enable channel rotchan for session 0jK8YsyJgZ1ywjnT
ok 1658 - Enable ust event tp:tptest for session 0jK8YsyJgZ1ywjnT
PASS: tools/clear/test_ust 1658 - Enable ust event tp:tptest for session 0jK8YsyJgZ1ywjnT
ok 1659 - Start tracing for session 0jK8YsyJgZ1ywjnT
PASS: tools/clear/test_ust 1659 - Start tracing for session 0jK8YsyJgZ1ywjnT
ok 1660 - Stop lttng tracing for session 0jK8YsyJgZ1ywjnT
PASS: tools/clear/test_ust 1660 - Stop lttng tracing for session 0jK8YsyJgZ1ywjnT
ok 1661 - Clear session 0jK8YsyJgZ1ywjnT
PASS: tools/clear/test_ust 1661 - Clear session 0jK8YsyJgZ1ywjnT
ok 1662 - Clear session 0jK8YsyJgZ1ywjnT
PASS: tools/clear/test_ust 1662 - Clear session 0jK8YsyJgZ1ywjnT
ok 1663 - Start tracing for session 0jK8YsyJgZ1ywjnT
PASS: tools/clear/test_ust 1663 - Start tracing for session 0jK8YsyJgZ1ywjnT
ok 1664 - Stop lttng tracing for session 0jK8YsyJgZ1ywjnT
PASS: tools/clear/test_ust 1664 - Stop lttng tracing for session 0jK8YsyJgZ1ywjnT
ok 1665 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/0jK8YsyJgZ1ywjnT-20250509-162241" is empty
PASS: tools/clear/test_ust 1665 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/0jK8YsyJgZ1ywjnT-20250509-162241" is empty
ok 1666 - Start tracing for session 0jK8YsyJgZ1ywjnT
PASS: tools/clear/test_ust 1666 - Start tracing for session 0jK8YsyJgZ1ywjnT
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 0jK8YsyJgZ1ywjnT
PASS: tools/clear/test_ust 1670 - Destroy session 0jK8YsyJgZ1ywjnT
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=1, rotate_before=, rotate_after=, buffer_type=uid
ok 1671 - Create session Mo6qmv8onqgyNGmd with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1671 - Create session Mo6qmv8onqgyNGmd with uri:net://localhost and opts:
ok 1672 - Enable channel chan for session Mo6qmv8onqgyNGmd
PASS: tools/clear/test_ust 1672 - Enable channel chan for session Mo6qmv8onqgyNGmd
ok 1673 - Enable ust event tp:tptest for session Mo6qmv8onqgyNGmd
PASS: tools/clear/test_ust 1673 - Enable ust event tp:tptest for session Mo6qmv8onqgyNGmd
ok 1674 - Start tracing for session Mo6qmv8onqgyNGmd
PASS: tools/clear/test_ust 1674 - Start tracing for session Mo6qmv8onqgyNGmd
ok 1675 - Stop lttng tracing for session Mo6qmv8onqgyNGmd
PASS: tools/clear/test_ust 1675 - Stop lttng tracing for session Mo6qmv8onqgyNGmd
ok 1676 - Clear session Mo6qmv8onqgyNGmd
PASS: tools/clear/test_ust 1676 - Clear session Mo6qmv8onqgyNGmd
ok 1677 - Clear session Mo6qmv8onqgyNGmd
PASS: tools/clear/test_ust 1677 - Clear session Mo6qmv8onqgyNGmd
ok 1678 - Start tracing for session Mo6qmv8onqgyNGmd
PASS: tools/clear/test_ust 1678 - Start tracing for session Mo6qmv8onqgyNGmd
ok 1679 - Stop lttng tracing for session Mo6qmv8onqgyNGmd
PASS: tools/clear/test_ust 1679 - Stop lttng tracing for session Mo6qmv8onqgyNGmd
ok 1680 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/Mo6qmv8onqgyNGmd*" is empty
PASS: tools/clear/test_ust 1680 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/Mo6qmv8onqgyNGmd*" is empty
ok 1681 - Destroy session Mo6qmv8onqgyNGmd
PASS: tools/clear/test_ust 1681 - Destroy session Mo6qmv8onqgyNGmd
# Test ust streaming live clear
# Parameters: tracing_active=0, clear_twice=1, buffer_type=pid
ok 1682 - Create session bWGBmzdNGSFxq5x9 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1682 - Create session bWGBmzdNGSFxq5x9 with uri:net://localhost and opts: --live
ok 1683 - Enable channel chan for session bWGBmzdNGSFxq5x9
PASS: tools/clear/test_ust 1683 - Enable channel chan for session bWGBmzdNGSFxq5x9
ok 1684 - Enable ust event tp:tptest for session bWGBmzdNGSFxq5x9
PASS: tools/clear/test_ust 1684 - Enable ust event tp:tptest for session bWGBmzdNGSFxq5x9
ok 1685 - Start tracing for session bWGBmzdNGSFxq5x9
PASS: tools/clear/test_ust 1685 - Start tracing for session bWGBmzdNGSFxq5x9
ok 1686 - Stop lttng tracing for session bWGBmzdNGSFxq5x9
PASS: tools/clear/test_ust 1686 - Stop lttng tracing for session bWGBmzdNGSFxq5x9
ok 1687 - Clear session bWGBmzdNGSFxq5x9
PASS: tools/clear/test_ust 1687 - Clear session bWGBmzdNGSFxq5x9
ok 1688 - Clear session bWGBmzdNGSFxq5x9
PASS: tools/clear/test_ust 1688 - Clear session bWGBmzdNGSFxq5x9
ok 1689 - Start tracing for session bWGBmzdNGSFxq5x9
PASS: tools/clear/test_ust 1689 - Start tracing for session bWGBmzdNGSFxq5x9
ok 1690 - Stop lttng tracing for session bWGBmzdNGSFxq5x9
PASS: tools/clear/test_ust 1690 - Stop lttng tracing for session bWGBmzdNGSFxq5x9
ok 1691 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/bWGBmzdNGSFxq5x9-20250509-162243" is empty
PASS: tools/clear/test_ust 1691 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/bWGBmzdNGSFxq5x9-20250509-162243" is empty
ok 1692 - Destroy session bWGBmzdNGSFxq5x9
PASS: tools/clear/test_ust 1692 - Destroy session bWGBmzdNGSFxq5x9
# Test ust basic streaming live with viewer
# Parameters: tracing_active=0, clear_twice=1, buffer_type=pid
ok 1693 - Create session SCI1NtwjbxhX6rz6 with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1693 - Create session SCI1NtwjbxhX6rz6 with uri:net://localhost and opts: --live
ok 1694 - Enable channel chan for session SCI1NtwjbxhX6rz6
PASS: tools/clear/test_ust 1694 - Enable channel chan for session SCI1NtwjbxhX6rz6
ok 1695 - Enable ust event tp:tptest for session SCI1NtwjbxhX6rz6
PASS: tools/clear/test_ust 1695 - Enable ust event tp:tptest for session SCI1NtwjbxhX6rz6
ok 1696 - Start tracing for session SCI1NtwjbxhX6rz6
PASS: tools/clear/test_ust 1696 - Start tracing for session SCI1NtwjbxhX6rz6
# 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 SCI1NtwjbxhX6rz6
PASS: tools/clear/test_ust 1700 - Destroy session SCI1NtwjbxhX6rz6
# 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 o8Xv9ACtdLE86NHv with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1704 - Create session o8Xv9ACtdLE86NHv with uri:net://localhost and opts: --live
ok 1705 - Enable channel chan for session o8Xv9ACtdLE86NHv
PASS: tools/clear/test_ust 1705 - Enable channel chan for session o8Xv9ACtdLE86NHv
ok 1706 - Enable ust event tp:tptest for session o8Xv9ACtdLE86NHv
PASS: tools/clear/test_ust 1706 - Enable ust event tp:tptest for session o8Xv9ACtdLE86NHv
ok 1707 - Start tracing for session o8Xv9ACtdLE86NHv
PASS: tools/clear/test_ust 1707 - Start tracing for session o8Xv9ACtdLE86NHv
# 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 o8Xv9ACtdLE86NHv
PASS: tools/clear/test_ust 1710 - Stop lttng tracing for session o8Xv9ACtdLE86NHv
ok 1711 - Clear session o8Xv9ACtdLE86NHv
PASS: tools/clear/test_ust 1711 - Clear session o8Xv9ACtdLE86NHv
ok 1712 - Clear session o8Xv9ACtdLE86NHv
PASS: tools/clear/test_ust 1712 - Clear session o8Xv9ACtdLE86NHv
ok 1713 - Start tracing for session o8Xv9ACtdLE86NHv
PASS: tools/clear/test_ust 1713 - Start tracing for session o8Xv9ACtdLE86NHv
ok 1714 - Stop lttng tracing for session o8Xv9ACtdLE86NHv
PASS: tools/clear/test_ust 1714 - Stop lttng tracing for session o8Xv9ACtdLE86NHv
ok 1715 - Destroy session o8Xv9ACtdLE86NHv
PASS: tools/clear/test_ust 1715 - Destroy session o8Xv9ACtdLE86NHv
# 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 i8rhmJySB4J6hcRm with uri:net://localhost and opts: --live
PASS: tools/clear/test_ust 1718 - Create session i8rhmJySB4J6hcRm with uri:net://localhost and opts: --live
ok 1719 - Enable channel chan for session i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1719 - Enable channel chan for session i8rhmJySB4J6hcRm
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 i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1721 - Enable ust event tp:tptest for session i8rhmJySB4J6hcRm
ok 1722 - Start tracing for session i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1722 - Start tracing for session i8rhmJySB4J6hcRm
# 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 i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1726 - Stop lttng tracing for session i8rhmJySB4J6hcRm
ok 1727 - Clear session i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1727 - Clear session i8rhmJySB4J6hcRm
ok 1728 - Clear session i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1728 - Clear session i8rhmJySB4J6hcRm
ok 1729 - Start tracing for session i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1729 - Start tracing for session i8rhmJySB4J6hcRm
ok 1730 - Enable event lttng_ust_statedump:start with filtering for session i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1730 - Enable event lttng_ust_statedump:start with filtering for session i8rhmJySB4J6hcRm
ok 1731 - Enable event lttng_ust_statedump:end with filtering for session i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1731 - Enable event lttng_ust_statedump:end with filtering for session i8rhmJySB4J6hcRm
ok 1732 - Statedump regenerate i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1732 - Statedump regenerate i8rhmJySB4J6hcRm
# 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 i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1734 - Stop lttng tracing for session i8rhmJySB4J6hcRm
ok 1735 - Destroy session i8rhmJySB4J6hcRm
PASS: tools/clear/test_ust 1735 - Destroy session i8rhmJySB4J6hcRm
# 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 aiRRnvWWL0YM0Xgr in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1739 - Create session aiRRnvWWL0YM0Xgr in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1740 - Enable channel chan for session aiRRnvWWL0YM0Xgr
PASS: tools/clear/test_ust 1740 - Enable channel chan for session aiRRnvWWL0YM0Xgr
ok 1741 - Enable ust event tp:tptest for session aiRRnvWWL0YM0Xgr
PASS: tools/clear/test_ust 1741 - Enable ust event tp:tptest for session aiRRnvWWL0YM0Xgr
ok 1742 - Start tracing for session aiRRnvWWL0YM0Xgr
PASS: tools/clear/test_ust 1742 - Start tracing for session aiRRnvWWL0YM0Xgr
ok 1743 - Stop lttng tracing for session aiRRnvWWL0YM0Xgr
PASS: tools/clear/test_ust 1743 - Stop lttng tracing for session aiRRnvWWL0YM0Xgr
ok 1744 - Clear session aiRRnvWWL0YM0Xgr
PASS: tools/clear/test_ust 1744 - Clear session aiRRnvWWL0YM0Xgr
ok 1745 - Clear session aiRRnvWWL0YM0Xgr
PASS: tools/clear/test_ust 1745 - Clear session aiRRnvWWL0YM0Xgr
ok 1746 - Start tracing for session aiRRnvWWL0YM0Xgr
PASS: tools/clear/test_ust 1746 - Start tracing for session aiRRnvWWL0YM0Xgr
ok 1747 - Stop lttng tracing for session aiRRnvWWL0YM0Xgr
PASS: tools/clear/test_ust 1747 - Stop lttng tracing for session aiRRnvWWL0YM0Xgr
ok 1748 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/ust/" is empty
PASS: tools/clear/test_ust 1748 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/ust/" is empty
ok 1749 - Destroy session aiRRnvWWL0YM0Xgr
PASS: tools/clear/test_ust 1749 - Destroy session aiRRnvWWL0YM0Xgr
# 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 gQYrcR6VrxVEJXDh in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1750 - Create session gQYrcR6VrxVEJXDh in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1751 - Enable channel chan for session gQYrcR6VrxVEJXDh
PASS: tools/clear/test_ust 1751 - Enable channel chan for session gQYrcR6VrxVEJXDh
ok 1752 - Enable ust event tp:tptest for session gQYrcR6VrxVEJXDh
PASS: tools/clear/test_ust 1752 - Enable ust event tp:tptest for session gQYrcR6VrxVEJXDh
ok 1753 - Start tracing for session gQYrcR6VrxVEJXDh
PASS: tools/clear/test_ust 1753 - Start tracing for session gQYrcR6VrxVEJXDh
ok 1754 - Rotate session gQYrcR6VrxVEJXDh
PASS: tools/clear/test_ust 1754 - Rotate session gQYrcR6VrxVEJXDh
ok 1755 - Stop lttng tracing for session gQYrcR6VrxVEJXDh
PASS: tools/clear/test_ust 1755 - Stop lttng tracing for session gQYrcR6VrxVEJXDh
ok 1756 - Clear session gQYrcR6VrxVEJXDh
PASS: tools/clear/test_ust 1756 - Clear session gQYrcR6VrxVEJXDh
ok 1757 - Clear session gQYrcR6VrxVEJXDh
PASS: tools/clear/test_ust 1757 - Clear session gQYrcR6VrxVEJXDh
ok 1758 - Start tracing for session gQYrcR6VrxVEJXDh
PASS: tools/clear/test_ust 1758 - Start tracing for session gQYrcR6VrxVEJXDh
ok 1759 - Stop lttng tracing for session gQYrcR6VrxVEJXDh
PASS: tools/clear/test_ust 1759 - Stop lttng tracing for session gQYrcR6VrxVEJXDh
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 gQYrcR6VrxVEJXDh
PASS: tools/clear/test_ust 1762 - Destroy session gQYrcR6VrxVEJXDh
# 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 cyH6N1gxtOCwnfOS in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1763 - Create session cyH6N1gxtOCwnfOS in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1764 - Enable channel chan for session cyH6N1gxtOCwnfOS
PASS: tools/clear/test_ust 1764 - Enable channel chan for session cyH6N1gxtOCwnfOS
ok 1765 - Enable ust event tp:tptest for session cyH6N1gxtOCwnfOS
PASS: tools/clear/test_ust 1765 - Enable ust event tp:tptest for session cyH6N1gxtOCwnfOS
ok 1766 - Start tracing for session cyH6N1gxtOCwnfOS
PASS: tools/clear/test_ust 1766 - Start tracing for session cyH6N1gxtOCwnfOS
ok 1767 - Stop lttng tracing for session cyH6N1gxtOCwnfOS
PASS: tools/clear/test_ust 1767 - Stop lttng tracing for session cyH6N1gxtOCwnfOS
ok 1768 - Clear session cyH6N1gxtOCwnfOS
PASS: tools/clear/test_ust 1768 - Clear session cyH6N1gxtOCwnfOS
ok 1769 - Clear session cyH6N1gxtOCwnfOS
PASS: tools/clear/test_ust 1769 - Clear session cyH6N1gxtOCwnfOS
ok 1770 - Start tracing for session cyH6N1gxtOCwnfOS
PASS: tools/clear/test_ust 1770 - Start tracing for session cyH6N1gxtOCwnfOS
ok 1771 - Rotate session cyH6N1gxtOCwnfOS
PASS: tools/clear/test_ust 1771 - Rotate session cyH6N1gxtOCwnfOS
ok 1772 - Stop lttng tracing for session cyH6N1gxtOCwnfOS
PASS: tools/clear/test_ust 1772 - Stop lttng tracing for session cyH6N1gxtOCwnfOS
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 cyH6N1gxtOCwnfOS
PASS: tools/clear/test_ust 1775 - Destroy session cyH6N1gxtOCwnfOS
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=1, rotate_before=, rotate_after=, buffer_type=pid
ok 1776 - Create session Gi9RYLL9yNl7CN30 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1776 - Create session Gi9RYLL9yNl7CN30 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1777 - Enable channel chan for session Gi9RYLL9yNl7CN30
PASS: tools/clear/test_ust 1777 - Enable channel chan for session Gi9RYLL9yNl7CN30
ok 1778 - Enable ust event tp:tptest for session Gi9RYLL9yNl7CN30
PASS: tools/clear/test_ust 1778 - Enable ust event tp:tptest for session Gi9RYLL9yNl7CN30
ok 1779 - Start tracing for session Gi9RYLL9yNl7CN30
PASS: tools/clear/test_ust 1779 - Start tracing for session Gi9RYLL9yNl7CN30
ok 1780 - Stop lttng tracing for session Gi9RYLL9yNl7CN30
PASS: tools/clear/test_ust 1780 - Stop lttng tracing for session Gi9RYLL9yNl7CN30
ok 1781 - Clear session Gi9RYLL9yNl7CN30
PASS: tools/clear/test_ust 1781 - Clear session Gi9RYLL9yNl7CN30
ok 1782 - Clear session Gi9RYLL9yNl7CN30
PASS: tools/clear/test_ust 1782 - Clear session Gi9RYLL9yNl7CN30
ok 1783 - Start tracing for session Gi9RYLL9yNl7CN30
PASS: tools/clear/test_ust 1783 - Start tracing for session Gi9RYLL9yNl7CN30
ok 1784 - Stop lttng tracing for session Gi9RYLL9yNl7CN30
PASS: tools/clear/test_ust 1784 - Stop lttng tracing for session Gi9RYLL9yNl7CN30
ok 1785 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 1785 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 1786 - Destroy session Gi9RYLL9yNl7CN30
PASS: tools/clear/test_ust 1786 - Destroy session Gi9RYLL9yNl7CN30
# Test ust local snapshot clear per pid
# Parameters: tracing_active=0, clear_twice=1, buffer_type=pid
ok 1787 - Create session NzQwhF1vP1X6pTqm in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1787 - Create session NzQwhF1vP1X6pTqm in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1788 - Enable channel channel0 for session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1788 - Enable channel channel0 for session NzQwhF1vP1X6pTqm
ok 1789 - Enable ust event tp:tptest for session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1789 - Enable ust event tp:tptest for session NzQwhF1vP1X6pTqm
ok 1790 - Start tracing for session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1790 - Start tracing for session NzQwhF1vP1X6pTqm
ok 1791 - Snapshot recorded
PASS: tools/clear/test_ust 1791 - Snapshot recorded
ok 1792 - Stop lttng tracing for session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1792 - Stop lttng tracing for session NzQwhF1vP1X6pTqm
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 NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1795 - Start tracing for session NzQwhF1vP1X6pTqm
ok 1796 - Stop lttng tracing for session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1796 - Stop lttng tracing for session NzQwhF1vP1X6pTqm
ok 1797 - Clear session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1797 - Clear session NzQwhF1vP1X6pTqm
ok 1798 - Clear session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1798 - Clear session NzQwhF1vP1X6pTqm
ok 1799 - Start tracing for session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1799 - Start tracing for session NzQwhF1vP1X6pTqm
ok 1800 - Snapshot recorded
PASS: tools/clear/test_ust 1800 - Snapshot recorded
ok 1801 - Stop lttng tracing for session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1801 - Stop lttng tracing for session NzQwhF1vP1X6pTqm
ok 1802 - Validate empty trace
PASS: tools/clear/test_ust 1802 - Validate empty trace
ok 1803 - Start tracing for session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1803 - Start tracing for session NzQwhF1vP1X6pTqm
ok 1804 - Snapshot recorded
PASS: tools/clear/test_ust 1804 - Snapshot recorded
ok 1805 - Stop lttng tracing for session NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1805 - Stop lttng tracing for session NzQwhF1vP1X6pTqm
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 NzQwhF1vP1X6pTqm
PASS: tools/clear/test_ust 1808 - Destroy session NzQwhF1vP1X6pTqm
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=pid
ok 1809 - Create session ycY2l9DmW0B5C73U with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1809 - Create session ycY2l9DmW0B5C73U with uri:net://localhost and opts:
ok 1810 - Enable channel chan for session ycY2l9DmW0B5C73U
PASS: tools/clear/test_ust 1810 - Enable channel chan for session ycY2l9DmW0B5C73U
ok 1811 - Enable ust event tp:tptest for session ycY2l9DmW0B5C73U
PASS: tools/clear/test_ust 1811 - Enable ust event tp:tptest for session ycY2l9DmW0B5C73U
ok 1812 - Start tracing for session ycY2l9DmW0B5C73U
PASS: tools/clear/test_ust 1812 - Start tracing for session ycY2l9DmW0B5C73U
ok 1813 - Stop lttng tracing for session ycY2l9DmW0B5C73U
PASS: tools/clear/test_ust 1813 - Stop lttng tracing for session ycY2l9DmW0B5C73U
ok 1814 - Rotate session ycY2l9DmW0B5C73U
PASS: tools/clear/test_ust 1814 - Rotate session ycY2l9DmW0B5C73U
ok 1815 - Clear session ycY2l9DmW0B5C73U
PASS: tools/clear/test_ust 1815 - Clear session ycY2l9DmW0B5C73U
ok 1816 - Start tracing for session ycY2l9DmW0B5C73U
PASS: tools/clear/test_ust 1816 - Start tracing for session ycY2l9DmW0B5C73U
ok 1817 - Stop lttng tracing for session ycY2l9DmW0B5C73U
PASS: tools/clear/test_ust 1817 - Stop lttng tracing for session ycY2l9DmW0B5C73U
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 ycY2l9DmW0B5C73U
PASS: tools/clear/test_ust 1820 - Destroy session ycY2l9DmW0B5C73U
# 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 sqceFrF8SV5Pu7Bf with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1821 - Create session sqceFrF8SV5Pu7Bf with uri:net://localhost and opts:
ok 1822 - Enable channel chan for session sqceFrF8SV5Pu7Bf
PASS: tools/clear/test_ust 1822 - Enable channel chan for session sqceFrF8SV5Pu7Bf
ok 1823 - Enable ust event tp:tptest for session sqceFrF8SV5Pu7Bf
PASS: tools/clear/test_ust 1823 - Enable ust event tp:tptest for session sqceFrF8SV5Pu7Bf
ok 1824 - Start tracing for session sqceFrF8SV5Pu7Bf
PASS: tools/clear/test_ust 1824 - Start tracing for session sqceFrF8SV5Pu7Bf
ok 1825 - Rotate session sqceFrF8SV5Pu7Bf
PASS: tools/clear/test_ust 1825 - Rotate session sqceFrF8SV5Pu7Bf
ok 1826 - Stop lttng tracing for session sqceFrF8SV5Pu7Bf
PASS: tools/clear/test_ust 1826 - Stop lttng tracing for session sqceFrF8SV5Pu7Bf
ok 1827 - Rotate session sqceFrF8SV5Pu7Bf
PASS: tools/clear/test_ust 1827 - Rotate session sqceFrF8SV5Pu7Bf
ok 1828 - Clear session sqceFrF8SV5Pu7Bf
PASS: tools/clear/test_ust 1828 - Clear session sqceFrF8SV5Pu7Bf
ok 1829 - Start tracing for session sqceFrF8SV5Pu7Bf
PASS: tools/clear/test_ust 1829 - Start tracing for session sqceFrF8SV5Pu7Bf
ok 1830 - Stop lttng tracing for session sqceFrF8SV5Pu7Bf
PASS: tools/clear/test_ust 1830 - Stop lttng tracing for session sqceFrF8SV5Pu7Bf
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 sqceFrF8SV5Pu7Bf
PASS: tools/clear/test_ust 1833 - Destroy session sqceFrF8SV5Pu7Bf
# 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 7mSJavAIsFSsFddG with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1834 - Create session 7mSJavAIsFSsFddG with uri:net://localhost and opts:
ok 1835 - Enable channel chan for session 7mSJavAIsFSsFddG
PASS: tools/clear/test_ust 1835 - Enable channel chan for session 7mSJavAIsFSsFddG
ok 1836 - Enable ust event tp:tptest for session 7mSJavAIsFSsFddG
PASS: tools/clear/test_ust 1836 - Enable ust event tp:tptest for session 7mSJavAIsFSsFddG
ok 1837 - Start tracing for session 7mSJavAIsFSsFddG
PASS: tools/clear/test_ust 1837 - Start tracing for session 7mSJavAIsFSsFddG
ok 1838 - Stop lttng tracing for session 7mSJavAIsFSsFddG
PASS: tools/clear/test_ust 1838 - Stop lttng tracing for session 7mSJavAIsFSsFddG
ok 1839 - Rotate session 7mSJavAIsFSsFddG
PASS: tools/clear/test_ust 1839 - Rotate session 7mSJavAIsFSsFddG
ok 1840 - Clear session 7mSJavAIsFSsFddG
PASS: tools/clear/test_ust 1840 - Clear session 7mSJavAIsFSsFddG
ok 1841 - Start tracing for session 7mSJavAIsFSsFddG
PASS: tools/clear/test_ust 1841 - Start tracing for session 7mSJavAIsFSsFddG
ok 1842 - Rotate session 7mSJavAIsFSsFddG
PASS: tools/clear/test_ust 1842 - Rotate session 7mSJavAIsFSsFddG
ok 1843 - Stop lttng tracing for session 7mSJavAIsFSsFddG
PASS: tools/clear/test_ust 1843 - Stop lttng tracing for session 7mSJavAIsFSsFddG
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 7mSJavAIsFSsFddG
PASS: tools/clear/test_ust 1846 - Destroy session 7mSJavAIsFSsFddG
# 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 sz4Vc8SHyPC2UZZC with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1847 - Create session sz4Vc8SHyPC2UZZC with uri:net://localhost and opts:
ok 1848 - Enable channel rotchan for session sz4Vc8SHyPC2UZZC
PASS: tools/clear/test_ust 1848 - Enable channel rotchan for session sz4Vc8SHyPC2UZZC
ok 1849 - Enable ust event tp:tptest for session sz4Vc8SHyPC2UZZC
PASS: tools/clear/test_ust 1849 - Enable ust event tp:tptest for session sz4Vc8SHyPC2UZZC
ok 1850 - Start tracing for session sz4Vc8SHyPC2UZZC
PASS: tools/clear/test_ust 1850 - Start tracing for session sz4Vc8SHyPC2UZZC
ok 1851 - Stop lttng tracing for session sz4Vc8SHyPC2UZZC
PASS: tools/clear/test_ust 1851 - Stop lttng tracing for session sz4Vc8SHyPC2UZZC
ok 1852 - Rotate session sz4Vc8SHyPC2UZZC
PASS: tools/clear/test_ust 1852 - Rotate session sz4Vc8SHyPC2UZZC
ok 1853 - Clear session sz4Vc8SHyPC2UZZC
PASS: tools/clear/test_ust 1853 - Clear session sz4Vc8SHyPC2UZZC
ok 1854 - Start tracing for session sz4Vc8SHyPC2UZZC
PASS: tools/clear/test_ust 1854 - Start tracing for session sz4Vc8SHyPC2UZZC
ok 1855 - Stop lttng tracing for session sz4Vc8SHyPC2UZZC
PASS: tools/clear/test_ust 1855 - Stop lttng tracing for session sz4Vc8SHyPC2UZZC
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 sz4Vc8SHyPC2UZZC
PASS: tools/clear/test_ust 1858 - Start tracing for session sz4Vc8SHyPC2UZZC
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 sz4Vc8SHyPC2UZZC
PASS: tools/clear/test_ust 1862 - Destroy session sz4Vc8SHyPC2UZZC
# 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 t86yprJs998HeboY with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1863 - Create session t86yprJs998HeboY with uri:net://localhost and opts:
ok 1864 - Enable channel rotchan for session t86yprJs998HeboY
PASS: tools/clear/test_ust 1864 - Enable channel rotchan for session t86yprJs998HeboY
ok 1865 - Enable ust event tp:tptest for session t86yprJs998HeboY
PASS: tools/clear/test_ust 1865 - Enable ust event tp:tptest for session t86yprJs998HeboY
ok 1866 - Start tracing for session t86yprJs998HeboY
PASS: tools/clear/test_ust 1866 - Start tracing for session t86yprJs998HeboY
ok 1867 - Stop lttng tracing for session t86yprJs998HeboY
PASS: tools/clear/test_ust 1867 - Stop lttng tracing for session t86yprJs998HeboY
ok 1868 - Rotate session t86yprJs998HeboY
PASS: tools/clear/test_ust 1868 - Rotate session t86yprJs998HeboY
ok 1869 - Clear session t86yprJs998HeboY
PASS: tools/clear/test_ust 1869 - Clear session t86yprJs998HeboY
ok 1870 - Start tracing for session t86yprJs998HeboY
PASS: tools/clear/test_ust 1870 - Start tracing for session t86yprJs998HeboY
ok 1871 - Stop lttng tracing for session t86yprJs998HeboY
PASS: tools/clear/test_ust 1871 - Stop lttng tracing for session t86yprJs998HeboY
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 t86yprJs998HeboY
PASS: tools/clear/test_ust 1874 - Start tracing for session t86yprJs998HeboY
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 t86yprJs998HeboY
PASS: tools/clear/test_ust 1878 - Destroy session t86yprJs998HeboY
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 1879 - Create session D0aBmdvsRibltBoe with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1879 - Create session D0aBmdvsRibltBoe with uri:net://localhost and opts:
ok 1880 - Enable channel chan for session D0aBmdvsRibltBoe
PASS: tools/clear/test_ust 1880 - Enable channel chan for session D0aBmdvsRibltBoe
ok 1881 - Enable ust event tp:tptest for session D0aBmdvsRibltBoe
PASS: tools/clear/test_ust 1881 - Enable ust event tp:tptest for session D0aBmdvsRibltBoe
ok 1882 - Start tracing for session D0aBmdvsRibltBoe
PASS: tools/clear/test_ust 1882 - Start tracing for session D0aBmdvsRibltBoe
ok 1883 - Stop lttng tracing for session D0aBmdvsRibltBoe
PASS: tools/clear/test_ust 1883 - Stop lttng tracing for session D0aBmdvsRibltBoe
ok 1884 - Clear session D0aBmdvsRibltBoe
PASS: tools/clear/test_ust 1884 - Clear session D0aBmdvsRibltBoe
ok 1885 - Start tracing for session D0aBmdvsRibltBoe
PASS: tools/clear/test_ust 1885 - Start tracing for session D0aBmdvsRibltBoe
ok 1886 - Stop lttng tracing for session D0aBmdvsRibltBoe
PASS: tools/clear/test_ust 1886 - Stop lttng tracing for session D0aBmdvsRibltBoe
ok 1887 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/D0aBmdvsRibltBoe*" is empty
PASS: tools/clear/test_ust 1887 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/D0aBmdvsRibltBoe*" is empty
ok 1888 - Destroy session D0aBmdvsRibltBoe
PASS: tools/clear/test_ust 1888 - Destroy session D0aBmdvsRibltBoe
# Test ust local
# Parameters: tracing_active=0, clear_twice=0, rotate_before=1, rotate_after=0, buffer_type=pid
ok 1889 - Create session kYx4VPAe6RkOsSCr in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1889 - Create session kYx4VPAe6RkOsSCr in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1890 - Enable channel chan for session kYx4VPAe6RkOsSCr
PASS: tools/clear/test_ust 1890 - Enable channel chan for session kYx4VPAe6RkOsSCr
ok 1891 - Enable ust event tp:tptest for session kYx4VPAe6RkOsSCr
PASS: tools/clear/test_ust 1891 - Enable ust event tp:tptest for session kYx4VPAe6RkOsSCr
ok 1892 - Start tracing for session kYx4VPAe6RkOsSCr
PASS: tools/clear/test_ust 1892 - Start tracing for session kYx4VPAe6RkOsSCr
ok 1893 - Stop lttng tracing for session kYx4VPAe6RkOsSCr
PASS: tools/clear/test_ust 1893 - Stop lttng tracing for session kYx4VPAe6RkOsSCr
ok 1894 - Rotate session kYx4VPAe6RkOsSCr
PASS: tools/clear/test_ust 1894 - Rotate session kYx4VPAe6RkOsSCr
ok 1895 - Clear session kYx4VPAe6RkOsSCr
PASS: tools/clear/test_ust 1895 - Clear session kYx4VPAe6RkOsSCr
ok 1896 - Start tracing for session kYx4VPAe6RkOsSCr
PASS: tools/clear/test_ust 1896 - Start tracing for session kYx4VPAe6RkOsSCr
ok 1897 - Stop lttng tracing for session kYx4VPAe6RkOsSCr
PASS: tools/clear/test_ust 1897 - Stop lttng tracing for session kYx4VPAe6RkOsSCr
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 kYx4VPAe6RkOsSCr
PASS: tools/clear/test_ust 1900 - Destroy session kYx4VPAe6RkOsSCr
# 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 vQnY9wy9IYMUWpI2 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1901 - Create session vQnY9wy9IYMUWpI2 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1902 - Enable channel chan for session vQnY9wy9IYMUWpI2
PASS: tools/clear/test_ust 1902 - Enable channel chan for session vQnY9wy9IYMUWpI2
ok 1903 - Enable ust event tp:tptest for session vQnY9wy9IYMUWpI2
PASS: tools/clear/test_ust 1903 - Enable ust event tp:tptest for session vQnY9wy9IYMUWpI2
ok 1904 - Start tracing for session vQnY9wy9IYMUWpI2
PASS: tools/clear/test_ust 1904 - Start tracing for session vQnY9wy9IYMUWpI2
ok 1905 - Rotate session vQnY9wy9IYMUWpI2
PASS: tools/clear/test_ust 1905 - Rotate session vQnY9wy9IYMUWpI2
ok 1906 - Stop lttng tracing for session vQnY9wy9IYMUWpI2
PASS: tools/clear/test_ust 1906 - Stop lttng tracing for session vQnY9wy9IYMUWpI2
ok 1907 - Rotate session vQnY9wy9IYMUWpI2
PASS: tools/clear/test_ust 1907 - Rotate session vQnY9wy9IYMUWpI2
ok 1908 - Clear session vQnY9wy9IYMUWpI2
PASS: tools/clear/test_ust 1908 - Clear session vQnY9wy9IYMUWpI2
ok 1909 - Start tracing for session vQnY9wy9IYMUWpI2
PASS: tools/clear/test_ust 1909 - Start tracing for session vQnY9wy9IYMUWpI2
ok 1910 - Stop lttng tracing for session vQnY9wy9IYMUWpI2
PASS: tools/clear/test_ust 1910 - Stop lttng tracing for session vQnY9wy9IYMUWpI2
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 vQnY9wy9IYMUWpI2
PASS: tools/clear/test_ust 1913 - Destroy session vQnY9wy9IYMUWpI2
# 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 7V8oBvXfhbUnxtzV in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1914 - Create session 7V8oBvXfhbUnxtzV in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1915 - Enable channel chan for session 7V8oBvXfhbUnxtzV
PASS: tools/clear/test_ust 1915 - Enable channel chan for session 7V8oBvXfhbUnxtzV
ok 1916 - Enable ust event tp:tptest for session 7V8oBvXfhbUnxtzV
PASS: tools/clear/test_ust 1916 - Enable ust event tp:tptest for session 7V8oBvXfhbUnxtzV
ok 1917 - Start tracing for session 7V8oBvXfhbUnxtzV
PASS: tools/clear/test_ust 1917 - Start tracing for session 7V8oBvXfhbUnxtzV
ok 1918 - Stop lttng tracing for session 7V8oBvXfhbUnxtzV
PASS: tools/clear/test_ust 1918 - Stop lttng tracing for session 7V8oBvXfhbUnxtzV
ok 1919 - Rotate session 7V8oBvXfhbUnxtzV
PASS: tools/clear/test_ust 1919 - Rotate session 7V8oBvXfhbUnxtzV
ok 1920 - Clear session 7V8oBvXfhbUnxtzV
PASS: tools/clear/test_ust 1920 - Clear session 7V8oBvXfhbUnxtzV
ok 1921 - Start tracing for session 7V8oBvXfhbUnxtzV
PASS: tools/clear/test_ust 1921 - Start tracing for session 7V8oBvXfhbUnxtzV
ok 1922 - Rotate session 7V8oBvXfhbUnxtzV
PASS: tools/clear/test_ust 1922 - Rotate session 7V8oBvXfhbUnxtzV
ok 1923 - Stop lttng tracing for session 7V8oBvXfhbUnxtzV
PASS: tools/clear/test_ust 1923 - Stop lttng tracing for session 7V8oBvXfhbUnxtzV
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 7V8oBvXfhbUnxtzV
PASS: tools/clear/test_ust 1926 - Destroy session 7V8oBvXfhbUnxtzV
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=pid
ok 1927 - Create session YUdEzV8ZKhkMwwRN in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 1927 - Create session YUdEzV8ZKhkMwwRN in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 1928 - Enable channel chan for session YUdEzV8ZKhkMwwRN
PASS: tools/clear/test_ust 1928 - Enable channel chan for session YUdEzV8ZKhkMwwRN
ok 1929 - Enable ust event tp:tptest for session YUdEzV8ZKhkMwwRN
PASS: tools/clear/test_ust 1929 - Enable ust event tp:tptest for session YUdEzV8ZKhkMwwRN
ok 1930 - Start tracing for session YUdEzV8ZKhkMwwRN
PASS: tools/clear/test_ust 1930 - Start tracing for session YUdEzV8ZKhkMwwRN
ok 1931 - Stop lttng tracing for session YUdEzV8ZKhkMwwRN
PASS: tools/clear/test_ust 1931 - Stop lttng tracing for session YUdEzV8ZKhkMwwRN
ok 1932 - Clear session YUdEzV8ZKhkMwwRN
PASS: tools/clear/test_ust 1932 - Clear session YUdEzV8ZKhkMwwRN
ok 1933 - Start tracing for session YUdEzV8ZKhkMwwRN
PASS: tools/clear/test_ust 1933 - Start tracing for session YUdEzV8ZKhkMwwRN
ok 1934 - Stop lttng tracing for session YUdEzV8ZKhkMwwRN
PASS: tools/clear/test_ust 1934 - Stop lttng tracing for session YUdEzV8ZKhkMwwRN
ok 1935 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 1935 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 1936 - Destroy session YUdEzV8ZKhkMwwRN
PASS: tools/clear/test_ust 1936 - Destroy session YUdEzV8ZKhkMwwRN
# Test ust streaming clear
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=pid
ok 1937 - Create session iBjlWIuU1OkRRJ8d with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1937 - Create session iBjlWIuU1OkRRJ8d with uri:net://localhost and opts:
ok 1938 - Enable channel chan for session iBjlWIuU1OkRRJ8d
PASS: tools/clear/test_ust 1938 - Enable channel chan for session iBjlWIuU1OkRRJ8d
ok 1939 - Enable ust event tp:tptest for session iBjlWIuU1OkRRJ8d
PASS: tools/clear/test_ust 1939 - Enable ust event tp:tptest for session iBjlWIuU1OkRRJ8d
ok 1940 - Start tracing for session iBjlWIuU1OkRRJ8d
PASS: tools/clear/test_ust 1940 - Start tracing for session iBjlWIuU1OkRRJ8d
ok 1941 - Stop lttng tracing for session iBjlWIuU1OkRRJ8d
PASS: tools/clear/test_ust 1941 - Stop lttng tracing for session iBjlWIuU1OkRRJ8d
ok 1942 - Clear session iBjlWIuU1OkRRJ8d
PASS: tools/clear/test_ust 1942 - Clear session iBjlWIuU1OkRRJ8d
ok 1943 - Expected fail on rotate session iBjlWIuU1OkRRJ8d
PASS: tools/clear/test_ust 1943 - Expected fail on rotate session iBjlWIuU1OkRRJ8d
ok 1944 - Start tracing for session iBjlWIuU1OkRRJ8d
PASS: tools/clear/test_ust 1944 - Start tracing for session iBjlWIuU1OkRRJ8d
ok 1945 - Stop lttng tracing for session iBjlWIuU1OkRRJ8d
PASS: tools/clear/test_ust 1945 - Stop lttng tracing for session iBjlWIuU1OkRRJ8d
ok 1946 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/iBjlWIuU1OkRRJ8d-20250509-162321" is empty
PASS: tools/clear/test_ust 1946 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/iBjlWIuU1OkRRJ8d-20250509-162321" is empty
ok 1947 - Destroy session iBjlWIuU1OkRRJ8d
PASS: tools/clear/test_ust 1947 - Destroy session iBjlWIuU1OkRRJ8d
# 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 7btaYbUZf2qxWFKL with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1948 - Create session 7btaYbUZf2qxWFKL with uri:net://localhost and opts:
ok 1949 - Enable channel chan for session 7btaYbUZf2qxWFKL
PASS: tools/clear/test_ust 1949 - Enable channel chan for session 7btaYbUZf2qxWFKL
ok 1950 - Enable ust event tp:tptest for session 7btaYbUZf2qxWFKL
PASS: tools/clear/test_ust 1950 - Enable ust event tp:tptest for session 7btaYbUZf2qxWFKL
ok 1951 - Start tracing for session 7btaYbUZf2qxWFKL
PASS: tools/clear/test_ust 1951 - Start tracing for session 7btaYbUZf2qxWFKL
ok 1952 - Rotate session 7btaYbUZf2qxWFKL
PASS: tools/clear/test_ust 1952 - Rotate session 7btaYbUZf2qxWFKL
ok 1953 - Stop lttng tracing for session 7btaYbUZf2qxWFKL
PASS: tools/clear/test_ust 1953 - Stop lttng tracing for session 7btaYbUZf2qxWFKL
ok 1954 - Clear session 7btaYbUZf2qxWFKL
PASS: tools/clear/test_ust 1954 - Clear session 7btaYbUZf2qxWFKL
ok 1955 - Expected fail on rotate session 7btaYbUZf2qxWFKL
PASS: tools/clear/test_ust 1955 - Expected fail on rotate session 7btaYbUZf2qxWFKL
ok 1956 - Start tracing for session 7btaYbUZf2qxWFKL
PASS: tools/clear/test_ust 1956 - Start tracing for session 7btaYbUZf2qxWFKL
ok 1957 - Stop lttng tracing for session 7btaYbUZf2qxWFKL
PASS: tools/clear/test_ust 1957 - Stop lttng tracing for session 7btaYbUZf2qxWFKL
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 7btaYbUZf2qxWFKL
PASS: tools/clear/test_ust 1960 - Destroy session 7btaYbUZf2qxWFKL
# 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 AQe0TI1qgvSopsz3 with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1961 - Create session AQe0TI1qgvSopsz3 with uri:net://localhost and opts:
ok 1962 - Enable channel chan for session AQe0TI1qgvSopsz3
PASS: tools/clear/test_ust 1962 - Enable channel chan for session AQe0TI1qgvSopsz3
ok 1963 - Enable ust event tp:tptest for session AQe0TI1qgvSopsz3
PASS: tools/clear/test_ust 1963 - Enable ust event tp:tptest for session AQe0TI1qgvSopsz3
ok 1964 - Start tracing for session AQe0TI1qgvSopsz3
PASS: tools/clear/test_ust 1964 - Start tracing for session AQe0TI1qgvSopsz3
ok 1965 - Stop lttng tracing for session AQe0TI1qgvSopsz3
PASS: tools/clear/test_ust 1965 - Stop lttng tracing for session AQe0TI1qgvSopsz3
ok 1966 - Clear session AQe0TI1qgvSopsz3
PASS: tools/clear/test_ust 1966 - Clear session AQe0TI1qgvSopsz3
ok 1967 - Expected fail on rotate session AQe0TI1qgvSopsz3
PASS: tools/clear/test_ust 1967 - Expected fail on rotate session AQe0TI1qgvSopsz3
ok 1968 - Start tracing for session AQe0TI1qgvSopsz3
PASS: tools/clear/test_ust 1968 - Start tracing for session AQe0TI1qgvSopsz3
ok 1969 - Rotate session AQe0TI1qgvSopsz3
PASS: tools/clear/test_ust 1969 - Rotate session AQe0TI1qgvSopsz3
ok 1970 - Stop lttng tracing for session AQe0TI1qgvSopsz3
PASS: tools/clear/test_ust 1970 - Stop lttng tracing for session AQe0TI1qgvSopsz3
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 AQe0TI1qgvSopsz3
PASS: tools/clear/test_ust 1973 - Destroy session AQe0TI1qgvSopsz3
# 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 i74ITMMauZ1EXXiW with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1974 - Create session i74ITMMauZ1EXXiW with uri:net://localhost and opts:
ok 1975 - Enable channel rotchan for session i74ITMMauZ1EXXiW
PASS: tools/clear/test_ust 1975 - Enable channel rotchan for session i74ITMMauZ1EXXiW
ok 1976 - Enable ust event tp:tptest for session i74ITMMauZ1EXXiW
PASS: tools/clear/test_ust 1976 - Enable ust event tp:tptest for session i74ITMMauZ1EXXiW
ok 1977 - Start tracing for session i74ITMMauZ1EXXiW
PASS: tools/clear/test_ust 1977 - Start tracing for session i74ITMMauZ1EXXiW
ok 1978 - Stop lttng tracing for session i74ITMMauZ1EXXiW
PASS: tools/clear/test_ust 1978 - Stop lttng tracing for session i74ITMMauZ1EXXiW
ok 1979 - Clear session i74ITMMauZ1EXXiW
PASS: tools/clear/test_ust 1979 - Clear session i74ITMMauZ1EXXiW
ok 1980 - Expected fail on rotate session i74ITMMauZ1EXXiW
PASS: tools/clear/test_ust 1980 - Expected fail on rotate session i74ITMMauZ1EXXiW
ok 1981 - Start tracing for session i74ITMMauZ1EXXiW
PASS: tools/clear/test_ust 1981 - Start tracing for session i74ITMMauZ1EXXiW
ok 1982 - Stop lttng tracing for session i74ITMMauZ1EXXiW
PASS: tools/clear/test_ust 1982 - Stop lttng tracing for session i74ITMMauZ1EXXiW
ok 1983 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/i74ITMMauZ1EXXiW-20250509-162326" is empty
PASS: tools/clear/test_ust 1983 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/i74ITMMauZ1EXXiW-20250509-162326" is empty
ok 1984 - Start tracing for session i74ITMMauZ1EXXiW
PASS: tools/clear/test_ust 1984 - Start tracing for session i74ITMMauZ1EXXiW
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 i74ITMMauZ1EXXiW
PASS: tools/clear/test_ust 1988 - Destroy session i74ITMMauZ1EXXiW
# 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 AGWEtbmXY59dgJVD with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 1989 - Create session AGWEtbmXY59dgJVD with uri:net://localhost and opts:
ok 1990 - Enable channel rotchan for session AGWEtbmXY59dgJVD
PASS: tools/clear/test_ust 1990 - Enable channel rotchan for session AGWEtbmXY59dgJVD
ok 1991 - Enable ust event tp:tptest for session AGWEtbmXY59dgJVD
PASS: tools/clear/test_ust 1991 - Enable ust event tp:tptest for session AGWEtbmXY59dgJVD
ok 1992 - Start tracing for session AGWEtbmXY59dgJVD
PASS: tools/clear/test_ust 1992 - Start tracing for session AGWEtbmXY59dgJVD
ok 1993 - Stop lttng tracing for session AGWEtbmXY59dgJVD
PASS: tools/clear/test_ust 1993 - Stop lttng tracing for session AGWEtbmXY59dgJVD
ok 1994 - Clear session AGWEtbmXY59dgJVD
PASS: tools/clear/test_ust 1994 - Clear session AGWEtbmXY59dgJVD
ok 1995 - Expected fail on rotate session AGWEtbmXY59dgJVD
PASS: tools/clear/test_ust 1995 - Expected fail on rotate session AGWEtbmXY59dgJVD
ok 1996 - Start tracing for session AGWEtbmXY59dgJVD
PASS: tools/clear/test_ust 1996 - Start tracing for session AGWEtbmXY59dgJVD
ok 1997 - Stop lttng tracing for session AGWEtbmXY59dgJVD
PASS: tools/clear/test_ust 1997 - Stop lttng tracing for session AGWEtbmXY59dgJVD
ok 1998 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/AGWEtbmXY59dgJVD-20250509-162327" is empty
PASS: tools/clear/test_ust 1998 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/AGWEtbmXY59dgJVD-20250509-162327" is empty
ok 1999 - Start tracing for session AGWEtbmXY59dgJVD
PASS: tools/clear/test_ust 1999 - Start tracing for session AGWEtbmXY59dgJVD
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 AGWEtbmXY59dgJVD
PASS: tools/clear/test_ust 2003 - Destroy session AGWEtbmXY59dgJVD
# Test ust streaming clear no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=uid
ok 2004 - Create session AZusjRzj658IjlAY with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 2004 - Create session AZusjRzj658IjlAY with uri:net://localhost and opts:
ok 2005 - Enable channel chan for session AZusjRzj658IjlAY
PASS: tools/clear/test_ust 2005 - Enable channel chan for session AZusjRzj658IjlAY
ok 2006 - Enable ust event tp:tptest for session AZusjRzj658IjlAY
PASS: tools/clear/test_ust 2006 - Enable ust event tp:tptest for session AZusjRzj658IjlAY
ok 2007 - Start tracing for session AZusjRzj658IjlAY
PASS: tools/clear/test_ust 2007 - Start tracing for session AZusjRzj658IjlAY
ok 2008 - Stop lttng tracing for session AZusjRzj658IjlAY
PASS: tools/clear/test_ust 2008 - Stop lttng tracing for session AZusjRzj658IjlAY
ok 2009 - Clear session AZusjRzj658IjlAY
PASS: tools/clear/test_ust 2009 - Clear session AZusjRzj658IjlAY
ok 2010 - Start tracing for session AZusjRzj658IjlAY
PASS: tools/clear/test_ust 2010 - Start tracing for session AZusjRzj658IjlAY
ok 2011 - Stop lttng tracing for session AZusjRzj658IjlAY
PASS: tools/clear/test_ust 2011 - Stop lttng tracing for session AZusjRzj658IjlAY
ok 2012 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/AZusjRzj658IjlAY*" is empty
PASS: tools/clear/test_ust 2012 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/qemux86-64/AZusjRzj658IjlAY*" is empty
ok 2013 - Destroy session AZusjRzj658IjlAY
PASS: tools/clear/test_ust 2013 - Destroy session AZusjRzj658IjlAY
# Test ust local
# Parameters: tracing_active=0, clear_twice=0, rotate_before=0, rotate_after=1, buffer_type=pid
ok 2014 - Create session 7yjAGI5JC3srcC3w in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 2014 - Create session 7yjAGI5JC3srcC3w in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 2015 - Enable channel chan for session 7yjAGI5JC3srcC3w
PASS: tools/clear/test_ust 2015 - Enable channel chan for session 7yjAGI5JC3srcC3w
ok 2016 - Enable ust event tp:tptest for session 7yjAGI5JC3srcC3w
PASS: tools/clear/test_ust 2016 - Enable ust event tp:tptest for session 7yjAGI5JC3srcC3w
ok 2017 - Start tracing for session 7yjAGI5JC3srcC3w
PASS: tools/clear/test_ust 2017 - Start tracing for session 7yjAGI5JC3srcC3w
ok 2018 - Stop lttng tracing for session 7yjAGI5JC3srcC3w
PASS: tools/clear/test_ust 2018 - Stop lttng tracing for session 7yjAGI5JC3srcC3w
ok 2019 - Clear session 7yjAGI5JC3srcC3w
PASS: tools/clear/test_ust 2019 - Clear session 7yjAGI5JC3srcC3w
ok 2020 - Expected fail on rotate session 7yjAGI5JC3srcC3w
PASS: tools/clear/test_ust 2020 - Expected fail on rotate session 7yjAGI5JC3srcC3w
ok 2021 - Start tracing for session 7yjAGI5JC3srcC3w
PASS: tools/clear/test_ust 2021 - Start tracing for session 7yjAGI5JC3srcC3w
ok 2022 - Stop lttng tracing for session 7yjAGI5JC3srcC3w
PASS: tools/clear/test_ust 2022 - Stop lttng tracing for session 7yjAGI5JC3srcC3w
ok 2023 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/ust/" is empty
PASS: tools/clear/test_ust 2023 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e/ust/" is empty
ok 2024 - Destroy session 7yjAGI5JC3srcC3w
PASS: tools/clear/test_ust 2024 - Destroy session 7yjAGI5JC3srcC3w
# 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 dNfrPdX3LKzV6BG7 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 2025 - Create session dNfrPdX3LKzV6BG7 in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 2026 - Enable channel chan for session dNfrPdX3LKzV6BG7
PASS: tools/clear/test_ust 2026 - Enable channel chan for session dNfrPdX3LKzV6BG7
ok 2027 - Enable ust event tp:tptest for session dNfrPdX3LKzV6BG7
PASS: tools/clear/test_ust 2027 - Enable ust event tp:tptest for session dNfrPdX3LKzV6BG7
ok 2028 - Start tracing for session dNfrPdX3LKzV6BG7
PASS: tools/clear/test_ust 2028 - Start tracing for session dNfrPdX3LKzV6BG7
ok 2029 - Rotate session dNfrPdX3LKzV6BG7
PASS: tools/clear/test_ust 2029 - Rotate session dNfrPdX3LKzV6BG7
ok 2030 - Stop lttng tracing for session dNfrPdX3LKzV6BG7
PASS: tools/clear/test_ust 2030 - Stop lttng tracing for session dNfrPdX3LKzV6BG7
ok 2031 - Clear session dNfrPdX3LKzV6BG7
PASS: tools/clear/test_ust 2031 - Clear session dNfrPdX3LKzV6BG7
ok 2032 - Expected fail on rotate session dNfrPdX3LKzV6BG7
PASS: tools/clear/test_ust 2032 - Expected fail on rotate session dNfrPdX3LKzV6BG7
ok 2033 - Start tracing for session dNfrPdX3LKzV6BG7
PASS: tools/clear/test_ust 2033 - Start tracing for session dNfrPdX3LKzV6BG7
ok 2034 - Stop lttng tracing for session dNfrPdX3LKzV6BG7
PASS: tools/clear/test_ust 2034 - Stop lttng tracing for session dNfrPdX3LKzV6BG7
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 dNfrPdX3LKzV6BG7
PASS: tools/clear/test_ust 2037 - Destroy session dNfrPdX3LKzV6BG7
# 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 pmUKY1DJa5FHSG4d in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 2038 - Create session pmUKY1DJa5FHSG4d in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 2039 - Enable channel chan for session pmUKY1DJa5FHSG4d
PASS: tools/clear/test_ust 2039 - Enable channel chan for session pmUKY1DJa5FHSG4d
ok 2040 - Enable ust event tp:tptest for session pmUKY1DJa5FHSG4d
PASS: tools/clear/test_ust 2040 - Enable ust event tp:tptest for session pmUKY1DJa5FHSG4d
ok 2041 - Start tracing for session pmUKY1DJa5FHSG4d
PASS: tools/clear/test_ust 2041 - Start tracing for session pmUKY1DJa5FHSG4d
ok 2042 - Stop lttng tracing for session pmUKY1DJa5FHSG4d
PASS: tools/clear/test_ust 2042 - Stop lttng tracing for session pmUKY1DJa5FHSG4d
ok 2043 - Clear session pmUKY1DJa5FHSG4d
PASS: tools/clear/test_ust 2043 - Clear session pmUKY1DJa5FHSG4d
ok 2044 - Expected fail on rotate session pmUKY1DJa5FHSG4d
PASS: tools/clear/test_ust 2044 - Expected fail on rotate session pmUKY1DJa5FHSG4d
ok 2045 - Start tracing for session pmUKY1DJa5FHSG4d
PASS: tools/clear/test_ust 2045 - Start tracing for session pmUKY1DJa5FHSG4d
ok 2046 - Rotate session pmUKY1DJa5FHSG4d
PASS: tools/clear/test_ust 2046 - Rotate session pmUKY1DJa5FHSG4d
ok 2047 - Stop lttng tracing for session pmUKY1DJa5FHSG4d
PASS: tools/clear/test_ust 2047 - Stop lttng tracing for session pmUKY1DJa5FHSG4d
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 pmUKY1DJa5FHSG4d
PASS: tools/clear/test_ust 2050 - Destroy session pmUKY1DJa5FHSG4d
# Test ust local no event
# Parameters: tracing_active=0, clear_twice=0, rotate_before=, rotate_after=, buffer_type=pid
ok 2051 - Create session l3x2ObIx10uPEuXD in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
PASS: tools/clear/test_ust 2051 - Create session l3x2ObIx10uPEuXD in -o /tmp/tmp.test_clear_ust_trace_path.S57g8e
ok 2052 - Enable channel chan for session l3x2ObIx10uPEuXD
PASS: tools/clear/test_ust 2052 - Enable channel chan for session l3x2ObIx10uPEuXD
ok 2053 - Enable ust event tp:tptest for session l3x2ObIx10uPEuXD
PASS: tools/clear/test_ust 2053 - Enable ust event tp:tptest for session l3x2ObIx10uPEuXD
ok 2054 - Start tracing for session l3x2ObIx10uPEuXD
PASS: tools/clear/test_ust 2054 - Start tracing for session l3x2ObIx10uPEuXD
ok 2055 - Stop lttng tracing for session l3x2ObIx10uPEuXD
PASS: tools/clear/test_ust 2055 - Stop lttng tracing for session l3x2ObIx10uPEuXD
ok 2056 - Clear session l3x2ObIx10uPEuXD
PASS: tools/clear/test_ust 2056 - Clear session l3x2ObIx10uPEuXD
ok 2057 - Start tracing for session l3x2ObIx10uPEuXD
PASS: tools/clear/test_ust 2057 - Start tracing for session l3x2ObIx10uPEuXD
ok 2058 - Stop lttng tracing for session l3x2ObIx10uPEuXD
PASS: tools/clear/test_ust 2058 - Stop lttng tracing for session l3x2ObIx10uPEuXD
ok 2059 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
PASS: tools/clear/test_ust 2059 - Directory "/tmp/tmp.test_clear_ust_trace_path.S57g8e" is empty
ok 2060 - Destroy session l3x2ObIx10uPEuXD
PASS: tools/clear/test_ust 2060 - Destroy session l3x2ObIx10uPEuXD
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 16361 16362 
ok 2061 - Wait after kill session daemon
PASS: tools/clear/test_ust 2061 - Wait after kill session daemon
# Killing (signal SIGTERM) lttng-relayd (pid: 16343)
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.S57g8e)
PASS: tools/clear/test_ust 2063 - Start lttng-relayd (process mode: -b opt: -o /tmp/tmp.test_clear_ust_trace_path.S57g8e)
ok 2064 - Start session daemon
PASS: tools/clear/test_ust 2064 - Start session daemon
ok 2065 - Create session quRB3ymPma9yFcAE with uri:net://localhost and opts: 
PASS: tools/clear/test_ust 2065 - Create session quRB3ymPma9yFcAE with uri:net://localhost and opts:
ok 2066 - Enable ust event tp:tptest for session quRB3ymPma9yFcAE
PASS: tools/clear/test_ust 2066 - Enable ust event tp:tptest for session quRB3ymPma9yFcAE
ok 2067 - Start tracing for session quRB3ymPma9yFcAE
PASS: tools/clear/test_ust 2067 - Start tracing for session quRB3ymPma9yFcAE
ok 2068 - Expected fail on clear session quRB3ymPma9yFcAE
PASS: tools/clear/test_ust 2068 - Expected fail on clear session quRB3ymPma9yFcAE
ok 2069 - Destroy session quRB3ymPma9yFcAE
PASS: tools/clear/test_ust 2069 - Destroy session quRB3ymPma9yFcAE
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 21746 21747 
ok 2070 - Wait after kill session daemon
PASS: tools/clear/test_ust 2070 - Wait after kill session daemon
# Killing (signal SIGTERM) lttng-relayd (pid: 21728)
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=0xffffffffc05c5c10 --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: 26226 26227 

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.

