START: ptest-runner
2026-04-14T15:25
============================================================================
Testsuite summary for lttng-tools 2.15.0
============================================================================
# TOTAL: 0
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
PASS: ini_config/test_ini_config 1 - Successfully opened a config file, registered to all sections
PASS: ini_config/test_ini_config 2 - Processed entries from each sections
PASS: ini_config/test_ini_config 3 - Text value parsed correctly
PASS: ini_config/test_ini_config 4 - Successfully opened a config file, registered to one section
PASS: ini_config/test_ini_config 5 - Processed an entry from section1 only
PASS: ini_config/test_ini_config 6 - Int value parsed correctly
PASS: ini_config/test_ini_config 7 - Successfully opened a config file, registered to the global section
PASS: ini_config/test_ini_config 8 - Processed an entry from the global section only
PASS: test_action 1 - Create notify action
PASS: test_action 2 - Action has type LTTNG_ACTION_TYPE_NOTIFY
PASS: test_action 3 - Default policy is every n=1
PASS: test_action 4 - Set rate policy
PASS: test_action 5 - Notify action policy get
PASS: test_action 6 - Action notify serialized
PASS: test_action 7 - Notify action created from payload is non-null
PASS: test_action 8 - Serialized and de-serialized notify action are equal
PASS: test_action 9 - Create list action
PASS: test_action 10 - Action has type LTTNG_ACTION_TYPE_LIST
PASS: test_action 11 - Action list serialized
PASS: test_action 12 - Notify action created from payload is non-null
PASS: test_action 13 - Serialized and de-serialized list action are equal
PASS: test_action 14 - First inner action of action list is `start-session` action
PASS: test_action 15 - Second inner action of action list is `stop-session` action
PASS: test_action 16 - Third inner action of action list is `notify` action
PASS: test_action 17 - First inner action of action list is `start-session` action
PASS: test_action 18 - Second inner action of action list is `stop-session` action
PASS: test_action 19 - Third inner action of action list is `notify` action
PASS: test_action 20 - Create rotate_session action
PASS: test_action 21 - Action has type LTTNG_ACTION_TYPE_ROTATE_SESSION
PASS: test_action 22 - Set session name (NULL,NULL) expect invalid
PASS: test_action 23 - Set session name (object,NULL) expect invalid
PASS: test_action 24 - Set session name (NULL,object) expect invalid
PASS: test_action 25 - Set session name
PASS: test_action 26 - Get session name, expected `my_session_name` got `my_session_name`
PASS: test_action 27 - Default policy is every n=1
PASS: test_action 28 - Set rate policy
PASS: test_action 29 - rotate_session action policy get
PASS: test_action 30 - Action rotate_session serialized
PASS: test_action 31 - rotate_session action created from payload is non-null
PASS: test_action 32 - Serialized and de-serialized rotate_session action are equal
PASS: test_action 33 - Create start_session action
PASS: test_action 34 - Action has type LTTNG_ACTION_TYPE_START_SESSION
PASS: test_action 35 - Set session name (NULL,NULL) expect invalid
PASS: test_action 36 - Set session name (object,NULL) expect invalid
PASS: test_action 37 - Set session name (NULL,object) expect invalid
PASS: test_action 38 - Set session name
PASS: test_action 39 - Get session name, expected `my_session_name` got `my_session_name`
PASS: test_action 40 - Default policy is every n=1
PASS: test_action 41 - Set rate policy
PASS: test_action 42 - start_session action policy get
PASS: test_action 43 - Action start_session serialized
PASS: test_action 44 - start_session action created from payload is non-null
PASS: test_action 45 - Serialized and de-serialized start_session action are equal
PASS: test_action 46 - Create stop_session action
PASS: test_action 47 - Action has type LTTNG_ACTION_TYPE_STOP_SESSION
PASS: test_action 48 - Set session name (NULL,NULL) expect invalid
PASS: test_action 49 - Set session name (object,NULL) expect invalid
PASS: test_action 50 - Set session name (NULL,object) expect invalid
PASS: test_action 51 - Set session name
PASS: test_action 52 - Get session name, expected `my_session_name` got `my_session_name`
PASS: test_action 53 - Default policy is every n=1
PASS: test_action 54 - Set rate policy
PASS: test_action 55 - stop_session action policy get
PASS: test_action 56 - Action stop_session serialized
PASS: test_action 57 - stop_session action created from payload is non-null
PASS: test_action 58 - Serialized and de-serialized stop_session action are equal
PASS: test_action 59 - Create snapshot_session action
PASS: test_action 60 - Action has type LTTNG_ACTION_TYPE_SNAPSHOT_SESSION
PASS: test_action 61 - Set session name (NULL,NULL) expect invalid
PASS: test_action 62 - Set session name (object,NULL) expect invalid
PASS: test_action 63 - Set session name (NULL,object) expect invalid
PASS: test_action 64 - Set session name
PASS: test_action 65 - Get session name, expected `my_session_name` got `my_session_name`
PASS: test_action 66 - Default policy is every n=1
PASS: test_action 67 - Set rate policy
PASS: test_action 68 - snapshot_session action policy get
PASS: test_action 69 - Action snapshot_session serialized
PASS: test_action 70 - snapshot_session action created from payload is non-null
PASS: test_action 71 - Serialized and de-serialized snapshot_session action are equal
PASS: test_buffer_view 1 - !lttng_buffer_view_contains_string(&view, buf, 4)
PASS: test_buffer_view 2 - lttng_buffer_view_contains_string(&view, buf, 5)
PASS: test_buffer_view 3 - !lttng_buffer_view_contains_string(&view, buf, 6)
PASS: test_buffer_view 4 - !lttng_buffer_view_contains_string(&view_minus_one, buf, 4)
PASS: test_buffer_view 5 - !lttng_buffer_view_contains_string(&view_minus_one, buf, 5)
PASS: test_directory_handle 1 - Initialized directory handle from the test directory
PASS: test_directory_handle 2 - Error returned when attempting to recursively remove non-empty hierarchy with LTTNG_DIRECTORY_HANDLE_FAIL_NON_EMPTY_FLAG
PASS: test_directory_handle 3 - No error returned when recursively removing empty hierarchy with LTTNG_DIRECTORY_HANDLE_FAIL_NON_EMPTY_FLAG
PASS: test_directory_handle 4 - Folder hierarchy /tmp/lttng-Ko6ArU/fail_non_empty successfully removed
PASS: test_directory_handle 5 - Initialized directory handle from the test directory
PASS: test_directory_handle 6 - No error returned when attempting to recursively remove non-empty hierarchy with LTTNG_DIRECTORY_HANDLE_SKIP_NON_EMPTY_FLAG
PASS: test_directory_handle 7 - Test directory still exists after skip
PASS: test_directory_handle 8 - No error returned when recursively removing empty hierarchy with LTTNG_DIRECTORY_HANDLE_SKIP_NON_EMPTY_FLAG
PASS: test_directory_handle 9 - Folder hierarchy /tmp/lttng-Ko6ArU/skip_non_empty successfully removed
PASS: test_event_expr_to_bytecode 1 - event payload field
PASS: test_event_expr_to_bytecode 2 - channel context field
PASS: test_event_expr_to_bytecode 3 - app-specific context field
PASS: test_event_expr_to_bytecode 4 - array field element
PASS: test_event_rule 1 - tracepoint object.
PASS: test_event_rule 2 - setting pattern.
PASS: test_event_rule 3 - getting pattern.
PASS: test_event_rule 4 - pattern is equal.
PASS: test_event_rule 5 - setting filter.
PASS: test_event_rule 6 - getting filter.
PASS: test_event_rule 7 - filter is equal.
PASS: test_event_rule 8 - Serializing.
PASS: test_event_rule 9 - Deserializing.
PASS: test_event_rule 10 - serialized and from buffer are equal.
PASS: test_event_rule 11 - user tracepoint object.
PASS: test_event_rule 12 - setting pattern.
PASS: test_event_rule 13 - getting pattern.
PASS: test_event_rule 14 - pattern is equal.
PASS: test_event_rule 15 - setting filter.
PASS: test_event_rule 16 - getting filter.
PASS: test_event_rule 17 - filter is equal.
PASS: test_event_rule 18 - get unset log level rule.
PASS: test_event_rule 19 - setting log level rule.
PASS: test_event_rule 20 - get log level rule.
PASS: test_event_rule 21 - setting name pattern exclusions "my_event_test1"
PASS: test_event_rule 22 - setting name pattern exclusions "my_event_test2"
PASS: test_event_rule 23 - setting name pattern exclusions "my_event_test3"
PASS: test_event_rule 24 - getting name pattern exclusion count.
PASS: test_event_rule 25 - count is 3/3
PASS: test_event_rule 26 - getting name pattern exclusion at index 0.
PASS: test_event_rule 27 - my_event_test1 == my_event_test1.
PASS: test_event_rule 28 - getting name pattern exclusion at index 1.
PASS: test_event_rule 29 - my_event_test2 == my_event_test2.
PASS: test_event_rule 30 - getting name pattern exclusion at index 2.
PASS: test_event_rule 31 - my_event_test3 == my_event_test3.
PASS: test_event_rule 32 - Serializing.
PASS: test_event_rule 33 - Deserializing.
PASS: test_event_rule 34 - serialized and from buffer are equal.
PASS: test_event_rule 35 - syscall object.
PASS: test_event_rule 36 - setting pattern.
PASS: test_event_rule 37 - getting pattern.
PASS: test_event_rule 38 - pattern is equal.
PASS: test_event_rule 39 - setting filter.
PASS: test_event_rule 40 - getting filter.
PASS: test_event_rule 41 - filter is equal.
PASS: test_event_rule 42 - Serializing.
PASS: test_event_rule 43 - Deserializing.
PASS: test_event_rule 44 - serialized and from buffer are equal.
PASS: test_event_rule 45 - uprobe event rule object creation.
PASS: test_event_rule 46 - Getting uprobe event rule location.
PASS: test_event_rule 47 - Location is equal.
PASS: test_event_rule 48 - Setting uprobe event rule name: my_probe..
PASS: test_event_rule 49 - Getting uprobe name.
PASS: test_event_rule 50 - Uprobe name are equal.
PASS: test_event_rule 51 - Serializing.
PASS: test_event_rule 52 - Deserializing.
PASS: test_event_rule 53 - serialized and from buffer are equal.
PASS: test_event_rule 54 - kprobe event rule object creation.
PASS: test_event_rule 55 - Getting kprobe event rule location.
PASS: test_event_rule 56 - Locations are equal.
PASS: test_event_rule 57 - Setting kprobe event rule name: my_probe.
PASS: test_event_rule 58 - Getting kprobe name.
PASS: test_event_rule 59 - kprobe name are equal.
PASS: test_event_rule 60 - Serializing.
PASS: test_event_rule 61 - Deserializing.
PASS: test_event_rule 62 - serialized and from buffer are equal.
PASS: test_event_rule 63 - kprobe event rule object creation.
PASS: test_event_rule 64 - Getting kprobe event rule location.
PASS: test_event_rule 65 - Locations are equal.
PASS: test_event_rule 66 - Setting kprobe event rule name: my_probe.
PASS: test_event_rule 67 - Getting kprobe name.
PASS: test_event_rule 68 - kprobe name are equal.
PASS: test_event_rule 69 - Serializing.
PASS: test_event_rule 70 - Deserializing.
PASS: test_event_rule 71 - serialized and from buffer are equal.
PASS: test_event_rule 72 - log4j_logging object.
PASS: test_event_rule 73 - setting pattern.
PASS: test_event_rule 74 - getting pattern.
PASS: test_event_rule 75 - pattern is equal.
PASS: test_event_rule 76 - setting filter.
PASS: test_event_rule 77 - getting filter.
PASS: test_event_rule 78 - filter is equal.
PASS: test_event_rule 79 - get unset log level rule.
PASS: test_event_rule 80 - setting log level rule.
PASS: test_event_rule 81 - get log level rule.
PASS: test_event_rule 82 - Serializing.
PASS: test_event_rule 83 - Deserializing.
PASS: test_event_rule 84 - serialized and from buffer are equal.
PASS: test_event_rule 85 - log4j2_logging object.
PASS: test_event_rule 86 - setting pattern.
PASS: test_event_rule 87 - getting pattern.
PASS: test_event_rule 88 - pattern is equal.
PASS: test_event_rule 89 - setting filter.
PASS: test_event_rule 90 - getting filter.
PASS: test_event_rule 91 - filter is equal.
PASS: test_event_rule 92 - get unset log level rule.
PASS: test_event_rule 93 - setting log level rule.
PASS: test_event_rule 94 - get log level rule.
PASS: test_event_rule 95 - Serializing.
PASS: test_event_rule 96 - Deserializing.
PASS: test_event_rule 97 - serialized and from buffer are equal.
PASS: test_event_rule 98 - jul_logging object.
PASS: test_event_rule 99 - setting pattern.
PASS: test_event_rule 100 - getting pattern.
PASS: test_event_rule 101 - pattern is equal.
PASS: test_event_rule 102 - setting filter.
PASS: test_event_rule 103 - getting filter.
PASS: test_event_rule 104 - filter is equal.
PASS: test_event_rule 105 - get unset log level rule.
PASS: test_event_rule 106 - setting log level rule.
PASS: test_event_rule 107 - get log level rule.
PASS: test_event_rule 108 - Serializing.
PASS: test_event_rule 109 - Deserializing.
PASS: test_event_rule 110 - serialized and from buffer are equal.
PASS: test_event_rule 111 - python_logging object.
PASS: test_event_rule 112 - setting pattern.
PASS: test_event_rule 113 - getting pattern.
PASS: test_event_rule 114 - pattern is equal.
PASS: test_event_rule 115 - setting filter.
PASS: test_event_rule 116 - getting filter.
PASS: test_event_rule 117 - filter is equal.
PASS: test_event_rule 118 - get unset log level rule.
PASS: test_event_rule 119 - setting log level rule.
PASS: test_event_rule 120 - get log level rule.
PASS: test_event_rule 121 - Serializing.
PASS: test_event_rule 122 - Deserializing.
PASS: test_event_rule 123 - serialized and from buffer are equal.
PASS: test_event_rule 124 - Log level rule "exactly" accepted by user tracepoint event rule: level = EMERG
PASS: test_event_rule 125 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = EMERG
PASS: test_event_rule 126 - Log level rule "exactly" accepted by user tracepoint event rule: level = ALERT
PASS: test_event_rule 127 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = ALERT
PASS: test_event_rule 128 - Log level rule "exactly" accepted by user tracepoint event rule: level = CRIT
PASS: test_event_rule 129 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = CRIT
PASS: test_event_rule 130 - Log level rule "exactly" accepted by user tracepoint event rule: level = ERR
PASS: test_event_rule 131 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = ERR
PASS: test_event_rule 132 - Log level rule "exactly" accepted by user tracepoint event rule: level = WARNING
PASS: test_event_rule 133 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = WARNING
PASS: test_event_rule 134 - Log level rule "exactly" accepted by user tracepoint event rule: level = NOTICE
PASS: test_event_rule 135 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = NOTICE
PASS: test_event_rule 136 - Log level rule "exactly" accepted by user tracepoint event rule: level = INFO
PASS: test_event_rule 137 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = INFO
PASS: test_event_rule 138 - Log level rule "exactly" accepted by user tracepoint event rule: level = DEBUG_SYSTEM
PASS: test_event_rule 139 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = DEBUG_SYSTEM
PASS: test_event_rule 140 - Log level rule "exactly" accepted by user tracepoint event rule: level = DEBUG_PROGRAM
PASS: test_event_rule 141 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = DEBUG_PROGRAM
PASS: test_event_rule 142 - Log level rule "exactly" accepted by user tracepoint event rule: level = DEBUG_PROCESS
PASS: test_event_rule 143 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = DEBUG_PROCESS
PASS: test_event_rule 144 - Log level rule "exactly" accepted by user tracepoint event rule: level = DEBUG_MODULE
PASS: test_event_rule 145 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = DEBUG_MODULE
PASS: test_event_rule 146 - Log level rule "exactly" accepted by user tracepoint event rule: level = DEBUG_UNIT
PASS: test_event_rule 147 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = DEBUG_UNIT
PASS: test_event_rule 148 - Log level rule "exactly" accepted by user tracepoint event rule: level = DEBUG_FUNCTION
PASS: test_event_rule 149 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = DEBUG_FUNCTION
PASS: test_event_rule 150 - Log level rule "exactly" accepted by user tracepoint event rule: level = DEBUG_LINE
PASS: test_event_rule 151 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = DEBUG_LINE
PASS: test_event_rule 152 - Log level rule "exactly" accepted by user tracepoint event rule: level = DEBUG
PASS: test_event_rule 153 - Log level rule "as least as severe as" accepted by user tracepoint event rule: level = DEBUG
PASS: test_event_rule 154 - Log level rule "exactly" rejected by user tracepoint event rule: level = -1980
PASS: test_event_rule 155 - Log level rule "as least as severe as" rejected by user tracepoint event rule: level = -1980
PASS: test_event_rule 156 - Log level rule "exactly" rejected by user tracepoint event rule: level = 1995
PASS: test_event_rule 157 - Log level rule "as least as severe as" rejected by user tracepoint event rule: level = 1995
PASS: test_event_rule 158 - Log level rule "exactly" rejected by user tracepoint event rule: level = 15
PASS: test_event_rule 159 - Log level rule "as least as severe as" rejected by user tracepoint event rule: level = 15
PASS: test_event_rule 160 - Log level rule "exactly" rejected by user tracepoint event rule: level = -1
PASS: test_event_rule 161 - Log level rule "as least as severe as" rejected by user tracepoint event rule: level = -1
PASS: test_event_rule 162 - Log level rule "exactly" accepted by jul logging event rule: level = OFF
PASS: test_event_rule 163 - Log level rule "as least as severe as" accepted by jul logging event rule: level = OFF
PASS: test_event_rule 164 - Log level rule "exactly" accepted by jul logging event rule: level = SEVERE
PASS: test_event_rule 165 - Log level rule "as least as severe as" accepted by jul logging event rule: level = SEVERE
PASS: test_event_rule 166 - Log level rule "exactly" accepted by jul logging event rule: level = WARNING
PASS: test_event_rule 167 - Log level rule "as least as severe as" accepted by jul logging event rule: level = WARNING
PASS: test_event_rule 168 - Log level rule "exactly" accepted by jul logging event rule: level = INFO
PASS: test_event_rule 169 - Log level rule "as least as severe as" accepted by jul logging event rule: level = INFO
PASS: test_event_rule 170 - Log level rule "exactly" accepted by jul logging event rule: level = CONFIG
PASS: test_event_rule 171 - Log level rule "as least as severe as" accepted by jul logging event rule: level = CONFIG
PASS: test_event_rule 172 - Log level rule "exactly" accepted by jul logging event rule: level = FINE
PASS: test_event_rule 173 - Log level rule "as least as severe as" accepted by jul logging event rule: level = FINE
PASS: test_event_rule 174 - Log level rule "exactly" accepted by jul logging event rule: level = FINER
PASS: test_event_rule 175 - Log level rule "as least as severe as" accepted by jul logging event rule: level = FINER
PASS: test_event_rule 176 - Log level rule "exactly" accepted by jul logging event rule: level = FINEST
PASS: test_event_rule 177 - Log level rule "as least as severe as" accepted by jul logging event rule: level = FINEST
PASS: test_event_rule 178 - Log level rule "exactly" accepted by jul logging event rule: level = ALL
PASS: test_event_rule 179 - Log level rule "as least as severe as" accepted by jul logging event rule: level = ALL
PASS: test_event_rule 180 - Log level rule "exactly" accepted by jul logging event rule: level = 0
PASS: test_event_rule 181 - Log level rule "as least as severe as" accepted by jul logging event rule: level = 0
PASS: test_event_rule 182 - Log level rule "exactly" accepted by jul logging event rule: level = -1980
PASS: test_event_rule 183 - Log level rule "as least as severe as" accepted by jul logging event rule: level = -1980
PASS: test_event_rule 184 - Log level rule "exactly" accepted by jul logging event rule: level = 1995
PASS: test_event_rule 185 - Log level rule "as least as severe as" accepted by jul logging event rule: level = 1995
PASS: test_event_rule 186 - Log level rule "exactly" accepted by log4j logging event rule: level = OFF
PASS: test_event_rule 187 - Log level rule "as least as severe as" accepted by log4j logging event rule: level = OFF
PASS: test_event_rule 188 - Log level rule "exactly" accepted by log4j logging event rule: level = FATAL
PASS: test_event_rule 189 - Log level rule "as least as severe as" accepted by log4j logging event rule: level = FATAL
PASS: test_event_rule 190 - Log level rule "exactly" accepted by log4j logging event rule: level = ERROR
PASS: test_event_rule 191 - Log level rule "as least as severe as" accepted by log4j logging event rule: level = ERROR
PASS: test_event_rule 192 - Log level rule "exactly" accepted by log4j logging event rule: level = WARN
PASS: test_event_rule 193 - Log level rule "as least as severe as" accepted by log4j logging event rule: level = WARN
PASS: test_event_rule 194 - Log level rule "exactly" accepted by log4j logging event rule: level = INFO
PASS: test_event_rule 195 - Log level rule "as least as severe as" accepted by log4j logging event rule: level = INFO
PASS: test_event_rule 196 - Log level rule "exactly" accepted by log4j logging event rule: level = DEBUG
PASS: test_event_rule 197 - Log level rule "as least as severe as" accepted by log4j logging event rule: level = DEBUG
PASS: test_event_rule 198 - Log level rule "exactly" accepted by log4j logging event rule: level = TRACE
PASS: test_event_rule 199 - Log level rule "as least as severe as" accepted by log4j logging event rule: level = TRACE
PASS: test_event_rule 200 - Log level rule "exactly" accepted by log4j logging event rule: level = ALL
PASS: test_event_rule 201 - Log level rule "as least as severe as" accepted by log4j logging event rule: level = ALL
PASS: test_event_rule 202 - Log level rule "exactly" accepted by log4j logging event rule: level = -1980
PASS: test_event_rule 203 - Log level rule "as least as severe as" accepted by log4j logging event rule: level = -1980
PASS: test_event_rule 204 - Log level rule "exactly" accepted by log4j logging event rule: level = 1995
PASS: test_event_rule 205 - Log level rule "as least as severe as" accepted by log4j logging event rule: level = 1995
PASS: test_event_rule 206 - Log level rule "exactly" accepted by log4j2 logging event rule: level = OFF
PASS: test_event_rule 207 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = OFF
PASS: test_event_rule 208 - Log level rule "exactly" accepted by log4j2 logging event rule: level = FATAL
PASS: test_event_rule 209 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = FATAL
PASS: test_event_rule 210 - Log level rule "exactly" accepted by log4j2 logging event rule: level = ERROR
PASS: test_event_rule 211 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = ERROR
PASS: test_event_rule 212 - Log level rule "exactly" accepted by log4j2 logging event rule: level = WARN
PASS: test_event_rule 213 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = WARN
PASS: test_event_rule 214 - Log level rule "exactly" accepted by log4j2 logging event rule: level = INFO
PASS: test_event_rule 215 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = INFO
PASS: test_event_rule 216 - Log level rule "exactly" accepted by log4j2 logging event rule: level = DEBUG
PASS: test_event_rule 217 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = DEBUG
PASS: test_event_rule 218 - Log level rule "exactly" accepted by log4j2 logging event rule: level = TRACE
PASS: test_event_rule 219 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = TRACE
PASS: test_event_rule 220 - Log level rule "exactly" accepted by log4j2 logging event rule: level = ALL
PASS: test_event_rule 221 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = ALL
PASS: test_event_rule 222 - Log level rule "exactly" accepted by log4j2 logging event rule: level = 0
PASS: test_event_rule 223 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = 0
PASS: test_event_rule 224 - Log level rule "exactly" accepted by log4j2 logging event rule: level = 101
PASS: test_event_rule 225 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = 101
PASS: test_event_rule 226 - Log level rule "exactly" accepted by log4j2 logging event rule: level = 1995
PASS: test_event_rule 227 - Log level rule "as least as severe as" accepted by log4j2 logging event rule: level = 1995
PASS: test_event_rule 228 - Log level rule "exactly" rejected by log4j2 logging event rule: level = -1
PASS: test_event_rule 229 - Log level rule "as least as severe as" rejected by log4j2 logging event rule: level = -1
PASS: test_event_rule 230 - Log level rule "exactly" rejected by log4j2 logging event rule: level = -100
PASS: test_event_rule 231 - Log level rule "as least as severe as" rejected by log4j2 logging event rule: level = -100
PASS: test_event_rule 232 - Log level rule "exactly" rejected by log4j2 logging event rule: level = -65537
PASS: test_event_rule 233 - Log level rule "as least as severe as" rejected by log4j2 logging event rule: level = -65537
PASS: test_event_rule 234 - Log level rule "exactly" accepted by python logging event rule: level = CRITICAL
PASS: test_event_rule 235 - Log level rule "as least as severe as" accepted by python logging event rule: level = CRITICAL
PASS: test_event_rule 236 - Log level rule "exactly" accepted by python logging event rule: level = ERROR
PASS: test_event_rule 237 - Log level rule "as least as severe as" accepted by python logging event rule: level = ERROR
PASS: test_event_rule 238 - Log level rule "exactly" accepted by python logging event rule: level = WARNING
PASS: test_event_rule 239 - Log level rule "as least as severe as" accepted by python logging event rule: level = WARNING
PASS: test_event_rule 240 - Log level rule "exactly" accepted by python logging event rule: level = INFO
PASS: test_event_rule 241 - Log level rule "as least as severe as" accepted by python logging event rule: level = INFO
PASS: test_event_rule 242 - Log level rule "exactly" accepted by python logging event rule: level = DEBUG
PASS: test_event_rule 243 - Log level rule "as least as severe as" accepted by python logging event rule: level = DEBUG
PASS: test_event_rule 244 - Log level rule "exactly" accepted by python logging event rule: level = NOTSET
PASS: test_event_rule 245 - Log level rule "as least as severe as" accepted by python logging event rule: level = NOTSET
PASS: test_event_rule 246 - Log level rule "exactly" accepted by python logging event rule: level = 45
PASS: test_event_rule 247 - Log level rule "as least as severe as" accepted by python logging event rule: level = 45
PASS: test_event_rule 248 - Log level rule "exactly" accepted by python logging event rule: level = 35
PASS: test_event_rule 249 - Log level rule "as least as severe as" accepted by python logging event rule: level = 35
PASS: test_event_rule 250 - Log level rule "exactly" accepted by python logging event rule: level = 0
PASS: test_event_rule 251 - Log level rule "as least as severe as" accepted by python logging event rule: level = 0
PASS: test_event_rule 252 - Log level rule "exactly" accepted by python logging event rule: level = -657
PASS: test_event_rule 253 - Log level rule "as least as severe as" accepted by python logging event rule: level = -657
PASS: test_fd_tracker 1 - Created an fd tracker with a limit of 50 simulateously opened file descriptors
PASS: test_fd_tracker 2 - Track unsuspendable fd 0 (stdin)
PASS: test_fd_tracker 3 - Track unsuspendable fd 1 (stdout)
PASS: test_fd_tracker 4 - Track unsuspendable fd 2 (stderr)
PASS: test_fd_tracker 5 - Untrack unsuspendable fd 0 (stdin)
PASS: test_fd_tracker 6 - Untrack unsuspendable fd 1 (stdout)
PASS: test_fd_tracker 7 - Untrack unsuspendable fd 2 (stderr)
PASS: test_fd_tracker 8 - Test directory is empty
PASS: test_fd_tracker 9 - fd_tracker_open_unsuspendable_fd() forwards the user callback's error code
PASS: test_fd_tracker 10 - Output fd parameter is unaffected on error of fd_tracker_open_unsuspendable_fd()
PASS: test_fd_tracker 11 - fd_tracker_open_unsuspendable_fd() sets the output fd parameter to the newly-tracked fd's value
PASS: test_fd_tracker 12 - fd_tracker_close_unsuspendable_fd() forwards the user callback's error code
PASS: test_fd_tracker 13 - Test directory is empty
PASS: test_fd_tracker 14 - EEXIST reported on open of an already tracked file descriptor
PASS: test_fd_tracker 15 - Test directory is empty
PASS: test_fd_tracker 16 - EINVAL reported on close of an untracked file descriptor
PASS: test_fd_tracker 17 - Test directory is empty
PASS: test_fd_tracker 18 - File descriptor tracker allowed the user to meet its limit with unsuspendable file descriptors (50)
PASS: test_fd_tracker 19 - EMFILE reported when exceeding the file descriptor limit while opening an unsuspendable fd
PASS: test_fd_tracker 20 - Test directory is empty
PASS: test_fd_tracker 21 - Created 500 files with a limit of 50 simultaneously-opened file descriptor
PASS: test_fd_tracker 22 - Expected 55 open file descriptors (55 are open)
PASS: test_fd_tracker 23 - Close all opened filesystem handles
PASS: test_fd_tracker 24 - Test directory is empty
PASS: test_fd_tracker 25 - Created 500 files with a limit of 50 simultaneously-opened file descriptor
PASS: test_fd_tracker 26 - Expected 55 open file descriptors (55 are open)
PASS: test_fd_tracker 27 - Wrote reference string to 500 files
PASS: test_fd_tracker 28 - FD tracker enforced the file descriptor cap
PASS: test_fd_tracker 29 - Files contain the expected content
PASS: test_fd_tracker 30 - Close all opened filesystem handles
PASS: test_fd_tracker 31 - Test directory is empty
PASS: test_fd_tracker 32 - Created 50 files with a limit of 50 simultaneously-opened file descriptor
PASS: test_fd_tracker 33 - Expected 55 open file descriptors (55 are open)
PASS: test_fd_tracker 34 - Track unsuspendable fd 0 (stdin)
PASS: test_fd_tracker 35 - Track unsuspendable fd 1 (stdout)
PASS: test_fd_tracker 36 - Track unsuspendable fd 2 (stderr)
PASS: test_fd_tracker 37 - Expected 52 open file descriptors (52 are open)
PASS: test_fd_tracker 38 - Untrack unsuspendable fd 0 (stdin)
PASS: test_fd_tracker 39 - Untrack unsuspendable fd 1 (stdout)
PASS: test_fd_tracker 40 - Untrack unsuspendable fd 2 (stderr)
PASS: test_fd_tracker 41 - Expected 52 open file descriptors (52 are open)
PASS: test_fd_tracker 42 - Close all opened filesystem handles
PASS: test_fd_tracker 43 - Test directory is empty
PASS: test_fd_tracker 44 - Successfully opened 2 handles to /tmp/fd-tracker-pZrAkb/my_file
PASS: test_fd_tracker 45 - Successfully unlinked the first handle to /tmp/fd-tracker-pZrAkb/my_file
PASS: test_fd_tracker 46 - my_file no longer present on file system after unlink
PASS: test_fd_tracker 47 - /tmp/fd-tracker-pZrAkb/unlinked_files/0 exists on file system after unlink
PASS: test_fd_tracker 48 - Got fd from first handle
PASS: test_fd_tracker 49 - fd tracker does not allow two fds to be used at once
PASS: test_fd_tracker 50 - Got fd from second handle
PASS: test_fd_tracker 51 - ENOENT is reported when attempting to unlink the second handle to /tmp/fd-tracker-pZrAkb/my_file
PASS: test_fd_tracker 52 - Successfully opened a new handle to previously unlinked file /tmp/fd-tracker-pZrAkb/my_file
PASS: test_fd_tracker 53 - Successfully unlinked the new handle handle to /tmp/fd-tracker-pZrAkb/my_file
PASS: test_fd_tracker 54 - /tmp/fd-tracker-pZrAkb/unlinked_files/1 exists on file system after unlink
PASS: test_fd_tracker 55 - Successfully closed the first handle
PASS: test_fd_tracker 56 - Successfully closed the second handle
PASS: test_fd_tracker 57 - Successfully closed the third handle
PASS: test_fd_tracker 58 - my_file no longer present on file system after handle close
PASS: test_fd_tracker 59 - /tmp/fd-tracker-pZrAkb/unlinked_files/0 no longer present on file system after handle close
PASS: test_fd_tracker 60 - /tmp/fd-tracker-pZrAkb/unlinked_files/1 no longer present on file system after handle close
PASS: test_fd_tracker 61 - Test directory is empty
PASS: test_rate_policy 1 - Rate policy every n A created: interval: 100
PASS: test_rate_policy 2 - Rate policy every n B created: interval: 100
PASS: test_rate_policy 3 - Rate policy every n C created: interval: 1
PASS: test_rate_policy 4 - Type is LTTNG_RATE_POLICY_TYPE_EVERY_N
PASS: test_rate_policy 5 - Get interval returns INVALID
PASS: test_rate_policy 6 - Get interval returns INVALID
PASS: test_rate_policy 7 - Get interval returns INVALID
PASS: test_rate_policy 8 -  Getting interval A
PASS: test_rate_policy 9 -  Getting interval B
PASS: test_rate_policy 10 -  Getting interval C
PASS: test_rate_policy 11 - is equal (NULL,NULL)
PASS: test_rate_policy 12 - is equal (object, NULL)
PASS: test_rate_policy 13 -  is equal (NULL, object)
PASS: test_rate_policy 14 - is equal (object A, object A)
PASS: test_rate_policy 15 - is equal (object A, object B
PASS: test_rate_policy 16 - is equal (object B, object A
PASS: test_rate_policy 17 - is equal (object A, object C)
PASS: test_rate_policy 18 - is equal (object C, object A)
PASS: test_rate_policy 19 - Serializing
PASS: test_rate_policy 20 - Deserializing
PASS: test_rate_policy 21 - serialized and from buffer are equal
PASS: test_rate_policy 22 - Rate policy every n A created: threshold: 100
PASS: test_rate_policy 23 - Rate policy every n B created: threshold: 100
PASS: test_rate_policy 24 - Rate policy every n C created: threshold: 1
PASS: test_rate_policy 25 - Type is LTTNG_RATE_POLICY_TYPE_once_after_n
PASS: test_rate_policy 26 - Get threshold returns INVALID
PASS: test_rate_policy 27 - Get threshold returns INVALID
PASS: test_rate_policy 28 - Get threshold returns INVALID
PASS: test_rate_policy 29 -  Getting threshold A
PASS: test_rate_policy 30 -  Getting threshold B
PASS: test_rate_policy 31 -  Getting threshold C
PASS: test_rate_policy 32 - is equal (NULL,NULL)
PASS: test_rate_policy 33 - is equal (object, NULL)
PASS: test_rate_policy 34 -  is equal (NULL, object)
PASS: test_rate_policy 35 - is equal (object A, object A)
PASS: test_rate_policy 36 - is equal (object A, object B
PASS: test_rate_policy 37 - is equal (object B, object A
PASS: test_rate_policy 38 - is equal (object A, object C)
PASS: test_rate_policy 39 - is equal (object C, object A)
PASS: test_rate_policy 40 - Serializing
PASS: test_rate_policy 41 - Deserializing
PASS: test_rate_policy 42 - serialized and from buffer are equal
PASS: test_kernel_data 1 - Create kernel session
PASS: test_kernel_data 2 - Validate kernel session
PASS: test_kernel_data 3 - Create kernel metadata
PASS: test_kernel_data 4 - Validate kernel session metadata
PASS: test_kernel_data 5 - Create kernel channel
PASS: test_kernel_data 6 - Validate kernel channel
PASS: test_kernel_data 7 - Validate string length
PASS: test_kernel_data 8 - Create kernel event
PASS: test_kernel_data 9 - Validate kernel event
PASS: test_kernel_data 10 - Create kernel stream
PASS: test_kernel_data 11 - Validate kernel stream
PASS: test_kernel_probe 1 - Location object
PASS: test_kernel_probe 2 - Location type got 1 expected 1
PASS: test_kernel_probe 3 - Getting address
PASS: test_kernel_probe 4 - Address is equal. Got 50 expected 50
PASS: test_kernel_probe 5 - Serializing
PASS: test_kernel_probe 6 - Deserializing
PASS: test_kernel_probe 7 - Location from buffer type got 1 expected 1
PASS: test_kernel_probe 8 - Getting address
PASS: test_kernel_probe 9 - Address from buffer is equal. Got 50 expected 50
PASS: test_kernel_probe 10 - serialized and from buffer are equal
PASS: test_kernel_probe 11 - Location object
PASS: test_kernel_probe 12 - Location type got 0 expected 0
PASS: test_kernel_probe 13 - Getting symbol name
PASS: test_kernel_probe 14 - Symbol name is equal. Got Une_bonne, expected Une_bonne
PASS: test_kernel_probe 15 - Getting offset
PASS: test_kernel_probe 16 - Offset is equal. Got 50 expected 50
PASS: test_kernel_probe 17 - Serializing
PASS: test_kernel_probe 18 - Deserializing
PASS: test_kernel_probe 19 - Location from buffer type got 0 expected 0
PASS: test_kernel_probe 20 - Getting symbol name
PASS: test_kernel_probe 21 - Symbol name is equal. Got Une_bonne, expected Une_bonne
PASS: test_kernel_probe 22 - Getting offset
PASS: test_kernel_probe 23 - Offset is equal. Got 50 expected 50
PASS: test_kernel_probe 24 - serialized and from buffer are equal
PASS: test_kprobe_event_rule_event_name 1 - lttng_event_rule_kernel_kprobe_create - The event name `meow_mix` is expected
PASS: test_kprobe_event_rule_event_name 2 - lttng_event_rule_kernel_kprobe_create - The event name `meow_mix+0xabcd1234` is expected
PASS: test_kprobe_event_rule_event_name 3 - lttng_event_rule_kernel_kprobe_create - The event name `0xdeadbeef` is expected
PASS: test_uprobe_event_rule_event_name 1 - lttng_event_rule_kernel_uprobe_create - The event name `elf:/bin/sh:meow_mix` is expected
PASS: test_uprobe_event_rule_event_name 2 - lttng_event_rule_kernel_uprobe_create - The event name `sdt:/bin/sh:meow:mix` is expected
PASS: test_log_level_rule 1 - Log level exactly allocated
PASS: test_log_level_rule 2 - Log level rule exactly type
PASS: test_log_level_rule 3 - Get the level
PASS: test_log_level_rule 4 - Level property is valid
PASS: test_log_level_rule 5 - Same object is equal
PASS: test_log_level_rule 6 - Object a and b are equal
PASS: test_log_level_rule 7 -  Object of different levels are not equal
PASS: test_log_level_rule 8 -  Object of different types are not equal
PASS: test_log_level_rule 9 - Serializing.
PASS: test_log_level_rule 10 - Deserializing.
PASS: test_log_level_rule 11 - Serialized and from buffer are equal
PASS: test_log_level_rule 12 - Log level at_least_as_severe_as allocated
PASS: test_log_level_rule 13 - Log level rule at_least_as_severe_as type
PASS: test_log_level_rule 14 - Get the level
PASS: test_log_level_rule 15 - Level property is valid
PASS: test_log_level_rule 16 - Same object is equal
PASS: test_log_level_rule 17 - Object a and b are equal
PASS: test_log_level_rule 18 -  Object of different levels are not equal
PASS: test_log_level_rule 19 -  Object of different types are not equal
PASS: test_log_level_rule 20 - Serializing.
PASS: test_log_level_rule 21 - Deserializing.
PASS: test_log_level_rule 22 - Serialized and from buffer are equal
PASS: test_log_level_rule 23 - Get type on invalid pointer
PASS: test_log_level_rule 24 - lttng_log_level_rule_exactly_get_level (NULL, NULL) returns invalid
PASS: test_log_level_rule 25 - lttng_log_level_rule_exactly_get_level (valid, NULL) returns invalid
PASS: test_log_level_rule 26 - lttng_log_level_rule_exactly_get_level (NULL, valid) returns invalid
PASS: test_log_level_rule 27 - lttng_log_level_rule_at_least_as_severe_as_get_level (NULL, NULL) returns invalid
PASS: test_log_level_rule 28 - lttng_log_level_rule_at_least_as_severe_as_get_level (valid, NULL) returns invalid
PASS: test_log_level_rule 29 - lttng_log_level_rule_at_least_as_severe_as_get_level (NULL, valid) returns invalid
PASS: test_notification 1 - Condition allocated
PASS: test_notification 2 - Condition is of type "low buffer usage"
PASS: test_notification 3 - Threshold ratio is unset
PASS: test_notification 4 - Threshold byte is unset
PASS: test_notification 5 - Session name is unset
PASS: test_notification 6 - Session name is null
PASS: test_notification 7 - Channel name is unset
PASS: test_notification 8 - Channel name is null
PASS: test_notification 9 - Domain name is unset
PASS: test_notification 10 - Set null condition on set session name
PASS: test_notification 11 - Get session name with null condition
PASS: test_notification 12 - Session name is null
PASS: test_notification 13 - Session name is unset
PASS: test_notification 14 - Session name is null
PASS: test_notification 15 - Set null session name
PASS: test_notification 16 - Session name is unset
PASS: test_notification 17 - Session name is null
PASS: test_notification 18 - Set empty session name
PASS: test_notification 19 - Session name is unset
PASS: test_notification 20 - Session name is null
PASS: test_notification 21 - Set session name session420
PASS: test_notification 22 - Session name is set
PASS: test_notification 23 - Session name has a value
PASS: test_notification 24 - Session name is session420
PASS: test_notification 25 - Set session name to empty
PASS: test_notification 26 - Session name is still set
PASS: test_notification 27 - Session name has a value
PASS: test_notification 28 - Session is still name is session420
PASS: test_notification 29 - Set null condition on set channel name
PASS: test_notification 30 - Get channel name with null condition
PASS: test_notification 31 - Channel name is unset
PASS: test_notification 32 - Channel name is null
PASS: test_notification 33 - Set null channel name
PASS: test_notification 34 - Channel name is unset
PASS: test_notification 35 - Channel name is null
PASS: test_notification 36 - Set empty channel name
PASS: test_notification 37 - Channel name is unset
PASS: test_notification 38 - Channel name is null
PASS: test_notification 39 - Set channel name channel420
PASS: test_notification 40 - Channel name is set
PASS: test_notification 41 - Channel name has a value
PASS: test_notification 42 - Channel name is channel420
PASS: test_notification 43 - Set channel name to empty
PASS: test_notification 44 - Channel name is still set
PASS: test_notification 45 - Channel name has a value
PASS: test_notification 46 - Channel is still name is channel420
PASS: test_notification 47 - Set threshold ratio with null condition
PASS: test_notification 48 - Get threshold ratio with null condition
PASS: test_notification 49 - Threshold ratio is unset
PASS: test_notification 50 - Set threshold ratio < 0
PASS: test_notification 51 - Threshold ratio is unset
PASS: test_notification 52 - Set Threshold ratio > 1
PASS: test_notification 53 - Threshold ratio is unset
PASS: test_notification 54 - Set threshold ratio == 1.0
PASS: test_notification 55 - Threshold ratio is set
PASS: test_notification 56 - Threshold ratio is 1.0
PASS: test_notification 57 - Set threshold ratio == 0.0
PASS: test_notification 58 - Threshold ratio is set
PASS: test_notification 59 - Threshold ratio is 0.0
PASS: test_notification 60 - Set threshold ratio == 0.420
PASS: test_notification 61 - Threshold ratio is set
PASS: test_notification 62 - Threshold ratio is 0.420
PASS: test_notification 63 - Set threshold with null condition
PASS: test_notification 64 - Get threshold value with null condition
PASS: test_notification 65 - Threshold is unset
PASS: test_notification 66 - Set threshold > 0
PASS: test_notification 67 - Threshold is set
PASS: test_notification 68 - Threshold is 100000
PASS: test_notification 69 - Set threshold UINT64_MAX
PASS: test_notification 70 - Threshold is set
PASS: test_notification 71 - Threshold is UINT64_MAX
PASS: test_notification 72 - Set threshold  == 0
PASS: test_notification 73 - Threshold is set
PASS: test_notification 74 - Threshold is 0
PASS: test_notification 75 - Threshold ratio is unset
PASS: test_notification 76 - Threshold ratio is untouched
PASS: test_notification 77 - Set threshold ratio == 0.420
PASS: test_notification 78 - Threshold ratio is set
PASS: test_notification 79 - Threshold ratio is 0.420
PASS: test_notification 80 - Threshold is unset
PASS: test_notification 81 - Threshold is untouched
PASS: test_notification 82 - Set domain type with null condition
PASS: test_notification 83 - Get domain type with null condition
PASS: test_notification 84 - Set domain type as LTTNG_DOMAIN_NONE
PASS: test_notification 85 - Domain type is unset
PASS: test_notification 86 - Set domain type as LTTNG_DOMAIN_UST
PASS: test_notification 87 - Domain type is set
PASS: test_notification 88 - Domain type is LTTNG_DOMAIN_UST
PASS: test_notification 89 - High buffer usage condition allocated
PASS: test_notification 90 - Condition is of type "high buffer usage"
PASS: test_notification 91 - Threshold ratio is unset
PASS: test_notification 92 - Threshold byte is unset
PASS: test_notification 93 - Session name is unset
PASS: test_notification 94 - Session name is null
PASS: test_notification 95 - Channel name is unset
PASS: test_notification 96 - Channel name is null
PASS: test_notification 97 - Domain name is unset
PASS: test_notification 98 - Set null condition on set session name
PASS: test_notification 99 - Get session name with null condition
PASS: test_notification 100 - Session name is null
PASS: test_notification 101 - Session name is unset
PASS: test_notification 102 - Session name is null
PASS: test_notification 103 - Set null session name
PASS: test_notification 104 - Session name is unset
PASS: test_notification 105 - Session name is null
PASS: test_notification 106 - Set empty session name
PASS: test_notification 107 - Session name is unset
PASS: test_notification 108 - Session name is null
PASS: test_notification 109 - Set session name session420
PASS: test_notification 110 - Session name is set
PASS: test_notification 111 - Session name has a value
PASS: test_notification 112 - Session name is session420
PASS: test_notification 113 - Set session name to empty
PASS: test_notification 114 - Session name is still set
PASS: test_notification 115 - Session name has a value
PASS: test_notification 116 - Session is still name is session420
PASS: test_notification 117 - Set null condition on set channel name
PASS: test_notification 118 - Get channel name with null condition
PASS: test_notification 119 - Channel name is unset
PASS: test_notification 120 - Channel name is null
PASS: test_notification 121 - Set null channel name
PASS: test_notification 122 - Channel name is unset
PASS: test_notification 123 - Channel name is null
PASS: test_notification 124 - Set empty channel name
PASS: test_notification 125 - Channel name is unset
PASS: test_notification 126 - Channel name is null
PASS: test_notification 127 - Set channel name channel420
PASS: test_notification 128 - Channel name is set
PASS: test_notification 129 - Channel name has a value
PASS: test_notification 130 - Channel name is channel420
PASS: test_notification 131 - Set channel name to empty
PASS: test_notification 132 - Channel name is still set
PASS: test_notification 133 - Channel name has a value
PASS: test_notification 134 - Channel is still name is channel420
PASS: test_notification 135 - Set threshold ratio with null condition
PASS: test_notification 136 - Get threshold ratio with null condition
PASS: test_notification 137 - Threshold ratio is unset
PASS: test_notification 138 - Set threshold ratio < 0
PASS: test_notification 139 - Threshold ratio is unset
PASS: test_notification 140 - Set Threshold ratio > 1
PASS: test_notification 141 - Threshold ratio is unset
PASS: test_notification 142 - Set threshold ratio == 1.0
PASS: test_notification 143 - Threshold ratio is set
PASS: test_notification 144 - Threshold ratio is 1.0
PASS: test_notification 145 - Set threshold ratio == 0.0
PASS: test_notification 146 - Threshold ratio is set
PASS: test_notification 147 - Threshold ratio is 0.0
PASS: test_notification 148 - Set threshold ratio == 0.420
PASS: test_notification 149 - Threshold ratio is set
PASS: test_notification 150 - Threshold ratio is 0.420
PASS: test_notification 151 - Set threshold with null condition
PASS: test_notification 152 - Get threshold value with null condition
PASS: test_notification 153 - Threshold is unset
PASS: test_notification 154 - Set threshold > 0
PASS: test_notification 155 - Threshold is set
PASS: test_notification 156 - Threshold is 100000
PASS: test_notification 157 - Set threshold UINT64_MAX
PASS: test_notification 158 - Threshold is set
PASS: test_notification 159 - Threshold is UINT64_MAX
PASS: test_notification 160 - Set threshold  == 0
PASS: test_notification 161 - Threshold is set
PASS: test_notification 162 - Threshold is 0
PASS: test_notification 163 - Threshold ratio is unset
PASS: test_notification 164 - Threshold ratio is untouched
PASS: test_notification 165 - Set threshold ratio == 0.420
PASS: test_notification 166 - Threshold ratio is set
PASS: test_notification 167 - Threshold ratio is 0.420
PASS: test_notification 168 - Threshold is unset
PASS: test_notification 169 - Threshold is untouched
PASS: test_notification 170 - Set domain type with null condition
PASS: test_notification 171 - Get domain type with null condition
PASS: test_notification 172 - Set domain type as LTTNG_DOMAIN_NONE
PASS: test_notification 173 - Domain type is unset
PASS: test_notification 174 - Set domain type as LTTNG_DOMAIN_UST
PASS: test_notification 175 - Domain type is set
PASS: test_notification 176 - Domain type is LTTNG_DOMAIN_UST
PASS: test_notification 177 - lttng_trigger_create(NULL, NULL) returns null
PASS: test_notification 178 - lttng_trigger_create(NON-NULL, NULL) returns null
PASS: test_notification 179 - lttng_trigger_create(NULL, NON-NULL) returns null
PASS: test_notification 180 - lttng_trigger_create(NON-NULL, NON-NULL) returns an object
PASS: test_payload 1 - Added three file descriptors to an lttng_payload
PASS: test_payload 2 - File descriptors are popped from a payload view in the order of insertion
PASS: test_payload 3 - Error reported when popping more file descriptors than were pushed
PASS: test_payload 4 - Same file descriptor returned when popping from different top-level views
PASS: test_payload 5 - Different file descriptors returned when popping from descendant views
PASS: test_poller 1 - Poller reports no pending events initially
PASS: test_poller 2 - Eventfd is marked as readable after increment
PASS: test_poller 3 - Eventfd has no event after being decremented
PASS: test_poller 4 - First eventfd triggers its callback
PASS: test_poller 5 - Second eventfd does not trigger
PASS: test_poller 6 - Second eventfd triggers its callback
PASS: test_poller 7 - First eventfd does not trigger again
PASS: test_poller 8 - Callback not called after event mask set to NONE
PASS: test_poller 9 - Callback called after event mask restored to READABLE
PASS: test_poller 10 - Callback not called after FD is removed
PASS: test_poller 11 - Poll with an infinite timeout and no FDs returns immediately
PASS: test_poller 12 - Timerfd triggered with a readable event
PASS: test_poller 13 - Timerfd triggered after at least 500ms elapsed (500ms)
PASS: test_poller 14 - Timerfd re-triggers immediately if not reset
PASS: test_poller 15 - Timerfd not triggered after poll (one shot behaviour expected)
PASS: test_poller 16 - Timerfd not triggered after poll (24h timerfd set and 500ms timeout)
PASS: test_relayd_backward_compat_group_by_session 1 - In: hostname/auto-20190918-164429/ust/uid/1000/64-bit, out: auto-20190918-164429/hostname-20190918-164429/ust/uid/1000/64-bit, expected: auto-20190918-164429/hostname-20190918-164429/ust/uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 2 - In: hostname/custom_auto-20190319-120000/ust/uid/1000/64-bit, out: custom_auto-20190319-120000/hostname-20190319-120000/ust/uid/1000/64-bit, expected: custom_auto-20190319-120000/hostname-20190319-120000/ust/uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 3 - In: hostname/test-20190918-164709/ust/uid/1000/64-bit, out: test/hostname-20190918-164709/ust/uid/1000/64-bit, expected: test/hostname-20190918-164709/ust/uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 4 - In: hostname//snapshot-1-20190918-164829-0/ust//uid/1000/64-bit, out: my_session/hostname-20260414-152554/snapshot-1-20190918-164829-0/ust//uid/1000/64-bit, expected: my_session/hostname-20260414-152554/snapshot-1-20190918-164829-0/ust//uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 5 - In: hostname//snapshot-1-20190918-175919-0/ust//uid/1000/64-bit, out: my_session/hostname-20260414-152554/snapshot-1-20190918-175919-0/ust//uid/1000/64-bit, expected: my_session/hostname-20260414-152554/snapshot-1-20190918-175919-0/ust//uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 6 - In: hostname//auto-20190918-171641/ust/uid/1000/64-bit, out: auto-20190918-171641/hostname-20190918-171641/ust/uid/1000/64-bit, expected: auto-20190918-171641/hostname-20190918-171641/ust/uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 7 - In: hostname//test-20190918-180333//ust/uid/1000/64-bit, out: test-20190918-180333/hostname-20190918-180333//ust/uid/1000/64-bit, expected: test-20190918-180333/hostname-20190918-180333//ust/uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 8 - In: hostname/extra/path/ust/uid/1000/64-bit, out: auto-20190919-122110/hostname-20190919-122110/extra/path/ust/uid/1000/64-bit, expected: auto-20190919-122110/hostname-20190919-122110/extra/path/ust/uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 9 - In: hostname/extra/path/ust/uid/1000/64-bit, out: test/hostname-20260414-152554/extra/path/ust/uid/1000/64-bit, expected: test/hostname-20260414-152554/extra/path/ust/uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 10 - In: hostname/extra/path/snapshot-1-20190919-140702-0/ust//uid/1000/64-bit, out: test/hostname-20260414-152554/extra/path/snapshot-1-20190919-140702-0/ust//uid/1000/64-bit, expected: test/hostname-20260414-152554/extra/path/snapshot-1-20190919-140702-0/ust//uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 11 - In: hostname/test-20190319-120000-20190918-180921/ust/uid/1000/64-bit, out: test-20190319-120000/hostname-20190918-180921/ust/uid/1000/64-bit, expected: test-20190319-120000/hostname-20190918-180921/ust/uid/1000/64-bit
PASS: test_relayd_backward_compat_group_by_session 12 - Returned null as expected
PASS: test_relayd_backward_compat_group_by_session 13 - Returned null as expected
PASS: test_relayd_backward_compat_group_by_session 14 - In: hostname/test, out: test/hostname-20260414-152554/, expected: test/hostname-20260414-152554/
PASS: test_relayd_backward_compat_group_by_session 15 - In: hostname/test/ust/uid/1000/64-bit, out: test/hostname-20260414-152554/ust/uid/1000/64-bit, expected: test/hostname-20260414-152554/ust/uid/1000/64-bit
PASS: test_scheduler 1 - Task scheduled "now" didn't run during scheduling
PASS: test_scheduler 2 - Task scheduled "now" ran at the next tick
PASS: test_scheduler 3 - Task scheduled @ 101 not ran after tick @ 10
PASS: test_scheduler 4 - Task scheduled @ 101 not ran right after scheduling
PASS: test_scheduler 5 - Task scheduled @ 100 ran after tick @ 200
PASS: test_scheduler 6 - Task scheduled @ 101, and already ran, does not run twice
PASS: test_scheduler 7 - Task scheduled @ 101 ran after tick @ 101
PASS: test_scheduler 8 - Tick @ 101 returned no time until next task
PASS: test_scheduler 9 - Task scheduled @ 101 ran after tick @ 200
PASS: test_scheduler 10 - Task scheduled @ 50 ran after tick @ 200
PASS: test_scheduler 11 - Task scheduled @ 100 ran after tick @ 200
PASS: test_scheduler 12 - Task scheduled @ 150 ran after tick @ 200
PASS: test_scheduler 13 - Task scheduled @ 50 ran after tick @ 120
PASS: test_scheduler 14 - Task scheduled @ 100 ran after tick @ 120
PASS: test_scheduler 15 - Task scheduled @ 150 didn't run after tick @ 120
PASS: test_scheduler 16 - 0 first tasks executed as of tick 0
PASS: test_scheduler 17 - 1 first tasks executed as of tick 10
PASS: test_scheduler 18 - 2 first tasks executed as of tick 20
PASS: test_scheduler 19 - 3 first tasks executed as of tick 30
PASS: test_scheduler 20 - 4 first tasks executed as of tick 40
PASS: test_scheduler 21 - 5 first tasks executed as of tick 50
PASS: test_scheduler 22 - 6 first tasks executed as of tick 60
PASS: test_scheduler 23 - 7 first tasks executed as of tick 70
PASS: test_scheduler 24 - 8 first tasks executed as of tick 80
PASS: test_scheduler 25 - 9 first tasks executed as of tick 90
PASS: test_scheduler 26 - 10 first tasks executed as of tick 100
PASS: test_scheduler 27 - 11 first tasks executed as of tick 110
PASS: test_scheduler 28 - 12 first tasks executed as of tick 120
PASS: test_scheduler 29 - 13 first tasks executed as of tick 130
PASS: test_scheduler 30 - 14 first tasks executed as of tick 140
PASS: test_scheduler 31 - 15 first tasks executed as of tick 150
PASS: test_scheduler 32 - 16 first tasks executed as of tick 160
PASS: test_scheduler 33 - Periodic task scheduled @ 100 ran during tick @ 120
PASS: test_scheduler 34 - Periodic task scheduled @ 200 didn't run twice with tick @ 150
PASS: test_scheduler 35 - Periodic task scheduled @ 100 not run with tick @ 50
PASS: test_scheduler 36 - Periodic task scheduled @ 100 ran during tick @ 100
PASS: test_scheduler 37 - Periodic task scheduled @ 100 ran during tick @ 100
PASS: test_scheduler 38 - Tick @ 100 returned time until next task
PASS: test_scheduler 39 - Periodic task scheduled @ 200 ran during tick @ 200
PASS: test_scheduler 40 - Periodic task scheduled @ 300 ran during tick @ 300
PASS: test_scheduler 41 - Periodic task scheduled @ 100 ran during tick @ 100
PASS: test_scheduler 42 - Periodic task scheduled @ 200 ran during tick @ 200
PASS: test_scheduler 43 - Periodic task scheduled @ 300 ran during tick @ 300
PASS: test_scheduler 44 - Periodic task scheduled to run only three times only ran three times
PASS: test_scheduler 45 - Scheduler stopped
PASS: test_scheduler 46 - Periodic task scheduled to run only three times only ran three times by task executor
PASS: test_session 1 - Session list: not NULL
PASS: test_session 2 - Create session: test1
PASS: test_session 3 - Validating session: session found
PASS: test_session 4 - Validating session: basic sanity check
PASS: test_session 5 - Destroying session: session found
PASS: test_session 6 - Destroying session: test1 destroyed
PASS: test_session 7 - Duplicate session creation
PASS: test_session 8 - Create session with a NULL name (auto-generate a name)
PASS: test_session 9 - Auto-generated session name starts with auto
PASS: test_session 10 - Large sessions number: created 1000 sessions
PASS: test_session 11 - Large sessions number: destroyed 1000 sessions
PASS: test_string_utils 1 - strutils_normalize_star_glob_pattern() produces the expected result: `salut` -> `salut`
PASS: test_string_utils 2 - strutils_normalize_star_glob_pattern() produces the expected result: `sal*ut` -> `sal*ut`
PASS: test_string_utils 3 - strutils_normalize_star_glob_pattern() produces the expected result: `sal**ut` -> `sal*ut`
PASS: test_string_utils 4 - strutils_normalize_star_glob_pattern() produces the expected result: `sal***ut` -> `sal*ut`
PASS: test_string_utils 5 - strutils_normalize_star_glob_pattern() produces the expected result: `*salut` -> `*salut`
PASS: test_string_utils 6 - strutils_normalize_star_glob_pattern() produces the expected result: `**salut` -> `*salut`
PASS: test_string_utils 7 - strutils_normalize_star_glob_pattern() produces the expected result: `***salut` -> `*salut`
PASS: test_string_utils 8 - strutils_normalize_star_glob_pattern() produces the expected result: `salut*` -> `salut*`
PASS: test_string_utils 9 - strutils_normalize_star_glob_pattern() produces the expected result: `salut**` -> `salut*`
PASS: test_string_utils 10 - strutils_normalize_star_glob_pattern() produces the expected result: `salut***` -> `salut*`
PASS: test_string_utils 11 - strutils_normalize_star_glob_pattern() produces the expected result: `sa\*lut` -> `sa\*lut`
PASS: test_string_utils 12 - strutils_normalize_star_glob_pattern() produces the expected result: `sa\**lut` -> `sa\**lut`
PASS: test_string_utils 13 - strutils_normalize_star_glob_pattern() produces the expected result: `sa*\**lut` -> `sa*\**lut`
PASS: test_string_utils 14 - strutils_normalize_star_glob_pattern() produces the expected result: `sa*\***lut` -> `sa*\**lut`
PASS: test_string_utils 15 - strutils_normalize_star_glob_pattern() produces the expected result: `\*salu**t` -> `\*salu*t`
PASS: test_string_utils 16 - strutils_normalize_star_glob_pattern() produces the expected result: `\*salut**` -> `\*salut*`
PASS: test_string_utils 17 - strutils_normalize_star_glob_pattern() produces the expected result: `\*salut**\*` -> `\*salut*\*`
PASS: test_string_utils 18 - strutils_normalize_star_glob_pattern() produces the expected result: `\*salut` -> `\*salut`
PASS: test_string_utils 19 - strutils_normalize_star_glob_pattern() produces the expected result: `\***salut` -> `\**salut`
PASS: test_string_utils 20 - strutils_normalize_star_glob_pattern() produces the expected result: `salut\` -> `salut\`
PASS: test_string_utils 21 - strutils_normalize_star_glob_pattern() produces the expected result: `salut\**` -> `salut\**`
PASS: test_string_utils 22 - strutils_normalize_star_glob_pattern() produces the expected result: `salut\\*` -> `salut\\*`
PASS: test_string_utils 23 - strutils_normalize_star_glob_pattern() produces the expected result: `salut\\***` -> `salut\\*`
PASS: test_string_utils 24 - strutils_normalize_star_glob_pattern() produces the expected result: `*` -> `*`
PASS: test_string_utils 25 - strutils_normalize_star_glob_pattern() produces the expected result: `**` -> `*`
PASS: test_string_utils 26 - strutils_normalize_star_glob_pattern() produces the expected result: `***` -> `*`
PASS: test_string_utils 27 - strutils_normalize_star_glob_pattern() produces the expected result: `**\***` -> `*\**`
PASS: test_string_utils 28 - strutils_is_star_glob_pattern() returns the expected result: `allo*` -> 1
PASS: test_string_utils 29 - strutils_is_star_glob_pattern() returns the expected result: `*allo` -> 1
PASS: test_string_utils 30 - strutils_is_star_glob_pattern() returns the expected result: `*allo*` -> 1
PASS: test_string_utils 31 - strutils_is_star_glob_pattern() returns the expected result: `*al*lo*` -> 1
PASS: test_string_utils 32 - strutils_is_star_glob_pattern() returns the expected result: `al\**lo` -> 1
PASS: test_string_utils 33 - strutils_is_star_glob_pattern() returns the expected result: `al\*l*o` -> 1
PASS: test_string_utils 34 - strutils_is_star_glob_pattern() returns the expected result: `all*o\` -> 1
PASS: test_string_utils 35 - strutils_is_star_glob_pattern() returns the expected result: `*` -> 1
PASS: test_string_utils 36 - strutils_is_star_glob_pattern() returns the expected result: `\\*` -> 1
PASS: test_string_utils 37 - strutils_is_star_glob_pattern() returns the expected result: `allo` -> 0
PASS: test_string_utils 38 - strutils_is_star_glob_pattern() returns the expected result: `allo\*` -> 0
PASS: test_string_utils 39 - strutils_is_star_glob_pattern() returns the expected result: `al\*lo` -> 0
PASS: test_string_utils 40 - strutils_is_star_glob_pattern() returns the expected result: `\*allo` -> 0
PASS: test_string_utils 41 - strutils_is_star_glob_pattern() returns the expected result: `\*` -> 0
PASS: test_string_utils 42 - strutils_is_star_glob_pattern() returns the expected result: `allo\` -> 0
PASS: test_string_utils 43 - strutils_is_star_at_the_end_only_glob_pattern() returns the expected result: `allo*` -> 1
PASS: test_string_utils 44 - strutils_is_star_at_the_end_only_glob_pattern() returns the expected result: `allo\\*` -> 1
PASS: test_string_utils 45 - strutils_is_star_at_the_end_only_glob_pattern() returns the expected result: `allo` -> 0
PASS: test_string_utils 46 - strutils_is_star_at_the_end_only_glob_pattern() returns the expected result: `al*lo` -> 0
PASS: test_string_utils 47 - strutils_is_star_at_the_end_only_glob_pattern() returns the expected result: `al\*lo` -> 0
PASS: test_string_utils 48 - strutils_is_star_at_the_end_only_glob_pattern() returns the expected result: `*allo` -> 0
PASS: test_string_utils 49 - strutils_is_star_at_the_end_only_glob_pattern() returns the expected result: `al*lo*` -> 0
PASS: test_string_utils 50 - strutils_is_star_at_the_end_only_glob_pattern() returns the expected result: `allo**` -> 0
PASS: test_string_utils 51 - strutils_is_star_at_the_end_only_glob_pattern() returns the expected result: `allo*\*` -> 0
PASS: test_string_utils 52 - strutils_is_star_at_the_end_only_glob_pattern() returns the expected result: `allo\*` -> 0
PASS: test_string_utils 53 - strutils_split() produces the expected substrings: `a/b/c/d/e` (delim. `/`, escape `0`)
PASS: test_string_utils 54 - strutils_split() produces the expected substrings: `a/b//d/e` (delim. `/`, escape `0`)
PASS: test_string_utils 55 - strutils_split() produces the expected substrings: `/b/c/d/e` (delim. `/`, escape `0`)
PASS: test_string_utils 56 - strutils_split() produces the expected substrings: `a/b/c/d/` (delim. `/`, escape `0`)
PASS: test_string_utils 57 - strutils_split() produces the expected substrings: `/b/c/d/` (delim. `/`, escape `0`)
PASS: test_string_utils 58 - strutils_split() produces the expected substrings: `` (delim. `/`, escape `0`)
PASS: test_string_utils 59 - strutils_split() produces the expected substrings: `/` (delim. `/`, escape `0`)
PASS: test_string_utils 60 - strutils_split() produces the expected substrings: `//` (delim. `/`, escape `0`)
PASS: test_string_utils 61 - strutils_split() produces the expected substrings: `hello+world` (delim. `+`, escape `0`)
PASS: test_string_utils 62 - strutils_split() produces the expected substrings: `hello\+world` (delim. `+`, escape `0`)
PASS: test_string_utils 63 - strutils_split() produces the expected substrings: `hello\+world` (delim. `+`, escape `1`)
PASS: test_string_utils 64 - strutils_split() produces the expected substrings: `hello\++world` (delim. `+`, escape `1`)
PASS: test_string_utils 65 - strutils_split() produces the expected substrings: `hello\\++world` (delim. `+`, escape `1`)
PASS: test_string_utils 66 - strutils_split() produces the expected substrings: `hello+world\` (delim. `+`, escape `0`)
PASS: test_string_utils 67 - strutils_split() produces the expected substrings: `hello+world\` (delim. `+`, escape `1`)
PASS: test_string_utils 68 - strutils_split() produces the expected substrings: `\+` (delim. `+`, escape `0`)
PASS: test_string_utils 69 - strutils_split() produces the expected substrings: `\+` (delim. `+`, escape `1`)
PASS: test_unix_socket 1 - Created anonymous unix socket pair
PASS: test_unix_socket 2 - Sent complete test payload
PASS: test_unix_socket 3 - Sent test payload file descriptors
PASS: test_unix_socket 4 - Received payload bytes
PASS: test_unix_socket 5 - FD reception return value is number of fd * sizeof(int)
PASS: test_unix_socket 6 - Received all test payload file descriptors in one invocation
PASS: test_unix_socket 7 - Created anonymous unix socket pair
PASS: test_unix_socket 8 - Sent binary payload for message 0
PASS: test_unix_socket 9 - Sent file descriptors payload for message 0
PASS: test_unix_socket 10 - Sent binary payload for message 1
PASS: test_unix_socket 11 - Sent file descriptors payload for message 1
PASS: test_unix_socket 12 - Sent binary payload for message 2
PASS: test_unix_socket 13 - Sent file descriptors payload for message 2
PASS: test_unix_socket 14 - Sent binary payload for message 3
PASS: test_unix_socket 15 - Sent file descriptors payload for message 3
PASS: test_unix_socket 16 - Received payload bytes for message 0
PASS: test_unix_socket 17 - Received fd for message 0
PASS: test_unix_socket 18 - Payload contains 1 fd for message 0
PASS: test_unix_socket 19 - Received payload bytes for message 1
PASS: test_unix_socket 20 - Received fd for message 1
PASS: test_unix_socket 21 - Payload contains 1 fd for message 1
PASS: test_unix_socket 22 - Received payload bytes for message 2
PASS: test_unix_socket 23 - Received fd for message 2
PASS: test_unix_socket 24 - Payload contains 1 fd for message 2
PASS: test_unix_socket 25 - Received payload bytes for message 3
PASS: test_unix_socket 26 - Received fd for message 3
PASS: test_unix_socket 27 - Payload contains 1 fd for message 3
PASS: test_unix_socket 28 - Created anonymous unix socket pair
PASS: test_unix_socket 29 - Sent complete test payload
PASS: test_unix_socket 30 - Sent test payload file descriptors
PASS: test_unix_socket 31 - Received complete payload in chunks of 100 bytes
PASS: test_unix_socket 32 - Received file descriptor after receiving payload in chunks
PASS: test_unix_socket 33 - Payload contains 1 fd after receiving payload in chunks
PASS: test_unix_socket 34 - Created unix socket at path `/tmp/test.unix.socket.creds.passing.sYJN3J/test_unix_socket`
PASS: test_unix_socket 35 - Received the expected effective uid (0 == 0)
PASS: test_unix_socket 36 - Received the expected effective gid (0 == 0)
PASS: test_unix_socket 37 - Received the expected pid (913 == 913)
PASS: test_uri 1 - URI set to net://localhost
PASS: test_uri 2 - URI set to net://localhost:8989:4242/my/test/path
PASS: test_uri 3 - URI set to net://localhost:8989:4242
PASS: test_uri 4 - URI set to net6://[::1]:8989
PASS: test_uri 5 - URI set to tcp://42.42.42.42/my/test/path
PASS: test_uri 6 - URI set to tcp6://[fe80::f66d:4ff:fe53:d220]/my/test/path
PASS: test_uri 7 - URI set to file:///my/test/path
PASS: test_uri 8 - Bad URI set to file/my/test/path
PASS: test_uri 9 - Bad URI set to net://:8999
PASS: test_uri 10 - URI compare net://localhost == net://localhost
PASS: test_uri 11 - URI compare net://localhost != net://localhost:8989:4242
PASS: test_utils_compat_poll 1 - epoll's CLOEXEC value
PASS: test_utils_compat_poll 2 - lttng_poll_reset is defined
PASS: test_utils_compat_poll 3 - lttng_poll_init is defined
PASS: test_utils_compat_poll 4 - GETFD is defined
PASS: test_utils_compat_poll 5 - GETEV is defined
PASS: test_utils_compat_poll 6 - GETSZ is defined
PASS: test_utils_compat_poll 7 - GET_PREV_FD is defined
PASS: test_utils_compat_poll 8 - Create over NULL pointer fails
PASS: test_utils_compat_poll 9 - Create with size 0 fails
PASS: test_utils_compat_poll 10 - Create valid poll set succeeds
PASS: test_utils_compat_poll 11 - Adding to NULL set fails
PASS: test_utils_compat_poll 12 - Adding to uninitialized structure fails
PASS: test_utils_compat_poll 13 - Adding invalid FD fails
PASS: test_utils_compat_poll 14 - Create a poll set succeeds
PASS: test_utils_compat_poll 15 - Set created empty
PASS: test_utils_compat_poll 16 - Adding to NULL set fails
PASS: test_utils_compat_poll 17 - Set still empty
PASS: test_utils_compat_poll 18 - Adding invalid FD fails
PASS: test_utils_compat_poll 19 - Set still empty
PASS: test_utils_compat_poll 20 - Adding valid FD succeeds
PASS: test_utils_compat_poll 21 - Nb of elements incremented
PASS: test_utils_compat_poll 22 - Removing from NULL set fails
PASS: test_utils_compat_poll 23 - Number of FD in set unchanged
PASS: test_utils_compat_poll 24 - Removing from negative FD fails
PASS: test_utils_compat_poll 25 - Number of FD in set unchanged
PASS: test_utils_compat_poll 26 - Removing invalid FD still succeeds
PASS: test_utils_compat_poll 27 - Number of elements unchanged
PASS: test_utils_compat_poll 28 - Removing valid FD succeeds
PASS: test_utils_compat_poll 29 - Nb of elements decremented
PASS: test_utils_compat_poll 30 - Removing from empty set fails
PASS: test_utils_compat_poll 31 - Nb of elements unchanged
PASS: test_utils_compat_poll 32 - pipe function succeeds
PASS: test_utils_compat_poll 33 - pipe function succeeds
PASS: test_utils_compat_poll 34 - Close valid FD succeeds
PASS: test_utils_compat_poll 35 - Close valid FD succeeds
PASS: test_utils_compat_poll 36 - lttng_poll_wait call with invalid input returns error
PASS: test_utils_compat_poll 37 - Create valid poll set succeeds
PASS: test_utils_compat_poll 38 - lttng_poll_wait call with invalid input returns error
PASS: test_utils_compat_poll 39 - Add valid FD succeeds
PASS: test_utils_compat_poll 40 - Write to pipe succeeds
PASS: test_utils_compat_poll 41 - Wakes up on one event
PASS: test_utils_compat_poll 42 - Removing valid FD succeeds
PASS: test_utils_compat_poll 43 - Close valid FD succeeds
PASS: test_utils_compat_poll 44 - Close valid FD succeeds
PASS: test_utils_compat_poll 45 - Wait for child exit
PASS: test_utils_compat_poll 46 - Child process exited
PASS: test_utils_compat_poll 47 - Child process exited with EXIT_SUCCESS
PASS: test_utils_compat_poll 48 - Test all combinations of active file descriptors for 8 file descriptors
PASS: test_utils_compat_pthread 1 - Get the thread name: 'test_utils_comp'
PASS: test_utils_compat_pthread 2 - Set a too long thread name: 'thisnameistoolong'
PASS: test_utils_compat_pthread 3 - Get the thread name: 'test_utils_comp'
PASS: test_utils_compat_pthread 4 - Compare the initial thread name: 'test_utils_comp' == 'test_utils_comp'
PASS: test_utils_compat_pthread 5 - Set a short thread name: 'labatt50'
PASS: test_utils_compat_pthread 6 - Get a short thread name: 'labatt50'
PASS: test_utils_compat_pthread 7 - Compare the short thread name: 'labatt50' == 'labatt50'
PASS: test_utils_compat_pthread 8 - Set a long thread name: 'procrastinating'
PASS: test_utils_compat_pthread 9 - Get a long thread name: 'procrastinating'
PASS: test_utils_compat_pthread 10 - Compare the long thread name: 'procrastinating' == 'procrastinating'
PASS: test_utils_expand_path 1 - valid test case: /a/b/c/d/e
PASS: test_utils_expand_path 2 - valid test case: /a//b//c/d/e
PASS: test_utils_expand_path 3 - valid test case: ./a/b/c/d/e
PASS: test_utils_expand_path 4 - valid test case: ../a/b/c/d/../e
PASS: test_utils_expand_path 5 - valid test case: .././a/b/c/d/./e
PASS: test_utils_expand_path 6 - valid test case: ../../a/b/c/d/e
PASS: test_utils_expand_path 7 - valid test case: ./a/b/../c/d/../e
PASS: test_utils_expand_path 8 - valid test case: ../a/b/../../c/./d/./e
PASS: test_utils_expand_path 9 - valid test case: ../../a/b/../c/d/../../e
PASS: test_utils_expand_path 10 - valid test case: ./a/b/c/d/../../../../e
PASS: test_utils_expand_path 11 - valid test case: .././a/b/c/d/./e
PASS: test_utils_expand_path 12 - valid test case: a/
PASS: test_utils_expand_path 13 - valid test case: a
PASS: test_utils_expand_path 14 - valid test case: ../../
PASS: test_utils_expand_path 15 - valid test case: ../..
PASS: test_utils_expand_path 16 - valid test case: ../
PASS: test_utils_expand_path 17 - valid test case: ..
PASS: test_utils_expand_path 18 - valid test case: ./
PASS: test_utils_expand_path 19 - valid test case: .
PASS: test_utils_expand_path 20 - valid test case: /../a/b/c/d/e
PASS: test_utils_expand_path 21 - valid test case: /a/b/c/d/../../../../../e
PASS: test_utils_expand_path 22 - valid test case: /..
PASS: test_utils_expand_path 23 - valid test case: /a/..
PASS: test_utils_expand_path 24 - symlink tree test case: [tmppath/]a/g/../l/.
PASS: test_utils_expand_path 25 - symlink tree test case: [tmppath/]a/g/../l/./
PASS: test_utils_expand_path 26 - symlink tree test case: [tmppath/]a/g/../l/..
PASS: test_utils_expand_path 27 - symlink tree test case: [tmppath/]a/g/../l/../
PASS: test_utils_expand_path 28 - symlink tree test case: [tmppath/]a/b/h/g/
PASS: test_utils_expand_path 29 - invalid test case: NULL
PASS: test_utils_parse_size_suffix 1 - valid test case: 0
PASS: test_utils_parse_size_suffix 2 - valid test case: 1234
PASS: test_utils_parse_size_suffix 3 - valid test case: 0x400
PASS: test_utils_parse_size_suffix 4 - valid test case: 0300
PASS: test_utils_parse_size_suffix 5 - valid test case: 16k
PASS: test_utils_parse_size_suffix 6 - valid test case: 128K
PASS: test_utils_parse_size_suffix 7 - valid test case: 0x1234k
PASS: test_utils_parse_size_suffix 8 - valid test case: 32M
PASS: test_utils_parse_size_suffix 9 - valid test case: 1024G
PASS: test_utils_parse_size_suffix 10 - valid test case: 0X400
PASS: test_utils_parse_size_suffix 11 - valid test case: 0x40a
PASS: test_utils_parse_size_suffix 12 - valid test case: 0X40b
PASS: test_utils_parse_size_suffix 13 - valid test case: 0x40C
PASS: test_utils_parse_size_suffix 14 - valid test case: 0X40D
PASS: test_utils_parse_size_suffix 15 - valid test case: 0x40e
PASS: test_utils_parse_size_suffix 16 - valid test case: 0X40f
PASS: test_utils_parse_size_suffix 17 - valid test case: 00
PASS: test_utils_parse_size_suffix 18 - valid test case: 0k
PASS: test_utils_parse_size_suffix 19 - valid test case: 0K
PASS: test_utils_parse_size_suffix 20 - valid test case: 0M
PASS: test_utils_parse_size_suffix 21 - valid test case: 0G
PASS: test_utils_parse_size_suffix 22 - valid test case: 00k
PASS: test_utils_parse_size_suffix 23 - valid test case: 00K
PASS: test_utils_parse_size_suffix 24 - valid test case: 00M
PASS: test_utils_parse_size_suffix 25 - valid test case: 00G
PASS: test_utils_parse_size_suffix 26 - valid test case: 0x0
PASS: test_utils_parse_size_suffix 27 - valid test case: 0X0
PASS: test_utils_parse_size_suffix 28 - valid test case: 0x0k
PASS: test_utils_parse_size_suffix 29 - valid test case: 0X0K
PASS: test_utils_parse_size_suffix 30 - valid test case: 0x0M
PASS: test_utils_parse_size_suffix 31 - valid test case: 0X0G
PASS: test_utils_parse_size_suffix 32 - valid test case: 0X40G
PASS: test_utils_parse_size_suffix 33 - valid test case: 0300k
PASS: test_utils_parse_size_suffix 34 - valid test case: 0300K
PASS: test_utils_parse_size_suffix 35 - valid test case: 030M
PASS: test_utils_parse_size_suffix 36 - valid test case: 020G
PASS: test_utils_parse_size_suffix 37 - valid test case: 0xa0k
PASS: test_utils_parse_size_suffix 38 - valid test case: 0xa0K
PASS: test_utils_parse_size_suffix 39 - valid test case: 0XA0M
PASS: test_utils_parse_size_suffix 40 - valid test case: 0xA0G
PASS: test_utils_parse_size_suffix 41 - invalid test case:
PASS: test_utils_parse_size_suffix 42 - invalid test case:
PASS: test_utils_parse_size_suffix 43 - invalid test case: -1
PASS: test_utils_parse_size_suffix 44 - invalid test case: k
PASS: test_utils_parse_size_suffix 45 - invalid test case: 4611686018427387904G
PASS: test_utils_parse_size_suffix 46 - invalid test case: 0x40g
PASS: test_utils_parse_size_suffix 47 - invalid test case: 08
PASS: test_utils_parse_size_suffix 48 - invalid test case: 09
PASS: test_utils_parse_size_suffix 49 - invalid test case: 0x
PASS: test_utils_parse_size_suffix 50 - invalid test case: x0
PASS: test_utils_parse_size_suffix 51 - invalid test case: 0xx0
PASS: test_utils_parse_size_suffix 52 - invalid test case: 07kK
PASS: test_utils_parse_size_suffix 53 - invalid test case: 0xk
PASS: test_utils_parse_size_suffix 54 - invalid test case: 0XM
PASS: test_utils_parse_size_suffix 55 - invalid test case: 0xG
PASS: test_utils_parse_size_suffix 56 - invalid test case: 0x0MM
PASS: test_utils_parse_size_suffix 57 - invalid test case: 0X0GG
PASS: test_utils_parse_size_suffix 58 - invalid test case: 0a
PASS: test_utils_parse_size_suffix 59 - invalid test case: 0B
PASS: test_utils_parse_time_suffix 1 - valid test case: 0 expected 0
PASS: test_utils_parse_time_suffix 2 - valid test case: 1234 expected 1234
PASS: test_utils_parse_time_suffix 3 - valid test case: 1234us expected 1234
PASS: test_utils_parse_time_suffix 4 - valid test case: 16ms expected 16000
PASS: test_utils_parse_time_suffix 5 - valid test case: 128ms expected 128000
PASS: test_utils_parse_time_suffix 6 - valid test case: 32s expected 32000000
PASS: test_utils_parse_time_suffix 7 - valid test case: 1m expected 60000000
PASS: test_utils_parse_time_suffix 8 - valid test case: 20m expected 1200000000
PASS: test_utils_parse_time_suffix 9 - valid test case: 1h expected 3600000000
PASS: test_utils_parse_time_suffix 10 - valid test case: 5h expected 18000000000
PASS: test_utils_parse_time_suffix 11 - valid test case: 00 expected 0
PASS: test_utils_parse_time_suffix 12 - valid test case: 0us expected 0
PASS: test_utils_parse_time_suffix 13 - valid test case: 0ms expected 0
PASS: test_utils_parse_time_suffix 14 - valid test case: 0s expected 0
PASS: test_utils_parse_time_suffix 15 - valid test case: 0m expected 0
PASS: test_utils_parse_time_suffix 16 - valid test case: 0h expected 0
PASS: test_utils_parse_time_suffix 17 - valid test case: 00us expected 0
PASS: test_utils_parse_time_suffix 18 - valid test case: 00ms expected 0
PASS: test_utils_parse_time_suffix 19 - valid test case: 00s expected 0
PASS: test_utils_parse_time_suffix 20 - valid test case: 00m expected 0
PASS: test_utils_parse_time_suffix 21 - valid test case: 00h expected 0
PASS: test_utils_parse_time_suffix 22 - valid test case: 12ms expected 12000
PASS: test_utils_parse_time_suffix 23 - valid test case: 3597us expected 3597
PASS: test_utils_parse_time_suffix 24 - valid test case: +5 expected 5
PASS: test_utils_parse_time_suffix 25 - valid test case: 08 expected 8
PASS: test_utils_parse_time_suffix 26 - valid test case: 0145us expected 145
PASS: test_utils_parse_time_suffix 27 - invalid test case:
PASS: test_utils_parse_time_suffix 28 - invalid test case:
PASS: test_utils_parse_time_suffix 29 - invalid test case: -1
PASS: test_utils_parse_time_suffix 30 - invalid test case: m
PASS: test_utils_parse_time_suffix 31 - invalid test case: 4611686018427387904s
PASS: test_utils_parse_time_suffix 32 - invalid test case: 0x40M
PASS: test_utils_parse_time_suffix 33 - invalid test case: 0x
PASS: test_utils_parse_time_suffix 34 - invalid test case: x0
PASS: test_utils_parse_time_suffix 35 - invalid test case: 0xx0
PASS: test_utils_parse_time_suffix 36 - invalid test case: 07mm
PASS: test_utils_parse_time_suffix 37 - invalid test case: 0xm
PASS: test_utils_parse_time_suffix 38 - invalid test case: 0Xs
PASS: test_utils_parse_time_suffix 39 - invalid test case: 0x0ss
PASS: test_utils_parse_time_suffix 40 - invalid test case: 0a
PASS: test_utils_parse_time_suffix 41 - invalid test case: 0B
PASS: test_utils_parse_time_suffix 42 - invalid test case: 0x3 s
PASS: test_utils_parse_time_suffix 43 - invalid test case: 0xbs
PASS: test_utils_parse_time_suffix 44 - invalid test case: 14ns
PASS: test_utils_parse_time_suffix 45 - invalid test case: 0xbs
PASS: test_utils_parse_time_suffix 46 - invalid test case: 14ns
PASS: test_utils_parse_time_suffix 47 - invalid test case: 14ms garbage after value
PASS: test_utils_parse_time_suffix 48 - invalid test case: 0x14s
PASS: test_utils_parse_time_suffix 49 - invalid test case: 0u
PASS: test_utils_parse_time_suffix 50 - invalid test case: 5mS
PASS: test_utils_parse_time_suffix 51 - invalid test case: 5Ms
PASS: test_utils_parse_time_suffix 52 - invalid test case: 12ussr
PASS: test_utils_parse_time_suffix 53 - invalid test case: 67msrp
PASS: test_utils_parse_time_suffix 54 - invalid test case: 14si
PASS: test_utils_parse_time_suffix 55 - invalid test case: 12mo
PASS: test_utils_parse_time_suffix 56 - invalid test case: 53hi
PASS: test_uuid 1 - lttng_uuid_from_str - Parse valid string '3d260c88-75ea-47b8-a7e2-d6077c0378d9', expect success
PASS: test_uuid 2 - lttng_uuid_from_str - Parse valid string '611cf3a6-a68b-4515-834f-208bc2762592', expect success
PASS: test_uuid 3 - lttng_uuid_from_str - Parse valid string '1b4855cc-96de-4ae8-abe3-86449c2a43c4', expect success
PASS: test_uuid 4 - lttng_uuid_from_str - Parse valid string '8ADED5B9-ACD2-439F-A60C-897403AA2AB4', expect success
PASS: test_uuid 5 - lttng_uuid_from_str - Parse valid string 'f109e0a2-C619-4d18-b760-20EA20E0F69A', expect success
PASS: test_uuid 6 - lttng_uuid_from_str - Parse invalid string '1b485!cc-96de-4XX8-abe3-86449c2a43?4', expect failure
PASS: test_uuid 7 - lttng_uuid_from_str - Parse invalid string 'c2e6eddb&3955&4006&be3a&70bb63bd5f25', expect failure
PASS: test_uuid 8 - lttng_uuid_from_str - Parse invalid string '81b1cb88-ff42-45b9-ba4d-964088ee45', expect failure
PASS: test_uuid 9 - lttng_uuid_from_str - Parse invalid string '2d-6c6d756574-470e-9142-a4e6ad03f143', expect failure
PASS: test_uuid 10 - lttng_uuid_from_str - Parse invalid string '4542ad19-9e4f-4931-8261-2101c3e089ae7', expect failure
PASS: test_uuid 11 - lttng_uuid_from_str - Parse invalid string 'XX0123', expect failure
PASS: test_uuid 12 - lttng_uuid_to_str - Convert UUID '3d260c88-75ea-47b8-a7e2-d6077c0378d9' to string, expect success
PASS: test_uuid 13 - lttng_uuid_to_str - Convert UUID '611cf3a6-a68b-4515-834f-208bc2762592' to string, expect success
PASS: test_uuid 14 - lttng_uuid_to_str - Convert UUID '1b4855cc-96de-4ae8-abe3-86449c2a43c4' to string, expect success
PASS: test_uuid 15 - lttng_uuid_is_equal - Compare same UUID, expect success
PASS: test_uuid 16 - lttng_uuid_is_equal - Compare different UUID, expect failure
PASS: test_uuid 17 - lttng_uuid_copy - Compare copied UUID with source, expect success
PASS: test_uuid 18 - lttng_uuid_generate - Generated UUIDs are different
PASS: test_uuid 19 - lttng_uuid_generate - bit 6 of clock_seq_hi_and_reserved is set to zero
PASS: test_uuid 20 - lttng_uuid_generate - bit 7 of clock_seq_hi_and_reserved is set to one
PASS: test_uuid 21 - lttng_uuid_generate - Generated UUID version check
PASS: test_ust_data 1 - Create UST session
PASS: test_ust_data 2 - Validate UST session
PASS: test_ust_data 3 - Validate channel name length
PASS: test_ust_data 4 - Create UST channel
PASS: test_ust_data 5 - Validate UST channel
PASS: test_ust_data 6 - Validate string length
PASS: test_ust_data 7 - Create UST event
PASS: test_ust_data 8 - Validate UST event
PASS: test_ust_data 9 - Create UST context
PASS: test_ust_data 10 - Validate UST context
PASS: test_ust_data 11 - Validate string length
PASS: test_ust_data 12 - Create UST exclusion
PASS: test_ust_data 13 - Create UST event with identical exclusion names fails
PASS: test_ust_data 14 - Create UST exclusion
PASS: test_ust_data 15 - Create UST event with different exclusion names
PASS: test_ust_data 16 - Validate UST event and exclusion
============================================================================
Testsuite summary for lttng-tools 2.15.0
============================================================================
# TOTAL: 1151
# PASS:  1151
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
PASS: tools/clear/test_disallow.py 1 - lttng clear failed as expected
PASS: tools/clear/test_ust.py 1 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 2 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 3 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 4 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 5 - First application received 0 events; Second application received 16 events
PASS: tools/clear/test_ust.py 6 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 7 - Trace is empty
PASS: tools/clear/test_ust.py 8 - Received 10 events, expected 10, connected_after=False
PASS: tools/clear/test_ust.py 9 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 10 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 11 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 12 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 13 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
PASS: tools/clear/test_ust.py 14 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/trace2sy7k9ur`
PASS: tools/clear/test_ust.py 15 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
PASS: tools/clear/test_ust.py 16 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
SKIP: tools/clear/test_ust.py 17 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
PASS: tools/clear/test_ust.py 18 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 19 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 20 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 21 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 22 - First application received 0 events; Second application received 30 events
PASS: tools/clear/test_ust.py 23 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 24 - Trace is empty
PASS: tools/clear/test_ust.py 25 - Received 10 events, expected 10, connected_after=False
PASS: tools/clear/test_ust.py 26 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 27 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 28 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 29 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 30 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
PASS: tools/clear/test_ust.py 31 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracevq88u7gv`
PASS: tools/clear/test_ust.py 32 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
PASS: tools/clear/test_ust.py 33 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
SKIP: tools/clear/test_ust.py 34 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
PASS: tools/clear/test_ust.py 35 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 36 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 37 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 38 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 39 - First application received 0 events; Second application received 30 events
PASS: tools/clear/test_ust.py 40 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 41 - Trace is empty
SKIP: tools/clear/test_ust.py 42 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 43 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 44 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 45 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 46 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 47 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
PASS: tools/clear/test_ust.py 48 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/trace_zow621p`
PASS: tools/clear/test_ust.py 49 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
PASS: tools/clear/test_ust.py 50 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
SKIP: tools/clear/test_ust.py 51 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
PASS: tools/clear/test_ust.py 52 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 53 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 54 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 55 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 56 - First application received 0 events; Second application received 16 events
PASS: tools/clear/test_ust.py 57 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 58 - Trace is empty
SKIP: tools/clear/test_ust.py 59 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 60 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 61 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 62 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 63 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 64 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
PASS: tools/clear/test_ust.py 65 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracew7wpkf0s`
PASS: tools/clear/test_ust.py 66 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
PASS: tools/clear/test_ust.py 67 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
SKIP: tools/clear/test_ust.py 68 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
PASS: tools/clear/test_ust.py 69 - Received 10 events, expected 10
PASS: tools/clear/test_ust.py 70 - Received 6 events, expected 6
PASS: tools/clear/test_ust.py 71 - Received 6 events, expected 6
PASS: tools/clear/test_ust.py 72 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
PASS: tools/clear/test_ust.py 73 - First application received 16 events; Second application received 32 events
PASS: tools/clear/test_ust.py 74 - Received 10 events, expected 10
SKIP: tools/clear/test_ust.py 75 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 76 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 77 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 78 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 79 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
PASS: tools/clear/test_ust.py 80 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
PASS: tools/clear/test_ust.py 81 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
SKIP: tools/clear/test_ust.py 82 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 83 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 84 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 85 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
PASS: tools/clear/test_ust.py 86 - Received 10 events, expected 10
PASS: tools/clear/test_ust.py 87 - Received 6 events, expected 6
PASS: tools/clear/test_ust.py 88 - Received 6 events, expected 6
PASS: tools/clear/test_ust.py 89 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
PASS: tools/clear/test_ust.py 90 - First application received 16 events; Second application received 32 events
PASS: tools/clear/test_ust.py 91 - Received 10 events, expected 10
SKIP: tools/clear/test_ust.py 92 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 93 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 94 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 95 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 96 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
PASS: tools/clear/test_ust.py 97 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
PASS: tools/clear/test_ust.py 98 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
SKIP: tools/clear/test_ust.py 99 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 100 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 101 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 102 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
PASS: tools/clear/test_ust.py 103 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 104 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 105 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 106 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 107 - First application received 0 events; Second application received 16 events
PASS: tools/clear/test_ust.py 108 - Received 0 events, expected 0
SKIP: tools/clear/test_ust.py 109 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 110 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 111 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 112 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 113 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 114 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 115 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
SKIP: tools/clear/test_ust.py 116 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 117 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 118 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 119 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
PASS: tools/clear/test_ust.py 120 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 121 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 122 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 123 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 124 - First application received 0 events; Second application received 30 events
PASS: tools/clear/test_ust.py 125 - Received 0 events, expected 0
SKIP: tools/clear/test_ust.py 126 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 127 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 128 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 129 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 130 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 131 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 132 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
SKIP: tools/clear/test_ust.py 133 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 134 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 135 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 136 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
PASS: tools/clear/test_ust.py 137 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 138 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 139 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 140 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 141 - First application received 0 events; Second application received 16 events
PASS: tools/clear/test_ust.py 142 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 143 - Trace is empty
PASS: tools/clear/test_ust.py 144 - Received 10 events, expected 10, connected_after=False
PASS: tools/clear/test_ust.py 145 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 146 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 147 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 148 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 149 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
PASS: tools/clear/test_ust.py 150 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracefkr14kjf`
SKIP: tools/clear/test_ust.py 151 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 152 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
PASS: tools/clear/test_ust.py 153 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1
PASS: tools/clear/test_ust.py 154 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 155 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 156 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 157 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 158 - First application received 0 events; Second application received 16 events
PASS: tools/clear/test_ust.py 159 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 160 - Trace is empty
PASS: tools/clear/test_ust.py 161 - Received 10 events, expected 10, connected_after=False
PASS: tools/clear/test_ust.py 162 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 163 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 164 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 165 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 166 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
PASS: tools/clear/test_ust.py 167 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracezksf6wt7`
SKIP: tools/clear/test_ust.py 168 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 169 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
PASS: tools/clear/test_ust.py 170 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1
PASS: tools/clear/test_ust.py 171 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 172 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 173 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 174 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 175 - First application received 0 events; Second application received 16 events
PASS: tools/clear/test_ust.py 176 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 177 - Trace is empty
SKIP: tools/clear/test_ust.py 178 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 179 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 180 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 181 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 182 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 183 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
PASS: tools/clear/test_ust.py 184 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/trace5sfqlq3o`
SKIP: tools/clear/test_ust.py 185 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 186 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
PASS: tools/clear/test_ust.py 187 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1
PASS: tools/clear/test_ust.py 188 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 189 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 190 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 191 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 192 - First application received 0 events; Second application received 16 events
PASS: tools/clear/test_ust.py 193 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 194 - Trace is empty
SKIP: tools/clear/test_ust.py 195 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 196 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 197 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 198 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 199 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 200 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
PASS: tools/clear/test_ust.py 201 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/traceoelu7h9k`
SKIP: tools/clear/test_ust.py 202 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 203 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
PASS: tools/clear/test_ust.py 204 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1
PASS: tools/clear/test_ust.py 205 - Received 10 events, expected 10
PASS: tools/clear/test_ust.py 206 - Received 6 events, expected 6
PASS: tools/clear/test_ust.py 207 - Received 6 events, expected 6
PASS: tools/clear/test_ust.py 208 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
PASS: tools/clear/test_ust.py 209 - First application received 30 events; Second application received 46 events
PASS: tools/clear/test_ust.py 210 - Received 10 events, expected 10
SKIP: tools/clear/test_ust.py 211 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 212 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 213 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 214 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 215 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
PASS: tools/clear/test_ust.py 216 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
PASS: tools/clear/test_ust.py 217 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
SKIP: tools/clear/test_ust.py 218 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 219 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 220 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 221 # SKIP : test_ust_local_snapshot_per_pid does not run with rotations enabled
PASS: tools/clear/test_ust.py 222 - Received 10 events, expected 10
PASS: tools/clear/test_ust.py 223 - Received 6 events, expected 6
PASS: tools/clear/test_ust.py 224 - Received 6 events, expected 6
PASS: tools/clear/test_ust.py 225 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
PASS: tools/clear/test_ust.py 226 - First application received 30 events; Second application received 46 events
PASS: tools/clear/test_ust.py 227 - Received 10 events, expected 10
SKIP: tools/clear/test_ust.py 228 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 229 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 230 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 231 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 232 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
PASS: tools/clear/test_ust.py 233 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
PASS: tools/clear/test_ust.py 234 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
SKIP: tools/clear/test_ust.py 235 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 236 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 237 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 238 # SKIP : test_ust_local_snapshot_per_pid does not run with rotations enabled
PASS: tools/clear/test_ust.py 239 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 240 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 241 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 242 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 243 - First application received 0 events; Second application received 30 events
PASS: tools/clear/test_ust.py 244 - Received 0 events, expected 0
SKIP: tools/clear/test_ust.py 245 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 246 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 247 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 248 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 249 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 250 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 251 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
SKIP: tools/clear/test_ust.py 252 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 253 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 254 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 255 # SKIP : test_ust_local_snapshot_per_pid does not run with rotations enabled
PASS: tools/clear/test_ust.py 256 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 257 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 258 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 259 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 260 - First application received 0 events; Second application received 16 events
PASS: tools/clear/test_ust.py 261 - Received 0 events, expected 0
SKIP: tools/clear/test_ust.py 262 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 263 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 264 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 265 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
PASS: tools/clear/test_ust.py 266 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 267 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 268 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
SKIP: tools/clear/test_ust.py 269 # SKIP : Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 270 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 271 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 272 # SKIP : test_ust_local_snapshot_per_pid does not run with rotations enabled
SKIP: tools/clear/test_ust_multi_user.py 1 # SKIP : Need to run test as root with `LTTNG_ENABLE_DESTRUCTIVE_TESTS` properly set to create a dummy user
SKIP: tools/live/test_early_inactive_app.py 1 # SKIP : Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
SKIP: tools/live/test_early_inactive_app.py 2 # SKIP : Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
PASS: tools/live/test_early_inactive_app.py 3 - Live viewer exited gracefully
PASS: tools/live/test_early_inactive_app.py 4 - Live viewer got 10 / 10 expected events
SKIP: tools/live/test_high_latency.py 1 # SKIP : `tc` is required
PASS: tools/live/test_list_sessions.py 1 - CTF 1.8 live session is listed with the expected trace format
PASS: tools/live/test_list_sessions.py 2 - CTF 2 live session is listed with the expected trace format
SKIP: tools/live/test_lttng_ust_two_apps.py 1 # SKIP : Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
SKIP: tools/live/test_lttng_ust_two_apps.py 2 # SKIP : Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
PASS: tools/live/test_lttng_ust_two_apps.py 3 - Live viewer exited gracefully
PASS: tools/live/test_lttng_ust_two_apps.py 4 - Live viewer got 20 / 20 expected events
SKIP: tools/live/test_miss_short_lived_app.py 1 # SKIP : Need to run PerUID test as root with `LTTNG_ENABLE_DESTRUCTIVE_TESTS` properly set to create a dummy user
PASS: tools/live/test_miss_short_lived_app.py 2 - Live viewer got 10 / 10 expected events add exited gracefully
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 1 - Live viewer exited gracefully
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 2 - Live viewer got 0 / 0 expected events from pre-attach PID 4819
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 3 - Live viewer got 15 / 15 expected events from post-attach PID 4824
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 4 - Live viewer exited gracefully
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 5 - Live viewer got 10 / 10 expected events from pre-attach PID 4873
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 6 - Live viewer got 15 / 15 expected events from post-attach PID 4878
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 7 - Live viewer exited gracefully
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 8 - Live viewer got 0 / 0 expected events from pre-attach PID 4925
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 9 - Live viewer got 15 / 15 expected events from post-attach PID 4933
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 10 - Live viewer exited gracefully
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 11 - Live viewer got 10 / 10 expected events from pre-attach PID 4980
PASS: tools/live/test_new_viewer_does_not_see_old_events.py 12 - Live viewer got 15 / 15 expected events from post-attach PID 4988
PASS: tools/live/test_per_application_leaks.py 1 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
PASS: tools/live/test_per_application_leaks.py 2 - Count of consumerd FDs in /dev/shm doesn't leak over several application invocations
PASS: tools/live/test_per_application_leaks.py 3 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
SKIP: tools/live/test_per_application_leaks.py 4 # SKIP : Count of consumerds FDs in /dev/shm doesn't leak over several application invocations - no mechanism is available to guarantee buffer reclamation within a given time frame
PASS: tools/live/test_per_application_leaks.py 5 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
PASS: tools/live/test_per_application_leaks.py 6 - Count of consumerd FDs in /dev/shm doesn't leak over several application invocations
PASS: tools/live/test_per_application_leaks.py 7 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
SKIP: tools/live/test_per_application_leaks.py 8 # SKIP : Count of consumerds FDs in /dev/shm doesn't leak over several application invocations - no mechanism is available to guarantee buffer reclamation within a given time frame
SKIP: tools/lttng-ctl/test_liblttng-ctl_abi.py 1 # SKIP : abidw and abidiff are not available
PASS: tools/context/test_ust.py 1 - Create a session
PASS: tools/context/test_ust.py 2 - Add a channel to session `session_5qbsm1aq`
PASS: tools/context/test_ust.py 3 - Add VpidContextType context to channel `channel_xv4owlth`
PASS: tools/context/test_ust.py 4 - Stream class contains field `vpid`
PASS: tools/context/test_ust.py 5 - Trace's events contain the expected `vpid` value `5339`
PASS: tools/context/test_ust.py 6 - Create a session
PASS: tools/context/test_ust.py 7 - Add a channel to session `session_wm5ndifp`
PASS: tools/context/test_ust.py 8 - Add VuidContextType context to channel `channel_jtaz59xy`
PASS: tools/context/test_ust.py 9 - Stream class contains field `vuid`
PASS: tools/context/test_ust.py 10 - Trace's events contain the expected `vuid` value `0`
PASS: tools/context/test_ust.py 11 - Create a session
PASS: tools/context/test_ust.py 12 - Add a channel to session `session_40nakaem`
PASS: tools/context/test_ust.py 13 - Add VgidContextType context to channel `channel_yapkpzj7`
PASS: tools/context/test_ust.py 14 - Stream class contains field `vgid`
PASS: tools/context/test_ust.py 15 - Trace's events contain the expected `vgid` value `0`
PASS: tools/context/test_ust.py 16 - Create a session
PASS: tools/context/test_ust.py 17 - Add a channel to session `session_2114y0am`
PASS: tools/context/test_ust.py 18 - Add JavaApplicationContextType context to channel `channel_a5m711m8`
PASS: tools/context/test_ust.py 19 - Stream class contains field `$app.mayo:ketchup`
PASS: tools/context/test_ust.py 20 - Trace's events contain the expected `$app.mayo:ketchup` value `{}`
PASS: tools/client/test_session_commands.py 1 - Create sessions with prefixes [abba, alakazou, alakazam]
PASS: tools/client/test_session_commands.py 2 - All sessions created are in the inactive state
PASS: tools/client/test_session_commands.py 3 - Start sessions with --glob=alak*
PASS: tools/client/test_session_commands.py 4 - Only sessions 'alakazou' and 'alakazam' are active
PASS: tools/client/test_session_commands.py 5 - Starting already started sessions with --glob=alak* doesn't produce an error
PASS: tools/client/test_session_commands.py 6 - Starting with --glob=tintina* that doesn't match any session doesn't produce an error
PASS: tools/client/test_session_commands.py 7 - Starting with --glob=tintina* when no sessions exist doesn't produce an error
PASS: tools/client/test_session_commands.py 8 - Create sessions with prefixes [un, deux, patate, pouel]
PASS: tools/client/test_session_commands.py 9 - All sessions created are in the inactive state
PASS: tools/client/test_session_commands.py 10 - Start session 'patate'
PASS: tools/client/test_session_commands.py 11 - Only session 'patate' is active
PASS: tools/client/test_session_commands.py 12 - Starting already started session 'patate' doesn't produce an error
PASS: tools/client/test_session_commands.py 13 - Create sessions with prefixes [a, b, c, d]
PASS: tools/client/test_session_commands.py 14 - All sessions created are in the inactive state
PASS: tools/client/test_session_commands.py 15 - Start all sessions
PASS: tools/client/test_session_commands.py 16 - All sessions are active
PASS: tools/client/test_session_commands.py 17 - Starting already started sessions
PASS: tools/client/test_session_commands.py 18 - Starting all sessions when none exist doesn't produce an error
PASS: tools/client/test_session_commands.py 19 - Create sessions with prefixes [East Farnham, Amqui, Amos]
PASS: tools/client/test_session_commands.py 20 - All sessions are in the active state
PASS: tools/client/test_session_commands.py 21 - Stop sessions with --glob=Am??i*
PASS: tools/client/test_session_commands.py 22 - Only session 'Amqui' is inactive
PASS: tools/client/test_session_commands.py 23 - Stopping more sessions, including a stopped session, with --glob=Am* doesn't produce an error
PASS: tools/client/test_session_commands.py 24 - Only session 'East Farnham' is active
PASS: tools/client/test_session_commands.py 25 - Stopping with --glob=Notre-Dame* that doesn't match any session doesn't produce an error
PASS: tools/client/test_session_commands.py 26 - Stopping with --glob=Notre-Dame* when no sessions exist doesn't produce an error
PASS: tools/client/test_session_commands.py 27 - Create sessions with prefixes [Grosses-Roches, Kazabazua, Laval, Magog]
PASS: tools/client/test_session_commands.py 28 - All sessions are in the active state
PASS: tools/client/test_session_commands.py 29 - Stop session 'Kazabazua'
PASS: tools/client/test_session_commands.py 30 - Only session 'Kazabazua' is inactive
PASS: tools/client/test_session_commands.py 31 - Stopping already stopped session 'Kazabazua' doesn't produce an error
PASS: tools/client/test_session_commands.py 32 - Create sessions with prefixes [a, b, c, d]
PASS: tools/client/test_session_commands.py 33 - All sessions are in the active state
PASS: tools/client/test_session_commands.py 34 - Stop all sessions
PASS: tools/client/test_session_commands.py 35 - All sessions are inactive
PASS: tools/client/test_session_commands.py 36 - Stopping already stopped sessions
PASS: tools/client/test_session_commands.py 37 - Stopping all sessions when none exist doesn't produce an error
PASS: tools/client/test_session_commands.py 38 - Create sessions with prefixes [Mont-Laurier, Montreal, Montmagny, Neuville]
PASS: tools/client/test_session_commands.py 39 - Destroy sessions with --glob=Mont*
PASS: tools/client/test_session_commands.py 40 - Neuville is the only remaining session
PASS: tools/client/test_session_commands.py 41 - Destroying with --glob=Mont* when no sessions exist doesn't produce an error
PASS: tools/client/test_session_commands.py 42 - Create sessions with prefixes [Natashquan, Normetal, Notre-Dame-des-Sept-Douleurs]
PASS: tools/client/test_session_commands.py 43 - Destroy session 'Normetal'
PASS: tools/client/test_session_commands.py 44 - Session 'Normetal' no longer exists
PASS: tools/client/test_session_commands.py 45 - Create sessions with prefixes [a, b, c, d]
PASS: tools/client/test_session_commands.py 46 - Destroy all sessions
PASS: tools/client/test_session_commands.py 47 - No sessions exist after destroying all sessions
PASS: tools/client/test_session_commands.py 48 - Destroy all sessions when none exist doesn't produce an error
PASS: tools/client/test_event_rule_listing.py 1 - Adding a recording rule with an `exact` log level rule
PASS: tools/client/test_event_rule_listing.py 2 - Adding a recording rule with an `as severe as` log level rule
PASS: tools/client/test_event_rule_listing.py 3 - Adding a recording rule without a log level rule (all log levels enabled)
PASS: tools/client/test_event_rule_listing.py 4 - Recording rules are added and listed
PASS: tools/client/test_warn_on_shm_too_small.py 1 - Warning not present in lttng client output when starting session
PASS: tools/client/test_warn_on_shm_too_small.py 2 - Warning present in lttng client output when starting session
PASS: tools/client/test_warn_on_shm_too_small.py 3 - Warning present in lttng client output when starting session
PASS: tools/client/test_warn_on_shm_too_small.py 4 - Warning not present in lttng client output when starting session
PASS: tools/client/test_warn_on_shm_too_small.py 5 - Warning present in lttng client output when starting session
PASS: tools/client/test_warn_on_shm_too_small.py 6 - Warning not present in lttng client output when starting session
PASS: tools/client/test_warn_on_shm_too_small.py 7 - Warning present in lttng client output when starting session
PASS: tools/client/test_warn_on_shm_too_small.py 8 - Warning present in lttng client output when starting session
PASS: tools/client/test_warn_on_shm_too_small.py 9 - Warning not present in lttng client output when starting session
PASS: tools/client/test_warn_on_shm_too_small.py 10 - Warning present in lttng client output when starting session
PASS: tools/client/test_warn_on_shm_too_small.py 11 - Warning not present in lttng client output when starting session
PASS: tools/channel/test_channel_allocation_policy_per_cpu.py 1 - Cannot add `cpu_id' context when channel allocation policy is 'per-cpu'
SKIP: tools/sparse-buffer/test_sparse_buffer.py 1 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 2 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 3 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 4 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 5 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 6 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 7 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 8 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 9 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 10 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 11 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 12 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 13 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 14 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 15 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 16 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 17 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 18 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 19 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 20 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 21 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 22 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 23 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 24 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 25 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 26 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 27 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 28 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 29 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 30 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 31 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 32 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 33 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 34 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 35 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 36 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 37 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 38 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 39 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 40 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 41 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 42 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 43 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 44 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 45 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 46 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 47 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 48 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 49 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 50 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 51 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 52 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 53 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 54 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 55 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 56 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 57 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 58 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 59 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 60 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 61 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 62 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 63 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 64 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 65 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 66 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 67 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 68 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 69 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 70 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 71 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 72 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 73 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 74 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 75 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 76 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 77 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 78 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 79 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 80 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 81 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 82 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 83 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 84 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 85 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 86 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 87 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 88 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 89 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 90 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 91 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 92 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 93 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 94 # SKIP : GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 95 # SKIP : GDB not available
PASS: tools/trace-format/test_empty_event_field_name.py 1 - Got expected events
PASS: tools/trace-format/test_empty_event_field_name.py 2 - Got expected events
PASS: tools/trace-format/test_sessiond_default_trace_format.py 1 - `--default-trace-format=ctf-1.8` produces CTF 1.8 trace
PASS: tools/trace-format/test_sessiond_default_trace_format.py 2 - `--default-trace-format=ctf-2` produces CTF 2 trace
PASS: tools/trace-format/test_sessiond_default_trace_format.py 3 - `LTTNG_SESSIOND_DEFAULT_TRACE_FORMAT=ctf-1.8` produces CTF 1.8 trace
PASS: tools/trace-format/test_sessiond_default_trace_format.py 4 - `--trace-format=ctf-2` overrides `--default-trace-format=ctf-1.8`
PASS: tools/trace-format/test_trace_format_ust.py 1 - Capture a local trace in CTF2 format
PASS: tools/trace-format/test_trace_format_ust.py 2 - Load metadata fragments
PASS: tools/trace-format/test_trace_format_ust.py 3 - Validate preamble fragment
PASS: tools/trace-format/test_trace_format_ust.py 4 - Decode trace and count events by name
PASS: tools/trace-format/test_trace_format_ust.py 5 - Capture a local trace in CTF 1.8 format
PASS: tools/trace-format/test_trace_format_ust.py 6 - Decode trace and count events by name
PASS: tools/trace-format/test_trace_format_ust.py 7 - Compare CTF 1.8 pretty output with CTF2 pretty output
PASS: tools/trace-format/test_trace_format_ust.py 8 - Compare CTF2 pretty output with expected output
PASS: tools/trace-format/test_trace_format_ust.py 9 - Compare CTF 1.8 pretty output with expected output
PASS: tools/trace-format/test_trace_format_ust.py 10 - Compare CTF 1.8 details output with CTF2 details output
PASS: tools/trace-format/test_trace_format_ust.py 11 - Capture local snapshot traces in CTF 2 and CTF 1.8 formats
PASS: tools/trace-format/test_trace_format_ust.py 12 - CTF 2 trace metadata starts with RS (0x1e)
PASS: tools/trace-format/test_trace_format_ust.py 13 - CTF 1.8 trace metadata does not start with RS (0x1e)
PASS: tools/trace-format/test_trace_format_ust.py 14 - Load metadata fragments
PASS: tools/trace-format/test_trace_format_ust.py 15 - Validate preamble fragment
PASS: tools/trace-format/test_trace_format_ust.py 16 - Decode CTF 2 trace and count events by name
PASS: tools/trace-format/test_trace_format_ust.py 17 - Decode CTF 1.8 trace and count events by name
PASS: tools/channel/test_channel_watchdog_timer.py 1 - Failed to create channel in kernel domain with watchdog timer: ('enable-channel --session session_fy4w27z8 --kernel channel_kcf9fdv9 --buffer-allocation=per-cpu --watchdog-timer=1', '<?xml version="1.0" encoding="UTF-8"?>\n<command xmlns="https://lttng.org/xml/ns/lttng-mi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://lttng.org/xml/ns/lttng-mi https://lttng.org/xml/schemas/lttng-mi/4/lttng-mi-4.2.xsd" schemaVersion="4.2"><name>enable-channel</name><output/><success>false</success></command>\n', 'Error: Watchdog timer option not supported for kernel domain (-k)\n')
PASS: tools/channel/test_channel_watchdog_timer.py 2 - Failed to create channel in user-space domain with `process` buffer ownership with watchdog timer: ('enable-channel --session session_gy0pej17 --userspace channel_gnbwkdzt --buffer-allocation=per-cpu --buffer-ownership=process --watchdog-timer=1', '<?xml version="1.0" encoding="UTF-8"?>\n<command xmlns="https://lttng.org/xml/ns/lttng-mi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://lttng.org/xml/ns/lttng-mi https://lttng.org/xml/schemas/lttng-mi/4/lttng-mi-4.2.xsd" schemaVersion="4.2"><name>enable-channel</name><output/><success>false</success></command>\n', 'Error: Watchdog timer is only valid for channels with the `user` ownership model\n')
PASS: tools/channel/test_channel_watchdog_timer.py 3 - Successfully created channel in user-space domain with `user` buffer ownership with watchdog timer
PASS: tools/channel/test_channel_watchdog_timer.py 4 - Watchdog timer of channel is correctly reported by lttng-list(1)
PASS: tools/channel/test_channel_watchdog_timer.py 5 - Watchdog timer of channel is correctly reported by lttng-list(1)
PASS: tests.serial 1 - Test script 'tools/base-path/test_ust' returned code 0. 42 passed, 0 failed, 0 skipped, 42 planned [total: 42]
PASS: tests.serial 2 - Test script 'tools/channel/test_channel' returned code 0. 16 passed, 0 failed, 0 skipped, 16 planned [total: 16]
PASS: tests.serial 3 - Test script 'tools/channel/test_cli_legacy_channel_buffering_policies.py' returned code 0. 6 passed, 0 failed, 0 skipped, 6 planned [total: 6]
PASS: tests.serial 4 - Test script 'tools/client/test_add_trigger.py' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 5 - Test script 'tools/filtering/test_invalid_filter' returned code 0. 278 passed, 0 failed, 0 skipped, 278 planned [total: 278]
PASS: tests.serial 6 - Test script 'tools/filtering/test_unsupported_op' returned code 0. 42 passed, 0 failed, 0 skipped, 42 planned [total: 42]
PASS: tests.serial 7 - Test script 'tools/filtering/test_valid_filter' returned code 0. 2182 passed, 0 failed, 0 skipped, 2182 planned [total: 2182]
PASS: tests.serial 8 - Test script 'tools/streaming/test_high_throughput_limits' returned code 0. 39 passed, 0 failed, 0 skipped, 39 planned [total: 39]
PASS: tests.serial 9 - Test script 'tools/streaming/test_kernel' returned code 0. 13 passed, 0 failed, 0 skipped, 13 planned [total: 13]
PASS: tests.serial 10 - Test script 'tools/streaming/test_ust' returned code 0. 18 passed, 0 failed, 0 skipped, 18 planned [total: 18]
PASS: tests.serial 11 - Test script 'tools/health/test_thread_ok' returned code 0. 17 passed, 0 failed, 0 skipped, 17 planned [total: 17]
PASS: tests.serial 12 - Test script 'tools/health/test_thread_stall' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
PASS: tests.serial 13 - Test script 'tools/health/test_tp_fail' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
PASS: tests.serial 14 - Test script 'tools/live/test_kernel' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
PASS: tests.serial 15 - Test script 'tools/live/test_lttng_kernel' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
PASS: tests.serial 16 - Test script 'tools/live/test_ust' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
PASS: tests.serial 17 - Test script 'tools/live/test_ust_tracefile_count' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
PASS: tests.serial 18 - Test script 'tools/live/test_lttng_ust' returned code 0. 12 passed, 0 failed, 0 skipped, 12 planned [total: 12]
PASS: tests.serial 19 - Test script 'tools/tracefile-limits/test_tracefile_count' returned code 0. 74 passed, 0 failed, 0 skipped, 74 planned [total: 74]
PASS: tests.serial 20 - Test script 'tools/tracefile-limits/test_tracefile_size' returned code 0. 74 passed, 0 failed, 0 skipped, 74 planned [total: 74]
PASS: tests.serial 21 - Test script 'tools/exclusion/test_exclusion' returned code 0. 185 passed, 0 failed, 0 skipped, 185 planned [total: 185]
PASS: tests.serial 22 - Test script 'tools/snapshots/test_ust_fast' returned code 0. 231 passed, 0 failed, 0 skipped, 231 planned [total: 231]
PASS: tests.serial 23 - Test script 'tools/snapshots/test_ust_long' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
PASS: tests.serial 24 - Test script 'tools/snapshots/test_ust_streaming' returned code 0. 85 passed, 0 failed, 0 skipped, 85 planned [total: 85]
PASS: tests.serial 25 - Test script 'tools/snapshots/test_kernel_streaming' returned code 0. 66 passed, 0 failed, 0 skipped, 66 planned [total: 66]
PASS: tests.serial 26 - Test script 'tools/save-load/test_save' returned code 0. 57 passed, 0 failed, 0 skipped, 57 planned [total: 57]
PASS: tests.serial 27 - Test script 'tools/save-load/test_load' returned code 0. 104 passed, 0 failed, 0 skipped, 104 planned [total: 104]
PASS: tests.serial 28 - Test script 'tools/save-load/test_autoload' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 29 - Test script 'tools/mi/test_mi' returned code 0. 246 passed, 0 failed, 0 skipped, 246 planned [total: 246]
PASS: tests.serial 30 - Test script 'tools/wildcard/test_event_wildcard' returned code 0. 352 passed, 0 failed, 0 skipped, 352 planned [total: 352]
PASS: tests.serial 31 - Test script 'tools/crash/test_crash' returned code 0. 89 passed, 0 failed, 0 skipped, 89 planned [total: 89]
PASS: tests.serial 32 - Test script 'tools/regen-metadata/test_kernel' returned code 0. 34 passed, 0 failed, 0 skipped, 34 planned [total: 34]
PASS: tests.serial 33 - Test script 'tools/regen-metadata/test_regenerate_rotate.py' returned code 0. 2 passed, 0 failed, 0 skipped, 2 planned [total: 2]
PASS: tests.serial 34 - Test script 'tools/regen-metadata/test_ust' returned code 0. 69 passed, 0 failed, 0 skipped, 69 planned [total: 69]
PASS: tests.serial 35 - Test script 'tools/regen-statedump/test_kernel' returned code 0. 13 passed, 0 failed, 0 skipped, 13 planned [total: 13]
PASS: tests.serial 36 - Test script 'tools/regen-statedump/test_ust' returned code 0. 13 passed, 0 failed, 0 skipped, 13 planned [total: 13]
PASS: tests.serial 37 - Test script 'tools/rotation/test_ust' returned code 0. 152 passed, 0 failed, 0 skipped, 152 planned [total: 152]
PASS: tests.serial 38 - Test script 'tools/rotation/test_kernel' returned code 0. 68 passed, 0 failed, 0 skipped, 68 planned [total: 68]
PASS: tests.serial 39 - Test script 'tools/rotation/test_ust_kernel' returned code 0. 64 passed, 0 failed, 0 skipped, 64 planned [total: 64]
PASS: tests.serial 40 - Test script 'tools/rotation/test_save_load_mi' returned code 0. 22 passed, 0 failed, 0 skipped, 22 planned [total: 22]
PASS: tests.serial 41 - Test script 'tools/rotation/test_schedule_api' returned code 0. 26 passed, 0 failed, 0 skipped, 26 planned [total: 26]
PASS: tests.serial 42 - Test script 'tools/metadata/test_kernel' returned code 0. 15 passed, 0 failed, 0 skipped, 15 planned [total: 15]
PASS: tests.serial 43 - Test script 'tools/working-directory/test_relayd_working_directory' returned code 0. 36 passed, 0 failed, 0 skipped, 36 planned [total: 36]
PASS: tests.serial 44 - Test script 'tools/clear/test_live_hang.py' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
PASS: tests.serial 45 - Test script 'tools/tracker/test_event_tracker' returned code 0. 747 passed, 0 failed, 0 skipped, 747 planned [total: 747]
PASS: tests.serial 46 - Test script 'tools/trigger/start-stop/test_start_stop' returned code 0. 18 passed, 0 failed, 0 skipped, 18 planned [total: 18]
PASS: tests.serial 47 - Test script 'tools/trigger/test_add_trigger_cli' returned code 0. 295 passed, 0 failed, 0 skipped, 295 planned [total: 295]
PASS: tests.serial 48 - Test script 'tools/trigger/test_list_triggers_cli' returned code 0. 150 passed, 0 failed, 0 skipped, 150 planned [total: 150]
PASS: tests.serial 49 - Test script 'tools/trigger/test_remove_trigger_cli' returned code 0. 22 passed, 0 failed, 0 skipped, 22 planned [total: 22]
PASS: tests.serial 50 - Test script 'tools/trigger/name/test_trigger_name_backwards_compat' returned code 0. 70 passed, 0 failed, 0 skipped, 70 planned [total: 70]
PASS: tests.serial 51 - Test script 'tools/trigger/hidden/test_hidden_trigger' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
PASS: tests.serial 52 - Test script 'tools/channel/test_channel_allocation_policy_per_channel.py' returned code 0. 12 passed, 0 failed, 0 skipped, 12 planned [total: 12]
PASS: tests.serial 53 - Test script 'tools/trace-format/test_trace_format_kernel.py' returned code 0. 10 passed, 0 failed, 0 skipped, 10 planned [total: 10]
PASS: tests.serial 54 - Test script 'ust/before-after/test_before_after' returned code 0. 17 passed, 0 failed, 0 skipped, 17 planned [total: 17]
PASS: tests.serial 55 - Test script 'ust/buffers-pid/test_buffers_pid' returned code 0. 59 passed, 0 failed, 0 skipped, 59 planned [total: 59]
PASS: tests.serial 56 - Test script 'ust/multi-session/test_multi_session' returned code 0. 28 passed, 0 failed, 0 skipped, 28 planned [total: 28]
PASS: tests.serial 57 - Test script 'ust/nprocesses/test_nprocesses' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 58 - Test script 'ust/overlap/test_overlap' returned code 0. 259 passed, 0 failed, 0 skipped, 259 planned [total: 259]
PASS: tests.serial 59 - Test script 'ust/python-logging/test_python_logging' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
PASS: tests.serial 60 - Test script 'ust/getcpu-override/test_getcpu_override' returned code 0. 20 passed, 0 failed, 0 skipped, 20 planned [total: 20]
PASS: tests.serial 61 - Test script 'ust/clock-override/test_clock_override' returned code 0. 32 passed, 0 failed, 0 skipped, 32 planned [total: 32]
PASS: tests.serial 62 - Test script 'ust/test_event_basic' returned code 0. 32 passed, 0 failed, 0 skipped, 32 planned [total: 32]
PASS: tests.serial 63 - Test script 'ust/test_event_tracef' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 64 - Test script 'ust/test_event_perf' returned code 0. 25 passed, 0 failed, 0 skipped, 25 planned [total: 25]
PASS: tests.serial 65 - Test script 'ust/blocking/test_blocking' returned code 0. 50 passed, 0 failed, 0 skipped, 50 planned [total: 50]
PASS: tests.serial 66 - Test script 'ust/low-throughput/test_low_throughput' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
PASS: tests.serial 67 - Test script 'ust/multi-lib/test_multi_lib' returned code 0. 55 passed, 0 failed, 0 skipped, 55 planned [total: 55]
PASS: tests.serial 68 - Test script 'ust/rotation-destroy-flush/test_rotation_destroy_flush' returned code 0. 150 passed, 0 failed, 0 skipped, 150 planned [total: 150]
PASS: tests.serial 69 - Test script 'ust/ust-app-ctl-paths/test_blocking' returned code 0. 34 passed, 0 failed, 0 skipped, 34 planned [total: 34]
PASS: tests.serial 70 - Test script 'ust/ust-app-ctl-paths/test_path_separators' returned code 0. 20 passed, 0 failed, 0 skipped, 20 planned [total: 20]
PASS: tests.serial 71 - Test script 'ust/ust-app-ctl-paths/test_ust_app_ctl_paths' returned code 0. 98 passed, 0 failed, 0 skipped, 98 planned [total: 98]
PASS: tests.serial 72 - Test script 'ust/ust-constructor/test_ust_constructor_c_dynamic.py' returned code 0. 24 passed, 0 failed, 0 skipped, 24 planned [total: 24]
PASS: tests.serial 73 - Test script 'tools/client/test_bug1373_events_differ_only_by_loglevel' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 74 - Test script 'tools/config-directory/test_config.py' returned code 0. 8 passed, 0 failed, 0 skipped, 8 planned [total: 8]
PASS: tests.serial 75 - Test script 'tools/metadata/test_ust' returned code 0. 37 passed, 0 failed, 0 skipped, 37 planned [total: 37]
PASS: tests.serial 76 - Test script 'tools/relayd-grouping/test_ust' returned code 0. 284 passed, 0 failed, 0 skipped, 284 planned [total: 284]
PASS: tests.serial 77 - Test script 'tools/trigger/rate-policy/test_ust_rate_policy' returned code 0. 19 passed, 0 failed, 0 skipped, 19 planned [total: 19]
FAIL: tests.serial 78 - Test script 'ust/stall-buffer/test_stall_buffer_complex.py' returned code 1. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
FAIL: tests.serial 79 - Test script 'ust/stall-buffer/test_stall_buffer_simple.py' returned code 1. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
FAIL: tests.serial 80 - Test script 'ust/stall-buffer/test_stall_buffer_timer.py' returned code 1. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
PASS: tests.serial 81 - Test script 'kernel/test_all_events' returned code 0. 10 passed, 0 failed, 0 skipped, 10 planned [total: 10]
PASS: tests.serial 82 - Test script 'kernel/test_callstack' returned code 0. 14 passed, 0 failed, 0 skipped, 14 planned [total: 14]
PASS: tests.serial 83 - Test script 'kernel/test_channel' returned code 0. 10 passed, 0 failed, 0 skipped, 10 planned [total: 10]
PASS: tests.serial 84 - Test script 'kernel/test_clock_override' returned code 0. 31 passed, 0 failed, 0 skipped, 31 planned [total: 31]
PASS: tests.serial 85 - Test script 'kernel/test_event_basic' returned code 0. 23 passed, 0 failed, 0 skipped, 23 planned [total: 23]
PASS: tests.serial 86 - Test script 'kernel/test_high_throughput.py' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
PASS: tests.serial 87 - Test script 'kernel/test_kernel_function' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 88 - Test script 'kernel/test_lttng_logger' returned code 0. 32 passed, 0 failed, 0 skipped, 32 planned [total: 32]
PASS: tests.serial 89 - Test script 'kernel/test_ns_contexts' returned code 0. 104 passed, 0 failed, 0 skipped, 104 planned [total: 104]
PASS: tests.serial 90 - Test script 'kernel/test_ns_contexts_change' returned code 0. 126 passed, 0 failed, 0 skipped, 126 planned [total: 126]
PASS: tests.serial 91 - Test script 'kernel/test_rotation_destroy_flush' returned code 0. 150 passed, 0 failed, 0 skipped, 150 planned [total: 150]
PASS: tests.serial 92 - Test script 'kernel/test_select_poll_epoll' returned code 0. 98 passed, 0 failed, 0 skipped, 98 planned [total: 98]
PASS: tests.serial 93 - Test script 'kernel/test_syscall' returned code 0. 216 passed, 0 failed, 0 skipped, 216 planned [total: 216]
PASS: tests.serial 94 - Test script 'kernel/test_userspace_probe' returned code 0. 107 passed, 0 failed, 0 skipped, 107 planned [total: 107]
PASS: tests.serial 95 - Test script 'ust/namespaces/test_ns_contexts' returned code 0. 104 passed, 0 failed, 0 skipped, 104 planned [total: 104]
PASS: tests.serial 96 - Test script 'ust/namespaces/test_ns_contexts_change' returned code 0. 80 passed, 0 failed, 0 skipped, 80 planned [total: 80]
ERROR: tests.serial - exited with status 1
PASS: tools/client/test_reclaim_memory.py 1 - Reclaim memory (wait=True) finished with no error
PASS: tools/client/test_reclaim_memory.py 2 - Reclaim memory (wait=False) finished with no error
SKIP: ust/high-throughput/test_high_throughput.py 1 # SKIP : Long regression tests not enabled
SKIP: ust/high-throughput/test_high_throughput_snapshot.py 1 # SKIP : Only run on x86_64
SKIP: ust/high-throughput/test_high_throughput_snapshot.py 2 # SKIP : Only run on x86_64
SKIP: ust/high-throughput/test_high_throughput_snapshot.py 3 # SKIP : Only run on x86_64
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 1 - Create a session
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 2 - Add a channel to session `session_wvdh0q9x`
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 3 - Start session `session_wvdh0q9x`
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 4 - Run test app '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-c-constructor-a'
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 5 - Stop session `session_wvdh0q9x`
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 6 - Destroy session `session_wvdh0q9x`
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 7 - Found expected event name="tp:constructor_c_across_units_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 8 - Found expected event name="tp:constructor_c_same_unit_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 9 - Found expected event name="tp:constructor_c_same_unit_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 10 - Found expected event name="tp:constructor_c_across_units_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 11 - Found expected event name="tp:constructor_c_same_unit_before_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 12 - Found expected event name="tp:constructor_c_same_unit_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 13 - Found expected event name="tp:constructor_c_across_units_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 14 - Found expected event name="tp:main" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 15 - Found expected event name="tp:destructor_c_across_units_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 16 - Found expected event name="tp:destructor_c_same_unit_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 17 - Found expected event name="tp:destructor_c_same_unit_before_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 18 - Found expected event name="tp:destructor_c_across_units_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 19 - Found expected event name="tp:destructor_c_same_unit_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 20 - Found expected event name="tp:destructor_c_same_unit_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 21 - Found expected event name="tp:destructor_c_across_units_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 22 - Found expected event name="tp_a_c:constructor_c_provider_static_archive" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 23 - Found expected event name="tp_a_c:destructor_c_provider_static_archive" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_c_static.py 24 - Found no unexpected events
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 1 - Create a session
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 2 - Add a channel to session `session_vs0ocwz1`
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 3 - Start session `session_vs0ocwz1`
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 4 - Run test app '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-constructor-so'
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 5 - Stop session `session_vs0ocwz1`
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 6 - Destroy session `session_vs0ocwz1`
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 7 - Found expected event name="tp:constructor_c_across_units_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 8 - Found expected event name="tp:constructor_c_same_unit_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 9 - Found expected event name="tp:constructor_c_same_unit_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 10 - Found expected event name="tp:constructor_c_across_units_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 11 - Found expected event name="tp:constructor_c_same_unit_before_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 12 - Found expected event name="tp:constructor_c_same_unit_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 13 - Found expected event name="tp:constructor_c_across_units_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 14 - Found expected event name="tp:main" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 15 - Found expected event name="tp:destructor_c_across_units_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 16 - Found expected event name="tp:destructor_c_same_unit_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 17 - Found expected event name="tp:destructor_c_same_unit_before_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 18 - Found expected event name="tp:destructor_c_across_units_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 19 - Found expected event name="tp:destructor_c_same_unit_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 20 - Found expected event name="tp:destructor_c_same_unit_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 21 - Found expected event name="tp:destructor_c_across_units_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 22 - Found expected event name="tp:constructor_cplusplus" msg="global - across units before define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 23 - Found expected event name="tp:constructor_cplusplus" msg="global - same unit before define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 24 - Found expected event name="tp:constructor_cplusplus" msg="global - same unit after define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 25 - Found expected event name="tp:constructor_cplusplus" msg="global - across units after define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 26 - Found expected event name="tp:constructor_cplusplus" msg="global - same unit before provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 27 - Found expected event name="tp:constructor_cplusplus" msg="global - same unit after provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 28 - Found expected event name="tp:constructor_cplusplus" msg="global - across units after provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 29 - Found expected event name="tp:constructor_cplusplus" msg="main() local"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 30 - Found expected event name="tp:destructor_cplusplus" msg="main() local"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 31 - Found expected event name="tp:destructor_cplusplus" msg="global - across units after provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 32 - Found expected event name="tp:destructor_cplusplus" msg="global - same unit after provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 33 - Found expected event name="tp:destructor_cplusplus" msg="global - same unit before provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 34 - Found expected event name="tp:destructor_cplusplus" msg="global - across units after define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 35 - Found expected event name="tp:destructor_cplusplus" msg="global - same unit after define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 36 - Found expected event name="tp:destructor_cplusplus" msg="global - same unit before define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 37 - Found expected event name="tp:destructor_cplusplus" msg="global - across units before define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 38 - Found expected event name="tp_so_c:constructor_c_provider_shared_library" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 39 - Found expected event name="tp_so_c:destructor_c_provider_shared_library" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 40 - Found expected event name="tp_so:constructor_cplusplus_provider_shared_library" msg="global - shared library define and provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 41 - Found expected event name="tp_so:constructor_cplusplus_provider_shared_library" msg="main() local - shared library define and provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 42 - Found expected event name="tp_so:destructor_cplusplus_provider_shared_library" msg="main() local - shared library define and provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 43 - Found expected event name="tp_so:destructor_cplusplus_provider_shared_library" msg="global - shared library define and provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_dynamic.py 44 - Found no unexpected events
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 1 - Create a session
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 2 - Add a channel to session `session_60yoeceg`
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 3 - Start session `session_60yoeceg`
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 4 - Run test app '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-constructor-a'
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 5 - Stop session `session_60yoeceg`
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 6 - Destroy session `session_60yoeceg`
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 7 - Found expected event name="tp:constructor_c_across_units_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 8 - Found expected event name="tp:constructor_c_same_unit_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 9 - Found expected event name="tp:constructor_c_same_unit_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 10 - Found expected event name="tp:constructor_c_across_units_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 11 - Found expected event name="tp:constructor_c_same_unit_before_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 12 - Found expected event name="tp:constructor_c_same_unit_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 13 - Found expected event name="tp:constructor_c_across_units_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 14 - Found expected event name="tp:main" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 15 - Found expected event name="tp:destructor_c_across_units_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 16 - Found expected event name="tp:destructor_c_same_unit_after_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 17 - Found expected event name="tp:destructor_c_same_unit_before_provider" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 18 - Found expected event name="tp:destructor_c_across_units_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 19 - Found expected event name="tp:destructor_c_same_unit_after_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 20 - Found expected event name="tp:destructor_c_same_unit_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 21 - Found expected event name="tp:destructor_c_across_units_before_define" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 22 - Found expected event name="tp:constructor_cplusplus" msg="global - across units before define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 23 - Found expected event name="tp:constructor_cplusplus" msg="global - same unit before define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 24 - Found expected event name="tp:constructor_cplusplus" msg="global - same unit after define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 25 - Found expected event name="tp:constructor_cplusplus" msg="global - across units after define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 26 - Found expected event name="tp:constructor_cplusplus" msg="global - same unit before provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 27 - Found expected event name="tp:constructor_cplusplus" msg="global - same unit after provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 28 - Found expected event name="tp:constructor_cplusplus" msg="global - across units after provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 29 - Found expected event name="tp:constructor_cplusplus" msg="main() local"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 30 - Found expected event name="tp:destructor_cplusplus" msg="main() local"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 31 - Found expected event name="tp:destructor_cplusplus" msg="global - across units after provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 32 - Found expected event name="tp:destructor_cplusplus" msg="global - same unit after provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 33 - Found expected event name="tp:destructor_cplusplus" msg="global - same unit before provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 34 - Found expected event name="tp:destructor_cplusplus" msg="global - across units after define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 35 - Found expected event name="tp:destructor_cplusplus" msg="global - same unit after define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 36 - Found expected event name="tp:destructor_cplusplus" msg="global - same unit before define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 37 - Found expected event name="tp:destructor_cplusplus" msg="global - across units before define"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 38 - Found expected event name="tp_a_c:constructor_c_provider_static_archive" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 39 - Found expected event name="tp_a_c:destructor_c_provider_static_archive" msg="None"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 40 - Found expected event name="tp_a:constructor_cplusplus_provider_static_archive" msg="global - static archive define and provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 41 - Found expected event name="tp_a:constructor_cplusplus_provider_static_archive" msg="main() local - static archive define and provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 42 - Found expected event name="tp_a:destructor_cplusplus_provider_static_archive" msg="main() local - static archive define and provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 43 - Found expected event name="tp_a:destructor_cplusplus_provider_static_archive" msg="global - static archive define and provider"
PASS: ust/ust-constructor/test_ust_constructor_cpp_static.py 44 - Found no unexpected events
SKIP: ust/test_no_event_timestamps.py 1 # SKIP : Only run on x86_64
PASS: tools/lttng-ctl/test_robust_protocol.py 1 - test_simple
============================================================================
Testsuite summary for lttng-tools 2.15.0
============================================================================
# TOTAL: 732
# PASS:  538
# SKIP:  190
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 1
============================================================================
See tests/regression/test-suite.log for debugging.
Some test(s) failed.  Please report this to jeremie.galarneau@efficios.com,
together with the test-suite.log file (gzipped) and your system
information.  Thanks.
============================================================================
SKIP: metadata-regeneration 1 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 2 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 3 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 4 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 5 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 6 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 7 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 8 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 9 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 10 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 11 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 12 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 13 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 14 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 15 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 16 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 17 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 18 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 19 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 20 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 21 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 22 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 23 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 24 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 25 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 26 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 27 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 28 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 29 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 30 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 31 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 32 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 33 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 34 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 35 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 36 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 37 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 38 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 39 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 40 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 41 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 42 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 43 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
SKIP: metadata-regeneration 44 # SKIP : You need to set the LTTNG_ENABLE_DESTRUCTIVE_TESTS environment variable to "will-break-my-system" to run this test
============================================================================
Testsuite summary for lttng-tools 2.15.0
============================================================================
# TOTAL: 44
# PASS:  0
# SKIP:  44
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
============================================================================
Testsuite summary for lttng-tools 2.15.0
============================================================================
# TOTAL: 0
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: *** [Makefile:1067: test-suite.log] Error 1
make[4]: *** [Makefile:1202: check-TESTS] Error 2
make[3]: *** [Makefile:1551: check-am] Error 2
make[2]: *** [Makefile:961: check-recursive] Error 1
make[2]: Target 'check' not remade because of errors.
make[1]: *** [Makefile:605: check-recursive] Error 1
make[1]: Target 'check' not remade because of errors.
make: *** [Makefile:746: check-recursive] Error 1
make: Target 'check' not remade because of errors.
===================================================
   lttng-tools 2.15.0: tests/unit/test-suite.log
===================================================

# TOTAL: 1151
# PASS:  1151
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

System information (uname -a): Linux 6.18.19-yocto-standard #1 SMP PREEMPT Tue Mar 24 18:03:28 UTC 2026 aarch64
Distribution information (/etc/issue):
Poky (Yocto Project Reference Distro) 5.3.99+snapshot-82db67b80c6224eb43e3137b40c59436dc45ec2c \n \l

Type 'root' to login with superuser privileges (no password will be asked).


.. contents:: :depth: 2

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

# TOTAL: 732
# PASS:  538
# SKIP:  190
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 1

System information (uname -a): Linux 6.18.19-yocto-standard #1 SMP PREEMPT Tue Mar 24 18:03:28 UTC 2026 aarch64
Distribution information (/etc/issue):
Poky (Yocto Project Reference Distro) 5.3.99+snapshot-82db67b80c6224eb43e3137b40c59436dc45ec2c \n \l

Type 'root' to login with superuser privileges (no password will be asked).


.. contents:: :depth: 2

PASS: tools/clear/test_ust.py
=============================

# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_homexz4xop3r'
# Failed to open port file '/tmp/lttng_test_env_rundirq9z2gded/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirq9z2gded/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirq9z2gded/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirq9z2gded/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirq9z2gded/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirq9z2gded/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundirq9z2gded/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundirq9z2gded/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirq9z2gded/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirq9z2gded/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirq9z2gded/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirq9z2gded/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirq9z2gded/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirq9z2gded/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirq9z2gded/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 40305, data 38025, and live 41191
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_homexz4xop3r`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
# lttng create session_qo99xmbz --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_qo99xmbz --userspace channel_hjg04glq --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_qo99xmbz --channel channel_hjg04glq --userspace tp:tptest
# lttng start 'session_qo99xmbz'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_tv0myvi2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ybzgmqrf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_xizocqdm_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_s03w34ng_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tv0myvi2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ybzgmqrf_start_tracing
# [1281] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xizocqdm_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_s03w34ng_done_tracing
# lttng stop 'session_qo99xmbz'
# lttng clear 'session_qo99xmbz'
# lttng start 'session_qo99xmbz'
# lttng stop 'session_qo99xmbz'
# lttng destroy session_qo99xmbz --no-wait
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
# lttng create session_0ytcq16y --set-url net://localhost:40305:38025/
1..272
ok 1 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 1 - Received 0 events, expected 0
---
  duration_ms: 1013.7104
...
# lttng enable-channel --session session_0ytcq16y --userspace channel_u5fvq2vk --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_0ytcq16y --channel channel_u5fvq2vk --userspace tp:tptest
# lttng start 'session_0ytcq16y'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_z7g912tz_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mlg7njld_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_fukuix2o_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_vfv7tfx8_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_z7g912tz_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mlg7njld_start_tracing
# [1298] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fukuix2o_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vfv7tfx8_done_tracing
# lttng rotate 'session_0ytcq16y' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_y464s_wh_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_91z83syu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_9dmjzv6v_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_cgvsji53_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_y464s_wh_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_91z83syu_start_tracing
# [1302] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9dmjzv6v_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cgvsji53_done_tracing
# lttng stop 'session_0ytcq16y'
# lttng clear 'session_0ytcq16y'
# lttng start 'session_0ytcq16y'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_3qgjjmyy_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_4a8wg9je_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ayp15x4j_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_8_dq5q6u_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3qgjjmyy_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_4a8wg9je_start_tracing
# [1308] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ayp15x4j_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8_dq5q6u_done_tracing
# lttng stop 'session_0ytcq16y'
# lttng destroy session_0ytcq16y --no-wait

ok 2 - Received 4 events, expected 4
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 2 - Received 4 events, expected 4
---
  duration_ms: 1385.0058
...
# lttng create session_zs5c5oki --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_zs5c5oki --userspace channel_gfa8je8j --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_zs5c5oki --channel channel_gfa8je8j --userspace tp:tptest
# lttng start 'session_zs5c5oki'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_5jjjh6ng_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_125dw_dq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_vyfjw1vu_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_6cocci_j_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5jjjh6ng_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_125dw_dq_start_tracing
# [1317] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vyfjw1vu_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6cocci_j_done_tracing
# lttng stop 'session_zs5c5oki'
# lttng clear 'session_zs5c5oki'
# lttng start 'session_zs5c5oki'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_dtvwwywq_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_q3w2q5g3_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_tg8grwn5_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_8vu6u58l_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_dtvwwywq_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_q3w2q5g3_start_tracing
# [1323] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tg8grwn5_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8vu6u58l_done_tracing
# lttng rotate 'session_zs5c5oki' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_kdmcdlif_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_qsvhs5gw_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_gqp9y1ky_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_zhsb7x8f_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kdmcdlif_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_qsvhs5gw_start_tracing
# [1327] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gqp9y1ky_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zhsb7x8f_done_tracing
# lttng stop 'session_zs5c5oki'
# lttng destroy session_zs5c5oki --no-wait

ok 3 - Received 5 events, expected 5
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 3 - Received 5 events, expected 5
---
  duration_ms: 1436.27704
...
# lttng create session_rzmkg4b1 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_rzmkg4b1 --userspace channel_yjj71mhp --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_rzmkg4b1 --channel channel_yjj71mhp --userspace tp:tptest
# lttng start 'session_rzmkg4b1'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_qfdwaazp_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_pq6p7rsa_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_275vdw_b_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app__afyro1w_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qfdwaazp_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_pq6p7rsa_start_tracing

pid 1338's current affinity list: 0-3
# [1338] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_275vdw_b_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app__afyro1w_done_tracing
# lttng stop 'session_rzmkg4b1'
# lttng clear 'session_rzmkg4b1'
# lttng start 'session_rzmkg4b1'
# lttng stop 'session_rzmkg4b1'
# lttng start 'session_rzmkg4b1'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_5bv30khy_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_bf3py42j_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_rlzygtwl_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_93121irt_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5bv30khy_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_bf3py42j_start_tracing
pid 1338's new affinity list: 0
pid 1347's current affinity list: 0-3
# [1347] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rlzygtwl_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_93121irt_done_tracing
# lttng stop 'session_rzmkg4b1'
# lttng destroy session_rzmkg4b1 --no-wait
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
pid 1347's new affinity list: 0
ok 4 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 4 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 694.60552
...
# lttng create session_ipetkgul --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_ipetkgul --userspace channel_73h3p5d5 --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_ipetkgul --channel channel_73h3p5d5 --userspace tp:tptest
# lttng start 'session_ipetkgul'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_s1rp5dq7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3odbep64_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_bm9ql09q_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_m1pfaklr_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_s1rp5dq7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3odbep64_start_tracing

pid 1359's current affinity list: 0-3
# [1359] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bm9ql09q_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_m1pfaklr_done_tracing
# lttng stop 'session_ipetkgul'
# lttng clear 'session_ipetkgul'
# lttng start 'session_ipetkgul'
# lttng stop 'session_ipetkgul'
# lttng start 'session_ipetkgul'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_tyh_s_od_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_af1_6pnc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ojhsqdt6_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_638z9gb2_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tyh_s_od_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_af1_6pnc_start_tracing
pid 1359's new affinity list: 0
pid 1368's current affinity list: 0-3
# [1368] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ojhsqdt6_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_638z9gb2_done_tracing
# lttng stop 'session_ipetkgul'
# lttng destroy session_ipetkgul --no-wait
pid 1368's new affinity list: 0
ok 5 - First application received 0 events; Second application received 16 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 5 - First application received 0 events; Second application received 16 events
---
  duration_ms: 1235.97536
...
# lttng create session_h89r0hq8 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_h89r0hq8 --userspace channel_ub5gexxr --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_h89r0hq8 --channel channel_ub5gexxr --userspace tp:tptest
# lttng start 'session_h89r0hq8'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_sgjp8oeu_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_s4q5whqi_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ww9y_s_v_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_7wqm4pg6_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sgjp8oeu_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_s4q5whqi_start_tracing
# [1378] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ww9y_s_v_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7wqm4pg6_done_tracing
# lttng stop 'session_h89r0hq8'
# lttng clear 'session_h89r0hq8'
# lttng start 'session_h89r0hq8'
# lttng stop 'session_h89r0hq8'
# lttng destroy session_h89r0hq8 --no-wait

ok 6 - Received 0 events, expected 0
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}PASS: tools/clear/test_ust.py 6 - Received 0 events, expected 0

---
  duration_ms: 749.33184
...
# lttng create session_3u166yry --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_3u166yry --userspace channel_7xmoxvu5 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_3u166yry --channel channel_7xmoxvu5 --userspace tp:tptest
# lttng start 'session_3u166yry'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_totbfwut_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_03221qe__start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ts1r_2ua_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_m2q82hse_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_totbfwut_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_03221qe__start_tracing
# [1390] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ts1r_2ua_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_m2q82hse_done_tracing
# lttng stop 'session_3u166yry'
# lttng clear 'session_3u166yry'
# lttng start 'session_3u166yry'
# lttng stop 'session_3u166yry'
# lttng destroy session_3u166yry
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}

ok 7 - Trace is empty
PASS: tools/clear/test_ust.py 7 - Trace is empty
---
  duration_ms: 1330.31372
...
# lttng create session_miggev6o --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_miggev6o --userspace channel_6xpgzwwr --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_miggev6o --channel channel_6xpgzwwr --userspace tp:tptest
# lttng start 'session_miggev6o'
# Session 'session_miggev6o' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_miggev6o' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_z32zppbf_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_u5gxd_5v_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_adgskdnk_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_fs5975cj_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_z32zppbf_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_u5gxd_5v_start_tracing
# [1402] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_adgskdnk_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fs5975cj_done_tracing
# lttng stop 'session_miggev6o'
# lttng destroy session_miggev6o
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_miggev6o' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 8 - Received 10 events, expected 10, connected_after=False
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 8 - Received 10 events, expected 10, connected_after=False
---
  duration_ms: 1748.50828
...
# lttng create session_yw4enr3i --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_yw4enr3i --userspace channel_3hk6w2rt --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_yw4enr3i --channel channel_3hk6w2rt --userspace tp:tptest
# lttng start 'session_yw4enr3i'
# Session 'session_yw4enr3i' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_yw4enr3i' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__2hs7mtn_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_0pm5xpjn_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_tlq566di_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ugm1htk4_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__2hs7mtn_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_0pm5xpjn_start_tracing
# [1411] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tlq566di_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ugm1htk4_done_tracing
# lttng stop 'session_yw4enr3i'
# lttng clear 'session_yw4enr3i'
# lttng start 'session_yw4enr3i'
# lttng stop 'session_yw4enr3i'
# lttng destroy session_yw4enr3i
# Checking for connected clients at 'net://localhost:41191'
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}

ok 9 - Received 0 events, expected 0, connected_after=False
# lttng create session_qgz4x3x5 --set-url net://localhost:40305:38025/ --live
PASS: tools/clear/test_ust.py 9 - Received 0 events, expected 0, connected_after=False
---
  duration_ms: 1575.52996
...
# lttng enable-channel --session session_qgz4x3x5 --userspace channel_x5ivat48 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng add-context --userspace --channel 'channel_x5ivat48' --type vpid
# lttng enable-event --session session_qgz4x3x5 --channel channel_x5ivat48 --userspace tp:tptest
# lttng start 'session_qgz4x3x5'
# Session 'session_qgz4x3x5' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_qgz4x3x5' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 12 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_b1z3pt03_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_terknecf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_5azl44s__before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rmw1xius_done_tracing --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_mnt4n7i4_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 12 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b1z3pt03_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_terknecf_start_tracing
# [1424] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5azl44s__before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rmw1xius_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_mnt4n7i4_exit
# lttng stop 'session_qgz4x3x5'
# lttng clear 'session_qgz4x3x5'
# lttng start 'session_qgz4x3x5'
# lttng enable-event --session session_qgz4x3x5 --channel channel_x5ivat48 --userspace lttng_ust_statedump:start --filter '$ctx.vpid == 1424'
# lttng enable-event --session session_qgz4x3x5 --channel channel_x5ivat48 --userspace lttng_ust_statedump:end --filter '$ctx.vpid == 1424'
# lttng regenerate statedump -s session_qgz4x3x5
# lttng stop 'session_qgz4x3x5'
# lttng destroy session_qgz4x3x5
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_qgz4x3x5' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 10 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 10 - Received 12 events, expected 12, connected_after=False
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
---
  duration_ms: 3360.35684
...
# lttng create session_2k3uhekj --output /tmp/lttng_test_env_homexz4xop3r/tracefn87yywx
# lttng enable-channel --session session_2k3uhekj --userspace channel_6bqxjwbh --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_2k3uhekj --channel channel_6bqxjwbh --userspace tp:tptest
# lttng start 'session_2k3uhekj'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_0y63kg3f_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app__2ubxwoh_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_xke5l2bn_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_680k7035_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0y63kg3f_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app__2ubxwoh_start_tracing
# [1439] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xke5l2bn_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_680k7035_done_tracing
# lttng stop 'session_2k3uhekj'
# lttng clear 'session_2k3uhekj'
# lttng start 'session_2k3uhekj'
# lttng stop 'session_2k3uhekj'

ok 11 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
# lttng destroy session_2k3uhekj --no-wait
PASS: tools/clear/test_ust.py 11 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 582.040681
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
# lttng create session_w5wfashn --output /tmp/lttng_test_env_homexz4xop3r/trace_0shqo4q
# lttng enable-channel --session session_w5wfashn --userspace channel_ygjxnbhh --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_w5wfashn --channel channel_ygjxnbhh --userspace tp:tptest
# lttng start 'session_w5wfashn'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_tq7i_w07_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3zh4oqyv_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_whoodnxr_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_gkqhehos_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tq7i_w07_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3zh4oqyv_start_tracing
# [1451] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_whoodnxr_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gkqhehos_done_tracing
# lttng rotate 'session_w5wfashn' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_i57369wg_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_t9420zt7_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_i4uyajdf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_2le0tvqe_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_i57369wg_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_t9420zt7_start_tracing
# [1455] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_i4uyajdf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2le0tvqe_done_tracing
# lttng stop 'session_w5wfashn'
# lttng clear 'session_w5wfashn'
# lttng start 'session_w5wfashn'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_xyumjnyv_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_euw74hfc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_o6ij3qik_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_smwrkh2n_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xyumjnyv_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_euw74hfc_start_tracing
# [1461] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_o6ij3qik_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_smwrkh2n_done_tracing
# lttng stop 'session_w5wfashn'

# lttng destroy session_w5wfashn --no-wait
ok 12 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 12 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1233.832199
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
# lttng create session_c2rt4fwr --output /tmp/lttng_test_env_homexz4xop3r/traceiahn9qud
# lttng enable-channel --session session_c2rt4fwr --userspace channel_vorgl0br --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_c2rt4fwr --channel channel_vorgl0br --userspace tp:tptest
# lttng start 'session_c2rt4fwr'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ll3ox9ii_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_9xjveh9p_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_abz6cob3_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_13_9fp7v_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ll3ox9ii_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_9xjveh9p_start_tracing
# [1470] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_abz6cob3_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_13_9fp7v_done_tracing
# lttng stop 'session_c2rt4fwr'
# lttng clear 'session_c2rt4fwr'
# lttng start 'session_c2rt4fwr'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_lzbangs__ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_9j5nifxc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_7ehssmyq_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_mvq1bd8b_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lzbangs__ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_9j5nifxc_start_tracing
# [1476] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7ehssmyq_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mvq1bd8b_done_tracing
# lttng rotate 'session_c2rt4fwr' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_t041vx_k_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_uo19pdly_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_cg69ntke_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_yz_ipycm_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t041vx_k_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_uo19pdly_start_tracing
# [1480] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cg69ntke_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yz_ipycm_done_tracing
# lttng stop 'session_c2rt4fwr'

ok 13 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
# lttng destroy session_c2rt4fwr --no-wait
PASS: tools/clear/test_ust.py 13 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1238.88928
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
# lttng create session_zg5l613i --output /tmp/lttng_test_env_homexz4xop3r/trace2sy7k9ur
# lttng enable-channel --session session_zg5l613i --userspace channel_vaf1ucvt --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_zg5l613i --channel channel_vaf1ucvt --userspace tp:tptest
# lttng start 'session_zg5l613i'
# lttng stop 'session_zg5l613i'
# lttng clear 'session_zg5l613i'
# lttng start 'session_zg5l613i'
# lttng stop 'session_zg5l613i'
# lttng destroy session_zg5l613i --no-wait

ok 14 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/trace2sy7k9ur`
PASS: tools/clear/test_ust.py 14 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/trace2sy7k9ur`
---
  duration_ms: 553.37476
...
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
# lttng create session_l69l5zku --set-url net://localhost:40305:38025/ --snapshot
# lttng enable-channel --session session_l69l5zku --userspace channel_8uw4t6ul --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_l69l5zku --channel channel_8uw4t6ul --userspace tp:tptest
# lttng start 'session_l69l5zku'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_o50vgn7v_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_p_vjem_r_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2x39tmoe_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_k18b6tz3_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_o50vgn7v_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_p_vjem_r_start_tracing
# [1498] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2x39tmoe_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k18b6tz3_done_tracing
# lttng snapshot record --session='session_l69l5zku' /tmp/lttng_test_env_homexz4xop3r/trace_snapshotau1mov9r
# lttng stop 'session_l69l5zku'
# lttng start 'session_l69l5zku'
# lttng stop 'session_l69l5zku'
# lttng clear 'session_l69l5zku'
# lttng start 'session_l69l5zku'
# lttng snapshot record --session='session_l69l5zku' /tmp/snapshot2y2oo8y1t
# lttng stop 'session_l69l5zku'
# lttng start 'session_l69l5zku'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_e7zdzxxi_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_avd49fyi_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_r2ze75pm_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hd42o97k_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_e7zdzxxi_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_avd49fyi_start_tracing
# [1510] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r2ze75pm_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hd42o97k_done_tracing
# lttng snapshot record --session='session_l69l5zku' /tmp/snapshot3zpsem2vc
# lttng stop 'session_l69l5zku'

ok 15 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
# lttng destroy session_l69l5zku --no-wait
PASS: tools/clear/test_ust.py 15 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
---
  duration_ms: 163.123
...
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
# lttng create session_rtje8h6i --output /tmp/lttng_test_env_homexz4xop3r/traceee1o0un9 --snapshot
# lttng enable-channel --session session_rtje8h6i --userspace channel_wrgma7bm --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_rtje8h6i --channel channel_wrgma7bm --userspace tp:tptest
# lttng start 'session_rtje8h6i'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_gk9g051s_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_j60tv56v_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_sririgrf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_q4l67rj0_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gk9g051s_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_j60tv56v_start_tracing
# [1520] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sririgrf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q4l67rj0_done_tracing
# lttng snapshot record --session='session_rtje8h6i' 
# lttng stop 'session_rtje8h6i'
# lttng start 'session_rtje8h6i'
# lttng stop 'session_rtje8h6i'
# lttng clear 'session_rtje8h6i'
# lttng start 'session_rtje8h6i'
# lttng snapshot record --session='session_rtje8h6i' /tmp/snapshot26awxxyl8
# lttng stop 'session_rtje8h6i'
# lttng start 'session_rtje8h6i'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_mpk1tb5u_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_862ig98d_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_9giyjipk_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_5oej7v13_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mpk1tb5u_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_862ig98d_start_tracing
# [1532] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9giyjipk_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5oej7v13_done_tracing
# lttng snapshot record --session='session_rtje8h6i' /tmp/snapshot30oek6xe_
# lttng stop 'session_rtje8h6i'

ok 16 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
# lttng destroy session_rtje8h6i --no-wait
PASS: tools/clear/test_ust.py 16 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
---
  duration_ms: 153.53744
...
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': True}
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}

# lttng create session_noen1vyg --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_noen1vyg --userspace channel_ah8tyulu --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_noen1vyg --channel channel_ah8tyulu --userspace tp:tptest
# lttng start 'session_noen1vyg'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_5efwuhse_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7ixtj955_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_e6w0dz7__before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_8g5y8dkr_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5efwuhse_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7ixtj955_start_tracing
# [1542] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_e6w0dz7__before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8g5y8dkr_done_tracing
# lttng clear 'session_noen1vyg'
# lttng stop 'session_noen1vyg'
# lttng destroy session_noen1vyg --no-wait
ok 17 # Skip: test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 17 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
ok 18 - Received 0 events, expected 0
# lttng create session_l6nxze31 --set-url net://localhost:40305:38025/PASS: tools/clear/test_ust.py 18 - Received 0 events, expected 0
---
  duration_ms: 616.19052
...

# lttng enable-channel --session session_l6nxze31 --userspace channel_1i65h3o1 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_l6nxze31 --channel channel_1i65h3o1 --userspace tp:tptest
# lttng start 'session_l6nxze31'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_srb45hm0_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_kxknxrw8_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_uk7b4xiv_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_l_qged0i_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_srb45hm0_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_kxknxrw8_start_tracing
# [1552] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_uk7b4xiv_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_l_qged0i_done_tracing
# lttng rotate 'session_l6nxze31' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_40vmjhel_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_4jv1ajm0_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_qmh4sgnf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9q7ih4w2_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_40vmjhel_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_4jv1ajm0_start_tracing
# [1556] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qmh4sgnf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9q7ih4w2_done_tracing
# lttng clear 'session_l6nxze31'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_g2enrvq2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_v5ya_yy3_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_e9b9mdfo_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ueg3557g_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_g2enrvq2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_v5ya_yy3_start_tracing
# [1560] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_e9b9mdfo_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ueg3557g_done_tracing
# lttng stop 'session_l6nxze31'
# lttng destroy session_l6nxze31 --no-wait

ok 19 - Received 4 events, expected 4
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}PASS: tools/clear/test_ust.py 19 - Received 4 events, expected 4

---
  duration_ms: 1315.91384
...
# lttng create session_jhpi2ate --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_jhpi2ate --userspace channel_pxzvd0ol --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_jhpi2ate --channel channel_pxzvd0ol --userspace tp:tptest
# lttng start 'session_jhpi2ate'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_47g6mnqa_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_y8cetk0h_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_33ug5u25_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_8h3_c20a_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_47g6mnqa_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_y8cetk0h_start_tracing
# [1569] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_33ug5u25_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8h3_c20a_done_tracing
# lttng clear 'session_jhpi2ate'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_xfyuey02_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_195hyqs5_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_hgczq3v3_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ss_s3k30_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xfyuey02_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_195hyqs5_start_tracing
# [1573] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hgczq3v3_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ss_s3k30_done_tracing
# lttng rotate 'session_jhpi2ate' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_oaz6hzwk_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_jvrccggr_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_70gh0rdg_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0yrsl_lw_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_oaz6hzwk_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_jvrccggr_start_tracing
# [1577] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_70gh0rdg_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0yrsl_lw_done_tracing
# lttng stop 'session_jhpi2ate'
# lttng destroy session_jhpi2ate --no-wait
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
# lttng create session_0f90equb --set-url net://localhost:40305:38025/

ok 20 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 20 - Received 5 events, expected 5
---
  duration_ms: 1309.24252
...
# lttng enable-channel --session session_0f90equb --userspace channel_vd59ofvs --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_0f90equb --channel channel_vd59ofvs --userspace tp:tptest
# lttng start 'session_0f90equb'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_hoe9vyus_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_xl_a_wsk_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_7gddztkf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_lsqbfvtw_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hoe9vyus_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_xl_a_wsk_start_tracing

pid 1588's current affinity list: 0-3
# [1588] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7gddztkf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lsqbfvtw_done_tracing
# lttng clear 'session_0f90equb'
# lttng stop 'session_0f90equb'
# lttng start 'session_0f90equb'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_kban9qj2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app__44w3h7p_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_x8ify0ky_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_tiec0ni7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kban9qj2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app__44w3h7p_start_tracing
pid 1588's new affinity list: 0
pid 1595's current affinity list: 0-3
# [1595] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x8ify0ky_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tiec0ni7_done_tracing
# lttng stop 'session_0f90equb'
# lttng destroy session_0f90equb --no-wait
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
pid 1595's new affinity list: 0
ok 21 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 21 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 933.28148
...
# lttng create session_qp1sv42u --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_qp1sv42u --userspace channel_1ud2uy53 --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_qp1sv42u --channel channel_1ud2uy53 --userspace tp:tptest
# lttng start 'session_qp1sv42u'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_0h2xo1r__ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_6nrl3b_g_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_jtpz20au_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_htodxmj8_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0h2xo1r__ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_6nrl3b_g_start_tracing

pid 1607's current affinity list: 0-3
# [1607] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_jtpz20au_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_htodxmj8_done_tracing
# lttng clear 'session_qp1sv42u'
# lttng stop 'session_qp1sv42u'
# lttng start 'session_qp1sv42u'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_0fo33t52_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_cx597eb6_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_y0n2pdba_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_n_gujeul_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0fo33t52_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_cx597eb6_start_tracing
pid 1607's new affinity list: 0
pid 1614's current affinity list: 0-3
# [1614] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_y0n2pdba_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_n_gujeul_done_tracing
# lttng stop 'session_qp1sv42u'
# lttng destroy session_qp1sv42u --no-wait
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
pid 1614's new affinity list: 0
ok 22 - First application received 0 events; Second application received 30 events
PASS: tools/clear/test_ust.py 22 - First application received 0 events; Second application received 30 events
---
  duration_ms: 962.92236
...
# lttng create session_c7hcir8p --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_c7hcir8p --userspace channel_rwipqpek --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_c7hcir8p --channel channel_rwipqpek --userspace tp:tptest
# lttng start 'session_c7hcir8p'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_70rbn1o4_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_sgs6qfjg_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_l_oczegg_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_iqrhmhwp_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_70rbn1o4_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_sgs6qfjg_start_tracing
# [1624] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_l_oczegg_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_iqrhmhwp_done_tracing
# lttng clear 'session_c7hcir8p'
# lttng stop 'session_c7hcir8p'
# lttng destroy session_c7hcir8p --no-wait

ok 23 - Received 0 events, expected 0
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 23 - Received 0 events, expected 0
---
  duration_ms: 625.5028
...
# lttng create session_62xbyvlo --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_62xbyvlo --userspace channel_hk5mekeq --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_62xbyvlo --channel channel_hk5mekeq --userspace tp:tptest
# lttng start 'session_62xbyvlo'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_0hnp4kle_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3e0yxm42_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_p3n_grme_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_tcbf_5bh_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0hnp4kle_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3e0yxm42_start_tracing
# [1634] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_p3n_grme_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tcbf_5bh_done_tracing
# lttng clear 'session_62xbyvlo'
# lttng stop 'session_62xbyvlo'
# lttng destroy session_62xbyvlo

ok 24 - Trace is empty
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 24 - Trace is empty
---
  duration_ms: 1114.92052
...
# lttng create session_rhp545s5 --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_rhp545s5 --userspace channel_33bkowye --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_rhp545s5 --channel channel_33bkowye --userspace tp:tptest
# lttng start 'session_rhp545s5'
# Session 'session_rhp545s5' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_rhp545s5' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_scac16d8_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_t0j_305f_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_9s1unkty_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_88hmbfg9_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_scac16d8_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_t0j_305f_start_tracing
# [1644] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9s1unkty_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_88hmbfg9_done_tracing
# lttng stop 'session_rhp545s5'
# lttng destroy session_rhp545s5
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_rhp545s5' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 25 - Received 10 events, expected 10, connected_after=False
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 25 - Received 10 events, expected 10, connected_after=False
---
  duration_ms: 1748.7948
...
# lttng create session_76f7rarf --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_76f7rarf --userspace channel_qj3jm51d --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_76f7rarf --channel channel_qj3jm51d --userspace tp:tptest
# lttng start 'session_76f7rarf'
# Session 'session_76f7rarf' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_76f7rarf' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_2y1_sy90_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3vuyt5wa_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_1sk70ifr_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_anhf_nh7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2y1_sy90_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3vuyt5wa_start_tracing
# [1653] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1sk70ifr_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_anhf_nh7_done_tracing
# lttng clear 'session_76f7rarf'
# lttng stop 'session_76f7rarf'
# lttng destroy session_76f7rarf
# Checking for connected clients at 'net://localhost:41191'

ok 26 - Received 0 events, expected 0, connected_after=False
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 26 - Received 0 events, expected 0, connected_after=False
---
  duration_ms: 1366.21192
...
# lttng create session_3fvbxa2v --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_3fvbxa2v --userspace channel_bb9l1a7a --buffer-allocation=per-cpu --buffer-ownership=user
# lttng add-context --userspace --channel 'channel_bb9l1a7a' --type vpid
# lttng enable-event --session session_3fvbxa2v --channel channel_bb9l1a7a --userspace tp:tptest
# lttng start 'session_3fvbxa2v'
# Session 'session_3fvbxa2v' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_3fvbxa2v' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 12 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_atunii4m_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_sluemo3l_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_3nl4qztu_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0coilr9h_done_tracing --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_oa565opq_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 12 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_atunii4m_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_sluemo3l_start_tracing
# [1664] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3nl4qztu_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0coilr9h_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_oa565opq_exit
# lttng clear 'session_3fvbxa2v'
# lttng enable-event --session session_3fvbxa2v --channel channel_bb9l1a7a --userspace lttng_ust_statedump:start --filter '$ctx.vpid == 1664'
# lttng enable-event --session session_3fvbxa2v --channel channel_bb9l1a7a --userspace lttng_ust_statedump:end --filter '$ctx.vpid == 1664'
# lttng regenerate statedump -s session_3fvbxa2v
# lttng stop 'session_3fvbxa2v'
# lttng destroy session_3fvbxa2v
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_3fvbxa2v' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 27 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 27 - Received 12 events, expected 12, connected_after=False
---
  duration_ms: 3309.33568
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}...

# lttng create session_3lkmv15g --output /tmp/lttng_test_env_homexz4xop3r/trace72ocbgxg
# lttng enable-channel --session session_3lkmv15g --userspace channel_1ncpxksu --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_3lkmv15g --channel channel_1ncpxksu --userspace tp:tptest
# lttng start 'session_3lkmv15g'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_65zrd3sc_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ag9vyo00_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_e6af25dq_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_4nlnn0y6_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_65zrd3sc_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ag9vyo00_start_tracing
# [1677] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_e6af25dq_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4nlnn0y6_done_tracing
# lttng clear 'session_3lkmv15g'
# lttng stop 'session_3lkmv15g'

ok 28 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
# lttng destroy session_3lkmv15g --no-wait
PASS: tools/clear/test_ust.py 28 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 580.68044
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
# lttng create session_wh2npxjz --output /tmp/lttng_test_env_homexz4xop3r/traceqz2kuvlz
# lttng enable-channel --session session_wh2npxjz --userspace channel_zsdt4fxa --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_wh2npxjz --channel channel_zsdt4fxa --userspace tp:tptest
# lttng start 'session_wh2npxjz'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_yo8kvyof_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_dd9kimvq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_bqq8orbs_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ooyg19u3_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yo8kvyof_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_dd9kimvq_start_tracing
# [1687] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bqq8orbs_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ooyg19u3_done_tracing
# lttng rotate 'session_wh2npxjz' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_hsbcq5dt_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_k17g372__start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_wc_qsbr3_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0uw7c_7y_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hsbcq5dt_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_k17g372__start_tracing
# [1691] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wc_qsbr3_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0uw7c_7y_done_tracing
# lttng clear 'session_wh2npxjz'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_8h1ewtfb_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_uhgm8tft_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ntfxeyt2_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rg9gv4y__done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8h1ewtfb_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_uhgm8tft_start_tracing
# [1695] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ntfxeyt2_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rg9gv4y__done_tracing
# lttng stop 'session_wh2npxjz'

ok 29 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
# lttng destroy session_wh2npxjz --no-wait
PASS: tools/clear/test_ust.py 29 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1229.56704
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
# lttng create session_wvqp0yrp --output /tmp/lttng_test_env_homexz4xop3r/tracev7wy7sfz
# lttng enable-channel --session session_wvqp0yrp --userspace channel_a0qshchz --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_wvqp0yrp --channel channel_a0qshchz --userspace tp:tptest
# lttng start 'session_wvqp0yrp'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_nut92493_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3ikep969_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_s9psfdiv_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ljqan8mj_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nut92493_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3ikep969_start_tracing
# [1704] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_s9psfdiv_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ljqan8mj_done_tracing
# lttng clear 'session_wvqp0yrp'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__uerrkz6_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_lz092c0l_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_hefmdpmp_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_n_wb_2zc_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__uerrkz6_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_lz092c0l_start_tracing
# [1708] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hefmdpmp_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_n_wb_2zc_done_tracing
# lttng rotate 'session_wvqp0yrp' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_5hc3f1f7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7jgzcufn_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_w_cjmzd7_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_asug_k9m_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5hc3f1f7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7jgzcufn_start_tracing
# [1712] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w_cjmzd7_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_asug_k9m_done_tracing
# lttng stop 'session_wvqp0yrp'

ok 30 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
# lttng destroy session_wvqp0yrp --no-wait
PASS: tools/clear/test_ust.py 30 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1227.07744
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
# lttng create session_klvjibq2 --output /tmp/lttng_test_env_homexz4xop3r/tracevq88u7gv
# lttng enable-channel --session session_klvjibq2 --userspace channel_ey4he7t5 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_klvjibq2 --channel channel_ey4he7t5 --userspace tp:tptest
# lttng start 'session_klvjibq2'
# lttng clear 'session_klvjibq2'
# lttng stop 'session_klvjibq2'

ok 31 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracevq88u7gv`
PASS: tools/clear/test_ust.py 31 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracevq88u7gv`
---
  duration_ms: 540.57032
...
# lttng destroy session_klvjibq2 --no-wait
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
# lttng create session_s8w8fgfm --set-url net://localhost:40305:38025/ --snapshot
# lttng enable-channel --session session_s8w8fgfm --userspace channel_ivt64bct --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_s8w8fgfm --channel channel_ivt64bct --userspace tp:tptest
# lttng start 'session_s8w8fgfm'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_bjy53z9c_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7g2rl71v_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_0_a1m1f7_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_unlsan4n_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bjy53z9c_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7g2rl71v_start_tracing# [1728] Tracing started

# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0_a1m1f7_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_unlsan4n_done_tracing
# lttng snapshot record --session='session_s8w8fgfm' /tmp/lttng_test_env_homexz4xop3r/trace_snapshotq1fwr_pc
# lttng stop 'session_s8w8fgfm'
# lttng start 'session_s8w8fgfm'
# lttng clear 'session_s8w8fgfm'
# lttng snapshot record --session='session_s8w8fgfm' /tmp/snapshot2oxkavs1c
# lttng stop 'session_s8w8fgfm'
# lttng start 'session_s8w8fgfm'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__6niew6e_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_pxydw9xp_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_rbcuj89x_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_uloxj2kn_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__6niew6e_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_pxydw9xp_start_tracing
# [1738] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rbcuj89x_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_uloxj2kn_done_tracing
# lttng snapshot record --session='session_s8w8fgfm' /tmp/snapshot3qa8tizbm
# lttng stop 'session_s8w8fgfm'

ok 32 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
# lttng destroy session_s8w8fgfm --no-wait
PASS: tools/clear/test_ust.py 32 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
---
  duration_ms: 146.83424
...
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
# lttng create session_1pdf70oq --output /tmp/lttng_test_env_homexz4xop3r/traceaqexq21a --snapshot
# lttng enable-channel --session session_1pdf70oq --userspace channel_l6ln128m --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_1pdf70oq --channel channel_l6ln128m --userspace tp:tptest
# lttng start 'session_1pdf70oq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_lx9h6pp5_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3pxf_k8__start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ycpfsewd_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rv8zax_g_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lx9h6pp5_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3pxf_k8__start_tracing
# [1748] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ycpfsewd_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rv8zax_g_done_tracing
# lttng snapshot record --session='session_1pdf70oq' 
# lttng stop 'session_1pdf70oq'
# lttng start 'session_1pdf70oq'
# lttng clear 'session_1pdf70oq'
# lttng snapshot record --session='session_1pdf70oq' /tmp/snapshot2liscwr8i
# lttng stop 'session_1pdf70oq'
# lttng start 'session_1pdf70oq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ubmh3bt9_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_satmsw37_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_mh_e6ox9_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_nvi9_uw5_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ubmh3bt9_ready
# [1758] Tracing started# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_satmsw37_start_tracing

# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mh_e6ox9_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nvi9_uw5_done_tracing
# lttng snapshot record --session='session_1pdf70oq' /tmp/snapshot318v_v6e3
# lttng stop 'session_1pdf70oq'

ok 33 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
# lttng destroy session_1pdf70oq --no-wait
PASS: tools/clear/test_ust.py 33 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
---
  duration_ms: 143.47592
...
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'stop_session_before_clear': False}
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}

# lttng create session_tpaeum6l --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_tpaeum6l --userspace channel_za22cikh --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_tpaeum6l --channel channel_za22cikh --userspace tp:tptest
# lttng start 'session_tpaeum6l'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_6zk34_q5_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_8hf2udfc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_bsz99cpq_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_eaukyjv7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6zk34_q5_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_8hf2udfc_start_tracing
# [1768] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bsz99cpq_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_eaukyjv7_done_tracing
# lttng stop 'session_tpaeum6l'
# lttng clear 'session_tpaeum6l'
# lttng clear 'session_tpaeum6l'
# lttng start 'session_tpaeum6l'
# lttng stop 'session_tpaeum6l'
# lttng destroy session_tpaeum6l --no-wait
ok 34 # Skip: test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 34 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
ok 35 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 35 - Received 0 events, expected 0
---
  duration_ms: 691.95044
...
# lttng create session_4ou2scje --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_4ou2scje --userspace channel_g93mz6ap --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_4ou2scje --channel channel_g93mz6ap --userspace tp:tptest
# lttng start 'session_4ou2scje'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ld_n6fl2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_tds_idun_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_byc2e7bs_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_tpx48q3k_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ld_n6fl2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_tds_idun_start_tracing
# [1781] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_byc2e7bs_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tpx48q3k_done_tracing
# lttng rotate 'session_4ou2scje' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_9v7mxh3__ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_kp9z3vti_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_kdmwhj_y_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_7k4f11wq_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9v7mxh3__ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_kp9z3vti_start_tracing
# [1785] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kdmwhj_y_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7k4f11wq_done_tracing
# lttng stop 'session_4ou2scje'
# lttng clear 'session_4ou2scje'
# lttng clear 'session_4ou2scje'
# lttng start 'session_4ou2scje'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_p4u6klef_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app__dxoqwhx_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_638beo0c_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_zrbnm2_l_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_p4u6klef_ready
# [1792] Tracing started# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app__dxoqwhx_start_tracing

# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_638beo0c_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zrbnm2_l_done_tracing
# lttng stop 'session_4ou2scje'
# lttng destroy session_4ou2scje --no-wait

# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
ok 36 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 36 - Received 4 events, expected 4
---
  duration_ms: 1317.33668
...
# lttng create session_vtu5ifvc --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_vtu5ifvc --userspace channel_q190et0u --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_vtu5ifvc --channel channel_q190et0u --userspace tp:tptest
# lttng start 'session_vtu5ifvc'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_01xkg_kr_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_epd8mbax_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2codttdl_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rmzth5sr_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_01xkg_kr_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_epd8mbax_start_tracing
# [1801] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2codttdl_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rmzth5sr_done_tracing
# lttng stop 'session_vtu5ifvc'
# lttng clear 'session_vtu5ifvc'
# lttng clear 'session_vtu5ifvc'
# lttng start 'session_vtu5ifvc'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_4ydwotvp_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_2w9lcs67_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ao9p9kj5_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_1_e6wu_h_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4ydwotvp_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_2w9lcs67_start_tracing
# [1808] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ao9p9kj5_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1_e6wu_h_done_tracing
# lttng rotate 'session_vtu5ifvc' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_encu_hup_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_e7297qrp_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_bkyway3r_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_2w4hv3wq_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_encu_hup_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_e7297qrp_start_tracing
# [1812] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bkyway3r_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2w4hv3wq_done_tracing
# lttng stop 'session_vtu5ifvc'
# lttng destroy session_vtu5ifvc --no-wait

ok 37 - Received 5 events, expected 5
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}PASS: tools/clear/test_ust.py 37 - Received 5 events, expected 5

---
  duration_ms: 1432.88428
...
# lttng create session_mmmwqntk --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_mmmwqntk --userspace channel_o38otq6r --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_mmmwqntk --channel channel_o38otq6r --userspace tp:tptest
# lttng start 'session_mmmwqntk'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_g22zt_mp_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ucvght3f_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ik56thhc_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_r14_yfsy_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_g22zt_mp_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ucvght3f_start_tracing

pid 1823's current affinity list: 0-3
# [1823] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ik56thhc_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r14_yfsy_done_tracing
# lttng stop 'session_mmmwqntk'
# lttng clear 'session_mmmwqntk'
# lttng clear 'session_mmmwqntk'
# lttng start 'session_mmmwqntk'
# lttng stop 'session_mmmwqntk'
# lttng start 'session_mmmwqntk'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_zkz555na_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_fr3nmoi8_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_rdlh99ow_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_vkyeenam_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zkz555na_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_fr3nmoi8_start_tracing
pid 1823's new affinity list: 0
pid 1833's current affinity list: 0-3
# [1833] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rdlh99ow_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vkyeenam_done_tracing
# lttng stop 'session_mmmwqntk'
# lttng destroy session_mmmwqntk --no-wait
pid 1833's new affinity list: 0
ok 38 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 38 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 853.09832
...
# lttng create session_6p1u745e --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_6p1u745e --userspace channel_zxji9wm4 --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_6p1u745e --channel channel_zxji9wm4 --userspace tp:tptest
# lttng start 'session_6p1u745e'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ftbp_vr2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_1cgedz5w_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_q9rdg_d0_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_zk3p9ozl_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ftbp_vr2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_1cgedz5w_start_tracing

pid 1845's current affinity list: 0-3
# [1845] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q9rdg_d0_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zk3p9ozl_done_tracing
# lttng stop 'session_6p1u745e'
# lttng clear 'session_6p1u745e'
# lttng clear 'session_6p1u745e'
# lttng start 'session_6p1u745e'
# lttng stop 'session_6p1u745e'
# lttng start 'session_6p1u745e'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_qruixscw_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_s0p60e40_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_urvrpb28_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9ebrozz3_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qruixscw_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_s0p60e40_start_tracing
pid 1845's new affinity list: 0
pid 1855's current affinity list: 0-3
# [1855] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_urvrpb28_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9ebrozz3_done_tracing
# lttng stop 'session_6p1u745e'
# lttng destroy session_6p1u745e --no-wait
pid 1855's new affinity list: 0
ok 39 - First application received 0 events; Second application received 30 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 39 - First application received 0 events; Second application received 30 events
---
  duration_ms: 976.82356
...
# lttng create session_epao5h34 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_epao5h34 --userspace channel_lmmruuhq --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_epao5h34 --channel channel_lmmruuhq --userspace tp:tptest
# lttng start 'session_epao5h34'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ucpba45p_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_djppqnwg_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_vbos00t__before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_5clq9yua_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ucpba45p_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_djppqnwg_start_tracing
# [1865] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vbos00t__before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5clq9yua_done_tracing
# lttng stop 'session_epao5h34'
# lttng clear 'session_epao5h34'
# lttng clear 'session_epao5h34'
# lttng start 'session_epao5h34'
# lttng stop 'session_epao5h34'
# lttng destroy session_epao5h34 --no-wait
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}

ok 40 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 40 - Received 0 events, expected 0
---
  duration_ms: 881.52692
...
# lttng create session_mo57vf25 --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_mo57vf25 --userspace channel_36zdk00v --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_mo57vf25 --channel channel_36zdk00v --userspace tp:tptest
# lttng start 'session_mo57vf25'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_q7ozzayi_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_fsqpeijy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_390m_zjd_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_bqkt0by7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q7ozzayi_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_fsqpeijy_start_tracing
# [1878] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_390m_zjd_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bqkt0by7_done_tracing
# lttng stop 'session_mo57vf25'
# lttng clear 'session_mo57vf25'
# lttng clear 'session_mo57vf25'
# lttng start 'session_mo57vf25'
# lttng stop 'session_mo57vf25'
# lttng destroy session_mo57vf25

ok 41 - Trace is empty
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 41 - Trace is empty
---
  duration_ms: 1192.0464
...

# lttng create session_c8gvvq6g --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_c8gvvq6g --userspace channel_muy6ci2e --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_c8gvvq6g --channel channel_muy6ci2e --userspace tp:tptest
# lttng start 'session_c8gvvq6g'
# Session 'session_c8gvvq6g' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_c8gvvq6g' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_3oqcr5en_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_v8h0ail8_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_g2y3dt54_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_wr8nt48q_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3oqcr5en_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_v8h0ail8_start_tracing
# [1891] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_g2y3dt54_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wr8nt48q_done_tracing
# lttng stop 'session_c8gvvq6g'
# lttng clear 'session_c8gvvq6g'
# lttng clear 'session_c8gvvq6g'
# lttng start 'session_c8gvvq6g'
# lttng stop 'session_c8gvvq6g'
# lttng destroy session_c8gvvq6g
# Checking for connected clients at 'net://localhost:41191'
ok 42 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 42 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 43 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 43 - Received 0 events, expected 0, connected_after=False
---
  duration_ms: 1393.19504
...
# lttng create session_tvhoanhu --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_tvhoanhu --userspace channel_00gkp3ec --buffer-allocation=per-cpu --buffer-ownership=user
# lttng add-context --userspace --channel 'channel_00gkp3ec' --type vpid
# lttng enable-event --session session_tvhoanhu --channel channel_00gkp3ec --userspace tp:tptest
# lttng start 'session_tvhoanhu'
# Session 'session_tvhoanhu' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_tvhoanhu' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 12 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_7hzozoma_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_sr7e3vvx_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_le51bl7f_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_35w28zfd_done_tracing --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_x_62x6ze_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 12 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7hzozoma_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_sr7e3vvx_start_tracing
# [1905] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_le51bl7f_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_35w28zfd_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_x_62x6ze_exit
# lttng stop 'session_tvhoanhu'
# lttng clear 'session_tvhoanhu'
# lttng clear 'session_tvhoanhu'
# lttng start 'session_tvhoanhu'
# lttng enable-event --session session_tvhoanhu --channel channel_00gkp3ec --userspace lttng_ust_statedump:start --filter '$ctx.vpid == 1905'
# lttng enable-event --session session_tvhoanhu --channel channel_00gkp3ec --userspace lttng_ust_statedump:end --filter '$ctx.vpid == 1905'
# lttng regenerate statedump -s session_tvhoanhu
# lttng stop 'session_tvhoanhu'
# lttng destroy session_tvhoanhu
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_tvhoanhu' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 44 - Received 12 events, expected 12, connected_after=False
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 44 - Received 12 events, expected 12, connected_after=False
# lttng create session_2sx4y0wv --output /tmp/lttng_test_env_homexz4xop3r/traced6qlieiz
---
  duration_ms: 3379.96712
...
# lttng enable-channel --session session_2sx4y0wv --userspace channel_piekktmm --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_2sx4y0wv --channel channel_piekktmm --userspace tp:tptest
# lttng start 'session_2sx4y0wv'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_r3xkd02v_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_86pz7_e7_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_uxfmgf32_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_cvn60blp_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r3xkd02v_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_86pz7_e7_start_tracing
# [1921] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_uxfmgf32_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cvn60blp_done_tracing
# lttng stop 'session_2sx4y0wv'
# lttng clear 'session_2sx4y0wv'
# lttng clear 'session_2sx4y0wv'
# lttng start 'session_2sx4y0wv'
# lttng stop 'session_2sx4y0wv'
# lttng destroy session_2sx4y0wv --no-wait

ok 45 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 45 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 584.20368
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
# lttng create session_zjv1ly3x --output /tmp/lttng_test_env_homexz4xop3r/tracesvmtls8c
# lttng enable-channel --session session_zjv1ly3x --userspace channel_quziyu4n --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_zjv1ly3x --channel channel_quziyu4n --userspace tp:tptest
# lttng start 'session_zjv1ly3x'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_xe710tqo_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_eswqzq59_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_4dtud9da_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_sz274oho_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xe710tqo_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_eswqzq59_start_tracing
# [1934] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4dtud9da_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sz274oho_done_tracing
# lttng rotate 'session_zjv1ly3x' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_tudozb2i_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7cmn250d_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_k8n4wm2i_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_4jwavw1l_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tudozb2i_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7cmn250d_start_tracing
# [1938] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k8n4wm2i_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4jwavw1l_done_tracing
# lttng stop 'session_zjv1ly3x'
# lttng clear 'session_zjv1ly3x'
# lttng clear 'session_zjv1ly3x'
# lttng start 'session_zjv1ly3x'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_0tzsej40_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_l5e_r_8o_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_cmdhmpb4_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_lquwaq1a_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0tzsej40_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_l5e_r_8o_start_tracing
# [1945] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cmdhmpb4_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lquwaq1a_done_tracing
# lttng stop 'session_zjv1ly3x'

ok 46 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
# lttng destroy session_zjv1ly3x --no-wait
PASS: tools/clear/test_ust.py 46 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1244.301521
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
# lttng create session_dxti18rq --output /tmp/lttng_test_env_homexz4xop3r/tracem3ip2ap1
# lttng enable-channel --session session_dxti18rq --userspace channel_lpry9nsu --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_dxti18rq --channel channel_lpry9nsu --userspace tp:tptest
# lttng start 'session_dxti18rq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_3ugaxlnb_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_1mh9djaq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_8jvbodzp_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_pgo67wuy_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3ugaxlnb_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_1mh9djaq_start_tracing
# [1954] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8jvbodzp_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pgo67wuy_done_tracing
# lttng stop 'session_dxti18rq'
# lttng clear 'session_dxti18rq'
# lttng clear 'session_dxti18rq'
# lttng start 'session_dxti18rq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ylo7fn0p_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_tncsf3e4_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_kzl2abi6_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0htr1o9a_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ylo7fn0p_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_tncsf3e4_start_tracing
# [1961] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kzl2abi6_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0htr1o9a_done_tracing
# lttng rotate 'session_dxti18rq' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_b7ehfoy9_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_6rxgg673_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_w4kqtai1_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_1d5txww2_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b7ehfoy9_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_6rxgg673_start_tracing
# [1965] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w4kqtai1_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1d5txww2_done_tracing
# lttng stop 'session_dxti18rq'

ok 47 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
# lttng destroy session_dxti18rq --no-wait
PASS: tools/clear/test_ust.py 47 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1239.184121
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
# lttng create session_7p0fpdr1 --output /tmp/lttng_test_env_homexz4xop3r/trace_zow621p
# lttng enable-channel --session session_7p0fpdr1 --userspace channel_0v05cvmd --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_7p0fpdr1 --channel channel_0v05cvmd --userspace tp:tptest
# lttng start 'session_7p0fpdr1'
# lttng stop 'session_7p0fpdr1'
# lttng clear 'session_7p0fpdr1'
# lttng clear 'session_7p0fpdr1'
# lttng start 'session_7p0fpdr1'
# lttng stop 'session_7p0fpdr1'

ok 48 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/trace_zow621p`
PASS: tools/clear/test_ust.py 48 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/trace_zow621p`
---
  duration_ms: 553.551401
...
# lttng destroy session_7p0fpdr1 --no-wait
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
# lttng create session_nx2799nj --set-url net://localhost:40305:38025/ --snapshot
# lttng enable-channel --session session_nx2799nj --userspace channel_8rqwyhle --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_nx2799nj --channel channel_8rqwyhle --userspace tp:tptest
# lttng start 'session_nx2799nj'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_cbnl5g6s_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_budu7ne1_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_eqc2czv__before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_t5l6hv7g_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cbnl5g6s_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_budu7ne1_start_tracing
# [1984] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_eqc2czv__before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t5l6hv7g_done_tracing
# lttng snapshot record --session='session_nx2799nj' /tmp/lttng_test_env_homexz4xop3r/trace_snapshotzo6q7r51
# lttng stop 'session_nx2799nj'
# lttng start 'session_nx2799nj'
# lttng stop 'session_nx2799nj'
# lttng clear 'session_nx2799nj'
# lttng clear 'session_nx2799nj'
# lttng start 'session_nx2799nj'
# lttng snapshot record --session='session_nx2799nj' /tmp/snapshot2pcd1y92c
# lttng stop 'session_nx2799nj'
# lttng start 'session_nx2799nj'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_1e5m7cm9_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3xoenacm_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_anc_soad_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_x5tajwdo_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1e5m7cm9_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3xoenacm_start_tracing
# [1997] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_anc_soad_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x5tajwdo_done_tracing
# lttng snapshot record --session='session_nx2799nj' /tmp/snapshot3d_ptqaqo
# lttng stop 'session_nx2799nj'

# lttng destroy session_nx2799nj --no-wait
ok 49 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
PASS: tools/clear/test_ust.py 49 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
---
  duration_ms: 162.65568
...
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
# lttng create session_cd06x9ah --output /tmp/lttng_test_env_homexz4xop3r/tracejodcgt25 --snapshot
# lttng enable-channel --session session_cd06x9ah --userspace channel_15dvjbaq --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_cd06x9ah --channel channel_15dvjbaq --userspace tp:tptest
# lttng start 'session_cd06x9ah'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ze4y9bkz_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_lyrj0_1w_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_bcy6pznq_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_jynyr1w8_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ze4y9bkz_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_lyrj0_1w_start_tracing
# [2007] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bcy6pznq_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_jynyr1w8_done_tracing
# lttng snapshot record --session='session_cd06x9ah' 
# lttng stop 'session_cd06x9ah'
# lttng start 'session_cd06x9ah'
# lttng stop 'session_cd06x9ah'
# lttng clear 'session_cd06x9ah'
# lttng clear 'session_cd06x9ah'
# lttng start 'session_cd06x9ah'
# lttng snapshot record --session='session_cd06x9ah' /tmp/snapshot2l5krxa8f
# lttng stop 'session_cd06x9ah'
# lttng start 'session_cd06x9ah'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_lyk2htkb_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_0cdnubvo_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_rgywsqrs_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_fskt3lgy_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lyk2htkb_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_0cdnubvo_start_tracing
# [2020] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rgywsqrs_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fskt3lgy_done_tracing
# lttng snapshot record --session='session_cd06x9ah' /tmp/snapshot3nbvqktt1
# lttng stop 'session_cd06x9ah'

ok 50 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
# lttng destroy session_cd06x9ah --no-wait
PASS: tools/clear/test_ust.py 50 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
---
  duration_ms: 162.88828
...
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}

# lttng create session_bbpsus99 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_bbpsus99 --userspace channel_o4juhfpg --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_bbpsus99 --channel channel_o4juhfpg --userspace tp:tptest
# lttng start 'session_bbpsus99'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ksntnm9z_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_25xu02zy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_xhkw9lxe_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_yfr697i3_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ksntnm9z_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_25xu02zy_start_tracing
# [2030] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xhkw9lxe_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yfr697i3_done_tracing
# lttng clear 'session_bbpsus99'
# lttng clear 'session_bbpsus99'
# lttng stop 'session_bbpsus99'
# lttng destroy session_bbpsus99 --no-wait
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
# lttng create session_l8kkoz79 --set-url net://localhost:40305:38025/
ok 51 # Skip: test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
SKIP: tools/clear/test_ust.py 51 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
ok 52 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 52 - Received 0 events, expected 0
---
  duration_ms: 1134.63748
...
# lttng enable-channel --session session_l8kkoz79 --userspace channel_bkowyk09 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_l8kkoz79 --channel channel_bkowyk09 --userspace tp:tptest
# lttng start 'session_l8kkoz79'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_eicab0la_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_r4t40b3w_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zgj0csre_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_1mqqpgkg_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_eicab0la_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_r4t40b3w_start_tracing
# [2041] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zgj0csre_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1mqqpgkg_done_tracing
# lttng rotate 'session_l8kkoz79' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_x8ox214o_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_leln6ahj_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_d1ffmfzt_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_a09pjnwb_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x8ox214o_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_leln6ahj_start_tracing
# [2045] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_d1ffmfzt_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_a09pjnwb_done_tracing
# lttng clear 'session_l8kkoz79'
# lttng clear 'session_l8kkoz79'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_yqdug3i2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_9vc_kltg_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_40o0lcxb_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_66_vutqs_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yqdug3i2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_9vc_kltg_start_tracing
# [2050] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_40o0lcxb_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_66_vutqs_done_tracing
# lttng stop 'session_l8kkoz79'
# lttng destroy session_l8kkoz79 --no-wait

# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
# lttng create session_0djg89cg --set-url net://localhost:40305:38025/
ok 53 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 53 - Received 4 events, expected 4
---
  duration_ms: 1876.0422
...
# lttng enable-channel --session session_0djg89cg --userspace channel_urgdibvy --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_0djg89cg --channel channel_urgdibvy --userspace tp:tptest
# lttng start 'session_0djg89cg'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_m4_6f5yn_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_z76i47bt_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ye5dbjbj_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_g3cx7_w1_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_m4_6f5yn_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_z76i47bt_start_tracing
# [2059] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ye5dbjbj_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_g3cx7_w1_done_tracing
# lttng clear 'session_0djg89cg'
# lttng clear 'session_0djg89cg'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_euoumy6r_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_t7e6c1k7_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_l6b78dmx_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_q1wrvsu7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_euoumy6r_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_t7e6c1k7_start_tracing
# [2064] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_l6b78dmx_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q1wrvsu7_done_tracing
# lttng rotate 'session_0djg89cg' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_6e7y1og0_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_iqixvd57_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_432jmais_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_jdnwhjp6_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6e7y1og0_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_iqixvd57_start_tracing
# [2068] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_432jmais_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_jdnwhjp6_done_tracing
# lttng stop 'session_0djg89cg'
# lttng destroy session_0djg89cg --no-wait

ok 54 - Received 5 events, expected 5
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 54 - Received 5 events, expected 5
---
  duration_ms: 1819.43304
...
# lttng create session_45suzkmo --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_45suzkmo --userspace channel_b9ejot5h --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_45suzkmo --channel channel_b9ejot5h --userspace tp:tptest
# lttng start 'session_45suzkmo'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_rlfurf5s_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_urex_4iy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_x14rx5f8_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ko3qdyhk_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rlfurf5s_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_urex_4iy_start_tracing

pid 2079's current affinity list: 0-3
# [2079] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x14rx5f8_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ko3qdyhk_done_tracing
# lttng clear 'session_45suzkmo'
# lttng clear 'session_45suzkmo'
# lttng stop 'session_45suzkmo'
# lttng start 'session_45suzkmo'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_b9xgc5f0_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ny0cztqn_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2rue1b69_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0xlfgcyv_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b9xgc5f0_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ny0cztqn_start_tracing
pid 2079's new affinity list: 0
pid 2087's current affinity list: 0-3
# [2087] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2rue1b69_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0xlfgcyv_done_tracing
# lttng stop 'session_45suzkmo'
# lttng destroy session_45suzkmo --no-wait
pid 2087's new affinity list: 0
ok 55 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 55 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 1205.16724
...
# lttng create session_rev480yg --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_rev480yg --userspace channel_ju90rag3 --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_rev480yg --channel channel_ju90rag3 --userspace tp:tptest
# lttng start 'session_rev480yg'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_a3737ifv_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_g95coogi_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_wfbuo976_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_om2ru7zq_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_a3737ifv_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_g95coogi_start_tracing

pid 2099's current affinity list: 0-3
# [2099] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wfbuo976_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_om2ru7zq_done_tracing
# lttng clear 'session_rev480yg'
# lttng clear 'session_rev480yg'
# lttng stop 'session_rev480yg'
# lttng start 'session_rev480yg'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_673oezkb_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_y6qlmkwr_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_54wk3jdp_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_4rozq4lb_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_673oezkb_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_y6qlmkwr_start_tracing
# [2107] Tracing started
pid 2099's new affinity list: 0
pid 2107's current affinity list: 0-3
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_54wk3jdp_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4rozq4lb_done_tracing
# lttng stop 'session_rev480yg'
# lttng destroy session_rev480yg --no-wait
pid 2107's new affinity list: 0
ok 56 - First application received 0 events; Second application received 16 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 56 - First application received 0 events; Second application received 16 events
---
  duration_ms: 1701.78044
...
# lttng create session_k1ls9ulb --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_k1ls9ulb --userspace channel_ptupzone --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_k1ls9ulb --channel channel_ptupzone --userspace tp:tptest
# lttng start 'session_k1ls9ulb'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_91aqre_o_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_boafsqvk_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ld2y7wa6_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_fj6hqd0e_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait# [2117] Tracing started

# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_91aqre_o_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_boafsqvk_start_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ld2y7wa6_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fj6hqd0e_done_tracing
# lttng clear 'session_k1ls9ulb'
# lttng clear 'session_k1ls9ulb'
# lttng stop 'session_k1ls9ulb'
# lttng destroy session_k1ls9ulb --no-wait

ok 57 - Received 0 events, expected 0
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 57 - Received 0 events, expected 0
---
  duration_ms: 1161.78056
...
# lttng create session_gujv032y --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_gujv032y --userspace channel_cxqhjhcl --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_gujv032y --channel channel_cxqhjhcl --userspace tp:tptest
# lttng start 'session_gujv032y'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_v5ufdnnj_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_l9859box_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_lsnyi0on_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_qytbinie_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_v5ufdnnj_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_l9859box_start_tracing
# [2128] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lsnyi0on_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qytbinie_done_tracing
# lttng clear 'session_gujv032y'
# lttng clear 'session_gujv032y'
# lttng stop 'session_gujv032y'
# lttng destroy session_gujv032y

ok 58 - Trace is empty
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 58 - Trace is empty
---
  duration_ms: 1626.4012
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
...

# lttng create session_rqwe1kdr --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_rqwe1kdr --userspace channel_bp5izf3h --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_rqwe1kdr --channel channel_bp5izf3h --userspace tp:tptest
# lttng start 'session_rqwe1kdr'
# Session 'session_rqwe1kdr' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_rqwe1kdr' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_gq98cx72_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_86scluwe_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_5rfeekfo_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_o3qwk0rs_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gq98cx72_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_86scluwe_start_tracing
# [2139] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5rfeekfo_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_o3qwk0rs_done_tracing
# lttng clear 'session_rqwe1kdr'
# lttng clear 'session_rqwe1kdr'
# lttng stop 'session_rqwe1kdr'
# lttng destroy session_rqwe1kdr
# Checking for connected clients at 'net://localhost:41191'
ok 59 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 59 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 60 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 60 - Received 0 events, expected 0, connected_after=False
---
  duration_ms: 1879.29784
...
# lttng create session_c138rv8n --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_c138rv8n --userspace channel_q2rev0x8 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng add-context --userspace --channel 'channel_q2rev0x8' --type vpid
# lttng enable-event --session session_c138rv8n --channel channel_q2rev0x8 --userspace tp:tptest
# lttng start 'session_c138rv8n'
# Session 'session_c138rv8n' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_c138rv8n' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 12 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_y7_tbhzc_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_pgz5k4xn_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_0ifu9nyp_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_a4gcfy1z_done_tracing --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_77bunq7o_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 12 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_y7_tbhzc_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_pgz5k4xn_start_tracing
# [2151] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0ifu9nyp_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_a4gcfy1z_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_77bunq7o_exit
# lttng clear 'session_c138rv8n'
# lttng clear 'session_c138rv8n'
# lttng enable-event --session session_c138rv8n --channel channel_q2rev0x8 --userspace lttng_ust_statedump:start --filter '$ctx.vpid == 2151'
# lttng enable-event --session session_c138rv8n --channel channel_q2rev0x8 --userspace lttng_ust_statedump:end --filter '$ctx.vpid == 2151'
# lttng regenerate statedump -s session_c138rv8n
# lttng stop 'session_c138rv8n'
# lttng destroy session_c138rv8n
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_c138rv8n' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 61 - Received 12 events, expected 12, connected_after=False
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 61 - Received 12 events, expected 12, connected_after=False
---
  duration_ms: 3848.34608
...
# lttng create session_q69083an --output /tmp/lttng_test_env_homexz4xop3r/traceck0skj5_
# lttng enable-channel --session session_q69083an --userspace channel_rnpl8oe2 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_q69083an --channel channel_rnpl8oe2 --userspace tp:tptest
# lttng start 'session_q69083an'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ievqj6rn_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_17y1hy3m_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ezkoz0ov_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hhympild_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ievqj6rn_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_17y1hy3m_start_tracing
# [2165] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ezkoz0ov_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hhympild_done_tracing
# lttng clear 'session_q69083an'
# lttng clear 'session_q69083an'
# lttng stop 'session_q69083an'

ok 62 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
# lttng destroy session_q69083an --no-wait
PASS: tools/clear/test_ust.py 62 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 1083.26676
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
# lttng create session_r2oeyopc --output /tmp/lttng_test_env_homexz4xop3r/trace6wreuhjv
# lttng enable-channel --session session_r2oeyopc --userspace channel_bu3jphqs --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_r2oeyopc --channel channel_bu3jphqs --userspace tp:tptest
# lttng start 'session_r2oeyopc'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_xs_dy_zh_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_44bilxkx_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_q4egqpi8_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_bmd5ucqr_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# [2176] Tracing started# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xs_dy_zh_ready

# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_44bilxkx_start_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q4egqpi8_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bmd5ucqr_done_tracing
# lttng rotate 'session_r2oeyopc' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_yen4e788_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_pl5mgfsc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app__8_v004a_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_3_fe6tbz_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yen4e788_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_pl5mgfsc_start_tracing
# [2180] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app__8_v004a_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3_fe6tbz_done_tracing
# lttng clear 'session_r2oeyopc'
# lttng clear 'session_r2oeyopc'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ff7rpr15_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_h0sao2_f_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_tbow32x7_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_8vmmhhwp_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ff7rpr15_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_h0sao2_f_start_tracing
# [2185] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tbow32x7_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8vmmhhwp_done_tracing
# lttng stop 'session_r2oeyopc'

ok 63 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
# lttng destroy session_r2oeyopc --no-wait
PASS: tools/clear/test_ust.py 63 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1742.66216
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
# lttng create session_x72gj274 --output /tmp/lttng_test_env_homexz4xop3r/tracel4ljrk46
# lttng enable-channel --session session_x72gj274 --userspace channel_8y79g9ud --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_x72gj274 --channel channel_8y79g9ud --userspace tp:tptest
# lttng start 'session_x72gj274'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_x0a40fqr_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_u68p_dgz_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app__fgxscde_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_r4oyr19a_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x0a40fqr_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_u68p_dgz_start_tracing
# [2194] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app__fgxscde_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r4oyr19a_done_tracing
# lttng clear 'session_x72gj274'
# lttng clear 'session_x72gj274'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_74ujt5c3_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_v1u43caq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_6nid7mli_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_7xaq12vb_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_74ujt5c3_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_v1u43caq_start_tracing
# [2199] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6nid7mli_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7xaq12vb_done_tracing
# lttng rotate 'session_x72gj274' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ke_skj_5_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_79857qu0_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_lw1csp48_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_84dite8f_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ke_skj_5_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_79857qu0_start_tracing
# [2203] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lw1csp48_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_84dite8f_done_tracing
# lttng stop 'session_x72gj274'

ok 64 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
# lttng destroy session_x72gj274 --no-wait
PASS: tools/clear/test_ust.py 64 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1747.741
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
# lttng create session_up60x0xf --output /tmp/lttng_test_env_homexz4xop3r/tracew7wpkf0s
# lttng enable-channel --session session_up60x0xf --userspace channel_w3qqwx2u --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_up60x0xf --channel channel_w3qqwx2u --userspace tp:tptest
# lttng start 'session_up60x0xf'
# lttng clear 'session_up60x0xf'
# lttng clear 'session_up60x0xf'
# lttng stop 'session_up60x0xf'

ok 65 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracew7wpkf0s`
PASS: tools/clear/test_ust.py 65 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracew7wpkf0s`
---
  duration_ms: 1046.92868
...
# lttng destroy session_up60x0xf --no-wait
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
# lttng create session_e8s4hxby --set-url net://localhost:40305:38025/ --snapshot
# lttng enable-channel --session session_e8s4hxby --userspace channel_k24hppzu --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_e8s4hxby --channel channel_k24hppzu --userspace tp:tptest
# lttng start 'session_e8s4hxby'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_t2qb0l8i_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_i0n7f3_f_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_wykt66s0_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0zezrrks_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t2qb0l8i_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_i0n7f3_f_start_tracing
# [2220] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wykt66s0_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0zezrrks_done_tracing
# lttng snapshot record --session='session_e8s4hxby' /tmp/lttng_test_env_homexz4xop3r/trace_snapshot21l63yxh
# lttng stop 'session_e8s4hxby'
# lttng start 'session_e8s4hxby'
# lttng clear 'session_e8s4hxby'
# lttng clear 'session_e8s4hxby'
# lttng snapshot record --session='session_e8s4hxby' /tmp/snapshot2dsbl37ly
# lttng stop 'session_e8s4hxby'
# lttng start 'session_e8s4hxby'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_l19eshl2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7pqrv8kr_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_fweyzd6r_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_l_9fueg3_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_l19eshl2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7pqrv8kr_start_tracing# [2231] Tracing started

# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fweyzd6r_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_l_9fueg3_done_tracing
# lttng snapshot record --session='session_e8s4hxby' /tmp/snapshot35egn2jyw
# lttng stop 'session_e8s4hxby'

ok 66 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
# lttng destroy session_e8s4hxby --no-wait
PASS: tools/clear/test_ust.py 66 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
---
  duration_ms: 145.26092
...
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
# lttng create session_znt0oh61 --output /tmp/lttng_test_env_homexz4xop3r/tracep97g9vnd --snapshot
# lttng enable-channel --session session_znt0oh61 --userspace channel_niv5y010 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_znt0oh61 --channel channel_niv5y010 --userspace tp:tptest
# lttng start 'session_znt0oh61'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_dcyesqkj_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ubfevksa_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_f3odwomt_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_xayok8hk_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_dcyesqkj_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ubfevksa_start_tracing
# [2241] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_f3odwomt_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xayok8hk_done_tracing
# lttng snapshot record --session='session_znt0oh61' 
# lttng stop 'session_znt0oh61'
# lttng start 'session_znt0oh61'
# lttng clear 'session_znt0oh61'
# lttng clear 'session_znt0oh61'
# lttng snapshot record --session='session_znt0oh61' /tmp/snapshot217g5eg74
# lttng stop 'session_znt0oh61'
# lttng start 'session_znt0oh61'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_fd0tm45u_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_fkj1gxdo_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app__rqo3nqr_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_pzzdllmu_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fd0tm45u_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_fkj1gxdo_start_tracing
# [2252] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app__rqo3nqr_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pzzdllmu_done_tracing
# lttng snapshot record --session='session_znt0oh61' /tmp/snapshot3h458cglt
# lttng stop 'session_znt0oh61'

ok 67 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
# lttng destroy session_znt0oh61 --no-wait
PASS: tools/clear/test_ust.py 67 - Snapshot 1: 10 events, expected 10; Snapshot empty: 0 events, expected 0; Snapshot 2: 10 events, expected 10
---
  duration_ms: 168.4444
...
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'clear_twice': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}

# lttng create session_u54ksv4n --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_u54ksv4n --userspace channel_ifduy6lk --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_u54ksv4n --channel channel_ifduy6lk --userspace tp:tptest
# lttng start 'session_u54ksv4n'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_okzhfn84_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_pwsv2zw1_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_t3_mcofl_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_2214ary9_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_okzhfn84_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_pwsv2zw1_start_tracing
# [2262] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t3_mcofl_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2214ary9_done_tracing
# lttng stop 'session_u54ksv4n'
# lttng rotate 'session_u54ksv4n' 
# lttng clear 'session_u54ksv4n'
# lttng start 'session_u54ksv4n'
# lttng stop 'session_u54ksv4n'
# lttng destroy session_u54ksv4n --no-wait
ok 68 # Skip: test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 68 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
ok 69 - Received 10 events, expected 10
PASS: tools/clear/test_ust.py 69 - Received 10 events, expected 10
---
  duration_ms: 924.01856
...
# lttng create session_4wrj6nfx --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_4wrj6nfx --userspace channel_755no2ut --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_4wrj6nfx --channel channel_755no2ut --userspace tp:tptest
# lttng start 'session_4wrj6nfx'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_21scppst_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_waircoq5_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_a0dkzbtc_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_bvvxwrx8_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_21scppst_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_waircoq5_start_tracing
# [2275] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_a0dkzbtc_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bvvxwrx8_done_tracing
# lttng rotate 'session_4wrj6nfx' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_t0o89btx_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_b74y7vo6_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_k6hx3mns_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_k6cexkwz_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t0o89btx_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_b74y7vo6_start_tracing
# [2279] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k6hx3mns_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k6cexkwz_done_tracing
# lttng stop 'session_4wrj6nfx'
# lttng rotate 'session_4wrj6nfx' 
# lttng clear 'session_4wrj6nfx'
# lttng start 'session_4wrj6nfx'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_2wfqfeau_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_g_r7z53l_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_rvju4xev_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_lb5ufjc6_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2wfqfeau_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_g_r7z53l_start_tracing
# [2286] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rvju4xev_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lb5ufjc6_done_tracing
# lttng stop 'session_4wrj6nfx'
# lttng destroy session_4wrj6nfx --no-wait

ok 70 - Received 6 events, expected 6
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 70 - Received 6 events, expected 6
---
  duration_ms: 1552.22528
...
# lttng create session_u1lkn9zg --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_u1lkn9zg --userspace channel_6k6sf3n5 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_u1lkn9zg --channel channel_6k6sf3n5 --userspace tp:tptest
# lttng start 'session_u1lkn9zg'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ap_bk0o5_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_y6744gmn_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_b0_3acsf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_57elh41x_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ap_bk0o5_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_y6744gmn_start_tracing
# [2295] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b0_3acsf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_57elh41x_done_tracing
# lttng stop 'session_u1lkn9zg'
# lttng rotate 'session_u1lkn9zg' 
# lttng clear 'session_u1lkn9zg'
# lttng start 'session_u1lkn9zg'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_o6yt7awg_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_o03y8htq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_7armod4e_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_m2_22o15_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_o6yt7awg_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_o03y8htq_start_tracing
# [2302] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7armod4e_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_m2_22o15_done_tracing
# lttng rotate 'session_u1lkn9zg' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_48r6dkwy_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_8a9vh353_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_7gezywbw_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_o2au4cal_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_48r6dkwy_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_8a9vh353_start_tracing
# [2306] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7gezywbw_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_o2au4cal_done_tracing
# lttng stop 'session_u1lkn9zg'
# lttng destroy session_u1lkn9zg --no-wait

ok 71 - Received 6 events, expected 6
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 71 - Received 6 events, expected 6
---
  duration_ms: 1477.22832
...
# lttng create session_eyudhxvn --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_eyudhxvn --userspace channel_f6v9x2op --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_eyudhxvn --channel channel_f6v9x2op --userspace tp:tptest
# lttng start 'session_eyudhxvn'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_3dt5o0w1_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_jnno8yti_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_g0sf_fpq_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_5itlf8pt_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3dt5o0w1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_jnno8yti_start_tracing

pid 2317's current affinity list: 0-3
# [2317] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_g0sf_fpq_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5itlf8pt_done_tracing
# lttng stop 'session_eyudhxvn'
# lttng rotate 'session_eyudhxvn' 
# lttng clear 'session_eyudhxvn'
# lttng start 'session_eyudhxvn'
# lttng stop 'session_eyudhxvn'
# lttng start 'session_eyudhxvn'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_co2rmis2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_9g6whgbz_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_nvc003v0_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ykhu1q2l_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_co2rmis2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_9g6whgbz_start_tracing
pid 2317's new affinity list: 0
pid 2327's current affinity list: 0-3
# [2327] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nvc003v0_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ykhu1q2l_done_tracing
# lttng stop 'session_eyudhxvn'
# lttng destroy session_eyudhxvn --no-wait
pid 2327's new affinity list: 0
ok 72 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}PASS: tools/clear/test_ust.py 72 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
---
  duration_ms: 845.08556

...
# lttng create session_ossy9msd --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_ossy9msd --userspace channel_bpo29otw --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_ossy9msd --channel channel_bpo29otw --userspace tp:tptest
# lttng start 'session_ossy9msd'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_54m13fh0_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_8c_00heq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_un3xf9w3_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9ojtjvo1_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_54m13fh0_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_8c_00heq_start_tracing

pid 2339's current affinity list: 0-3
# [2339] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_un3xf9w3_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9ojtjvo1_done_tracing
# lttng stop 'session_ossy9msd'
# lttng rotate 'session_ossy9msd' 
# lttng clear 'session_ossy9msd'
# lttng start 'session_ossy9msd'
# lttng stop 'session_ossy9msd'
# lttng start 'session_ossy9msd'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_roj8cydm_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_yjw4gqzf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_8_deglh2_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_15jk6mun_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_roj8cydm_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_yjw4gqzf_start_tracing
pid 2339's new affinity list: 0
pid 2349's current affinity list: 0-3
# [2349] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8_deglh2_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_15jk6mun_done_tracing
# lttng stop 'session_ossy9msd'
# lttng destroy session_ossy9msd --no-wait
pid 2349's new affinity list: 0
ok 73 - First application received 16 events; Second application received 32 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 73 - First application received 16 events; Second application received 32 events
---
  duration_ms: 1141.29876
...
# lttng create session_ryj114pw --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_ryj114pw --userspace channel_2bleaukx --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_ryj114pw --channel channel_2bleaukx --userspace tp:tptest
# lttng start 'session_ryj114pw'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_adda8s2w_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_35crszbv_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_9sxpa05c_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_vy57jmh5_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_adda8s2w_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_35crszbv_start_tracing
# [2359] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9sxpa05c_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vy57jmh5_done_tracing
# lttng stop 'session_ryj114pw'
# lttng rotate 'session_ryj114pw' 
# lttng clear 'session_ryj114pw'
# lttng start 'session_ryj114pw'
# lttng stop 'session_ryj114pw'
# lttng destroy session_ryj114pw --no-wait

ok 74 - Received 10 events, expected 10
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 74 - Received 10 events, expected 10
---
  duration_ms: 866.34176
...
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}

# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
ok 75 # Skip: test_ust_streaming_live does not run with the rotate_before or rotate_after options
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 75 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
ok 76 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 76 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 77 # Skip: test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 77 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
# lttng create session_jdhnt02h --output /tmp/lttng_test_env_homexz4xop3r/trace45b7yaxj
# lttng enable-channel --session session_jdhnt02h --userspace channel_f1nxx4fg --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_jdhnt02h --channel channel_f1nxx4fg --userspace tp:tptest
# lttng start 'session_jdhnt02h'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_6_syr6qw_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mj3803yy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_djem3ikj_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_2pafcrd9_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6_syr6qw_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mj3803yy_start_tracing
# [2372] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_djem3ikj_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2pafcrd9_done_tracing
# lttng stop 'session_jdhnt02h'
# lttng rotate 'session_jdhnt02h' 
# lttng clear 'session_jdhnt02h'
# lttng start 'session_jdhnt02h'
# lttng stop 'session_jdhnt02h'
ok 78 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# lttng destroy session_jdhnt02h --no-wait
SKIP: tools/clear/test_ust.py 78 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 79 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
PASS: tools/clear/test_ust.py 79 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
---
  duration_ms: 698.55984
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
# lttng create session_spm22tsa --output /tmp/lttng_test_env_homexz4xop3r/tracefso1n32j
# lttng enable-channel --session session_spm22tsa --userspace channel_eyz06udt --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_spm22tsa --channel channel_eyz06udt --userspace tp:tptest
# lttng start 'session_spm22tsa'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_0seuve6n_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_bmaizrr8_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_0ykzngrx_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_z40nrmph_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0seuve6n_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_bmaizrr8_start_tracing
# [2385] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0ykzngrx_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_z40nrmph_done_tracing
# lttng rotate 'session_spm22tsa' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_qshm26bx_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_vfopl8ry_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ebac592n_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_wkhapo8a_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# [2389] Tracing started# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qshm26bx_ready

# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_vfopl8ry_start_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ebac592n_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wkhapo8a_done_tracing
# lttng stop 'session_spm22tsa'
# lttng rotate 'session_spm22tsa' 
# lttng clear 'session_spm22tsa'
# lttng start 'session_spm22tsa'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_9_d7kg9q_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_9u1lbuqg_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_gzgilvle_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_4q36eynx_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9_d7kg9q_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_9u1lbuqg_start_tracing
# [2396] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gzgilvle_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4q36eynx_done_tracing
# lttng stop 'session_spm22tsa'

ok 80 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
# lttng destroy session_spm22tsa --no-wait
PASS: tools/clear/test_ust.py 80 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
---
  duration_ms: 1346.50848
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
# lttng create session_h5k53tw9 --output /tmp/lttng_test_env_homexz4xop3r/tracec85h36me
# lttng enable-channel --session session_h5k53tw9 --userspace channel_mkfbpaln --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_h5k53tw9 --channel channel_mkfbpaln --userspace tp:tptest
# lttng start 'session_h5k53tw9'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_iecowx_i_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ssuljzca_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_11em0r4m_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ygbnc8pw_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_iecowx_i_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ssuljzca_start_tracing
# [2405] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_11em0r4m_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ygbnc8pw_done_tracing
# lttng stop 'session_h5k53tw9'
# lttng rotate 'session_h5k53tw9' 
# lttng clear 'session_h5k53tw9'
# lttng start 'session_h5k53tw9'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_tr5izuh4_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_6tyjs_xd_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_vfk4yle2_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ur8hnxgy_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tr5izuh4_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_6tyjs_xd_start_tracing
# [2412] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vfk4yle2_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ur8hnxgy_done_tracing
# lttng rotate 'session_h5k53tw9' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_6kqcewb5_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_dkainbho_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_feda_vq2_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ljm_y2ob_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6kqcewb5_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_dkainbho_start_tracing
# [2416] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_feda_vq2_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ljm_y2ob_done_tracing
# lttng stop 'session_h5k53tw9'

ok 81 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
# lttng destroy session_h5k53tw9 --no-wait
PASS: tools/clear/test_ust.py 81 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
---
  duration_ms: 1340.72464
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}

ok 82 # Skip: Disabled for tests with rotate_before or rotate_after
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 82 # SKIP : Disabled for tests with rotate_before or rotate_after
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
ok 83 # Skip: Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 83 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 84 # Skip: Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 84 # SKIP : Disabled for tests with rotate_before or rotate_after
# lttng create session_5zy0qp8t --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_5zy0qp8t --userspace channel_uwm72x7w --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_5zy0qp8t --channel channel_uwm72x7w --userspace tp:tptest
# lttng start 'session_5zy0qp8t'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ex1dm087_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_eu75roj2_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_yzye5feg_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9sg2knr7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ex1dm087_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_eu75roj2_start_tracing
# [2425] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yzye5feg_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9sg2knr7_done_tracing
# lttng rotate 'session_5zy0qp8t' 
# lttng clear 'session_5zy0qp8t'
# lttng stop 'session_5zy0qp8t'
# lttng destroy session_5zy0qp8t --no-wait
ok 85 # Skip: test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 85 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
ok 86 - Received 10 events, expected 10
PASS: tools/clear/test_ust.py 86 - Received 10 events, expected 10
---
  duration_ms: 1315.2892
...
# lttng create session_y1ez6cmb --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_y1ez6cmb --userspace channel_ul39p3p7 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_y1ez6cmb --channel channel_ul39p3p7 --userspace tp:tptest
# lttng start 'session_y1ez6cmb'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_77ktlsjd_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_9f3b7r___start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_b3lwydd6_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_8ec6bki6_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_77ktlsjd_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_9f3b7r___start_tracing
# [2436] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b3lwydd6_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8ec6bki6_done_tracing
# lttng rotate 'session_y1ez6cmb' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_tnlohz30_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_arqk595p_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ibj464qi_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_q8x8ofn0_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tnlohz30_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_arqk595p_start_tracing
# [2440] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ibj464qi_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q8x8ofn0_done_tracing
# lttng rotate 'session_y1ez6cmb' 
# lttng clear 'session_y1ez6cmb'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_wp7uebf6_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_t0ylhwbu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_5ftdsp3w_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_k6qev9pj_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wp7uebf6_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_t0ylhwbu_start_tracing
# [2445] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5ftdsp3w_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k6qev9pj_done_tracing
# lttng stop 'session_y1ez6cmb'
# lttng destroy session_y1ez6cmb --no-wait

ok 87 - Received 6 events, expected 6
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 87 - Received 6 events, expected 6
---
  duration_ms: 1920.5794
...
# lttng create session_wchp90kf --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_wchp90kf --userspace channel_7eph6c9w --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_wchp90kf --channel channel_7eph6c9w --userspace tp:tptest
# lttng start 'session_wchp90kf'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_67v3rt6i_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_1ygj9hm1_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_1_wzso5t_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_qrvz7hyw_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_67v3rt6i_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_1ygj9hm1_start_tracing
# [2454] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1_wzso5t_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qrvz7hyw_done_tracing
# lttng rotate 'session_wchp90kf' 
# lttng clear 'session_wchp90kf'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_sts_awqc_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_l1mc8mcv_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_bm7hd0t4_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_uftirj84_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sts_awqc_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_l1mc8mcv_start_tracing
# [2459] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bm7hd0t4_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_uftirj84_done_tracing
# lttng rotate 'session_wchp90kf' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_d8ye0s02_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_0uas1rnd_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ujl151sf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0f6l_a7z_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_d8ye0s02_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_0uas1rnd_start_tracing
# [2463] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ujl151sf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0f6l_a7z_done_tracing
# lttng stop 'session_wchp90kf'
# lttng destroy session_wchp90kf --no-wait
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}

ok 88 - Received 6 events, expected 6
PASS: tools/clear/test_ust.py 88 - Received 6 events, expected 6
---
  duration_ms: 2117.42052
...
# lttng create session_brcj47ry --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_brcj47ry --userspace channel_6bo4czvn --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_brcj47ry --channel channel_6bo4czvn --userspace tp:tptest
# lttng start 'session_brcj47ry'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_x2b00urp_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7abw_a66_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_h27yamf1_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_7mlj1jhw_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x2b00urp_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7abw_a66_start_tracing

pid 2474's current affinity list: 0-3
# [2474] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_h27yamf1_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7mlj1jhw_done_tracing
# lttng rotate 'session_brcj47ry' 
# lttng clear 'session_brcj47ry'
# lttng stop 'session_brcj47ry'
# lttng start 'session_brcj47ry'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__zdzklf2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_sxye9f5j_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_q2tv6crn_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_db5g0sqy_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__zdzklf2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_sxye9f5j_start_tracing
pid 2474's new affinity list: 0
pid 2482's current affinity list: 0-3
# [2482] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q2tv6crn_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_db5g0sqy_done_tracing
# lttng stop 'session_brcj47ry'
# lttng destroy session_brcj47ry --no-wait
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# lttng create session_8xhamtnf --set-url net://localhost:40305:38025/
pid 2482's new affinity list: 0
ok 89 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
PASS: tools/clear/test_ust.py 89 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
---
  duration_ms: 1315.45376
...
# lttng enable-channel --session session_8xhamtnf --userspace channel_jt6d60qm --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_8xhamtnf --channel channel_jt6d60qm --userspace tp:tptest
# lttng start 'session_8xhamtnf'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_o78ck87u_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_o4a_6zxl_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_fhorx8lf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_g8lnfo1k_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_o78ck87u_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_o4a_6zxl_start_tracing

pid 2494's current affinity list: 0-3
# [2494] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fhorx8lf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_g8lnfo1k_done_tracing
# lttng rotate 'session_8xhamtnf' 
# lttng clear 'session_8xhamtnf'
# lttng stop 'session_8xhamtnf'
# lttng start 'session_8xhamtnf'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_kffwz88t_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_p2s3fbh9_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_gdwgr97x_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9i135o06_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kffwz88t_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_p2s3fbh9_start_tracing
pid 2494's new affinity list: 0
pid 2502's current affinity list: 0-3
# [2502] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gdwgr97x_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9i135o06_done_tracing
# lttng stop 'session_8xhamtnf'
# lttng destroy session_8xhamtnf --no-wait
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
pid 2502's new affinity list: 0
ok 90 - First application received 16 events; Second application received 32 events
PASS: tools/clear/test_ust.py 90 - First application received 16 events; Second application received 32 events
---
  duration_ms: 1793.64804
...
# lttng create session_ump1xvxj --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_ump1xvxj --userspace channel_jmtjcxxg --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_ump1xvxj --channel channel_jmtjcxxg --userspace tp:tptest
# lttng start 'session_ump1xvxj'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_w0woru16_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_r11m6vq9_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_rdnqe22c_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_dhyevqq4_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w0woru16_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_r11m6vq9_start_tracing
# [2512] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rdnqe22c_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_dhyevqq4_done_tracing
# lttng rotate 'session_ump1xvxj' 
# lttng clear 'session_ump1xvxj'
# lttng stop 'session_ump1xvxj'
# lttng destroy session_ump1xvxj --no-wait
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}

ok 91 - Received 10 events, expected 10
PASS: tools/clear/test_ust.py 91 - Received 10 events, expected 10
---
  duration_ms: 1547.60832
...

ok 92 # Skip: test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 92 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
ok 93 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 93 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# lttng create session_icwzdrn6 --output /tmp/lttng_test_env_homexz4xop3r/tracevvn2_rrm
ok 94 # Skip: test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 94 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
# lttng enable-channel --session session_icwzdrn6 --userspace channel_bch9x7u6 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_icwzdrn6 --channel channel_bch9x7u6 --userspace tp:tptest
# lttng start 'session_icwzdrn6'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_v0kuvgve_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_pa276xgg_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_k4payp0w_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_pcxdpxr8_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_v0kuvgve_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_pa276xgg_start_tracing
# [2523] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k4payp0w_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pcxdpxr8_done_tracing
# lttng rotate 'session_icwzdrn6' 
# lttng clear 'session_icwzdrn6'
# lttng stop 'session_icwzdrn6'
ok 95 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# lttng destroy session_icwzdrn6 --no-wait
SKIP: tools/clear/test_ust.py 95 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 96 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
PASS: tools/clear/test_ust.py 96 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
---
  duration_ms: 1182.70156
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# lttng create session_vxihhgl5 --output /tmp/lttng_test_env_homexz4xop3r/tracemlzj5hqa
# lttng enable-channel --session session_vxihhgl5 --userspace channel_zhf2n7f4 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_vxihhgl5 --channel channel_zhf2n7f4 --userspace tp:tptest
# lttng start 'session_vxihhgl5'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_s89wwpxu_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_kl6wndnn_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_lhunu_0v_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_3ctd497e_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_s89wwpxu_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_kl6wndnn_start_tracing
# [2534] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lhunu_0v_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3ctd497e_done_tracing
# lttng rotate 'session_vxihhgl5' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__cf63yyn_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_iwiiavt9_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_27q51kk9_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_reiyyg1q_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__cf63yyn_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_iwiiavt9_start_tracing
# [2538] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_27q51kk9_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_reiyyg1q_done_tracing
# lttng rotate 'session_vxihhgl5' 
# lttng clear 'session_vxihhgl5'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_72sjspqn_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_gx6f5ree_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2lvpzexn_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_dsr344kp_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_72sjspqn_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_gx6f5ree_start_tracing
# [2543] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2lvpzexn_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_dsr344kp_done_tracing
# lttng stop 'session_vxihhgl5'
# lttng destroy session_vxihhgl5 --no-wait

ok 97 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
PASS: tools/clear/test_ust.py 97 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
---
  duration_ms: 1860.47796
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# lttng create session_vpd9wz2l --output /tmp/lttng_test_env_homexz4xop3r/tracevhlvf0jg
# lttng enable-channel --session session_vpd9wz2l --userspace channel_so6lg4qi --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_vpd9wz2l --channel channel_so6lg4qi --userspace tp:tptest
# lttng start 'session_vpd9wz2l'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_e8tqotyc_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_1ktby9_u_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_isco4l74_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_na0b87w8_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_e8tqotyc_ready# [2552] Tracing started

# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_1ktby9_u_start_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_isco4l74_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_na0b87w8_done_tracing
# lttng rotate 'session_vpd9wz2l' 
# lttng clear 'session_vpd9wz2l'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ijb6rsn4_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_dhan9m43_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_wyv_j2_o_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_wdo6ld2c_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ijb6rsn4_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_dhan9m43_start_tracing
# [2557] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wyv_j2_o_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wdo6ld2c_done_tracing
# lttng rotate 'session_vpd9wz2l' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_1ocw6dy2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_xrr84wc1_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_mcwsk_zu_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_n7je_0hi_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1ocw6dy2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_xrr84wc1_start_tracing
# [2561] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mcwsk_zu_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_n7je_0hi_done_tracing
# lttng stop 'session_vpd9wz2l'

ok 98 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
# lttng destroy session_vpd9wz2l --no-wait
PASS: tools/clear/test_ust.py 98 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
---
  duration_ms: 1848.10688
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}

ok 99 # Skip: Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 99 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 100 # Skip: Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 100 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 101 # Skip: Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 101 # SKIP : Disabled for tests with rotate_before or rotate_after
# lttng create session_l9rmamro --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_l9rmamro --userspace channel_lxkio6i8 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_l9rmamro --channel channel_lxkio6i8 --userspace tp:tptest
# lttng start 'session_l9rmamro'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_n8zslz_7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_b1q_qxma_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2o3r_54z_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_d6_5xl6m_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_n8zslz_7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_b1q_qxma_start_tracing
# [2570] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2o3r_54z_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_d6_5xl6m_done_tracing
# lttng stop 'session_l9rmamro'
# lttng clear 'session_l9rmamro'
# lttng rotate 'session_l9rmamro' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_l9rmamro'
# lttng stop 'session_l9rmamro'
# lttng destroy session_l9rmamro --no-wait
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
ok 102 # Skip: test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
# lttng create session_4ym42bws --set-url net://localhost:40305:38025/
SKIP: tools/clear/test_ust.py 102 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
ok 103 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 103 - Received 0 events, expected 0
---
  duration_ms: 681.22152
...
# lttng enable-channel --session session_4ym42bws --userspace channel_bk9rierr --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_4ym42bws --channel channel_bk9rierr --userspace tp:tptest
# lttng start 'session_4ym42bws'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_85acnhz7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_lenhimau_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zxizolbf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rvbul0p9_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_85acnhz7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_lenhimau_start_tracing
# [2583] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zxizolbf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rvbul0p9_done_tracing
# lttng rotate 'session_4ym42bws' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_8_tk_qpb_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_w7bnvumy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_02yo4oly_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hbcz01ee_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8_tk_qpb_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_w7bnvumy_start_tracing
# [2587] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_02yo4oly_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hbcz01ee_done_tracing
# lttng stop 'session_4ym42bws'
# lttng clear 'session_4ym42bws'
# lttng rotate 'session_4ym42bws' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_4ym42bws'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_40aomhx2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_jmmeaa3t_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app__n4xwu9h_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_iey6uce7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_40aomhx2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_jmmeaa3t_start_tracing
# [2594] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app__n4xwu9h_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_iey6uce7_done_tracing
# lttng stop 'session_4ym42bws'
# lttng destroy session_4ym42bws --no-wait

ok 104 - Received 4 events, expected 4
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 104 - Received 4 events, expected 4
---
  duration_ms: 1308.00104
...
# lttng create session_d54fsxxt --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_d54fsxxt --userspace channel_m1x2sgnm --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_d54fsxxt --channel channel_m1x2sgnm --userspace tp:tptest
# lttng start 'session_d54fsxxt'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__oaoql19_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_f3dxw4h5_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_5x72o9y3_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_eqpks1gf_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__oaoql19_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_f3dxw4h5_start_tracing
# [2603] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5x72o9y3_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_eqpks1gf_done_tracing
# lttng stop 'session_d54fsxxt'
# lttng clear 'session_d54fsxxt'
# lttng rotate 'session_d54fsxxt' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_d54fsxxt'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_hii7x_sx_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_c66vf9j6_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_icd6janr_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_a4co50cz_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hii7x_sx_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_c66vf9j6_start_tracing
# [2610] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_icd6janr_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_a4co50cz_done_tracing
# lttng rotate 'session_d54fsxxt' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_4ofl902n_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_c7d2nchh_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_km_gw2mc_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ixen14gq_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4ofl902n_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_c7d2nchh_start_tracing
# [2614] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_km_gw2mc_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ixen14gq_done_tracing
# lttng stop 'session_d54fsxxt'
# lttng destroy session_d54fsxxt --no-wait

ok 105 - Received 5 events, expected 5
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 105 - Received 5 events, expected 5
---
  duration_ms: 1450.78308
...
# lttng create session_w27mnz3s --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_w27mnz3s --userspace channel_idjpgkkn --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_w27mnz3s --channel channel_idjpgkkn --userspace tp:tptest
# lttng start 'session_w27mnz3s'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_dh7xl06g_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_rcr4dv98_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ezxbys56_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_s41gmdjx_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_dh7xl06g_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_rcr4dv98_start_tracing

pid 2625's current affinity list: 0-3
# [2625] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ezxbys56_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_s41gmdjx_done_tracing
# lttng stop 'session_w27mnz3s'
# lttng clear 'session_w27mnz3s'
# lttng rotate 'session_w27mnz3s' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_w27mnz3s'
# lttng stop 'session_w27mnz3s'
# lttng start 'session_w27mnz3s'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_vg_3dhe9_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7sy3mv9w_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_6n2rspz6_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_gbnww1ri_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vg_3dhe9_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7sy3mv9w_start_tracing
pid 2625's new affinity list: 0
pid 2635's current affinity list: 0-3
# [2635] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6n2rspz6_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gbnww1ri_done_tracing
# lttng stop 'session_w27mnz3s'
# lttng destroy session_w27mnz3s --no-wait
pid 2635's new affinity list: 0
ok 106 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}PASS: tools/clear/test_ust.py 106 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---

  duration_ms: 1156.42852
...
# lttng create session_4w1s6zvu --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_4w1s6zvu --userspace channel_c54y5sog --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_4w1s6zvu --channel channel_c54y5sog --userspace tp:tptest
# lttng start 'session_4w1s6zvu'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_u_evb9q8_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_bs3nhl0c_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app__5arnkm1_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_g1ha7ut2_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_u_evb9q8_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_bs3nhl0c_start_tracing

pid 2647's current affinity list: 0-3
# [2647] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app__5arnkm1_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_g1ha7ut2_done_tracing
# lttng stop 'session_4w1s6zvu'
# lttng clear 'session_4w1s6zvu'
# lttng rotate 'session_4w1s6zvu' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_4w1s6zvu'
# lttng stop 'session_4w1s6zvu'
# lttng start 'session_4w1s6zvu'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_hcnb9koz_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_g3nyjqcw_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_r4ccrsik_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_x2fkz1vp_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hcnb9koz_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_g3nyjqcw_start_tracing
pid 2647's new affinity list: 0
pid 2657's current affinity list: 0-3
# [2657] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r4ccrsik_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x2fkz1vp_done_tracing
# lttng stop 'session_4w1s6zvu'
# lttng destroy session_4w1s6zvu --no-wait
pid 2657's new affinity list: 0
ok 107 - First application received 0 events; Second application received 16 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 107 - First application received 0 events; Second application received 16 events
---
  duration_ms: 829.87296
...
# lttng create session_q8lge8d4 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_q8lge8d4 --userspace channel_1e909lky --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_q8lge8d4 --channel channel_1e909lky --userspace tp:tptest
# lttng start 'session_q8lge8d4'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_kba3ysvc_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_s4sagsdd_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_4dndk5_m_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_a22jfmiy_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kba3ysvc_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_s4sagsdd_start_tracing
# [2667] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4dndk5_m_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_a22jfmiy_done_tracing
# lttng stop 'session_q8lge8d4'
# lttng clear 'session_q8lge8d4'
# lttng rotate 'session_q8lge8d4' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_q8lge8d4'
# lttng stop 'session_q8lge8d4'
# lttng destroy session_q8lge8d4 --no-wait

ok 108 - Received 0 events, expected 0
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 108 - Received 0 events, expected 0
---
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
  duration_ms: 930.92828
...
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}

ok 109 # Skip: test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 109 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
ok 110 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 110 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 111 # Skip: test_ust_streaming_live does not run with rotate_before, or rotate_after options
# lttng create session_d18n3yr1 --output /tmp/lttng_test_env_homexz4xop3r/trace7tae_njz
SKIP: tools/clear/test_ust.py 111 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
# lttng enable-channel --session session_d18n3yr1 --userspace channel_xthe7u8b --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_d18n3yr1 --channel channel_xthe7u8b --userspace tp:tptest
# lttng start 'session_d18n3yr1'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_wci9na5t_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_cmp3t0m9_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_win5ru3e_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_okwqh3lk_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wci9na5t_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_cmp3t0m9_start_tracing
# [2680] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_win5ru3e_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_okwqh3lk_done_tracing
# lttng stop 'session_d18n3yr1'
# lttng clear 'session_d18n3yr1'
# lttng rotate 'session_d18n3yr1' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_d18n3yr1'
# lttng stop 'session_d18n3yr1'
ok 112 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# lttng destroy session_d18n3yr1 --no-wait
SKIP: tools/clear/test_ust.py 112 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 113 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 113 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 590.35244
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
# lttng create session_d82r3niz --output /tmp/lttng_test_env_homexz4xop3r/tracejbrmajo5
# lttng enable-channel --session session_d82r3niz --userspace channel_78cgq495 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_d82r3niz --channel channel_78cgq495 --userspace tp:tptest
# lttng start 'session_d82r3niz'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_h1n3y32k_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_z7few6id_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_f71mmk8m_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ixu4ycqj_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_h1n3y32k_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_z7few6id_start_tracing
# [2693] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_f71mmk8m_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ixu4ycqj_done_tracing
# lttng rotate 'session_d82r3niz' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_9_tq_bd1_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_afr2orq__start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_elltet44_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_jsl0q8zn_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9_tq_bd1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_afr2orq__start_tracing
# [2697] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_elltet44_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_jsl0q8zn_done_tracing
# lttng stop 'session_d82r3niz'
# lttng clear 'session_d82r3niz'
# lttng rotate 'session_d82r3niz' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_d82r3niz'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_tmhct254_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_shgxmtpa_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_j01r_8vb_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_fxuomm0f_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tmhct254_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_shgxmtpa_start_tracing
# [2704] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_j01r_8vb_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fxuomm0f_done_tracing
# lttng stop 'session_d82r3niz'

ok 114 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
# lttng destroy session_d82r3niz --no-wait
PASS: tools/clear/test_ust.py 114 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1245.9976
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
# lttng create session_rnh5ew85 --output /tmp/lttng_test_env_homexz4xop3r/trace9ncdq4n4
# lttng enable-channel --session session_rnh5ew85 --userspace channel_6vwvrrpm --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_rnh5ew85 --channel channel_6vwvrrpm --userspace tp:tptest
# lttng start 'session_rnh5ew85'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_5n4yk8l6_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_0nzs3nnh_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_hxgxm7t2_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_pxrgkxll_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5n4yk8l6_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_0nzs3nnh_start_tracing
# [2713] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hxgxm7t2_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pxrgkxll_done_tracing
# lttng stop 'session_rnh5ew85'
# lttng clear 'session_rnh5ew85'
# lttng rotate 'session_rnh5ew85' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_rnh5ew85'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_tymhcjw7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_zpu394se_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_cgh9dr6z_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ux4_w4fp_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tymhcjw7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_zpu394se_start_tracing
# [2720] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cgh9dr6z_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ux4_w4fp_done_tracing
# lttng rotate 'session_rnh5ew85' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_wwjhz6tt_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_9r8m0k12_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_60x_6xch_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_wg_ea3pc_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wwjhz6tt_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_9r8m0k12_start_tracing
# [2724] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_60x_6xch_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wg_ea3pc_done_tracing
# lttng stop 'session_rnh5ew85'

ok 115 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
# lttng destroy session_rnh5ew85 --no-wait
PASS: tools/clear/test_ust.py 115 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1251.97232
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': True}

ok 116 # Skip: Disabled for tests with rotate_before or rotate_after
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 116 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 117 # Skip: Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 117 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 118 # Skip: Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 118 # SKIP : Disabled for tests with rotate_before or rotate_after
# lttng create session_2k281li1 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_2k281li1 --userspace channel_glh2cthw --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_2k281li1 --channel channel_glh2cthw --userspace tp:tptest
# lttng start 'session_2k281li1'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_2tq91f3g_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_j39xqvqu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zsmyo82i_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_jy7ag10e_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2tq91f3g_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_j39xqvqu_start_tracing
# [2733] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zsmyo82i_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_jy7ag10e_done_tracing
# lttng clear 'session_2k281li1'
# lttng rotate 'session_2k281li1' 
# lttng stop 'session_2k281li1'
# lttng destroy session_2k281li1 --no-wait
ok 119 # Skip: test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 119 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
ok 120 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 120 - Received 0 events, expected 0
---
  duration_ms: 1313.0482
...
# lttng create session_abaqe8yu --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_abaqe8yu --userspace channel_pt2ekk7k --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_abaqe8yu --channel channel_pt2ekk7k --userspace tp:tptest
# lttng start 'session_abaqe8yu'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_11657gu8_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_dvr_33vb_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_j9wf8e35_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_lmkr3mwu_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_11657gu8_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_dvr_33vb_start_tracing
# [2744] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_j9wf8e35_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lmkr3mwu_done_tracing
# lttng rotate 'session_abaqe8yu' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_zkcttaec_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_59fom8jx_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_uxwzbc7t_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_yeue5whl_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zkcttaec_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_59fom8jx_start_tracing
# [2748] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_uxwzbc7t_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yeue5whl_done_tracing
# lttng clear 'session_abaqe8yu'
# lttng rotate 'session_abaqe8yu' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_828eyo2t_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mo6famgh_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_pbs6b1t2_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_cc6zs892_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_828eyo2t_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mo6famgh_start_tracing
# [2753] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pbs6b1t2_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cc6zs892_done_tracing
# lttng stop 'session_abaqe8yu'
# lttng destroy session_abaqe8yu --no-wait

ok 121 - Received 4 events, expected 4
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 121 - Received 4 events, expected 4
---
  duration_ms: 2257.93884
...
# lttng create session_b7bw1vxc --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_b7bw1vxc --userspace channel_30mgz3br --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_b7bw1vxc --channel channel_30mgz3br --userspace tp:tptest
# lttng start 'session_b7bw1vxc'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_nnwfx78f_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7em1q5b9_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_35zfmytq_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ullw4r6c_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nnwfx78f_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7em1q5b9_start_tracing
# [2762] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_35zfmytq_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ullw4r6c_done_tracing
# lttng clear 'session_b7bw1vxc'
# lttng rotate 'session_b7bw1vxc' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_n0w8rtmd_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_gwx085d0_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_5km41r2w_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_zmt0u5g0_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_n0w8rtmd_ready
# [2767] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_gwx085d0_start_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5km41r2w_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zmt0u5g0_done_tracing
# lttng rotate 'session_b7bw1vxc' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_9og9rnyn_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3hcxchzb_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ppi6m1ax_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_idfyab1e_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9og9rnyn_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3hcxchzb_start_tracing
# [2771] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ppi6m1ax_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_idfyab1e_done_tracing
# lttng stop 'session_b7bw1vxc'
# lttng destroy session_b7bw1vxc --no-wait

ok 122 - Received 5 events, expected 5
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}PASS: tools/clear/test_ust.py 122 - Received 5 events, expected 5

---
  duration_ms: 2087.91032
...
# lttng create session_qm811urx --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_qm811urx --userspace channel_fqlk9fgc --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_qm811urx --channel channel_fqlk9fgc --userspace tp:tptest
# lttng start 'session_qm811urx'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_1qtp235h_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7a3bqsow_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_hl7f8w2k_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_uqqege6__done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1qtp235h_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7a3bqsow_start_tracing

pid 2782's current affinity list: 0-3
# [2782] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hl7f8w2k_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_uqqege6__done_tracing
# lttng clear 'session_qm811urx'
# lttng rotate 'session_qm811urx' 
# lttng stop 'session_qm811urx'
# lttng start 'session_qm811urx'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__o00tnkj_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_y8a4uziq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_0o9bmn6h_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_xcd2q1ft_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__o00tnkj_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_y8a4uziq_start_tracing
pid 2782's new affinity list: 0
pid 2790's current affinity list: 0-3
# [2790] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0o9bmn6h_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xcd2q1ft_done_tracing
# lttng stop 'session_qm811urx'
# lttng destroy session_qm811urx --no-wait
pid 2790's new affinity list: 0
ok 123 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 123 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 1312.02592
...
# lttng create session_gd6e5rhd --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_gd6e5rhd --userspace channel_9nt5xxm4 --buffer-allocation=per-cpu --buffer-ownership=user --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_gd6e5rhd --channel channel_9nt5xxm4 --userspace tp:tptest
# lttng start 'session_gd6e5rhd'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_k5wmqq___ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_suoavwpq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app__gb7aiem_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rzu5pug5_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k5wmqq___ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_suoavwpq_start_tracing

pid 2802's current affinity list: 0-3
# [2802] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app__gb7aiem_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rzu5pug5_done_tracing
# lttng clear 'session_gd6e5rhd'
# lttng rotate 'session_gd6e5rhd' 
# lttng stop 'session_gd6e5rhd'
# lttng start 'session_gd6e5rhd'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_rhzklm4j_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ro8xojc7_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_s282ih5r_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9uyde4h4_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rhzklm4j_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ro8xojc7_start_tracing
# [2810] Tracing started
pid 2802's new affinity list: 0
pid 2810's current affinity list: 0-3
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_s282ih5r_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9uyde4h4_done_tracing
# lttng stop 'session_gd6e5rhd'
# lttng destroy session_gd6e5rhd --no-wait
pid 2810's new affinity list: 0
ok 124 - First application received 0 events; Second application received 30 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 124 - First application received 0 events; Second application received 30 events
---
  duration_ms: 1794.764239
...
# lttng create session_o9s7bkco --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_o9s7bkco --userspace channel_kni1mfo4 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_o9s7bkco --channel channel_kni1mfo4 --userspace tp:tptest
# lttng start 'session_o9s7bkco'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_bjdt0y1r_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_hpdxu90e_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_vbfo76xh_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_336je4r7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bjdt0y1r_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_hpdxu90e_start_tracing
# [2820] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vbfo76xh_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_336je4r7_done_tracing
# lttng clear 'session_o9s7bkco'
# lttng rotate 'session_o9s7bkco' 
# lttng stop 'session_o9s7bkco'
# lttng destroy session_o9s7bkco --no-wait

ok 125 - Received 0 events, expected 0
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 125 - Received 0 events, expected 0
---
  duration_ms: 1273.46472
...

# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
ok 126 # Skip: test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 126 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
ok 127 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 127 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 128 # Skip: test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 128 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
# lttng create session_nnfbhtt3 --output /tmp/lttng_test_env_homexz4xop3r/traceejzw4_ac
# lttng enable-channel --session session_nnfbhtt3 --userspace channel_fqj56zmw --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_nnfbhtt3 --channel channel_fqj56zmw --userspace tp:tptest
# lttng start 'session_nnfbhtt3'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_mjjadsq4_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_77v57cg2_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_cfkqr9_t_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_c_vx0vx5_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mjjadsq4_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_77v57cg2_start_tracing
# [2831] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cfkqr9_t_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_c_vx0vx5_done_tracing
# lttng clear 'session_nnfbhtt3'
# lttng rotate 'session_nnfbhtt3' 
# lttng stop 'session_nnfbhtt3'
ok 129 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# lttng destroy session_nnfbhtt3 --no-wait
SKIP: tools/clear/test_ust.py 129 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 130 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 130 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 1184.26436
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
# lttng create session_s4cg4yve --output /tmp/lttng_test_env_homexz4xop3r/tracevrrgvqrk
# lttng enable-channel --session session_s4cg4yve --userspace channel_470jrnlq --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_s4cg4yve --channel channel_470jrnlq --userspace tp:tptest
# lttng start 'session_s4cg4yve'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_l85wygnl_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_lfa9l7t3_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_hj5thwik_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_43d64km1_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_l85wygnl_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_lfa9l7t3_start_tracing
# [2842] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hj5thwik_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_43d64km1_done_tracing
# lttng rotate 'session_s4cg4yve' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_6e8mzkij_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_x9k2_3qf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_e6y3ujjf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_iglgutqn_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6e8mzkij_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_x9k2_3qf_start_tracing
# [2846] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_e6y3ujjf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_iglgutqn_done_tracing
# lttng clear 'session_s4cg4yve'
# lttng rotate 'session_s4cg4yve' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_08_73t1d_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_1l_apgcy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_f15d4ry6_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_17dgukd9_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_08_73t1d_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_1l_apgcy_start_tracing
# [2851] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_f15d4ry6_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_17dgukd9_done_tracing
# lttng stop 'session_s4cg4yve'

ok 131 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
# lttng destroy session_s4cg4yve --no-wait
PASS: tools/clear/test_ust.py 131 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1858.0668
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
# lttng create session_6rrunf1a --output /tmp/lttng_test_env_homexz4xop3r/trace249xwwdo
# lttng enable-channel --session session_6rrunf1a --userspace channel_eq6xy473 --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_6rrunf1a --channel channel_eq6xy473 --userspace tp:tptest
# lttng start 'session_6rrunf1a'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_tjrpymts_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app__99easfb_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_fs0s9so0_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_et1yiq8r_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tjrpymts_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app__99easfb_start_tracing
# [2860] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fs0s9so0_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_et1yiq8r_done_tracing
# lttng clear 'session_6rrunf1a'
# lttng rotate 'session_6rrunf1a' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_3kyxdoaq_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_rq_amlyf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_1femqp17_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_n67k44es_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3kyxdoaq_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_rq_amlyf_start_tracing
# [2865] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1femqp17_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_n67k44es_done_tracing
# lttng rotate 'session_6rrunf1a' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_nn2jclgx_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_diwxxp54_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_t7pf1xdz_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_y7wmdvjq_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nn2jclgx_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_diwxxp54_start_tracing
# [2869] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t7pf1xdz_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_y7wmdvjq_done_tracing
# lttng stop 'session_6rrunf1a'

ok 132 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
# lttng destroy session_6rrunf1a --no-wait
PASS: tools/clear/test_ust.py 132 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1836.25724
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}

ok 133 # Skip: Disabled for tests with rotate_before or rotate_after
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerUID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 133 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 134 # Skip: Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 134 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 135 # Skip: Disabled for tests with rotate_before or rotate_after
SKIP: tools/clear/test_ust.py 135 # SKIP : Disabled for tests with rotate_before or rotate_after
# lttng create session_0pxsvx2c --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_0pxsvx2c --userspace channel_qo7l7aro --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_0pxsvx2c --channel channel_qo7l7aro --userspace tp:tptest
# lttng start 'session_0pxsvx2c'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_4uggwqkv_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_5f1d4ha6_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_u0zsi_8x_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_dvwez35o_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4uggwqkv_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_5f1d4ha6_start_tracing
# [2878] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_u0zsi_8x_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_dvwez35o_done_tracing
# lttng stop 'session_0pxsvx2c'
# lttng clear 'session_0pxsvx2c'
# lttng start 'session_0pxsvx2c'
# lttng stop 'session_0pxsvx2c'
# lttng destroy session_0pxsvx2c --no-wait
ok 136 # Skip: test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 136 # SKIP : test_ust_local_snapshot_per_pid does not run with buffer sharing policy=`BufferSharingPolicy.PerUID`
ok 137 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 137 - Received 0 events, expected 0
---
  duration_ms: 753.725
...
# lttng create session_fnznb72t --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_fnznb72t --userspace channel_clrf4exd --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_fnznb72t --channel channel_clrf4exd --userspace tp:tptest
# lttng start 'session_fnznb72t'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_obl8b913_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_u24jaqtr_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_5cop22je_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_7tfm_dg6_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_obl8b913_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_u24jaqtr_start_tracing
# [2890] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5cop22je_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7tfm_dg6_done_tracing
# lttng rotate 'session_fnznb72t' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_sy3ft137_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_updplvbs_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_t8vupcbu_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_owjy5xit_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sy3ft137_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_updplvbs_start_tracing
# [2894] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t8vupcbu_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_owjy5xit_done_tracing
# lttng stop 'session_fnznb72t'
# lttng clear 'session_fnznb72t'
# lttng start 'session_fnznb72t'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_b18cwq9t_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_wdnzkalu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_whbs5sn0_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_mr5zbj1w_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b18cwq9t_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_wdnzkalu_start_tracing
# [2900] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_whbs5sn0_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mr5zbj1w_done_tracing
# lttng stop 'session_fnznb72t'
# lttng destroy session_fnznb72t --no-wait

ok 138 - Received 4 events, expected 4
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 138 - Received 4 events, expected 4
---
  duration_ms: 1557.13812
...
# lttng create session_nf1fgzkn --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_nf1fgzkn --userspace channel_fl30n5n5 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_nf1fgzkn --channel channel_fl30n5n5 --userspace tp:tptest
# lttng start 'session_nf1fgzkn'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_0zkviqjw_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_k0f0kdil_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_k6wk7q7b_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_k85974w7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0zkviqjw_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_k0f0kdil_start_tracing
# [2909] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k6wk7q7b_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k85974w7_done_tracing
# lttng stop 'session_nf1fgzkn'
# lttng clear 'session_nf1fgzkn'
# lttng start 'session_nf1fgzkn'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_b04dafcj_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_z_rc3t4r_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_e4lqtxpe_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_lb4bxn9d_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b04dafcj_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_z_rc3t4r_start_tracing
# [2915] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_e4lqtxpe_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lb4bxn9d_done_tracing
# lttng rotate 'session_nf1fgzkn' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_v307v5ux_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_zd5ticvq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_10urrve5_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_tnhkvl1t_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_v307v5ux_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_zd5ticvq_start_tracing
# [2919] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_10urrve5_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tnhkvl1t_done_tracing
# lttng stop 'session_nf1fgzkn'
# lttng destroy session_nf1fgzkn --no-wait

ok 139 - Received 5 events, expected 5
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 139 - Received 5 events, expected 5
---
  duration_ms: 1687.79748
...
# lttng create session_9pr3ka28 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_9pr3ka28 --userspace channel_a4g9d82t --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_9pr3ka28 --channel channel_a4g9d82t --userspace tp:tptest
# lttng start 'session_9pr3ka28'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__i5egs83_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mbvwpznp_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_5aqttb1w_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_3dzmxu8e_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__i5egs83_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mbvwpznp_start_tracing

pid 2930's current affinity list: 0-3
# [2930] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5aqttb1w_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3dzmxu8e_done_tracing
# lttng stop 'session_9pr3ka28'
# lttng clear 'session_9pr3ka28'
# lttng start 'session_9pr3ka28'
# lttng stop 'session_9pr3ka28'
# lttng start 'session_9pr3ka28'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_xk7mc621_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_py1mri8t_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app__v0zhqvm_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_q9hup7oh_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xk7mc621_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_py1mri8t_start_tracing
pid 2930's new affinity list: 0
pid 2939's current affinity list: 0-3
# [2939] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app__v0zhqvm_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q9hup7oh_done_tracing
# lttng stop 'session_9pr3ka28'
# lttng destroy session_9pr3ka28 --no-wait
pid 2939's new affinity list: 0
ok 140 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 140 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 836.21532
...
# lttng create session_0hdao9b7 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_0hdao9b7 --userspace channel_nnsgx0l5 --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_0hdao9b7 --channel channel_nnsgx0l5 --userspace tp:tptest
# lttng start 'session_0hdao9b7'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ihq97dwo_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_1ny98nd6_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_cgl5i95f_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rt73slpa_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ihq97dwo_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_1ny98nd6_start_tracing

pid 2951's current affinity list: 0-3
# [2951] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cgl5i95f_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rt73slpa_done_tracing
# lttng stop 'session_0hdao9b7'
# lttng clear 'session_0hdao9b7'
# lttng start 'session_0hdao9b7'
# lttng stop 'session_0hdao9b7'
# lttng start 'session_0hdao9b7'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_jabifzy8_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_uwvp70z9_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_aihuo8of_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_krm0uu1e_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_jabifzy8_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_uwvp70z9_start_tracing
pid 2951's new affinity list: 0
pid 2960's current affinity list: 0-3
# [2960] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_aihuo8of_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_krm0uu1e_done_tracing# lttng stop 'session_0hdao9b7'

# lttng destroy session_0hdao9b7 --no-wait
pid 2960's new affinity list: 0
ok 141 - First application received 0 events; Second application received 16 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 141 - First application received 0 events; Second application received 16 events
---
  duration_ms: 1144.73212
...
# lttng create session_t9pwm6ah --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_t9pwm6ah --userspace channel_387nvfbx --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_t9pwm6ah --channel channel_387nvfbx --userspace tp:tptest
# lttng start 'session_t9pwm6ah'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_t67rbuub_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7ekda60q_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ezr_dn0q_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_y0fvxfz7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t67rbuub_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7ekda60q_start_tracing
# [2970] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ezr_dn0q_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_y0fvxfz7_done_tracing
# lttng stop 'session_t9pwm6ah'
# lttng clear 'session_t9pwm6ah'
# lttng start 'session_t9pwm6ah'
# lttng stop 'session_t9pwm6ah'
# lttng destroy session_t9pwm6ah --no-wait

ok 142 - Received 0 events, expected 0
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 142 - Received 0 events, expected 0
---
  duration_ms: 707.8742
...
# lttng create session_a2hmmqw7 --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_a2hmmqw7 --userspace channel_k2c1ntca --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_a2hmmqw7 --channel channel_k2c1ntca --userspace tp:tptest
# lttng start 'session_a2hmmqw7'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_n4p8bvns_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_o91_bwin_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_8lfmr46e_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_2vdh__ms_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_n4p8bvns_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_o91_bwin_start_tracing
# [2982] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8lfmr46e_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2vdh__ms_done_tracing
# lttng stop 'session_a2hmmqw7'
# lttng clear 'session_a2hmmqw7'
# lttng start 'session_a2hmmqw7'
# lttng stop 'session_a2hmmqw7'
# lttng destroy session_a2hmmqw7
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}

ok 143 - Trace is empty
PASS: tools/clear/test_ust.py 143 - Trace is empty
---
  duration_ms: 1323.41172
...
# lttng create session_rcpirv3a --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_rcpirv3a --userspace channel_ez9b47g0 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_rcpirv3a --channel channel_ez9b47g0 --userspace tp:tptest
# lttng start 'session_rcpirv3a'
# Session 'session_rcpirv3a' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_rcpirv3a' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ptku9ut4_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_xlseticl_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_e_ladkco_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_846_ioqs_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ptku9ut4_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_xlseticl_start_tracing
# [2994] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_e_ladkco_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_846_ioqs_done_tracing
# lttng stop 'session_rcpirv3a'
# lttng destroy session_rcpirv3a
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_rcpirv3a' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 144 - Received 10 events, expected 10, connected_after=False
PASS: tools/clear/test_ust.py 144 - Received 10 events, expected 10, connected_after=False
---
  duration_ms: 1747.0908
...
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
# lttng create session_glci3vvp --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_glci3vvp --userspace channel_qxai31qm --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_glci3vvp --channel channel_qxai31qm --userspace tp:tptest
# lttng start 'session_glci3vvp'
# Session 'session_glci3vvp' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_glci3vvp' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ou7ru6xt_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_er48lnww_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_17j51v0e_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_cx3i64fe_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ou7ru6xt_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_er48lnww_start_tracing
# [3003] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_17j51v0e_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cx3i64fe_done_tracing
# lttng stop 'session_glci3vvp'
# lttng clear 'session_glci3vvp'
# lttng start 'session_glci3vvp'
# lttng stop 'session_glci3vvp'
# lttng destroy session_glci3vvp
# Checking for connected clients at 'net://localhost:41191'

ok 145 - Received 0 events, expected 0, connected_after=False
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 145 - Received 0 events, expected 0, connected_after=False
---
  duration_ms: 1339.94964
...
# lttng create session_gmhcr9fi --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_gmhcr9fi --userspace channel_1qfs1vnn --buffer-allocation=per-cpu --buffer-ownership=process
# lttng add-context --userspace --channel 'channel_1qfs1vnn' --type vpid
# lttng enable-event --session session_gmhcr9fi --channel channel_1qfs1vnn --userspace tp:tptest
# lttng start 'session_gmhcr9fi'
# Session 'session_gmhcr9fi' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_gmhcr9fi' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 12 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_1n5ivf0h_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_vjfy9gz6_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_99focxl3_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_c_slxmf7_done_tracing --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_srpht6q7_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 12 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1n5ivf0h_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_vjfy9gz6_start_tracing
# [3016] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_99focxl3_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_c_slxmf7_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_srpht6q7_exit
# lttng stop 'session_gmhcr9fi'
# lttng clear 'session_gmhcr9fi'
# lttng start 'session_gmhcr9fi'
# lttng enable-event --session session_gmhcr9fi --channel channel_1qfs1vnn --userspace lttng_ust_statedump:start --filter '$ctx.vpid == 3016'
# lttng enable-event --session session_gmhcr9fi --channel channel_1qfs1vnn --userspace lttng_ust_statedump:end --filter '$ctx.vpid == 3016'
# lttng regenerate statedump -s session_gmhcr9fi
# lttng stop 'session_gmhcr9fi'
# lttng destroy session_gmhcr9fi
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_gmhcr9fi' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 146 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 146 - Received 12 events, expected 12, connected_after=False
---
  duration_ms: 3579.97968
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}...

# lttng create session_iicq62kh --output /tmp/lttng_test_env_homexz4xop3r/traceou398klu
# lttng enable-channel --session session_iicq62kh --userspace channel_1nu80ttk --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_iicq62kh --channel channel_1nu80ttk --userspace tp:tptest
# lttng start 'session_iicq62kh'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_iaqkwbcu_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_uqbqyzgx_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zuj5xfo5_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rvphcvky_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_iaqkwbcu_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_uqbqyzgx_start_tracing
# [3031] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zuj5xfo5_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rvphcvky_done_tracing
# lttng stop 'session_iicq62kh'
# lttng clear 'session_iicq62kh'
# lttng start 'session_iicq62kh'
# lttng stop 'session_iicq62kh'

ok 147 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
# lttng destroy session_iicq62kh --no-wait
PASS: tools/clear/test_ust.py 147 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 566.84284
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
# lttng create session_x798ub18 --output /tmp/lttng_test_env_homexz4xop3r/tracea_u_m51u
# lttng enable-channel --session session_x798ub18 --userspace channel_wnb0o2qf --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_x798ub18 --channel channel_wnb0o2qf --userspace tp:tptest
# lttng start 'session_x798ub18'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_uphvo_uo_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_8swbx8cx_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_b8jbeyog_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_zcfq35t0_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_uphvo_uo_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_8swbx8cx_start_tracing
# [3043] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b8jbeyog_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zcfq35t0_done_tracing
# lttng rotate 'session_x798ub18' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_4am_g1y7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_je1hqh2q_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_boot5wjo_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_s3men_v0_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4am_g1y7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_je1hqh2q_start_tracing
# [3047] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_boot5wjo_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_s3men_v0_done_tracing
# lttng stop 'session_x798ub18'
# lttng clear 'session_x798ub18'
# lttng start 'session_x798ub18'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_7f5brmux_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_c1uwz8ak_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_p0123lm6_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_3mrxjlij_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7f5brmux_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_c1uwz8ak_start_tracing
# [3053] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_p0123lm6_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3mrxjlij_done_tracing
# lttng stop 'session_x798ub18'

ok 148 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
# lttng destroy session_x798ub18 --no-wait
PASS: tools/clear/test_ust.py 148 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1246.92232
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
# lttng create session_wodmsse6 --output /tmp/lttng_test_env_homexz4xop3r/tracewjh0yqai
# lttng enable-channel --session session_wodmsse6 --userspace channel_jimbqytv --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_wodmsse6 --channel channel_jimbqytv --userspace tp:tptest
# lttng start 'session_wodmsse6'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_sb0ce_l1_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_w70vaarg_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_0g1tcirc_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_oyb4pu_i_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sb0ce_l1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_w70vaarg_start_tracing
# [3062] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0g1tcirc_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_oyb4pu_i_done_tracing
# lttng stop 'session_wodmsse6'
# lttng clear 'session_wodmsse6'
# lttng start 'session_wodmsse6'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_3s09u6e__ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_tjbrmuwx_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_p660r_fw_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_cxs45o1d_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3s09u6e__ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_tjbrmuwx_start_tracing
# [3068] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_p660r_fw_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cxs45o1d_done_tracing
# lttng rotate 'session_wodmsse6' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_lpskaza3_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_wo4zsm5h_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_a5sk9y9c_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rb8x6r1d_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lpskaza3_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_wo4zsm5h_start_tracing
# [3072] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_a5sk9y9c_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rb8x6r1d_done_tracing
# lttng stop 'session_wodmsse6'

ok 149 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
# lttng destroy session_wodmsse6 --no-wait
PASS: tools/clear/test_ust.py 149 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1256.03204
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
# lttng create session_qem8c44l --output /tmp/lttng_test_env_homexz4xop3r/tracefkr14kjf
# lttng enable-channel --session session_qem8c44l --userspace channel_ljwbhmds --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_qem8c44l --channel channel_ljwbhmds --userspace tp:tptest
# lttng start 'session_qem8c44l'
# lttng stop 'session_qem8c44l'
# lttng clear 'session_qem8c44l'
# lttng start 'session_qem8c44l'
# lttng stop 'session_qem8c44l'

ok 150 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracefkr14kjf`
PASS: tools/clear/test_ust.py 150 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracefkr14kjf`
---
  duration_ms: 550.16268
...
# lttng destroy session_qem8c44l --no-wait
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': True}

ok 151 # Skip: test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 151 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# lttng create session_1teujr1c --output /tmp/lttng_test_env_homexz4xop3r/tracei5hg620w --snapshot
# lttng enable-channel --session session_1teujr1c --userspace channel_1zifuf3l --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_1teujr1c --channel channel_1zifuf3l --userspace tp:tptest
# lttng start 'session_1teujr1c'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_xlpsbshp_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_bdi4a4u1_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_vxooue_4_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_cznkr61v_done_tracing --sync-before-last-event /tmp/lttng_test_env_homexz4xop3r/app_mcq2n497_last_event --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_qwqmx3ik_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xlpsbshp_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_bdi4a4u1_start_tracing
# [3090] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vxooue_4_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mcq2n497_last_event
# [3090] Before last event done
# lttng snapshot record --session='session_1teujr1c' 
# lttng stop 'session_1teujr1c'
# lttng start 'session_1teujr1c'
# lttng stop 'session_1teujr1c'
# lttng clear 'session_1teujr1c'
# lttng start 'session_1teujr1c'
# lttng snapshot record --session='session_1teujr1c' /tmp/snapshot2vyh_4xp8
# lttng stop 'session_1teujr1c'
# lttng start 'session_1teujr1c'
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cznkr61v_done_tracing# [3090] Tracing done
# lttng snapshot record --session='session_1teujr1c' /tmp/snapshot3a410jpt2

# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_qwqmx3ik_exit
# lttng stop 'session_1teujr1c'
ok 152 # Skip: test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 152 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
ok 153 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 153 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1
---
  duration_ms: 152.46216
...
# lttng create session_jjlvmue8 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_jjlvmue8 --userspace channel_ahnmb299 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_jjlvmue8 --channel channel_ahnmb299 --userspace tp:tptest
# lttng start 'session_jjlvmue8'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_h2fbl11s_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_la5debp9_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ko1dcs81_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_vgrks63q_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_h2fbl11s_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_la5debp9_start_tracing
# [3108] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ko1dcs81_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vgrks63q_done_tracing
# lttng clear 'session_jjlvmue8'
# lttng stop 'session_jjlvmue8'
# lttng destroy session_jjlvmue8 --no-wait

ok 154 - Received 0 events, expected 0
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 154 - Received 0 events, expected 0
---
  duration_ms: 740.9348
...
# lttng create session_ym44l0lo --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_ym44l0lo --userspace channel_hamo1dpb --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_ym44l0lo --channel channel_hamo1dpb --userspace tp:tptest
# lttng start 'session_ym44l0lo'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_xpm6wiqq_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mhmhazj__start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_n1_ww_zz_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_7qo_uo29_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xpm6wiqq_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mhmhazj__start_tracing
# [3118] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_n1_ww_zz_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7qo_uo29_done_tracing
# lttng rotate 'session_ym44l0lo' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_6c_blsl__ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_x7n0jlnu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_84_x_d0x_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_kf0sqfnt_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6c_blsl__ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_x7n0jlnu_start_tracing
# [3122] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_84_x_d0x_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kf0sqfnt_done_tracing
# lttng clear 'session_ym44l0lo'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_sxdq52b1_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ysyel1tm_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2ej9n3du_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_zqxhf4yb_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sxdq52b1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ysyel1tm_start_tracing
# [3126] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2ej9n3du_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zqxhf4yb_done_tracing
# lttng stop 'session_ym44l0lo'
# lttng destroy session_ym44l0lo --no-wait

ok 155 - Received 4 events, expected 4
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 155 - Received 4 events, expected 4
---
  duration_ms: 1526.82968
...
# lttng create session_jak3z29o --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_jak3z29o --userspace channel_344gz7to --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_jak3z29o --channel channel_344gz7to --userspace tp:tptest
# lttng start 'session_jak3z29o'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__g3w0cca_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_p81m1nxt_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_s332rr4m_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_cgjzt2av_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__g3w0cca_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_p81m1nxt_start_tracing
# [3135] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_s332rr4m_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cgjzt2av_done_tracing
# lttng clear 'session_jak3z29o'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_vgupi0hc_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_sds2gbzx_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_21peonpe_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_xoqgh6wx_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vgupi0hc_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_sds2gbzx_start_tracing
# [3139] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_21peonpe_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xoqgh6wx_done_tracing
# lttng rotate 'session_jak3z29o' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_go4i1yf0_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_grxk21u0_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_fmb3fz0u_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_gak5uga8_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_go4i1yf0_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_grxk21u0_start_tracing
# [3143] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fmb3fz0u_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gak5uga8_done_tracing
# lttng stop 'session_jak3z29o'
# lttng destroy session_jak3z29o --no-wait
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}

ok 156 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 156 - Received 5 events, expected 5
---
  duration_ms: 1394.73424
...
# lttng create session_4epjga0e --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_4epjga0e --userspace channel_v24klvsi --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_4epjga0e --channel channel_v24klvsi --userspace tp:tptest
# lttng start 'session_4epjga0e'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_x61nyz8a_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ph3cqa2l_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_b9ifsdsi_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_kszoqnhs_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x61nyz8a_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ph3cqa2l_start_tracing

pid 3154's current affinity list: 0-3
# [3154] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b9ifsdsi_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kszoqnhs_done_tracing
# lttng clear 'session_4epjga0e'
# lttng stop 'session_4epjga0e'
# lttng start 'session_4epjga0e'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_6_rsf0iv_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_d8ey1jni_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_43jbfobh_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_lh7nt8pr_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6_rsf0iv_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_d8ey1jni_start_tracing
pid 3154's new affinity list: 0
pid 3161's current affinity list: 0-3
# [3161] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_43jbfobh_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lh7nt8pr_done_tracing
# lttng stop 'session_4epjga0e'
# lttng destroy session_4epjga0e --no-wait
pid 3161's new affinity list: 0
ok 157 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 157 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 825.70228
...
# lttng create session_l1wglv8x --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_l1wglv8x --userspace channel_asbinqf7 --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_l1wglv8x --channel channel_asbinqf7 --userspace tp:tptest
# lttng start 'session_l1wglv8x'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_78tjm_2a_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_acsmev7a_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2cv9xmxb_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_b59icm31_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_78tjm_2a_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_acsmev7a_start_tracing

pid 3173's current affinity list: 0-3
# [3173] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2cv9xmxb_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b59icm31_done_tracing
# lttng clear 'session_l1wglv8x'
# lttng stop 'session_l1wglv8x'
# lttng start 'session_l1wglv8x'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_cxk1ulev_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_fbdt1yin_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_cepaha_u_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_suwjdw5a_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cxk1ulev_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_fbdt1yin_start_tracing
pid 3173's new affinity list: 0
pid 3180's current affinity list: 0-3
# [3180] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cepaha_u_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_suwjdw5a_done_tracing
# lttng stop 'session_l1wglv8x'
# lttng destroy session_l1wglv8x --no-wait
pid 3180's new affinity list: 0
ok 158 - First application received 0 events; Second application received 16 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 158 - First application received 0 events; Second application received 16 events
---
  duration_ms: 970.29956
...
# lttng create session_amsfmq2y --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_amsfmq2y --userspace channel_zjkufyet --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_amsfmq2y --channel channel_zjkufyet --userspace tp:tptest
# lttng start 'session_amsfmq2y'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_qwd8g8r3_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_d_d67gfc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_00jnam0m_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_z9govi15_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qwd8g8r3_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_d_d67gfc_start_tracing
# [3190] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_00jnam0m_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_z9govi15_done_tracing
# lttng clear 'session_amsfmq2y'
# lttng stop 'session_amsfmq2y'
# lttng destroy session_amsfmq2y --no-wait

ok 159 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 159 - Received 0 events, expected 0
---
  duration_ms: 689.68908
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}...

# lttng create session_ytyx15i4 --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_ytyx15i4 --userspace channel_kjxd3029 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_ytyx15i4 --channel channel_kjxd3029 --userspace tp:tptest
# lttng start 'session_ytyx15i4'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_93hyjxlo_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_4ekhy4jh_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2do4d_6s_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_vs1kihie_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_93hyjxlo_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_4ekhy4jh_start_tracing
# [3200] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2do4d_6s_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vs1kihie_done_tracing
# lttng clear 'session_ytyx15i4'
# lttng stop 'session_ytyx15i4'
# lttng destroy session_ytyx15i4

ok 160 - Trace is empty
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 160 - Trace is empty
---
  duration_ms: 1101.95428
...
# lttng create session_vhnzf86n --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_vhnzf86n --userspace channel_ezhqp56k --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_vhnzf86n --channel channel_ezhqp56k --userspace tp:tptest
# lttng start 'session_vhnzf86n'
# Session 'session_vhnzf86n' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_vhnzf86n' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_7r9rf4e9_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ypbmsj1g_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2bp42399_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_46jrnjzu_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7r9rf4e9_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ypbmsj1g_start_tracing
# [3210] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2bp42399_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_46jrnjzu_done_tracing
# lttng stop 'session_vhnzf86n'
# lttng destroy session_vhnzf86n
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_vhnzf86n' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 161 - Received 10 events, expected 10, connected_after=False
PASS: tools/clear/test_ust.py 161 - Received 10 events, expected 10, connected_after=False
---
  duration_ms: 1760.44632
...
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
# lttng create session_kw8quxdc --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_kw8quxdc --userspace channel_np23ervv --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_kw8quxdc --channel channel_np23ervv --userspace tp:tptest
# lttng start 'session_kw8quxdc'
# Session 'session_kw8quxdc' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_kw8quxdc' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_6idnn3x3_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_59g9zp3j_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_gq2m426r_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_kerhcrkr_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6idnn3x3_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_59g9zp3j_start_tracing
# [3219] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gq2m426r_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kerhcrkr_done_tracing
# lttng clear 'session_kw8quxdc'
# lttng stop 'session_kw8quxdc'
# lttng destroy session_kw8quxdc
# Checking for connected clients at 'net://localhost:41191'

ok 162 - Received 0 events, expected 0, connected_after=False
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 162 - Received 0 events, expected 0, connected_after=False
---
  duration_ms: 1319.93668
...
# lttng create session_eb2gfzr4 --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_eb2gfzr4 --userspace channel_wlcpfa46 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng add-context --userspace --channel 'channel_wlcpfa46' --type vpid
# lttng enable-event --session session_eb2gfzr4 --channel channel_wlcpfa46 --userspace tp:tptest
# lttng start 'session_eb2gfzr4'
# Session 'session_eb2gfzr4' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_eb2gfzr4' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 12 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_d81csmmt_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_bcb5njtd_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_x_mgx4b9_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_tp4pr9w__done_tracing --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_30tm_izk_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 12 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_d81csmmt_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_bcb5njtd_start_tracing
# [3230] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x_mgx4b9_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tp4pr9w__done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_30tm_izk_exit
# lttng clear 'session_eb2gfzr4'
# lttng enable-event --session session_eb2gfzr4 --channel channel_wlcpfa46 --userspace lttng_ust_statedump:start --filter '$ctx.vpid == 3230'
# lttng enable-event --session session_eb2gfzr4 --channel channel_wlcpfa46 --userspace lttng_ust_statedump:end --filter '$ctx.vpid == 3230'
# lttng regenerate statedump -s session_eb2gfzr4
# lttng stop 'session_eb2gfzr4'
# lttng destroy session_eb2gfzr4
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_eb2gfzr4' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 163 - Received 12 events, expected 12, connected_after=False
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 163 - Received 12 events, expected 12, connected_after=False
---
  duration_ms: 3528.51056
...
# lttng create session_6bu7c6uu --output /tmp/lttng_test_env_homexz4xop3r/tracel1e7r32a
# lttng enable-channel --session session_6bu7c6uu --userspace channel_2zanwbh5 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_6bu7c6uu --channel channel_2zanwbh5 --userspace tp:tptest
# lttng start 'session_6bu7c6uu'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_r1rhgjq6_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mrhwu7mh_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_fpkxu27a_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0l0cecgv_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r1rhgjq6_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mrhwu7mh_start_tracing
# [3243] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fpkxu27a_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0l0cecgv_done_tracing
# lttng clear 'session_6bu7c6uu'
# lttng stop 'session_6bu7c6uu'

ok 164 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
# lttng destroy session_6bu7c6uu --no-wait
PASS: tools/clear/test_ust.py 164 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 558.47428
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
# lttng create session_3g1cotqq --output /tmp/lttng_test_env_homexz4xop3r/tracedt0bb9lt
# lttng enable-channel --session session_3g1cotqq --userspace channel_289wjif6 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_3g1cotqq --channel channel_289wjif6 --userspace tp:tptest
# lttng start 'session_3g1cotqq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_1lei2b4q_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_8c51zsq4_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_qk32_3z7_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_89gcxr8e_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1lei2b4q_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_8c51zsq4_start_tracing
# [3253] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qk32_3z7_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_89gcxr8e_done_tracing
# lttng rotate 'session_3g1cotqq' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ym0081rb_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ofypup0d_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_1vqq1eq__before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ddg9_ks8_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ym0081rb_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ofypup0d_start_tracing
# [3257] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1vqq1eq__before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ddg9_ks8_done_tracing
# lttng clear 'session_3g1cotqq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_yb69fy41_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app__l89jhug_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_jyrw5iir_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_7lv5ushd_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yb69fy41_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app__l89jhug_start_tracing
# [3261] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_jyrw5iir_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7lv5ushd_done_tracing
# lttng stop 'session_3g1cotqq'

ok 165 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
# lttng destroy session_3g1cotqq --no-wait
PASS: tools/clear/test_ust.py 165 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1224.59916
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
# lttng create session_dv9hpaue --output /tmp/lttng_test_env_homexz4xop3r/traceovmz5xis
# lttng enable-channel --session session_dv9hpaue --userspace channel_2suqcugp --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_dv9hpaue --channel channel_2suqcugp --userspace tp:tptest
# lttng start 'session_dv9hpaue'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_7lbtdpsl_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_kn48tk2z_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2g0nskly_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ywezgkvh_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7lbtdpsl_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_kn48tk2z_start_tracing
# [3270] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2g0nskly_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ywezgkvh_done_tracing
# lttng clear 'session_dv9hpaue'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_r0espu8y_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_jlw2ihyi_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_j5d414n3_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_zq_pok2e_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r0espu8y_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_jlw2ihyi_start_tracing
# [3274] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_j5d414n3_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zq_pok2e_done_tracing
# lttng rotate 'session_dv9hpaue' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_tnbg_zh1_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_g14ew5eu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_pakn4pri_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_935i9lc0_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tnbg_zh1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_g14ew5eu_start_tracing
# [3278] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pakn4pri_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_935i9lc0_done_tracing
# lttng stop 'session_dv9hpaue'
# lttng destroy session_dv9hpaue --no-wait
ok 166 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events

PASS: tools/clear/test_ust.py 166 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1222.50344
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
# lttng create session_qnouckep --output /tmp/lttng_test_env_homexz4xop3r/tracezksf6wt7
# lttng enable-channel --session session_qnouckep --userspace channel_91fzgo7g --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_qnouckep --channel channel_91fzgo7g --userspace tp:tptest
# lttng start 'session_qnouckep'
# lttng clear 'session_qnouckep'
# lttng stop 'session_qnouckep'

ok 167 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracezksf6wt7`
PASS: tools/clear/test_ust.py 167 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/tracezksf6wt7`
---
  duration_ms: 541.64648
...
# lttng destroy session_qnouckep --no-wait
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}

ok 168 # Skip: test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 168 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# lttng create session_zr6unlrr --output /tmp/lttng_test_env_homexz4xop3r/trace5kkya4d5 --snapshot
# lttng enable-channel --session session_zr6unlrr --userspace channel_k9enkf8t --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_zr6unlrr --channel channel_k9enkf8t --userspace tp:tptest
# lttng start 'session_zr6unlrr'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_hvt6_8au_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_0klyvh14_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_i08euvma_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_gd0gzk4n_done_tracing --sync-before-last-event /tmp/lttng_test_env_homexz4xop3r/app_yxsg5z1p_last_event --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_7tgfhnsz_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hvt6_8au_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_0klyvh14_start_tracing
# [3294] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_i08euvma_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event: wait /tmp/lttng_test_env_homexz4xop3r/app_yxsg5z1p_last_event
# [3294] Before last event done
# lttng snapshot record --session='session_zr6unlrr' 
# lttng stop 'session_zr6unlrr'
# lttng start 'session_zr6unlrr'
# lttng clear 'session_zr6unlrr'
# lttng snapshot record --session='session_zr6unlrr' /tmp/snapshot2l766egqc
# lttng stop 'session_zr6unlrr'
# lttng start 'session_zr6unlrr'
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gd0gzk4n_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_7tgfhnsz_exit
# [3294] Tracing done
# lttng snapshot record --session='session_zr6unlrr' /tmp/snapshot38mpq8y6w
# lttng stop 'session_zr6unlrr'
ok 169 # Skip: test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}SKIP: tools/clear/test_ust.py 169 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
ok 170 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1

PASS: tools/clear/test_ust.py 170 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1
# lttng create session_3572hlg8 --set-url net://localhost:40305:38025/
---
  duration_ms: 131.90988
...
# lttng enable-channel --session session_3572hlg8 --userspace channel_lgwhxz3s --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_3572hlg8 --channel channel_lgwhxz3s --userspace tp:tptest
# lttng start 'session_3572hlg8'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_opnmqo7c_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mrmk9vpw_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_1epckaru_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_7krdkuqt_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_opnmqo7c_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mrmk9vpw_start_tracing
# [3310] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1epckaru_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7krdkuqt_done_tracing
# lttng stop 'session_3572hlg8'
# lttng clear 'session_3572hlg8'
# lttng clear 'session_3572hlg8'
# lttng start 'session_3572hlg8'
# lttng stop 'session_3572hlg8'
# lttng destroy session_3572hlg8 --no-wait

ok 171 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 171 - Received 0 events, expected 0
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}---

  duration_ms: 666.2224
...
# lttng create session_jvftyotb --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_jvftyotb --userspace channel_xzbah3rf --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_jvftyotb --channel channel_xzbah3rf --userspace tp:tptest
# lttng start 'session_jvftyotb'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__oscpryw_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_lrku8h2o_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_w26bf45k_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_b90p_l7d_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__oscpryw_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_lrku8h2o_start_tracing
# [3323] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w26bf45k_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b90p_l7d_done_tracing
# lttng rotate 'session_jvftyotb' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_w7bkech__ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_l9cvhdqh_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_1naonbqr_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_jtb7u00e_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w7bkech__ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_l9cvhdqh_start_tracing
# [3327] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1naonbqr_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_jtb7u00e_done_tracing
# lttng stop 'session_jvftyotb'
# lttng clear 'session_jvftyotb'
# lttng clear 'session_jvftyotb'
# lttng start 'session_jvftyotb'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_w7yiqcok_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_bw1qoggl_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_pez_cexc_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_730vab4d_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w7yiqcok_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_bw1qoggl_start_tracing
# [3334] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pez_cexc_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_730vab4d_done_tracing
# lttng stop 'session_jvftyotb'
# lttng destroy session_jvftyotb --no-wait

ok 172 - Received 4 events, expected 4
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 172 - Received 4 events, expected 4
---
  duration_ms: 1694.77492
...
# lttng create session_2o1c5fvu --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_2o1c5fvu --userspace channel_r2tekz30 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_2o1c5fvu --channel channel_r2tekz30 --userspace tp:tptest
# lttng start 'session_2o1c5fvu'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_t02shrvt_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_tlrlt0gx_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_4vdxg27w_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_k2rve0zf_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t02shrvt_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_tlrlt0gx_start_tracing
# [3343] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4vdxg27w_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k2rve0zf_done_tracing
# lttng stop 'session_2o1c5fvu'
# lttng clear 'session_2o1c5fvu'
# lttng clear 'session_2o1c5fvu'
# lttng start 'session_2o1c5fvu'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_4jw9n_zv_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_1fpztwpb_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_cg1q8wgm_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hd9kplw0_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4jw9n_zv_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_1fpztwpb_start_tracing
# [3350] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cg1q8wgm_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hd9kplw0_done_tracing
# lttng rotate 'session_2o1c5fvu' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_zwhde8w9_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_0_4845f5_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_l8ky6hdg_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_uhc4lrlm_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zwhde8w9_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_0_4845f5_start_tracing
# [3354] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_l8ky6hdg_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_uhc4lrlm_done_tracing
# lttng stop 'session_2o1c5fvu'
# lttng destroy session_2o1c5fvu --no-wait

ok 173 - Received 5 events, expected 5
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 173 - Received 5 events, expected 5
---
  duration_ms: 1629.8508
...
# lttng create session_c471pm2m --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_c471pm2m --userspace channel_zxtao6xu --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_c471pm2m --channel channel_zxtao6xu --userspace tp:tptest
# lttng start 'session_c471pm2m'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_b26hiw6z_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_9nwj5efa_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ik8444xy_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hups6uow_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b26hiw6z_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_9nwj5efa_start_tracing

pid 3365's current affinity list: 0-3
# [3365] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ik8444xy_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hups6uow_done_tracing
# lttng stop 'session_c471pm2m'
# lttng clear 'session_c471pm2m'
# lttng clear 'session_c471pm2m'
# lttng start 'session_c471pm2m'
# lttng stop 'session_c471pm2m'
# lttng start 'session_c471pm2m'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ce6kbynk_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_wcj5ls8__start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_osipmjuo_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_vg98wcr6_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ce6kbynk_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_wcj5ls8__start_tracing
pid 3365's new affinity list: 0
pid 3375's current affinity list: 0-3
# [3375] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_osipmjuo_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vg98wcr6_done_tracing
# lttng stop 'session_c471pm2m'
# lttng destroy session_c471pm2m --no-wait
pid 3375's new affinity list: 0
ok 174 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 174 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 889.59108
...
# lttng create session_q11vyxcs --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_q11vyxcs --userspace channel_j1bhhvi0 --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_q11vyxcs --channel channel_j1bhhvi0 --userspace tp:tptest
# lttng start 'session_q11vyxcs'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_kjl17enu_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ksf7ehdy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_79_yivr2_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hexomb9q_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kjl17enu_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ksf7ehdy_start_tracing

pid 3387's current affinity list: 0-3
# [3387] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_79_yivr2_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hexomb9q_done_tracing
# lttng stop 'session_q11vyxcs'
# lttng clear 'session_q11vyxcs'
# lttng clear 'session_q11vyxcs'
# lttng start 'session_q11vyxcs'
# lttng stop 'session_q11vyxcs'
# lttng start 'session_q11vyxcs'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_rb_dx3wz_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_6b7jiz9o_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_1c0ia4hf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9lkm66f3_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rb_dx3wz_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_6b7jiz9o_start_tracing
pid 3387's new affinity list: 0
pid 3397's current affinity list: 0-3
# [3397] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1c0ia4hf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9lkm66f3_done_tracing
# lttng stop 'session_q11vyxcs'
# lttng destroy session_q11vyxcs --no-wait
pid 3397's new affinity list: 0
ok 175 - First application received 0 events; Second application received 16 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 175 - First application received 0 events; Second application received 16 events
---
  duration_ms: 864.60032
...
# lttng create session_914ii9sa --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_914ii9sa --userspace channel_iszf58j8 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_914ii9sa --channel channel_iszf58j8 --userspace tp:tptest
# lttng start 'session_914ii9sa'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_2fi61a48_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_k3k3d01c_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_dlbsei5b_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_whtyzd7z_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2fi61a48_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_k3k3d01c_start_tracing
# [3407] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_dlbsei5b_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_whtyzd7z_done_tracing
# lttng stop 'session_914ii9sa'
# lttng clear 'session_914ii9sa'
# lttng clear 'session_914ii9sa'
# lttng start 'session_914ii9sa'
# lttng stop 'session_914ii9sa'
# lttng destroy session_914ii9sa --no-wait

ok 176 - Received 0 events, expected 0
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}PASS: tools/clear/test_ust.py 176 - Received 0 events, expected 0

---
  duration_ms: 621.99108
...
# lttng create session_sss0of2o --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_sss0of2o --userspace channel_pnive2de --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_sss0of2o --channel channel_pnive2de --userspace tp:tptest
# lttng start 'session_sss0of2o'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_2rursdit_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mmezveuu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_cyuupcw5_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_793yaqkk_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2rursdit_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mmezveuu_start_tracing
# [3420] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cyuupcw5_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_793yaqkk_done_tracing
# lttng stop 'session_sss0of2o'
# lttng clear 'session_sss0of2o'
# lttng clear 'session_sss0of2o'
# lttng start 'session_sss0of2o'
# lttng stop 'session_sss0of2o'
# lttng destroy session_sss0of2o

ok 177 - Trace is empty
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 177 - Trace is empty
---
  duration_ms: 1317.27568
...

# lttng create session_1sve61o2 --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_1sve61o2 --userspace channel_0hphektg --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_1sve61o2 --channel channel_0hphektg --userspace tp:tptest
# lttng start 'session_1sve61o2'
# Session 'session_1sve61o2' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_1sve61o2' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_iro_dicz_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_kox0ns89_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zzlo38c0_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_tjtna_2__done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_iro_dicz_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_kox0ns89_start_tracing
# [3433] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zzlo38c0_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tjtna_2__done_tracing
# lttng stop 'session_1sve61o2'
# lttng clear 'session_1sve61o2'
# lttng clear 'session_1sve61o2'
# lttng start 'session_1sve61o2'
# lttng stop 'session_1sve61o2'
# lttng destroy session_1sve61o2
# Checking for connected clients at 'net://localhost:41191'
ok 178 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 178 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 179 - Received 0 events, expected 0, connected_after=False
PASS: tools/clear/test_ust.py 179 - Received 0 events, expected 0, connected_after=False
---
  duration_ms: 1322.753
...
# lttng create session_kjjwbhwa --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_kjjwbhwa --userspace channel_dtgq889l --buffer-allocation=per-cpu --buffer-ownership=process
# lttng add-context --userspace --channel 'channel_dtgq889l' --type vpid
# lttng enable-event --session session_kjjwbhwa --channel channel_dtgq889l --userspace tp:tptest
# lttng start 'session_kjjwbhwa'
# Session 'session_kjjwbhwa' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_kjjwbhwa' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 12 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ukkpvwmh_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ldhi9x9g_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_3js7c65t_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_4wdj5rju_done_tracing --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_wg6a8aux_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 12 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ukkpvwmh_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ldhi9x9g_start_tracing
# [3447] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3js7c65t_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4wdj5rju_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_wg6a8aux_exit
# lttng stop 'session_kjjwbhwa'
# lttng clear 'session_kjjwbhwa'
# lttng clear 'session_kjjwbhwa'
# lttng start 'session_kjjwbhwa'
# lttng enable-event --session session_kjjwbhwa --channel channel_dtgq889l --userspace lttng_ust_statedump:start --filter '$ctx.vpid == 3447'
# lttng enable-event --session session_kjjwbhwa --channel channel_dtgq889l --userspace lttng_ust_statedump:end --filter '$ctx.vpid == 3447'
# lttng regenerate statedump -s session_kjjwbhwa
# lttng stop 'session_kjjwbhwa'
# lttng destroy session_kjjwbhwa
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_kjjwbhwa' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 180 - Received 12 events, expected 12, connected_after=False
PASS: tools/clear/test_ust.py 180 - Received 12 events, expected 12, connected_after=False
---
  duration_ms: 3572.49324
...
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
# lttng create session_ev83vmqs --output /tmp/lttng_test_env_homexz4xop3r/tracexpd6xvig
# lttng enable-channel --session session_ev83vmqs --userspace channel_0x4fv17h --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_ev83vmqs --channel channel_0x4fv17h --userspace tp:tptest
# lttng start 'session_ev83vmqs'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_xvt92f24_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_dp65jtt4_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_oxibz7qh_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_2npe8o81_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xvt92f24_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_dp65jtt4_start_tracing
# [3463] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_oxibz7qh_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2npe8o81_done_tracing
# lttng stop 'session_ev83vmqs'
# lttng clear 'session_ev83vmqs'
# lttng clear 'session_ev83vmqs'
# lttng start 'session_ev83vmqs'
# lttng stop 'session_ev83vmqs'

ok 181 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 181 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 573.65456
...
# lttng destroy session_ev83vmqs --no-wait
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
# lttng create session_ce2h47ls --output /tmp/lttng_test_env_homexz4xop3r/tracez67qel70
# lttng enable-channel --session session_ce2h47ls --userspace channel_y6iq6613 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_ce2h47ls --channel channel_y6iq6613 --userspace tp:tptest
# lttng start 'session_ce2h47ls'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_wdfgkyyc_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_96upp2kd_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_czpjdf64_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9erogchd_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wdfgkyyc_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_96upp2kd_start_tracing
# [3476] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_czpjdf64_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9erogchd_done_tracing
# lttng rotate 'session_ce2h47ls' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_29au21p__ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_i8ifvldm_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_t2_abjoe_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_7qku2oxm_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_29au21p__ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_i8ifvldm_start_tracing
# [3480] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t2_abjoe_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7qku2oxm_done_tracing
# lttng stop 'session_ce2h47ls'
# lttng clear 'session_ce2h47ls'
# lttng clear 'session_ce2h47ls'
# lttng start 'session_ce2h47ls'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_a35s6h7k_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_647p5joc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_yx1z1h51_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_pudhirpp_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_a35s6h7k_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_647p5joc_start_tracing
# [3487] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yx1z1h51_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pudhirpp_done_tracing
# lttng stop 'session_ce2h47ls'

ok 182 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
# lttng destroy session_ce2h47ls --no-wait
PASS: tools/clear/test_ust.py 182 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1266.39932
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
# lttng create session_zghum5tu --output /tmp/lttng_test_env_homexz4xop3r/tracels1t26pz
# lttng enable-channel --session session_zghum5tu --userspace channel_pyg85l5k --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_zghum5tu --channel channel_pyg85l5k --userspace tp:tptest
# lttng start 'session_zghum5tu'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_t9603l_j_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_l6d4lgpf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_9qe5n9no_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_lfaax3c6_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t9603l_j_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_l6d4lgpf_start_tracing
# [3496] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9qe5n9no_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_lfaax3c6_done_tracing
# lttng stop 'session_zghum5tu'
# lttng clear 'session_zghum5tu'
# lttng clear 'session_zghum5tu'
# lttng start 'session_zghum5tu'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_rtybtd_y_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ji8zha4d_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_q7h8oekz_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_c1f7_8jd_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rtybtd_y_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ji8zha4d_start_tracing
# [3503] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q7h8oekz_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_c1f7_8jd_done_tracing
# lttng rotate 'session_zghum5tu' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_j6jro39l_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app__vzonbvp_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_haubq6tx_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_wuu_c_9d_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_j6jro39l_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app__vzonbvp_start_tracing
# [3507] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_haubq6tx_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wuu_c_9d_done_tracing
# lttng stop 'session_zghum5tu'

ok 183 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
# lttng destroy session_zghum5tu --no-wait
PASS: tools/clear/test_ust.py 183 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1243.92432
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
# lttng create session_ey0i7qhc --output /tmp/lttng_test_env_homexz4xop3r/trace5sfqlq3o
# lttng enable-channel --session session_ey0i7qhc --userspace channel_474r3rtb --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_ey0i7qhc --channel channel_474r3rtb --userspace tp:tptest
# lttng start 'session_ey0i7qhc'
# lttng stop 'session_ey0i7qhc'
# lttng clear 'session_ey0i7qhc'
# lttng clear 'session_ey0i7qhc'
# lttng start 'session_ey0i7qhc'
# lttng stop 'session_ey0i7qhc'

ok 184 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/trace5sfqlq3o`
# lttng destroy session_ey0i7qhc --no-wait
PASS: tools/clear/test_ust.py 184 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/trace5sfqlq3o`
---
  duration_ms: 555.915
...
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': True}

ok 185 # Skip: test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 185 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# lttng create session_4qftb4b3 --output /tmp/lttng_test_env_homexz4xop3r/trace6l53f7qc --snapshot
# lttng enable-channel --session session_4qftb4b3 --userspace channel_htrg7vrn --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_4qftb4b3 --channel channel_htrg7vrn --userspace tp:tptest
# lttng start 'session_4qftb4b3'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_rrdso_o1_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_oj0btq45_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_li8ustow_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hc0vztug_done_tracing --sync-before-last-event /tmp/lttng_test_env_homexz4xop3r/app_o2p_b3ca_last_event --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_if27djq3_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rrdso_o1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_oj0btq45_start_tracing
# [3526] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_li8ustow_before_last_event
# [3526] Before last event done
# lttng snapshot record --session='session_4qftb4b3' 
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event: wait /tmp/lttng_test_env_homexz4xop3r/app_o2p_b3ca_last_event
# lttng stop 'session_4qftb4b3'
# lttng start 'session_4qftb4b3'
# lttng stop 'session_4qftb4b3'
# lttng clear 'session_4qftb4b3'
# lttng clear 'session_4qftb4b3'
# lttng start 'session_4qftb4b3'
# lttng snapshot record --session='session_4qftb4b3' /tmp/snapshot23zmgguf3
# lttng stop 'session_4qftb4b3'
# lttng start 'session_4qftb4b3'
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hc0vztug_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_if27djq3_exit
# [3526] Tracing done
# lttng snapshot record --session='session_4qftb4b3' /tmp/snapshot3wlmh01oz
# lttng stop 'session_4qftb4b3'
ok 186 # Skip: test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 186 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
ok 187 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 187 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1
---
  duration_ms: 153.24088
...
# lttng create session_28bekcqj --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_28bekcqj --userspace channel_t55wmyo2 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_28bekcqj --channel channel_t55wmyo2 --userspace tp:tptest
# lttng start 'session_28bekcqj'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_q99ezpn7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_zzl7lxtb_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_8yr5m5sa_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_nqsn1feo_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q99ezpn7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_zzl7lxtb_start_tracing
# [3545] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8yr5m5sa_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nqsn1feo_done_tracing
# lttng clear 'session_28bekcqj'
# lttng clear 'session_28bekcqj'
# lttng stop 'session_28bekcqj'
# lttng destroy session_28bekcqj --no-wait
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}

ok 188 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 188 - Received 0 events, expected 0
---
  duration_ms: 1261.21696
...
# lttng create session_trz5699u --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_trz5699u --userspace channel_wnokvryt --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_trz5699u --channel channel_wnokvryt --userspace tp:tptest
# lttng start 'session_trz5699u'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ld0pqvqx_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ylzbirh8_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_twadtemi_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_xtp2lpjl_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ld0pqvqx_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ylzbirh8_start_tracing
# [3556] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_twadtemi_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xtp2lpjl_done_tracing
# lttng rotate 'session_trz5699u' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_wx9xk2ig_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mumlek2s_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_yvl697gk_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_e9nptd7g_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wx9xk2ig_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mumlek2s_start_tracing
# [3560] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yvl697gk_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_e9nptd7g_done_tracing
# lttng clear 'session_trz5699u'
# lttng clear 'session_trz5699u'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_0_fa532w_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_8bgq3tss_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_89lzdpan_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hy16f918_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0_fa532w_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_8bgq3tss_start_tracing
# [3565] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_89lzdpan_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hy16f918_done_tracing
# lttng stop 'session_trz5699u'
# lttng destroy session_trz5699u --no-wait
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}

ok 189 - Received 4 events, expected 4
PASS: tools/clear/test_ust.py 189 - Received 4 events, expected 4
---
  duration_ms: 2074.26584
...
# lttng create session_3c4j46ir --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_3c4j46ir --userspace channel_fr402vdt --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_3c4j46ir --channel channel_fr402vdt --userspace tp:tptest
# lttng start 'session_3c4j46ir'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_agqy7e46_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_is8oh6pe_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_mxcnrvgn_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_uplb32ms_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_agqy7e46_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_is8oh6pe_start_tracing
# [3574] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mxcnrvgn_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_uplb32ms_done_tracing
# lttng clear 'session_3c4j46ir'
# lttng clear 'session_3c4j46ir'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_b__aeotg_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_kb4dstbg_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ng0quq2m_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ia0395of_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b__aeotg_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_kb4dstbg_start_tracing
# [3579] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ng0quq2m_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ia0395of_done_tracing
# lttng rotate 'session_3c4j46ir' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ut4sn1as_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_u4qxf9bj_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_hr_f9bpb_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_h8obbqsx_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ut4sn1as_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_u4qxf9bj_start_tracing
# [3583] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hr_f9bpb_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_h8obbqsx_done_tracing
# lttng stop 'session_3c4j46ir'
# lttng destroy session_3c4j46ir --no-wait
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
ok 190 - Received 5 events, expected 5
PASS: tools/clear/test_ust.py 190 - Received 5 events, expected 5
---
  duration_ms: 1938.89664
...

# lttng create session_2o2j696z --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_2o2j696z --userspace channel_68bsyrsl --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_2o2j696z --channel channel_68bsyrsl --userspace tp:tptest
# lttng start 'session_2o2j696z'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_6t8xyu_4_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_woeijjr0_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_i8g6bbbh_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rqo44k24_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6t8xyu_4_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_woeijjr0_start_tracing

pid 3594's current affinity list: 0-3
# [3594] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_i8g6bbbh_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rqo44k24_done_tracing
# lttng clear 'session_2o2j696z'
# lttng clear 'session_2o2j696z'
# lttng stop 'session_2o2j696z'
# lttng start 'session_2o2j696z'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_k71ua1_7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_bsit28uy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_43smxnlx_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_aemn9wf0_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_k71ua1_7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_bsit28uy_start_tracing
pid 3594's new affinity list: 0
pid 3602's current affinity list: 0-3
# [3602] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_43smxnlx_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_aemn9wf0_done_tracing
# lttng stop 'session_2o2j696z'
# lttng destroy session_2o2j696z --no-wait
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
pid 3602's new affinity list: 0
ok 191 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
PASS: tools/clear/test_ust.py 191 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 1480.70968
...
# lttng create session_fw4pdv40 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_fw4pdv40 --userspace channel_zfb8qm6j --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_fw4pdv40 --channel channel_zfb8qm6j --userspace tp:tptest
# lttng start 'session_fw4pdv40'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_sq74b0cj_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_5jgncsh6_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_rj95polf_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_i1y7bej3_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sq74b0cj_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_5jgncsh6_start_tracing

pid 3614's current affinity list: 0-3
# [3614] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rj95polf_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_i1y7bej3_done_tracing
# lttng clear 'session_fw4pdv40'
# lttng clear 'session_fw4pdv40'
# lttng stop 'session_fw4pdv40'
# lttng start 'session_fw4pdv40'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_mbk25rem_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_9thk0842_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_o27efqgc_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_4ntom7qr_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mbk25rem_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_9thk0842_start_tracing
pid 3614's new affinity list: 0
pid 3622's current affinity list: 0-3
# [3622] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_o27efqgc_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4ntom7qr_done_tracing
# lttng stop 'session_fw4pdv40'
# lttng destroy session_fw4pdv40 --no-wait
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
pid 3622's new affinity list: 0
ok 192 - First application received 0 events; Second application received 16 events
PASS: tools/clear/test_ust.py 192 - First application received 0 events; Second application received 16 events
---
  duration_ms: 1324.23888
...
# lttng create session_oyldhlfe --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_oyldhlfe --userspace channel_i6635h88 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_oyldhlfe --channel channel_i6635h88 --userspace tp:tptest
# lttng start 'session_oyldhlfe'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_euuih081_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_na6y58nw_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_i0wlho75_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_eq679iek_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_euuih081_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_na6y58nw_start_tracing
# [3632] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_i0wlho75_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_eq679iek_done_tracing
# lttng clear 'session_oyldhlfe'
# lttng clear 'session_oyldhlfe'
# lttng stop 'session_oyldhlfe'
# lttng destroy session_oyldhlfe --no-wait

ok 193 - Received 0 events, expected 0
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 193 - Received 0 events, expected 0
---
  duration_ms: 1157.04124
...
# lttng create session_47enntdm --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_47enntdm --userspace channel_ow44gv6h --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_47enntdm --channel channel_ow44gv6h --userspace tp:tptest
# lttng start 'session_47enntdm'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_7mw3dla6_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_09r7y9q3_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2arfot51_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_3oeo344e_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7mw3dla6_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_09r7y9q3_start_tracing
# [3643] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2arfot51_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3oeo344e_done_tracing
# lttng clear 'session_47enntdm'
# lttng clear 'session_47enntdm'
# lttng stop 'session_47enntdm'
# lttng destroy session_47enntdm

ok 194 - Trace is empty
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 194 - Trace is empty
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}---
  duration_ms: 1611.39316
...


# lttng create session_p6da9c8g --set-url net://localhost:40305:38025/ --live
# lttng enable-channel --session session_p6da9c8g --userspace channel_ovnecerv --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_p6da9c8g --channel channel_ovnecerv --userspace tp:tptest
# lttng start 'session_p6da9c8g'
# Session 'session_p6da9c8g' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_p6da9c8g' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_bcjdg4qx_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_fbhv8r83_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_gqqlwduh_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_cf96agzj_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bcjdg4qx_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_fbhv8r83_start_tracing
# [3654] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gqqlwduh_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cf96agzj_done_tracing
# lttng clear 'session_p6da9c8g'
# lttng clear 'session_p6da9c8g'
# lttng stop 'session_p6da9c8g'
# lttng destroy session_p6da9c8g
# Checking for connected clients at 'net://localhost:41191'
ok 195 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 195 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 196 - Received 0 events, expected 0, connected_after=False
# lttng create session_e3cb3jgy --set-url net://localhost:40305:38025/ --live
PASS: tools/clear/test_ust.py 196 - Received 0 events, expected 0, connected_after=False
---
  duration_ms: 1814.1668
...
# lttng enable-channel --session session_e3cb3jgy --userspace channel_yfti72hj --buffer-allocation=per-cpu --buffer-ownership=process
# lttng add-context --userspace --channel 'channel_yfti72hj' --type vpid
# lttng enable-event --session session_e3cb3jgy --channel channel_yfti72hj --userspace tp:tptest
# lttng start 'session_e3cb3jgy'
# Session 'session_e3cb3jgy' is available at net://localhost:41191
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_e3cb3jgy' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 12 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_zuswgzja_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_i8ef5mij_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_3dspwvmg_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ea6z_942_done_tracing --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_tt56ge50_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 12 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zuswgzja_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_i8ef5mij_start_tracing
# [3666] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3dspwvmg_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ea6z_942_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_tt56ge50_exit
# lttng clear 'session_e3cb3jgy'
# lttng clear 'session_e3cb3jgy'
# lttng enable-event --session session_e3cb3jgy --channel channel_yfti72hj --userspace lttng_ust_statedump:start --filter '$ctx.vpid == 3666'
# lttng enable-event --session session_e3cb3jgy --channel channel_yfti72hj --userspace lttng_ust_statedump:end --filter '$ctx.vpid == 3666'
# lttng regenerate statedump -s session_e3cb3jgy
# lttng stop 'session_e3cb3jgy'
# lttng destroy session_e3cb3jgy
# Checking for connected clients at 'net://localhost:41191'
# Session 'session_e3cb3jgy' has 1 connected clients
# Checking for connected clients at 'net://localhost:41191'

ok 197 - Received 12 events, expected 12, connected_after=False
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 197 - Received 12 events, expected 12, connected_after=False
---
  duration_ms: 3844.02156
...
# lttng create session_q5bv5nhn --output /tmp/lttng_test_env_homexz4xop3r/trace75atnta8
# lttng enable-channel --session session_q5bv5nhn --userspace channel_373fn7vt --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_q5bv5nhn --channel channel_373fn7vt --userspace tp:tptest
# lttng start 'session_q5bv5nhn'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ig0hiycb_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_47ap81sb_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_3nbfp3fo_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_cbw23c3h_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ig0hiycb_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_47ap81sb_start_tracing
# [3680] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3nbfp3fo_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cbw23c3h_done_tracing
# lttng clear 'session_q5bv5nhn'
# lttng clear 'session_q5bv5nhn'
# lttng stop 'session_q5bv5nhn'

ok 198 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 198 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 1065.2178
...
# lttng destroy session_q5bv5nhn --no-wait
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
# lttng create session_0c5l77tq --output /tmp/lttng_test_env_homexz4xop3r/tracek3va_jw6
# lttng enable-channel --session session_0c5l77tq --userspace channel_teg2780r --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_0c5l77tq --channel channel_teg2780r --userspace tp:tptest
# lttng start 'session_0c5l77tq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_iofzg5os_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_i0kopw8r_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_7hio644o_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_63274_zx_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_iofzg5os_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_i0kopw8r_start_tracing
# [3691] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7hio644o_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_63274_zx_done_tracing
# lttng rotate 'session_0c5l77tq' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ewtwe8jz_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_k7vt4e_m_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zt67z5d6_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_22zk6fva_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ewtwe8jz_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_k7vt4e_m_start_tracing
# [3695] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zt67z5d6_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_22zk6fva_done_tracing
# lttng clear 'session_0c5l77tq'
# lttng clear 'session_0c5l77tq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_nr03chft_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_fgizwmu1_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_cek1oc2g_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_w9wi82g6_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nr03chft_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_fgizwmu1_start_tracing
# [3700] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cek1oc2g_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w9wi82g6_done_tracing
# lttng stop 'session_0c5l77tq'

ok 199 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
# lttng destroy session_0c5l77tq --no-wait
PASS: tools/clear/test_ust.py 199 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1739.99028
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
# lttng create session_i4xo2qj8 --output /tmp/lttng_test_env_homexz4xop3r/trace7kv_kq6k
# lttng enable-channel --session session_i4xo2qj8 --userspace channel_biewjff9 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_i4xo2qj8 --channel channel_biewjff9 --userspace tp:tptest
# lttng start 'session_i4xo2qj8'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_sm20jhjj_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_awofecjz_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zzru7m8o_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_cffge26o_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sm20jhjj_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_awofecjz_start_tracing
# [3709] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zzru7m8o_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cffge26o_done_tracing
# lttng clear 'session_i4xo2qj8'
# lttng clear 'session_i4xo2qj8'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_nuqor0_x_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_p3thq88o_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_71jobgi4_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_zkyykhbu_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nuqor0_x_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_p3thq88o_start_tracing
# [3714] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_71jobgi4_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zkyykhbu_done_tracing
# lttng rotate 'session_i4xo2qj8' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_6t2pymfj_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7v34oztn_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_m9xv73qr_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_qo6u22cr_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6t2pymfj_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7v34oztn_start_tracing
# [3718] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_m9xv73qr_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qo6u22cr_done_tracing
# lttng stop 'session_i4xo2qj8'

# lttng destroy session_i4xo2qj8 --no-wait
ok 200 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
PASS: tools/clear/test_ust.py 200 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1731.4388
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
# lttng create session_01wkoma7 --output /tmp/lttng_test_env_homexz4xop3r/traceoelu7h9k
# lttng enable-channel --session session_01wkoma7 --userspace channel_vx4a8pr4 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_01wkoma7 --channel channel_vx4a8pr4 --userspace tp:tptest
# lttng start 'session_01wkoma7'
# lttng clear 'session_01wkoma7'
# lttng clear 'session_01wkoma7'
# lttng stop 'session_01wkoma7'

ok 201 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/traceoelu7h9k`
PASS: tools/clear/test_ust.py 201 - No trace available at `/tmp/lttng_test_env_homexz4xop3r/traceoelu7h9k`
---
  duration_ms: 1049.28004
...
# lttng destroy session_01wkoma7 --no-wait
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'clear_twice': True, 'stop_session_before_clear': False}

ok 202 # Skip: test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 202 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# lttng create session_mcx7dxmt --output /tmp/lttng_test_env_homexz4xop3r/trace2gwksx8z --snapshot
# lttng enable-channel --session session_mcx7dxmt --userspace channel_setu3ig1 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_mcx7dxmt --channel channel_setu3ig1 --userspace tp:tptest
# lttng start 'session_mcx7dxmt'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ql234c42_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ebk91moj_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_p_nrvott_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app__u97fe_w_done_tracing --sync-before-last-event /tmp/lttng_test_env_homexz4xop3r/app_x4n5liij_last_event --sync-before-exit /tmp/lttng_test_env_homexz4xop3r/app_h3vnt513_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ql234c42_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ebk91moj_start_tracing
# [3735] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_p_nrvott_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event: wait /tmp/lttng_test_env_homexz4xop3r/app_x4n5liij_last_event
# [3735] Before last event done
# lttng snapshot record --session='session_mcx7dxmt' 
# lttng stop 'session_mcx7dxmt'
# lttng start 'session_mcx7dxmt'
# lttng clear 'session_mcx7dxmt'
# lttng clear 'session_mcx7dxmt'
# lttng snapshot record --session='session_mcx7dxmt' /tmp/snapshot2h691g40n
# lttng stop 'session_mcx7dxmt'
# lttng start 'session_mcx7dxmt'
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app__u97fe_w_done_tracing# [3735] Tracing done

# lttng snapshot record --session='session_mcx7dxmt' /tmp/snapshot32gopydsa
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homexz4xop3r/app_h3vnt513_exit
# lttng stop 'session_mcx7dxmt'
ok 203 # Skip: test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 203 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}ok 204 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1

PASS: tools/clear/test_ust.py 204 - First snapshot received 9 events, expected 9; Empty snapshot received 0 events, expected 0; Final snapshot received 1 events, expected 1
---
  duration_ms: 158.20884
...
# lttng create session_esw6r0gl --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_esw6r0gl --userspace channel_naghtvw2 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_esw6r0gl --channel channel_naghtvw2 --userspace tp:tptest
# lttng start 'session_esw6r0gl'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_7w8adcj3_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3dhmz2yk_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_8721zu8v_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_gwsuaqyl_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7w8adcj3_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3dhmz2yk_start_tracing
# [3752] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8721zu8v_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_gwsuaqyl_done_tracing
# lttng stop 'session_esw6r0gl'
# lttng rotate 'session_esw6r0gl' 
# lttng clear 'session_esw6r0gl'
# lttng start 'session_esw6r0gl'
# lttng stop 'session_esw6r0gl'
# lttng destroy session_esw6r0gl --no-wait

ok 205 - Received 10 events, expected 10
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 205 - Received 10 events, expected 10
---
  duration_ms: 731.50844
...
# lttng create session_6mirj4n7 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_6mirj4n7 --userspace channel_rrxubt53 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_6mirj4n7 --channel channel_rrxubt53 --userspace tp:tptest
# lttng start 'session_6mirj4n7'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_rl68lb_1_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mw95wo9t_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_bxgvewhs_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_4vr3e8go_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rl68lb_1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mw95wo9t_start_tracing
# [3765] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bxgvewhs_before_last_event
# lttng rotate 'session_6mirj4n7' 
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4vr3e8go_done_tracing
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_iyzp1qfy_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_dv8r49wb_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ko3c2z1e_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_334qqwx8_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_iyzp1qfy_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_dv8r49wb_start_tracing
# [3769] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ko3c2z1e_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_334qqwx8_done_tracing
# lttng stop 'session_6mirj4n7'
# lttng rotate 'session_6mirj4n7' 
# lttng clear 'session_6mirj4n7'
# lttng start 'session_6mirj4n7'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_610q1lpx_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_kmhqtu2k_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_cw04bjku_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_eo60ei5g_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_610q1lpx_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_kmhqtu2k_start_tracing
# [3776] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_cw04bjku_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_eo60ei5g_done_tracing
# lttng stop 'session_6mirj4n7'
# lttng destroy session_6mirj4n7 --no-wait
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}

ok 206 - Received 6 events, expected 6
PASS: tools/clear/test_ust.py 206 - Received 6 events, expected 6
---
  duration_ms: 1725.37448
...
# lttng create session_25h4r2u5 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_25h4r2u5 --userspace channel_xohlb68k --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_25h4r2u5 --channel channel_xohlb68k --userspace tp:tptest
# lttng start 'session_25h4r2u5'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ajjayv1e_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_x_7ojqhu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_hhx7byvd_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_07kijze__done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ajjayv1e_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_x_7ojqhu_start_tracing
# [3785] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hhx7byvd_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_07kijze__done_tracing
# lttng stop 'session_25h4r2u5'
# lttng rotate 'session_25h4r2u5' 
# lttng clear 'session_25h4r2u5'
# lttng start 'session_25h4r2u5'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_h10ca1xi_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_gmcgygex_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_b06r6ue5_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_bbneduqa_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_h10ca1xi_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_gmcgygex_start_tracing
# [3792] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b06r6ue5_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bbneduqa_done_tracing
# lttng rotate 'session_25h4r2u5' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_w3c5h1v0_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_497ohdrs_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_7mnqntyp_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9jnsho4k_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w3c5h1v0_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_497ohdrs_start_tracing
# [3796] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7mnqntyp_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9jnsho4k_done_tracing
# lttng stop 'session_25h4r2u5'
# lttng destroy session_25h4r2u5 --no-wait

ok 207 - Received 6 events, expected 6
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 207 - Received 6 events, expected 6
---
  duration_ms: 1700.17568
...
# lttng create session_7b2h9319 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_7b2h9319 --userspace channel_xwjbfh4v --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_7b2h9319 --channel channel_xwjbfh4v --userspace tp:tptest
# lttng start 'session_7b2h9319'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_qkxf578p_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app__9v9_8hq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_r8frr47r_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_wmab7uxt_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qkxf578p_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app__9v9_8hq_start_tracing

pid 3807's current affinity list: 0-3
# [3807] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r8frr47r_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wmab7uxt_done_tracing
# lttng stop 'session_7b2h9319'
# lttng rotate 'session_7b2h9319' 
# lttng clear 'session_7b2h9319'
# lttng start 'session_7b2h9319'
# lttng stop 'session_7b2h9319'
# lttng start 'session_7b2h9319'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_zs0_zqfh_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_c7qmfnqf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_43bmlvw5_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_n0d_8xz4_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zs0_zqfh_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_c7qmfnqf_start_tracing
pid 3807's new affinity list: 0
pid 3817's current affinity list: 0-3
# [3817] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_43bmlvw5_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_n0d_8xz4_done_tracing
# lttng stop 'session_7b2h9319'
# lttng destroy session_7b2h9319 --no-wait
pid 3817's new affinity list: 0
ok 208 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 208 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
---
  duration_ms: 942.22012
...
# lttng create session_k0bbanga --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_k0bbanga --userspace channel_b9efe5vy --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_k0bbanga --channel channel_b9efe5vy --userspace tp:tptest
# lttng start 'session_k0bbanga'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_y0oa3ihm_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mct4i0_y_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_st8qetu6_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_7mh1cgou_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_y0oa3ihm_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mct4i0_y_start_tracing

pid 3829's current affinity list: 0-3
# [3829] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_st8qetu6_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7mh1cgou_done_tracing
# lttng stop 'session_k0bbanga'
# lttng rotate 'session_k0bbanga' 
# lttng clear 'session_k0bbanga'
# lttng start 'session_k0bbanga'
# lttng stop 'session_k0bbanga'
# lttng start 'session_k0bbanga'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_3f6oj1u5_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_at509u92_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_bqzgk8ki_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9rbbysex_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3f6oj1u5_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_at509u92_start_tracing
pid 3829's new affinity list: 0
pid 3839's current affinity list: 0-3
# [3839] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bqzgk8ki_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9rbbysex_done_tracing
# lttng stop 'session_k0bbanga'
# lttng destroy session_k0bbanga --no-wait
pid 3839's new affinity list: 0
ok 209 - First application received 30 events; Second application received 46 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 209 - First application received 30 events; Second application received 46 events
---
  duration_ms: 948.47244
...
# lttng create session_yiwqnird --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_yiwqnird --userspace channel_2hrt3j9g --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_yiwqnird --channel channel_2hrt3j9g --userspace tp:tptest
# lttng start 'session_yiwqnird'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_rg4cxx_1_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_xqcg918b_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zwmvvb96_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0vk_g14m_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rg4cxx_1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_xqcg918b_start_tracing
# [3849] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zwmvvb96_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0vk_g14m_done_tracing
# lttng stop 'session_yiwqnird'
# lttng rotate 'session_yiwqnird' 
# lttng clear 'session_yiwqnird'
# lttng start 'session_yiwqnird'
# lttng stop 'session_yiwqnird'
# lttng destroy session_yiwqnird --no-wait

ok 210 - Received 10 events, expected 10
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 210 - Received 10 events, expected 10
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
---
  duration_ms: 871.87156
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
...

ok 211 # Skip: test_ust_streaming_live does not run with the rotate_before or rotate_after options
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 211 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
ok 212 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 212 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 213 # Skip: test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 213 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
# lttng create session_8w73u5o6 --output /tmp/lttng_test_env_homexz4xop3r/tracejiw389ax
# lttng enable-channel --session session_8w73u5o6 --userspace channel_6sy5vh8k --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_8w73u5o6 --channel channel_6sy5vh8k --userspace tp:tptest
# lttng start 'session_8w73u5o6'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_zpcs6fx4_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7swi0853_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_md5wbunt_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_i25g3ct1_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zpcs6fx4_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7swi0853_start_tracing
# [3862] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_md5wbunt_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_i25g3ct1_done_tracing
# lttng stop 'session_8w73u5o6'
# lttng rotate 'session_8w73u5o6' 
# lttng clear 'session_8w73u5o6'
# lttng start 'session_8w73u5o6'
# lttng stop 'session_8w73u5o6'
ok 214 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# lttng destroy session_8w73u5o6 --no-wait
SKIP: tools/clear/test_ust.py 214 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 215 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
PASS: tools/clear/test_ust.py 215 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
---
  duration_ms: 678.0468
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
# lttng create session_1qcnr8r7 --output /tmp/lttng_test_env_homexz4xop3r/trace0jv5lqqh
# lttng enable-channel --session session_1qcnr8r7 --userspace channel_okmgp9r5 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_1qcnr8r7 --channel channel_okmgp9r5 --userspace tp:tptest
# lttng start 'session_1qcnr8r7'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ew11pnh1_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_vscyrcsg_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_r5oqo2tv_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_pjkk5gth_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ew11pnh1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_vscyrcsg_start_tracing
# [3875] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r5oqo2tv_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pjkk5gth_done_tracing
# lttng rotate 'session_1qcnr8r7' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_8nb3lwxa_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mdeypx4v_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_af6156mw_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ktz4sz0g_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8nb3lwxa_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mdeypx4v_start_tracing
# [3879] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_af6156mw_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ktz4sz0g_done_tracing
# lttng stop 'session_1qcnr8r7'
# lttng rotate 'session_1qcnr8r7' 
# lttng clear 'session_1qcnr8r7'
# lttng start 'session_1qcnr8r7'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_7350bj28_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_28zu84aq_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_rb4ne3sn_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_bg2wju99_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7350bj28_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_28zu84aq_start_tracing
# [3886] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rb4ne3sn_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bg2wju99_done_tracing
# lttng stop 'session_1qcnr8r7'

ok 216 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
# lttng destroy session_1qcnr8r7 --no-wait
PASS: tools/clear/test_ust.py 216 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
---
  duration_ms: 1366.05432
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
# lttng create session_gvaeuypt --output /tmp/lttng_test_env_homexz4xop3r/traceatd4p3wq
# lttng enable-channel --session session_gvaeuypt --userspace channel_0o20xvu8 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_gvaeuypt --channel channel_0o20xvu8 --userspace tp:tptest
# lttng start 'session_gvaeuypt'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_3t4thdom_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_d15car6i_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_bdcygpar_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9tixu5mj_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3t4thdom_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_d15car6i_start_tracing
# [3895] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bdcygpar_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9tixu5mj_done_tracing
# lttng stop 'session_gvaeuypt'
# lttng rotate 'session_gvaeuypt' 
# lttng clear 'session_gvaeuypt'
# lttng start 'session_gvaeuypt'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_4df5fu17_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_pek83enp_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_wv2s1j4a_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_18l2650o_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4df5fu17_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_pek83enp_start_tracing
# [3902] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wv2s1j4a_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_18l2650o_done_tracing
# lttng rotate 'session_gvaeuypt' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_r8rlp78i_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_bj888uwf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_tfdh4h_w_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_2uuye5np_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r8rlp78i_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_bj888uwf_start_tracing
# [3906] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tfdh4h_w_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2uuye5np_done_tracing
# lttng stop 'session_gvaeuypt'

ok 217 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
# lttng destroy session_gvaeuypt --no-wait
PASS: tools/clear/test_ust.py 217 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
---
  duration_ms: 1342.7936
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}

ok 218 # Skip: Disabled for tests with rotate_before or rotate_after
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 218 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 219 # Skip: test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 219 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
ok 220 # Skip: test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# lttng create session_v8baz3uf --set-url net://localhost:40305:38025/SKIP: tools/clear/test_ust.py 220 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`

# lttng enable-channel --session session_v8baz3uf --userspace channel_dhtv0orj --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_v8baz3uf --channel channel_dhtv0orj --userspace tp:tptest
# lttng start 'session_v8baz3uf'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_oyrcg6qd_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_r73gx7ai_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_yh0guea8_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rpm4ogkt_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_oyrcg6qd_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_r73gx7ai_start_tracing
# [3915] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yh0guea8_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rpm4ogkt_done_tracing
# lttng rotate 'session_v8baz3uf' 
# lttng clear 'session_v8baz3uf'
# lttng stop 'session_v8baz3uf'
# lttng destroy session_v8baz3uf --no-wait
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
ok 221 # Skip: test_ust_local_snapshot_per_pid does not run with rotations enabled
SKIP: tools/clear/test_ust.py 221 # SKIP : test_ust_local_snapshot_per_pid does not run with rotations enabled
ok 222 - Received 10 events, expected 10
PASS: tools/clear/test_ust.py 222 - Received 10 events, expected 10
---
  duration_ms: 1224.37864
...
# lttng create session_n7a1z0ht --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_n7a1z0ht --userspace channel_hkip7b6u --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_n7a1z0ht --channel channel_hkip7b6u --userspace tp:tptest
# lttng start 'session_n7a1z0ht'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_phg9v2ue_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_nu3lz51__start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ophjspqd_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_g7hthq_4_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_phg9v2ue_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_nu3lz51__start_tracing
# [3926] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ophjspqd_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_g7hthq_4_done_tracing
# lttng rotate 'session_n7a1z0ht' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_hyrc6dh2_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ikqm3s80_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_fosq63zc_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_6bcuvtkn_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hyrc6dh2_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ikqm3s80_start_tracing
# [3930] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_fosq63zc_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_6bcuvtkn_done_tracing
# lttng rotate 'session_n7a1z0ht' 
# lttng clear 'session_n7a1z0ht'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_1ag9tw7d_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_d6l3ignw_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_onp2zk39_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_icbv6bhz_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1ag9tw7d_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_d6l3ignw_start_tracing
# [3935] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_onp2zk39_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_icbv6bhz_done_tracing
# lttng stop 'session_n7a1z0ht'
# lttng destroy session_n7a1z0ht --no-wait

ok 223 - Received 6 events, expected 6
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}PASS: tools/clear/test_ust.py 223 - Received 6 events, expected 6
---
  duration_ms: 2300.9792

...
# lttng create session_ut8dhk9r --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_ut8dhk9r --userspace channel_ss9zru12 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_ut8dhk9r --channel channel_ss9zru12 --userspace tp:tptest
# lttng start 'session_ut8dhk9r'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_4dlc1eym_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_y91ncd56_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_bta98gr6_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_42d6_6d6_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4dlc1eym_ready# [3944] Tracing started

# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_y91ncd56_start_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bta98gr6_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_42d6_6d6_done_tracing
# lttng rotate 'session_ut8dhk9r' 
# lttng clear 'session_ut8dhk9r'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_7fbsxct0_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_m_oead45_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zjxe_qtk_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_im9jdh3s_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7fbsxct0_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_m_oead45_start_tracing
# [3949] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zjxe_qtk_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_im9jdh3s_done_tracing
# lttng rotate 'session_ut8dhk9r' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ix66ugy0_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_vxpu7zqc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_84nr5f6j_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_apapuzlh_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ix66ugy0_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_vxpu7zqc_start_tracing
# [3953] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_84nr5f6j_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_apapuzlh_done_tracing
# lttng stop 'session_ut8dhk9r'
# lttng destroy session_ut8dhk9r --no-wait

ok 224 - Received 6 events, expected 6
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 224 - Received 6 events, expected 6
---
  duration_ms: 2183.76616
...
# lttng create session_geco399u --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_geco399u --userspace channel_q7tjfs1f --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_geco399u --channel channel_q7tjfs1f --userspace tp:tptest
# lttng start 'session_geco399u'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_z1ww59fe_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_th3qahml_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_w2od57_z_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_684uty5u_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_z1ww59fe_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_th3qahml_start_tracing

pid 3964's current affinity list: 0-3
# [3964] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w2od57_z_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_684uty5u_done_tracing
# lttng rotate 'session_geco399u' 
# lttng clear 'session_geco399u'
# lttng stop 'session_geco399u'
# lttng start 'session_geco399u'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_hv0zwvn4_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_1brb9a3w_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_v4mkleiy_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_yjr6zp9j_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hv0zwvn4_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_1brb9a3w_start_tracing
pid 3964's new affinity list: 0
pid 3972's current affinity list: 0-3
# [3972] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_v4mkleiy_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_yjr6zp9j_done_tracing
# lttng stop 'session_geco399u'
# lttng destroy session_geco399u --no-wait
pid 3972's new affinity list: 0
ok 225 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 225 - After first app 10 received and 0 discarded events, expected 10 received and 0 discarded events; After second app 30 received and 0 discarded events, expected 30 received and 0 discarded events
---
  duration_ms: 1417.09704
...
# lttng create session_tsmuclg9 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_tsmuclg9 --userspace channel_ctls568i --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_tsmuclg9 --channel channel_ctls568i --userspace tp:tptest
# lttng start 'session_tsmuclg9'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_x4gumo99_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_2m_ja3db_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_60n3lcji_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hyfm9oxc_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x4gumo99_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_2m_ja3db_start_tracing

pid 3984's current affinity list: 0-3
# [3984] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_60n3lcji_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hyfm9oxc_done_tracing
# lttng rotate 'session_tsmuclg9' 
# lttng clear 'session_tsmuclg9'
# lttng stop 'session_tsmuclg9'
# lttng start 'session_tsmuclg9'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_72o3lo_g_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_41d46twu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_249v81fa_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_xoq2ier4_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_72o3lo_g_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_41d46twu_start_tracing
pid 3984's new affinity list: 0
pid 3992's current affinity list: 0-3
# [3992] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_249v81fa_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xoq2ier4_done_tracing
# lttng stop 'session_tsmuclg9'
# lttng destroy session_tsmuclg9 --no-wait
pid 3992's new affinity list: 0
ok 226 - First application received 30 events; Second application received 46 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 226 - First application received 30 events; Second application received 46 events
---
  duration_ms: 1470.99684
...
# lttng create session_0ptzhq18 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_0ptzhq18 --userspace channel_7ej3f13n --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_0ptzhq18 --channel channel_7ej3f13n --userspace tp:tptest
# lttng start 'session_0ptzhq18'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_kmwq87xi_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ux7zi9pb_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_a_yk2tyo_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_i1l8zgow_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kmwq87xi_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ux7zi9pb_start_tracing
# [4002] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_a_yk2tyo_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_i1l8zgow_done_tracing
# lttng rotate 'session_0ptzhq18' 
# lttng clear 'session_0ptzhq18'
# lttng stop 'session_0ptzhq18'
# lttng destroy session_0ptzhq18 --no-wait
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}

ok 227 - Received 10 events, expected 10
PASS: tools/clear/test_ust.py 227 - Received 10 events, expected 10
---
  duration_ms: 1309.42192
...

ok 228 # Skip: test_ust_streaming_live does not run with the rotate_before or rotate_after options
SKIP: tools/clear/test_ust.py 228 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
ok 229 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# lttng create session_4ythfp7m --output /tmp/lttng_test_env_homexz4xop3r/tracejwghpuna
SKIP: tools/clear/test_ust.py 229 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 230 # Skip: test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 230 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
# lttng enable-channel --session session_4ythfp7m --userspace channel_3lyph19m --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_4ythfp7m --channel channel_3lyph19m --userspace tp:tptest
# lttng start 'session_4ythfp7m'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_1wftd5z0_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_piwonlbc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_otykk_2t_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_vuw9yfxt_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1wftd5z0_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_piwonlbc_start_tracing
# [4013] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_otykk_2t_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vuw9yfxt_done_tracing
# lttng rotate 'session_4ythfp7m' 
# lttng clear 'session_4ythfp7m'
# lttng stop 'session_4ythfp7m'
# lttng destroy session_4ythfp7m --no-wait
ok 231 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 231 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 232 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
PASS: tools/clear/test_ust.py 232 - 10 received and 0 discarded events. Excepted 10 received and 0 discarded events
---
  duration_ms: 1188.83664
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
# lttng create session_m0egmkp5 --output /tmp/lttng_test_env_homexz4xop3r/trace9nx267ck
# lttng enable-channel --session session_m0egmkp5 --userspace channel_bkrnl0eh --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_m0egmkp5 --channel channel_bkrnl0eh --userspace tp:tptest
# lttng start 'session_m0egmkp5'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_rofvz_5w_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_bcanfj4v_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_7exmib_0_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_4binyez0_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rofvz_5w_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_bcanfj4v_start_tracing
# [4024] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7exmib_0_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4binyez0_done_tracing
# lttng rotate 'session_m0egmkp5' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_f107t16g_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_bv5ohes7_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ha9ten9s_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_aoftw52c_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_f107t16g_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_bv5ohes7_start_tracing
# [4028] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ha9ten9s_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_aoftw52c_done_tracing
# lttng rotate 'session_m0egmkp5' 
# lttng clear 'session_m0egmkp5'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app__ai0ofbh_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_10uq25b9_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_b79a2sxl_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_tn_dz0y7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app__ai0ofbh_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_10uq25b9_start_tracing
# [4033] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_b79a2sxl_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tn_dz0y7_done_tracing
# lttng stop 'session_m0egmkp5'

ok 233 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
# lttng destroy session_m0egmkp5 --no-wait
PASS: tools/clear/test_ust.py 233 - 6 received and 0 discarded events. Expected 6 received and 0 discarded events
---
  duration_ms: 1838.76576
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
# lttng create session_p6yjz7ik --output /tmp/lttng_test_env_homexz4xop3r/tracemytthjpl
# lttng enable-channel --session session_p6yjz7ik --userspace channel_z1o31ab7 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_p6yjz7ik --channel channel_z1o31ab7 --userspace tp:tptest
# lttng start 'session_p6yjz7ik'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ypd43g60_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_7iizmueu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app__cia2tsv_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_kvtb_tuj_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ypd43g60_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_7iizmueu_start_tracing
# [4042] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app__cia2tsv_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_kvtb_tuj_done_tracing
# lttng rotate 'session_p6yjz7ik' 
# lttng clear 'session_p6yjz7ik'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_wfvrysa7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_5jitc4hj_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_t7cl05rj_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hvo7me_0_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wfvrysa7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_5jitc4hj_start_tracing
# [4047] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t7cl05rj_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hvo7me_0_done_tracing
# lttng rotate 'session_p6yjz7ik' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_i5a65hfy_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ermgwxec_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_hbdktqd1_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_vpz90a2z_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_i5a65hfy_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ermgwxec_start_tracing
# [4051] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hbdktqd1_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vpz90a2z_done_tracing
# lttng stop 'session_p6yjz7ik'

ok 234 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
# lttng destroy session_p6yjz7ik --no-wait
PASS: tools/clear/test_ust.py 234 - 6 received and 0 discarded events. Excepted 6 received and 0 discarded events
---
  duration_ms: 1835.20328
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}

ok 235 # Skip: Disabled for tests with rotate_before or rotate_after
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_before': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 235 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 236 # Skip: test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 236 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
ok 237 # Skip: test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 237 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# lttng create session_amua1qp1 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_amua1qp1 --userspace channel_d9afvhgm --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_amua1qp1 --channel channel_d9afvhgm --userspace tp:tptest
# lttng start 'session_amua1qp1'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_v3ibg6cp_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_u2cb84tr_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_3ukep2ga_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_mkx3spm2_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_v3ibg6cp_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_u2cb84tr_start_tracing
# [4060] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3ukep2ga_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mkx3spm2_done_tracing
# lttng stop 'session_amua1qp1'
# lttng clear 'session_amua1qp1'
# lttng rotate 'session_amua1qp1' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_amua1qp1'
# lttng stop 'session_amua1qp1'
# lttng destroy session_amua1qp1 --no-wait
ok 238 # Skip: test_ust_local_snapshot_per_pid does not run with rotations enabled
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 238 # SKIP : test_ust_local_snapshot_per_pid does not run with rotations enabled
ok 239 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 239 - Received 0 events, expected 0
---
  duration_ms: 664.73388
...
# lttng create session_xph96z55 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_xph96z55 --userspace channel_oztbk1h3 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_xph96z55 --channel channel_oztbk1h3 --userspace tp:tptest
# lttng start 'session_xph96z55'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_e4ovsf4f_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ro3bvjgw_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_9jfs4oai_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_4sld966h_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_e4ovsf4f_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ro3bvjgw_start_tracing
# [4073] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9jfs4oai_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4sld966h_done_tracing
# lttng rotate 'session_xph96z55' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_0am9jn5__ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_ercc5jp9_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_pfpfn1g__before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_l3quw08f_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0am9jn5__ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_ercc5jp9_start_tracing
# [4077] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pfpfn1g__before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_l3quw08f_done_tracing
# lttng stop 'session_xph96z55'
# lttng clear 'session_xph96z55'
# lttng rotate 'session_xph96z55' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_xph96z55'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_nrjw_tm7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_o9vsgvcb_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_r4db5onw_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_w606yip1_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nrjw_tm7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_o9vsgvcb_start_tracing
# [4084] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_r4db5onw_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w606yip1_done_tracing
# lttng stop 'session_xph96z55'
# lttng destroy session_xph96z55 --no-wait

ok 240 - Received 4 events, expected 4
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 240 - Received 4 events, expected 4
---
  duration_ms: 1407.02508
...
# lttng create session_n0hpiq2i --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_n0hpiq2i --userspace channel_op9ii3fp --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_n0hpiq2i --channel channel_op9ii3fp --userspace tp:tptest
# lttng start 'session_n0hpiq2i'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_obq7obp8_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_zi8873oc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_wmqkjk38_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_z1sb4b7b_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_obq7obp8_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_zi8873oc_start_tracing
# [4093] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_wmqkjk38_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_z1sb4b7b_done_tracing
# lttng stop 'session_n0hpiq2i'
# lttng clear 'session_n0hpiq2i'
# lttng rotate 'session_n0hpiq2i' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_n0hpiq2i'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_pc3r1b8p_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_enfa70v6_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_60qve1l4_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_vju3ru8a_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pc3r1b8p_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_enfa70v6_start_tracing
# [4100] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_60qve1l4_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vju3ru8a_done_tracing
# lttng rotate 'session_n0hpiq2i' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_timfwew4_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_tp68a3dv_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_xolwdhy5_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_erb_di5k_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_timfwew4_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_tp68a3dv_start_tracing
# [4104] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xolwdhy5_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_erb_di5k_done_tracing
# lttng stop 'session_n0hpiq2i'
# lttng destroy session_n0hpiq2i --no-wait

ok 241 - Received 5 events, expected 5
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 241 - Received 5 events, expected 5
---
  duration_ms: 1355.38808
...
# lttng create session_h633d0yq --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_h633d0yq --userspace channel_ah3gj1ky --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_h633d0yq --channel channel_ah3gj1ky --userspace tp:tptest
# lttng start 'session_h633d0yq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_9vap83_1_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_8ib3sicf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_1262tf9f_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_vhuy6_ta_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9vap83_1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_8ib3sicf_start_tracing

pid 4115's current affinity list: 0-3
# [4115] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1262tf9f_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vhuy6_ta_done_tracing
# lttng stop 'session_h633d0yq'
# lttng clear 'session_h633d0yq'
# lttng rotate 'session_h633d0yq' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_h633d0yq'
# lttng stop 'session_h633d0yq'
# lttng start 'session_h633d0yq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_7veh89mw_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_kgcxnaxn_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_z4ezcq_3_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_o91b7ldn_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7veh89mw_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_kgcxnaxn_start_tracing
pid 4115's new affinity list: 0
pid 4125's current affinity list: 0-3
# [4125] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_z4ezcq_3_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_o91b7ldn_done_tracing
# lttng stop 'session_h633d0yq'
# lttng destroy session_h633d0yq --no-wait
pid 4125's new affinity list: 0
ok 242 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 242 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 750.48352
...
# lttng create session_9wpg247v --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_9wpg247v --userspace channel_6xm5wn3i --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_9wpg247v --channel channel_6xm5wn3i --userspace tp:tptest
# lttng start 'session_9wpg247v'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_qgp5hnso_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_6iwnm8xy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_klbk7yxt_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_4o4nri2g_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_qgp5hnso_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_6iwnm8xy_start_tracing

pid 4137's current affinity list: 0-3
# [4137] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_klbk7yxt_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4o4nri2g_done_tracing
# lttng stop 'session_9wpg247v'
# lttng clear 'session_9wpg247v'
# lttng rotate 'session_9wpg247v' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_9wpg247v'
# lttng stop 'session_9wpg247v'
# lttng start 'session_9wpg247v'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_a2kkfd3s_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_djbvkt_u_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_nd2okwwx_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_pkp24hee_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_a2kkfd3s_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_djbvkt_u_start_tracing
pid 4137's new affinity list: 0
pid 4147's current affinity list: 0-3
# [4147] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nd2okwwx_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pkp24hee_done_tracing
# lttng stop 'session_9wpg247v'
# lttng destroy session_9wpg247v --no-wait
pid 4147's new affinity list: 0
ok 243 - First application received 0 events; Second application received 30 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
PASS: tools/clear/test_ust.py 243 - First application received 0 events; Second application received 30 events
---
  duration_ms: 998.18872
...
# lttng create session_88v23061 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_88v23061 --userspace channel_fz8bijqc --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_88v23061 --channel channel_fz8bijqc --userspace tp:tptest
# lttng start 'session_88v23061'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_iyg515my_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_z7bm86vy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_mgkn5diy_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_de4_bpjh_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_iyg515my_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_z7bm86vy_start_tracing
# [4157] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mgkn5diy_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_de4_bpjh_done_tracing
# lttng stop 'session_88v23061'
# lttng clear 'session_88v23061'
# lttng rotate 'session_88v23061' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_88v23061'
# lttng stop 'session_88v23061'
# lttng destroy session_88v23061 --no-wait

ok 244 - Received 0 events, expected 0
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}PASS: tools/clear/test_ust.py 244 - Received 0 events, expected 0

---
  duration_ms: 809.95056
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}...


ok 245 # Skip: test_ust_streaming_live does not run with the rotate_before or rotate_after options
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
SKIP: tools/clear/test_ust.py 245 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
ok 246 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 246 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 247 # Skip: test_ust_streaming_live does not run with rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 247 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
# lttng create session_p4x9cyhh --output /tmp/lttng_test_env_homexz4xop3r/tracejzmpncbb
# lttng enable-channel --session session_p4x9cyhh --userspace channel_ijlmg27q --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_p4x9cyhh --channel channel_ijlmg27q --userspace tp:tptest
# lttng start 'session_p4x9cyhh'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_zdx3pqjp_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_8v9nnkac_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zvt0vxk0_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_xk4fy9gc_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zdx3pqjp_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_8v9nnkac_start_tracing
# [4170] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zvt0vxk0_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xk4fy9gc_done_tracing
# lttng stop 'session_p4x9cyhh'
# lttng clear 'session_p4x9cyhh'
# lttng rotate 'session_p4x9cyhh' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_p4x9cyhh'
# lttng stop 'session_p4x9cyhh'
ok 248 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# lttng destroy session_p4x9cyhh --no-wait
SKIP: tools/clear/test_ust.py 248 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 249 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 249 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 576.57932
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
# lttng create session_1jj68lji --output /tmp/lttng_test_env_homexz4xop3r/tracecfk0mui3
# lttng enable-channel --session session_1jj68lji --userspace channel_51hjrmz2 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_1jj68lji --channel channel_51hjrmz2 --userspace tp:tptest
# lttng start 'session_1jj68lji'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_0n6rgjdn_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_av9so0fn_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_442uqm9a_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_v_mg3c7j_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0n6rgjdn_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_av9so0fn_start_tracing
# [4183] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_442uqm9a_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_v_mg3c7j_done_tracing
# lttng rotate 'session_1jj68lji' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_py_g1bbo_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3ez_7x8g_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_srawn5fn_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0mufacsp_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_py_g1bbo_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3ez_7x8g_start_tracing
# [4187] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_srawn5fn_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0mufacsp_done_tracing
# lttng stop 'session_1jj68lji'
# lttng clear 'session_1jj68lji'
# lttng rotate 'session_1jj68lji' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_1jj68lji'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_4wdzna2x_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_mjq29f00_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_3c5xjhkq_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_t99pdovh_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4wdzna2x_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_mjq29f00_start_tracing
# [4194] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_3c5xjhkq_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_t99pdovh_done_tracing
# lttng stop 'session_1jj68lji'

ok 250 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
# lttng destroy session_1jj68lji --no-wait
PASS: tools/clear/test_ust.py 250 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1250.0392
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
# lttng create session_xlv5fivb --output /tmp/lttng_test_env_homexz4xop3r/traceb2to4gsz
# lttng enable-channel --session session_xlv5fivb --userspace channel_17v9kc9h --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_xlv5fivb --channel channel_17v9kc9h --userspace tp:tptest
# lttng start 'session_xlv5fivb'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_5oluhnei_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_52zwi1av_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ijfxx5t9_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_12ptqqiz_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5oluhnei_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_52zwi1av_start_tracing
# [4203] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ijfxx5t9_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_12ptqqiz_done_tracing
# lttng stop 'session_xlv5fivb'
# lttng clear 'session_xlv5fivb'
# lttng rotate 'session_xlv5fivb' 
# Error: Session was already rotated once since it became inactive
# lttng start 'session_xlv5fivb'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_l744rt0h_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_dveq1v73_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_zj_xjzro_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_w2mb_4zi_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_l744rt0h_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_dveq1v73_start_tracing
# [4210] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_zj_xjzro_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_w2mb_4zi_done_tracing
# lttng rotate 'session_xlv5fivb' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_bam_u3hq_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_4naqne5j_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_pcrzmns7_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_ky8l43sn_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_bam_u3hq_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_4naqne5j_start_tracing
# [4214] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_pcrzmns7_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ky8l43sn_done_tracing
# lttng stop 'session_xlv5fivb'

ok 251 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
# lttng destroy session_xlv5fivb --no-wait
PASS: tools/clear/test_ust.py 251 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1244.14796
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}

ok 252 # Skip: Disabled for tests with rotate_before or rotate_after
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': True}
# Test 'test_ust_streaming' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 252 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 253 # Skip: test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 253 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
ok 254 # Skip: test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# lttng create session_031125rc --set-url net://localhost:40305:38025/
SKIP: tools/clear/test_ust.py 254 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# lttng enable-channel --session session_031125rc --userspace channel_l3qy5c4i --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_031125rc --channel channel_l3qy5c4i --userspace tp:tptest
# lttng start 'session_031125rc'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_5gaeddsj_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_zg8nwhbl_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_4uscbyxn_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_8uefubtj_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5gaeddsj_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_zg8nwhbl_start_tracing
# [4223] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_4uscbyxn_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8uefubtj_done_tracing
# lttng clear 'session_031125rc'
# lttng rotate 'session_031125rc' 
# lttng stop 'session_031125rc'
# lttng destroy session_031125rc --no-wait
ok 255 # Skip: test_ust_local_snapshot_per_pid does not run with rotations enabled
# Test 'test_ust_streaming_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 255 # SKIP : test_ust_local_snapshot_per_pid does not run with rotations enabled
ok 256 - Received 0 events, expected 0
PASS: tools/clear/test_ust.py 256 - Received 0 events, expected 0
---
  duration_ms: 1304.64344
...
# lttng create session_efkgrhuf --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_efkgrhuf --userspace channel_o3hoaci7 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_efkgrhuf --channel channel_o3hoaci7 --userspace tp:tptest
# lttng start 'session_efkgrhuf'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_ma1jq8s7_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app__c8u9xr7_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_j4pknokz_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_289g_1_c_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ma1jq8s7_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app__c8u9xr7_start_tracing
# [4234] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_j4pknokz_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_289g_1_c_done_tracing
# lttng rotate 'session_efkgrhuf' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_m1jvfk4l_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_by7kwvur_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_d5br_vow_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_q57dkg0__done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_m1jvfk4l_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_by7kwvur_start_tracing
# [4238] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_d5br_vow_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_q57dkg0__done_tracing
# lttng clear 'session_efkgrhuf'
# lttng rotate 'session_efkgrhuf' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_i_dae3v8_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_jg6zaqem_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2g50k6qr_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_38514ttq_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_i_dae3v8_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_jg6zaqem_start_tracing
# [4243] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2g50k6qr_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_38514ttq_done_tracing
# lttng stop 'session_efkgrhuf'
# lttng destroy session_efkgrhuf --no-wait

ok 257 - Received 4 events, expected 4
# Test 'test_ust_streaming_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 257 - Received 4 events, expected 4
---
  duration_ms: 1963.18068
...
# lttng create session_s6mr51me --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_s6mr51me --userspace channel_nd8gv4yz --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_s6mr51me --channel channel_nd8gv4yz --userspace tp:tptest
# lttng start 'session_s6mr51me'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_f77gihai_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_77z3vrtc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_1kl6c0zx_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_oxfp4kg__done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_f77gihai_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_77z3vrtc_start_tracing
# [4252] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_1kl6c0zx_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_oxfp4kg__done_tracing
# lttng clear 'session_s6mr51me'
# lttng rotate 'session_s6mr51me' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_y05hahcx_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_yirvakee_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_8_2dp48t_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app__n0usfio_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_y05hahcx_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_yirvakee_start_tracing
# [4257] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8_2dp48t_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app__n0usfio_done_tracing
# lttng rotate 'session_s6mr51me' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_9o1q62_p_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_fp67qcny_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_vyc9wjmd_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_sv5r5xf8_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9o1q62_p_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_fp67qcny_start_tracing
# [4261] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_vyc9wjmd_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sv5r5xf8_done_tracing
# lttng stop 'session_s6mr51me'
# lttng destroy session_s6mr51me --no-wait

ok 258 - Received 5 events, expected 5
# Test 'test_ust_streaming_tracefile_rotation' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 258 - Received 5 events, expected 5
---
  duration_ms: 2190.5536
...
# lttng create session_5992fgob --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_5992fgob --userspace channel_nouqfqp5 --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_5992fgob --channel channel_nouqfqp5 --userspace tp:tptest
# lttng start 'session_5992fgob'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_8chaezrx_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_49opip7m_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_o8h5xphi_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_0fh80aai_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8chaezrx_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_49opip7m_start_tracing

pid 4272's current affinity list: 0-3
# [4272] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_o8h5xphi_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_0fh80aai_done_tracing
# lttng clear 'session_5992fgob'
# lttng rotate 'session_5992fgob' 
# lttng stop 'session_5992fgob'
# lttng start 'session_5992fgob'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 20 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_60sw4w9l_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_280wzl2l_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_onf3k70w_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_8y783qgr_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 20 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_60sw4w9l_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_280wzl2l_start_tracing
pid 4272's new affinity list: 0
pid 4280's current affinity list: 0-3
# [4280] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_onf3k70w_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_8y783qgr_done_tracing
# lttng stop 'session_5992fgob'
# lttng destroy session_5992fgob --no-wait
pid 4280's new affinity list: 0
ok 259 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
# Test 'test_ust_streaming_tracefile_rotation_overwrite_files' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 259 - After first app 0 received and 0 discarded events, expected 0 received and 0 discarded events; After second app 20 received and 0 discarded events, expected 20 received and 0 discarded events
---
  duration_ms: 1389.028359
...
# lttng create session_ntufrnz9 --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_ntufrnz9 --userspace channel_riudozqx --buffer-allocation=per-cpu --buffer-ownership=process --subbuf-size 4096 --tracefile-count 2 --tracefile-size 4096
# lttng enable-event --session session_ntufrnz9 --channel channel_riudozqx --userspace tp:tptest
# lttng start 'session_ntufrnz9'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 200000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_y76hn0bj_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_8u7_wmue_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_iryl7inx_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_x7mnaue5_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 200000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_y76hn0bj_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_8u7_wmue_start_tracing

pid 4292's current affinity list: 0-3
# [4292] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_iryl7inx_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_x7mnaue5_done_tracing
# lttng clear 'session_ntufrnz9'
# lttng rotate 'session_ntufrnz9' 
# lttng stop 'session_ntufrnz9'
# lttng start 'session_ntufrnz9'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 400000 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_84yv5ddd_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_b4gz1_yh_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app__nztt_qs_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_rlvi_azp_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 400000 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_84yv5ddd_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_b4gz1_yh_start_tracing
pid 4292's new affinity list: 0
pid 4300's current affinity list: 0-3
# [4300] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app__nztt_qs_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rlvi_azp_done_tracing
# lttng stop 'session_ntufrnz9'
# lttng destroy session_ntufrnz9 --no-wait
pid 4300's new affinity list: 0
ok 260 - First application received 0 events; Second application received 16 events
# Test 'test_ust_streaming_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
PASS: tools/clear/test_ust.py 260 - First application received 0 events; Second application received 16 events
---
  duration_ms: 1498.079881
...
# lttng create session_qs3027vq --set-url net://localhost:40305:38025/
# lttng enable-channel --session session_qs3027vq --userspace channel_qkzigbw0 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_qs3027vq --channel channel_qkzigbw0 --userspace tp:tptest
# lttng start 'session_qs3027vq'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_9_1dq43z_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_6cb7l7pa_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_2juhe0mq_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_un2458ns_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9_1dq43z_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_6cb7l7pa_start_tracing
# [4310] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2juhe0mq_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_un2458ns_done_tracing
# lttng clear 'session_qs3027vq'
# lttng rotate 'session_qs3027vq' 
# lttng stop 'session_qs3027vq'
# lttng destroy session_qs3027vq --no-wait

ok 261 - Received 0 events, expected 0
# Test 'test_ust_streaming_live' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_basic_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_live_viewer' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_live_viewer_new_metadata_after_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}PASS: tools/clear/test_ust.py 261 - Received 0 events, expected 0
---
  duration_ms: 1205.28592
...


ok 262 # Skip: test_ust_streaming_live does not run with the rotate_before or rotate_after options
# Test 'test_ust_local' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 262 # SKIP : test_ust_streaming_live does not run with the rotate_before or rotate_after options
ok 263 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
SKIP: tools/clear/test_ust.py 263 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
ok 264 # Skip: test_ust_streaming_live does not run with rotate_before, or rotate_after options
# lttng create session_gezne8ig --output /tmp/lttng_test_env_homexz4xop3r/traceq2vjz20s
SKIP: tools/clear/test_ust.py 264 # SKIP : test_ust_streaming_live does not run with rotate_before, or rotate_after options
# lttng enable-channel --session session_gezne8ig --userspace channel_pxr82kjb --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_gezne8ig --channel channel_pxr82kjb --userspace tp:tptest
# lttng start 'session_gezne8ig'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_y8ozckrh_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_zya_kzsf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_rf8lqnns_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_9rfmqa3m_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_y8ozckrh_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_zya_kzsf_start_tracing
# [4321] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_rf8lqnns_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9rfmqa3m_done_tracing
# lttng clear 'session_gezne8ig'
# lttng rotate 'session_gezne8ig' 
# lttng stop 'session_gezne8ig'
ok 265 # Skip: test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options
# lttng destroy session_gezne8ig --no-waitSKIP: tools/clear/test_ust.py 265 # SKIP : test_ust_streaming_live does not run with clear_twice, rotate_before, or rotate_after options

ok 266 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
PASS: tools/clear/test_ust.py 266 - 0 received and 0 discarded events. Excepted 0 received and 0 discarded events
---
  duration_ms: 1165.34664
...
# Test 'test_ust_local_rotate_clear' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
# lttng create session_44mddmb9 --output /tmp/lttng_test_env_homexz4xop3r/tracep3_z3tvs
# lttng enable-channel --session session_44mddmb9 --userspace channel_yfxz55v9 --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_44mddmb9 --channel channel_yfxz55v9 --userspace tp:tptest
# lttng start 'session_44mddmb9'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_nq7ox4_e_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3m3kv2u4_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_tirz269z_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_xsvlidqx_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_nq7ox4_e_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3m3kv2u4_start_tracing
# [4332] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_tirz269z_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_xsvlidqx_done_tracing
# lttng rotate 'session_44mddmb9' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_mr23lhza_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_6fh73jw3_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_ubjxe9fu_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app__7_pldp7_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_mr23lhza_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_6fh73jw3_start_tracing
# [4336] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_ubjxe9fu_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app__7_pldp7_done_tracing
# lttng clear 'session_44mddmb9'
# lttng rotate 'session_44mddmb9' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_9ewmfr_d_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_c0aizfkh_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_m6lvxozo_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_sywauoux_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_9ewmfr_d_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_c0aizfkh_start_tracing
# [4341] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_m6lvxozo_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_sywauoux_done_tracing
# lttng stop 'session_44mddmb9'
# lttng destroy session_44mddmb9 --no-wait

ok 267 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
PASS: tools/clear/test_ust.py 267 - 4 received and 0 discarded events. Expected 4 received and 0 discarded events
---
  duration_ms: 1837.5134
...
# Test 'test_ust_local_clear_rotate' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
# lttng create session_uj6osckw --output /tmp/lttng_test_env_homexz4xop3r/trace9caax465
# lttng enable-channel --session session_uj6osckw --userspace channel_r0epo1uc --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_uj6osckw --channel channel_r0epo1uc --userspace tp:tptest
# lttng start 'session_uj6osckw'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 1 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_h4edi5h8_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_2p4ahruv_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_m8tu62vu_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_27lz9zfq_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 1 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_h4edi5h8_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_2p4ahruv_start_tracing
# [4350] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_m8tu62vu_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_27lz9zfq_done_tracing
# lttng clear 'session_uj6osckw'
# lttng rotate 'session_uj6osckw' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 2 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_p6_26r7s_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_rxau7xtj_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app__v4a_5u8_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_hfsco94u_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 2 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_p6_26r7s_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_rxau7xtj_start_tracing
# [4355] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app__v4a_5u8_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_hfsco94u_done_tracing
# lttng rotate 'session_uj6osckw' 
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 3 --sync-application-in-main-touch /tmp/lttng_test_env_homexz4xop3r/app_7i4br3lo_ready --sync-before-first-event /tmp/lttng_test_env_homexz4xop3r/app_3_30hpah_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homexz4xop3r/app_5nlq6udd_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homexz4xop3r/app_2pts9rwj_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 3 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homexz4xop3r/app_7i4br3lo_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homexz4xop3r/app_3_30hpah_start_tracing
# [4359] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homexz4xop3r/app_5nlq6udd_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homexz4xop3r/app_2pts9rwj_done_tracing
# lttng stop 'session_uj6osckw'

ok 268 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
# lttng destroy session_uj6osckw --no-wait
PASS: tools/clear/test_ust.py 268 - 5 received and 0 discarded events. Excepted 5 received and 0 discarded events
---
  duration_ms: 1833.509239
...
# Test 'test_ust_local_no_event' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_streaming_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}

ok 269 # Skip: Disabled for tests with rotate_before or rotate_after
# Test 'test_ust_local_snapshot' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
# Test 'test_ust_local_snapshot_per_pid' with args: {'buffer_sharing_policy': <BufferSharingPolicy.PerPID>, 'rotate_after': True, 'stop_session_before_clear': False}
SKIP: tools/clear/test_ust.py 269 # SKIP : Disabled for tests with rotate_before or rotate_after
ok 270 # Skip: test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# Termination signal sent to session daemon (pid = 1251)
SKIP: tools/clear/test_ust.py 270 # SKIP : test_ust_streaming_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
ok 271 # Skip: test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
SKIP: tools/clear/test_ust.py 271 # SKIP : test_ust_local_snapshot does not run with buffer_sharing_policy=`BufferSharingPolicy.PerPID`
# Session daemon killed
# Termination signal sent to relayd (pid = 1241)
# Relayd killed
ok 272 # Skip: test_ust_local_snapshot_per_pid does not run with rotations enabled
SKIP: tools/clear/test_ust.py 272 # SKIP : test_ust_local_snapshot_per_pid does not run with rotations enabled

SKIP: tools/clear/test_ust_multi_user.py
========================================

1..1
ok 1 # Skip: Need to run test as root with `LTTNG_ENABLE_DESTRUCTIVE_TESTS` properly set to create a dummy user
SKIP: tools/clear/test_ust_multi_user.py 1 # SKIP : Need to run test as root with `LTTNG_ENABLE_DESTRUCTIVE_TESTS` properly set to create a dummy user

PASS: tools/live/test_early_inactive_app.py
===========================================

# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_home6063hphh'
# Failed to open port file '/tmp/lttng_test_env_rundirjihmj5b0/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjihmj5b0/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirjihmj5b0/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjihmj5b0/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirjihmj5b0/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjihmj5b0/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundirjihmj5b0/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundirjihmj5b0/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjihmj5b0/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirjihmj5b0/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjihmj5b0/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirjihmj5b0/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjihmj5b0/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirjihmj5b0/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjihmj5b0/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 45297, data 45651, and live 33869
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_home6063hphh`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# test_early_inactive_app with buffer sharing policy BufferSharingPolicy.PerUID
# Termination signal sent to session daemon (pid = 4412)
1..4
ok 1 # Skip: Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
SKIP: tools/live/test_early_inactive_app.py 1 # SKIP : Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
# Session daemon killed
# Termination signal sent to relayd (pid = 4402)
# Relayd killed
# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_homehrbfddhu'
# Failed to open port file '/tmp/lttng_test_env_rundir3n7rpifq/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3n7rpifq/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundir3n7rpifq/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3n7rpifq/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundir3n7rpifq/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3n7rpifq/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundir3n7rpifq/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundir3n7rpifq/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3n7rpifq/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundir3n7rpifq/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3n7rpifq/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundir3n7rpifq/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3n7rpifq/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundir3n7rpifq/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3n7rpifq/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 45959, data 42317, and live 38153
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_homehrbfddhu`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# test_early_inactive_app with buffer sharing policy BufferSharingPolicy.PerPID
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homehrbfddhu/app_n5hm7868_ready --sync-before-first-event /tmp/lttng_test_env_homehrbfddhu/app_imfq02hs_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homehrbfddhu/app_4d46l7pw_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homehrbfddhu/app_m833aada_done_tracing --sync-before-exit /tmp/lttng_test_env_homehrbfddhu/app_ra70dand_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homehrbfddhu/app_n5hm7868_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homehrbfddhu/app_imfq02hs_start_tracing
# [4456] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homehrbfddhu/app_4d46l7pw_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homehrbfddhu/app_m833aada_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homehrbfddhu/app_ra70dand_exit
# [4456] Tracing done
# lttng create session_ueqgtjmo --set-url net://localhost:45959:42317/ --live
# lttng enable-channel --session session_ueqgtjmo --userspace channel_9hxlnqem --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_ueqgtjmo --channel channel_9hxlnqem --userspace tp:tptest
# lttng start 'session_ueqgtjmo'
# Session 'session_ueqgtjmo' is available at net://localhost:38153
# Checking for connected clients at 'net://localhost:38153'
# Session 'session_ueqgtjmo' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homehrbfddhu/app_7a0n1crb_ready --sync-before-first-event /tmp/lttng_test_env_homehrbfddhu/app_gl57ens7_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homehrbfddhu/app_qpzdvedz_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homehrbfddhu/app_fxfu2jln_done_tracing --sync-before-exit /tmp/lttng_test_env_homehrbfddhu/app_pedstcz0_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homehrbfddhu/app_7a0n1crb_ready
# [4476] Tracing started# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homehrbfddhu/app_gl57ens7_start_tracing

# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homehrbfddhu/app_qpzdvedz_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homehrbfddhu/app_fxfu2jln_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homehrbfddhu/app_pedstcz0_exit
# [4476] Tracing done
# lttng stop 'session_ueqgtjmo'
# lttng destroy session_ueqgtjmo
# Checking for connected clients at 'net://localhost:38153'
# Session 'session_ueqgtjmo' has 1 connected clients
# Checking for connected clients at 'net://localhost:38153'
# Checking for connected clients at 'net://localhost:38153'
ok 2 # Skip: Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
SKIP: tools/live/test_early_inactive_app.py 2 # SKIP : Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
ok 3 - Live viewer exited gracefully
PASS: tools/live/test_early_inactive_app.py 3 - Live viewer exited gracefully
---
  duration_ms: 3532.6776
...

ok 4 - Live viewer got 10 / 10 expected events
PASS: tools/live/test_early_inactive_app.py 4 - Live viewer got 10 / 10 expected events
---
  duration_ms: 0.019119
...
# Termination signal sent to session daemon (pid = 4441)
# Session daemon killed
# Termination signal sent to relayd (pid = 4431)
# Relayd killed


SKIP: tools/live/test_high_latency.py
=====================================

1..1
ok 1 # Skip: `tc` is required
SKIP: tools/live/test_high_latency.py 1 # SKIP : `tc` is required

PASS: tools/live/test_lttng_ust_two_apps.py
===========================================

# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_homeumd3xgkz'
# Failed to open port file '/tmp/lttng_test_env_rundirmsh93u_r/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirmsh93u_r/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirmsh93u_r/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirmsh93u_r/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirmsh93u_r/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirmsh93u_r/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundirmsh93u_r/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundirmsh93u_r/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirmsh93u_r/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirmsh93u_r/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirmsh93u_r/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirmsh93u_r/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirmsh93u_r/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirmsh93u_r/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirmsh93u_r/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 45329, data 45451, and live 44031
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_homeumd3xgkz`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# test_lttng_ust_two_apps with buffer sharing policy BufferSharingPolicy.PerUID
# Termination signal sent to session daemon (pid = 4595)
1..4
ok 1 # Skip: Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
SKIP: tools/live/test_lttng_ust_two_apps.py 1 # SKIP : Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
# Session daemon killed
# Termination signal sent to relayd (pid = 4585)
# Relayd killed
# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_homepecayfgu'
# Failed to open port file '/tmp/lttng_test_env_rundirnxnqonup/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirnxnqonup/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirnxnqonup/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirnxnqonup/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirnxnqonup/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirnxnqonup/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundirnxnqonup/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundirnxnqonup/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirnxnqonup/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirnxnqonup/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirnxnqonup/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirnxnqonup/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirnxnqonup/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirnxnqonup/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirnxnqonup/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 46565, data 38243, and live 39313
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_homepecayfgu`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# test_lttng_ust_two_apps with buffer sharing policy BufferSharingPolicy.PerPID
# lttng create session_374kbxhg --set-url net://localhost:46565:38243/ --live
# lttng enable-channel --session session_374kbxhg --userspace channel_mdwzxcdt --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_374kbxhg --channel channel_mdwzxcdt --userspace tp:tptest
# lttng start 'session_374kbxhg'
# Session 'session_374kbxhg' is available at net://localhost:39313
# Checking for connected clients at 'net://localhost:39313'
# Session 'session_374kbxhg' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homepecayfgu/app_r12ijiah_ready --sync-before-first-event /tmp/lttng_test_env_homepecayfgu/app_46lmyi9x_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homepecayfgu/app_zpdcb3_d_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homepecayfgu/app_yd3izko2_done_tracing --sync-before-exit /tmp/lttng_test_env_homepecayfgu/app_z5hyeufx_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homepecayfgu/app_r12ijiah_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homepecayfgu/app_46lmyi9x_start_tracing
# [4655] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homepecayfgu/app_zpdcb3_d_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homepecayfgu/app_yd3izko2_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homepecayfgu/app_z5hyeufx_exit
# [4655] Tracing done
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homepecayfgu/app_ziz6ahsb_ready --sync-before-first-event /tmp/lttng_test_env_homepecayfgu/app_fd8wcamu_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homepecayfgu/app_l0n1oynt_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homepecayfgu/app_3_q4z41c_done_tracing --sync-before-exit /tmp/lttng_test_env_homepecayfgu/app_nxpzh0eo_exit'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homepecayfgu/app_ziz6ahsb_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homepecayfgu/app_fd8wcamu_start_tracing
# [4659] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homepecayfgu/app_l0n1oynt_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homepecayfgu/app_3_q4z41c_done_tracing
# test-app-gen-ust-events: gen-ust-events: sync-before-exit: wait /tmp/lttng_test_env_homepecayfgu/app_nxpzh0eo_exit
# [4659] Tracing done
# lttng stop 'session_374kbxhg'
# lttng destroy session_374kbxhg
# Checking for connected clients at 'net://localhost:39313'
# Session 'session_374kbxhg' has 1 connected clients
# Checking for connected clients at 'net://localhost:39313'
# Checking for connected clients at 'net://localhost:39313'
ok 2 # Skip: Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
SKIP: tools/live/test_lttng_ust_two_apps.py 2 # SKIP : Need to run PerUID test as root and have `LTTNG_ENABLE_DESTRUCTIVE_TESTS` set properly to create a dummy user
ok 3 - Live viewer exited gracefully
PASS: tools/live/test_lttng_ust_two_apps.py 3 - Live viewer exited gracefully
---
  duration_ms: 5018.91288
...

ok 4 - Live viewer got 20 / 20 expected events
PASS: tools/live/test_lttng_ust_two_apps.py 4 - Live viewer got 20 / 20 expected events
---
  duration_ms: 0.02008
...
# Termination signal sent to session daemon (pid = 4624)
# Session daemon killed
# Termination signal sent to relayd (pid = 4614)
# Relayd killed


PASS: tools/live/test_miss_short_lived_app.py
=============================================

# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_homenr_ilsss'
# Failed to open port file '/tmp/lttng_test_env_rundirjoj3ligj/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjoj3ligj/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirjoj3ligj/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjoj3ligj/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirjoj3ligj/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjoj3ligj/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundirjoj3ligj/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundirjoj3ligj/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjoj3ligj/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirjoj3ligj/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjoj3ligj/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirjoj3ligj/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjoj3ligj/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirjoj3ligj/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirjoj3ligj/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 37249, data 34013, and live 33321
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_homenr_ilsss`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# test_short_lived_ust_app with buffer sharing policy `BufferSharingPolicy.PerUID`
# Termination signal sent to session daemon (pid = 4693)
1..2
# Session daemon killed
# Termination signal sent to relayd (pid = 4683)
# Relayd killed
# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_homez5b6d5qb'
# Failed to open port file '/tmp/lttng_test_env_rundirlmk0xca4/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirlmk0xca4/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirlmk0xca4/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirlmk0xca4/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirlmk0xca4/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirlmk0xca4/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundirlmk0xca4/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundirlmk0xca4/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirlmk0xca4/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirlmk0xca4/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirlmk0xca4/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirlmk0xca4/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirlmk0xca4/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirlmk0xca4/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirlmk0xca4/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 41587, data 32873, and live 38619
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_homez5b6d5qb`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# test_short_lived_ust_app with buffer sharing policy `BufferSharingPolicy.PerPID`
# lttng create session_pdc8u1tc --set-url net://localhost:41587:32873/ --live
# lttng enable-channel --session session_pdc8u1tc --userspace channel_17s9qdth --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_pdc8u1tc --channel channel_17s9qdth --userspace tp:tptest
# lttng start 'session_pdc8u1tc'
# Session 'session_pdc8u1tc' is available at net://localhost:38619
# Checking for connected clients at 'net://localhost:38619'
# Session 'session_pdc8u1tc' has 1 connected clients
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homez5b6d5qb/app_agyvj4dp_ready --sync-before-first-event /tmp/lttng_test_env_homez5b6d5qb/app_6i5lt_vy_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homez5b6d5qb/app_x1zafvpp_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homez5b6d5qb/app_2vgfje92_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homez5b6d5qb/app_agyvj4dp_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homez5b6d5qb/app_6i5lt_vy_start_tracing
# [4753] Tracing started
# test-app-gen-ust-events: gen-ust-events: sync-before-last-event-touch: create /tmp/lttng_test_env_homez5b6d5qb/app_x1zafvpp_before_last_event
# test-app-gen-ust-events: gen-ust-events: sync-before-exit-touch: create /tmp/lttng_test_env_homez5b6d5qb/app_2vgfje92_done_tracing
# [4753] Tracing done
# lttng stop 'session_pdc8u1tc'
# lttng destroy session_pdc8u1tc
ok 1 # Skip: Need to run PerUID test as root with `LTTNG_ENABLE_DESTRUCTIVE_TESTS` properly set to create a dummy user
# Termination signal sent to session daemon (pid = 4722)
SKIP: tools/live/test_miss_short_lived_app.py 1 # SKIP : Need to run PerUID test as root with `LTTNG_ENABLE_DESTRUCTIVE_TESTS` properly set to create a dummy user
ok 2 - Live viewer got 10 / 10 expected events add exited gracefully
PASS: tools/live/test_miss_short_lived_app.py 2 - Live viewer got 10 / 10 expected events add exited gracefully
---
  duration_ms: 1207.28956
...
# Session daemon killed
# Termination signal sent to relayd (pid = 4712)
# Relayd killed


PASS: tools/live/test_per_application_leaks.py
==============================================

# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_homesgt_tvxu'
# Failed to open port file '/tmp/lttng_test_env_rundirv519aomg/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirv519aomg/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirv519aomg/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirv519aomg/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirv519aomg/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirv519aomg/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundirv519aomg/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundirv519aomg/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirv519aomg/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirv519aomg/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirv519aomg/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirv519aomg/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirv519aomg/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirv519aomg/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirv519aomg/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 46807, data 34247, and live 44535
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_homesgt_tvxu`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# test_fd_leak with buffer sharing policy BufferSharingPolicy.PerUID, kill relayd: True
# lttng create session_tw5yk1wb --set-url net://localhost:46807:34247/ --live
# lttng enable-channel --session session_tw5yk1wb --userspace channel_y1sjgi9f --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_tw5yk1wb --channel channel_y1sjgi9f --userspace --all
# lttng start 'session_tw5yk1wb'
# Termination signal sent to relayd (pid = 5012)
# Relayd killed
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homesgt_tvxu/app_frnd60v1_ready --sync-before-first-event /tmp/lttng_test_env_homesgt_tvxu/app_apbc2oyc_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homesgt_tvxu/app_cgq5nu48_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homesgt_tvxu/app__bhmwpzb_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homesgt_tvxu/app_frnd60v1_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homesgt_tvxu/app_apbc2oyc_start_tracing
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homesgt_tvxu/app_smfb9gap_ready --sync-before-first-event /tmp/lttng_test_env_homesgt_tvxu/app_puy1x0tf_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homesgt_tvxu/app_e3tohpjc_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homesgt_tvxu/app_pi3qbfri_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homesgt_tvxu/app_smfb9gap_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homesgt_tvxu/app_puy1x0tf_start_tracing
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homesgt_tvxu/app_socybiwb_ready --sync-before-first-event /tmp/lttng_test_env_homesgt_tvxu/app_tpnotnb__start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homesgt_tvxu/app_fmywbeps_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homesgt_tvxu/app_2otjlk78_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homesgt_tvxu/app_socybiwb_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homesgt_tvxu/app_tpnotnb__start_tracing
# lttng stop 'session_tw5yk1wb'
# lttng destroy session_tw5yk1wb
# Waiting for post-destroy shm count to drop back to post-start level
# FD counts post-start: (0, 0), post-destroy: (0, 0)
# FD counts post-app-1: (0, 0), post-app-2: (0, 0), post-app-3: (0, 0)
# Termination signal sent to session daemon (pid = 5022)
1..8
ok 1 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
PASS: tools/live/test_per_application_leaks.py 1 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
---
  duration_ms: 949.04684
...

ok 2 - Count of consumerd FDs in /dev/shm doesn't leak over several application invocations
PASS: tools/live/test_per_application_leaks.py 2 - Count of consumerd FDs in /dev/shm doesn't leak over several application invocations
---
  duration_ms: 0.01416
...
# Session daemon killed
# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_home63hb8jf4'
# Failed to open port file '/tmp/lttng_test_env_rundirpglu944l/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirpglu944l/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirpglu944l/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirpglu944l/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirpglu944l/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirpglu944l/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundirpglu944l/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundirpglu944l/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirpglu944l/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirpglu944l/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirpglu944l/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirpglu944l/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirpglu944l/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirpglu944l/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirpglu944l/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 38061, data 39493, and live 34069
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_home63hb8jf4`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# test_fd_leak with buffer sharing policy BufferSharingPolicy.PerPID, kill relayd: True
# lttng create session_ah2hmrs9 --set-url net://localhost:38061:39493/ --live
# lttng enable-channel --session session_ah2hmrs9 --userspace channel_0oau373u --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_ah2hmrs9 --channel channel_0oau373u --userspace --all
# lttng start 'session_ah2hmrs9'
# Termination signal sent to relayd (pid = 5078)
# Relayd killed
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_home63hb8jf4/app_8juhiprt_ready --sync-before-first-event /tmp/lttng_test_env_home63hb8jf4/app_78nct_c3_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_home63hb8jf4/app_33a2k_uv_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_home63hb8jf4/app_cotuzrjz_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_home63hb8jf4/app_8juhiprt_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_home63hb8jf4/app_78nct_c3_start_tracing
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_home63hb8jf4/app_xgpg0pn8_ready --sync-before-first-event /tmp/lttng_test_env_home63hb8jf4/app_zwfds5b3_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_home63hb8jf4/app_3u4egzsv_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_home63hb8jf4/app_x5972f99_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_home63hb8jf4/app_xgpg0pn8_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_home63hb8jf4/app_zwfds5b3_start_tracing
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_home63hb8jf4/app_ootmewi5_ready --sync-before-first-event /tmp/lttng_test_env_home63hb8jf4/app_pmzp4cki_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_home63hb8jf4/app_hndgq1m2_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_home63hb8jf4/app_43emdk8w_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_home63hb8jf4/app_ootmewi5_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_home63hb8jf4/app_pmzp4cki_start_tracing
# lttng stop 'session_ah2hmrs9'
# lttng destroy session_ah2hmrs9
# Waiting for post-destroy shm count to drop back to post-start level
# FD counts post-start: (0, 0), post-destroy: (0, 0)
# FD counts post-app-1: (0, 0), post-app-2: (0, 0), post-app-3: (0, 0)
# Termination signal sent to session daemon (pid = 5088)

ok 3 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
PASS: tools/live/test_per_application_leaks.py 3 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
---
  duration_ms: 997.9976
...

# Session daemon killed
# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_homerwj9m3j1'
# Failed to open port file '/tmp/lttng_test_env_rundirfbul_col/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirfbul_col/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirfbul_col/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirfbul_col/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirfbul_col/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirfbul_col/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundirfbul_col/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundirfbul_col/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirfbul_col/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirfbul_col/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirfbul_col/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundirfbul_col/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirfbul_col/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundirfbul_col/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundirfbul_col/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 33243, data 46523, and live 32881
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_homerwj9m3j1`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# test_fd_leak with buffer sharing policy BufferSharingPolicy.PerUID, kill relayd: False
# lttng create session_ezlu7v13 --set-url net://localhost:33243:46523/ --live
# lttng enable-channel --session session_ezlu7v13 --userspace channel_kir2toxf --buffer-allocation=per-cpu --buffer-ownership=user
# lttng enable-event --session session_ezlu7v13 --channel channel_kir2toxf --userspace --all
# lttng start 'session_ezlu7v13'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homerwj9m3j1/app_o0ifnb0i_ready --sync-before-first-event /tmp/lttng_test_env_homerwj9m3j1/app_5bneim9o_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homerwj9m3j1/app_40u9tzct_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homerwj9m3j1/app_x6rryl0j_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homerwj9m3j1/app_o0ifnb0i_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homerwj9m3j1/app_5bneim9o_start_tracing
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homerwj9m3j1/app_q0rtde5y_ready --sync-before-first-event /tmp/lttng_test_env_homerwj9m3j1/app_56zv84kj_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homerwj9m3j1/app_8mmn3wzk_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homerwj9m3j1/app_moez39kk_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homerwj9m3j1/app_q0rtde5y_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homerwj9m3j1/app_56zv84kj_start_tracing
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homerwj9m3j1/app_9wxm1vao_ready --sync-before-first-event /tmp/lttng_test_env_homerwj9m3j1/app_lowi6hok_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homerwj9m3j1/app_0p91dwi5_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homerwj9m3j1/app__rk6zwmi_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homerwj9m3j1/app_9wxm1vao_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homerwj9m3j1/app_lowi6hok_start_tracing
# lttng stop 'session_ezlu7v13'
# lttng destroy session_ezlu7v13
# Waiting for post-destroy shm count to drop back to post-start level
# FD counts post-start: (0, 0), post-destroy: (0, 0)
# FD counts post-app-1: (0, 5), post-app-2: (0, 5), post-app-3: (0, 5)
# Termination signal sent to session daemon (pid = 5152)
ok 4 # Skip: Count of consumerds FDs in /dev/shm doesn't leak over several application invocations - no mechanism is available to guarantee buffer reclamation within a given time frame
SKIP: tools/live/test_per_application_leaks.py 4 # SKIP : Count of consumerds FDs in /dev/shm doesn't leak over several application invocations - no mechanism is available to guarantee buffer reclamation within a given time frame
ok 5 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
PASS: tools/live/test_per_application_leaks.py 5 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
---
  duration_ms: 965.82752
...

ok 6 - Count of consumerd FDs in /dev/shm doesn't leak over several application invocations
PASS: tools/live/test_per_application_leaks.py 6 - Count of consumerd FDs in /dev/shm doesn't leak over several application invocations
---
  duration_ms: 0.01576
...
# Session daemon killed
# Termination signal sent to relayd (pid = 5142)
# Relayd killed
# Launching relayd with LTTNG_HOME='/tmp/lttng_test_env_homeawqa7w0d'
# Failed to open port file '/tmp/lttng_test_env_rundir3knho9ui/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3knho9ui/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundir3knho9ui/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3knho9ui/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundir3knho9ui/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3knho9ui/relayd/live.port'
# Checking for relayd port files in '/tmp/lttng_test_env_rundir3knho9ui/relayd'
# Failed to open port file '/tmp/lttng_test_env_rundir3knho9ui/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3knho9ui/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundir3knho9ui/relayd/control.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3knho9ui/relayd/control.port'
# Failed to open port file '/tmp/lttng_test_env_rundir3knho9ui/relayd/data.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3knho9ui/relayd/data.port'
# Failed to open port file '/tmp/lttng_test_env_rundir3knho9ui/relayd/live.port': [Errno 2] No such file or directory: '/tmp/lttng_test_env_rundir3knho9ui/relayd/live.port'
# Waiting for lttng-relayd control (0), data (0), and live (0) ports to be non-zero
# lttng-relayd using the following ports: control 43939, data 35123, and live 43879
# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_homeawqa7w0d`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# test_fd_leak with buffer sharing policy BufferSharingPolicy.PerPID, kill relayd: False
# lttng create session_ivvmsnhf --set-url net://localhost:43939:35123/ --live
# lttng enable-channel --session session_ivvmsnhf --userspace channel_ge0ysjbu --buffer-allocation=per-cpu --buffer-ownership=process
# lttng enable-event --session session_ivvmsnhf --channel channel_ge0ysjbu --userspace --all
# lttng start 'session_ivvmsnhf'
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homeawqa7w0d/app_kamcyssn_ready --sync-before-first-event /tmp/lttng_test_env_homeawqa7w0d/app_x4ucs5se_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homeawqa7w0d/app_y66dwy0m_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homeawqa7w0d/app_xh8zs1lh_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homeawqa7w0d/app_kamcyssn_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homeawqa7w0d/app_x4ucs5se_start_tracing
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homeawqa7w0d/app__xnc6_3n_ready --sync-before-first-event /tmp/lttng_test_env_homeawqa7w0d/app_8909ypmj_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homeawqa7w0d/app_11fjjea4_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homeawqa7w0d/app_l9twk7di_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homeawqa7w0d/app__xnc6_3n_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homeawqa7w0d/app_8909ypmj_start_tracing
# Launching test application: '/usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events --iter 10 --sync-application-in-main-touch /tmp/lttng_test_env_homeawqa7w0d/app_9192hv6k_ready --sync-before-first-event /tmp/lttng_test_env_homeawqa7w0d/app_hhunaaun_start_tracing --sync-before-last-event-touch /tmp/lttng_test_env_homeawqa7w0d/app_6fxj2tqj_before_last_event --sync-before-exit-touch /tmp/lttng_test_env_homeawqa7w0d/app_vpcwhepr_done_tracing'
# test-app-gen-ust-events: gen-ust-events: starting: 10 iter 0 usec wait
# test-app-gen-ust-events: gen-ust-events: sync-application-in-main-touch: create /tmp/lttng_test_env_homeawqa7w0d/app_9192hv6k_ready
# test-app-gen-ust-events: gen-ust-events: sync-before-first-event: wait /tmp/lttng_test_env_homeawqa7w0d/app_hhunaaun_start_tracing
# lttng stop 'session_ivvmsnhf'
# lttng destroy session_ivvmsnhf
# Waiting for post-destroy shm count to drop back to post-start level
# FD counts post-start: (0, 0), post-destroy: (0, 0)
# FD counts post-app-1: (0, 5), post-app-2: (0, 0), post-app-3: (0, 5)
# Termination signal sent to session daemon (pid = 5216)

ok 7 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
PASS: tools/live/test_per_application_leaks.py 7 - Count of consumerd FDs in /dev/shm are equal after session start then after destroy
---
  duration_ms: 1304.20512
...

# Session daemon killed
# Termination signal sent to relayd (pid = 5206)
# Relayd killed
ok 8 # Skip: Count of consumerds FDs in /dev/shm doesn't leak over several application invocations - no mechanism is available to guarantee buffer reclamation within a given time frame
SKIP: tools/live/test_per_application_leaks.py 8 # SKIP : Count of consumerds FDs in /dev/shm doesn't leak over several application invocations - no mechanism is available to guarantee buffer reclamation within a given time frame

SKIP: tools/lttng-ctl/test_liblttng-ctl_abi.py
==============================================

1..1
ok 1 # Skip: abidw and abidiff are not available
SKIP: tools/lttng-ctl/test_liblttng-ctl_abi.py 1 # SKIP : abidw and abidiff are not available

SKIP: tools/sparse-buffer/test_sparse_buffer.py
===============================================

1..95
ok 1 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 1 # SKIP : GDB not available
ok 2 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 2 # SKIP : GDB not available
ok 3 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 3 # SKIP : GDB not available
ok 4 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 4 # SKIP : GDB not available
ok 5 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 5 # SKIP : GDB not available
ok 6 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 6 # SKIP : GDB not available
ok 7 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 7 # SKIP : GDB not available
ok 8 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 8 # SKIP : GDB not available
ok 9 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 9 # SKIP : GDB not available
ok 10 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 10 # SKIP : GDB not available
ok 11 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 11 # SKIP : GDB not available
ok 12 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 12 # SKIP : GDB not available
ok 13 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 13 # SKIP : GDB not available
ok 14 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 14 # SKIP : GDB not available
ok 15 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 15 # SKIP : GDB not available
ok 16 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 16 # SKIP : GDB not available
ok 17 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 17 # SKIP : GDB not available
ok 18 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 18 # SKIP : GDB not available
ok 19 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 19 # SKIP : GDB not available
ok 20 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 20 # SKIP : GDB not available
ok 21 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 21 # SKIP : GDB not available
ok 22 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 22 # SKIP : GDB not available
ok 23 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 23 # SKIP : GDB not available
ok 24 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 24 # SKIP : GDB not available
ok 25 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 25 # SKIP : GDB not available
ok 26 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 26 # SKIP : GDB not available
ok 27 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 27 # SKIP : GDB not available
ok 28 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 28 # SKIP : GDB not available
ok 29 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 29 # SKIP : GDB not available
ok 30 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 30 # SKIP : GDB not available
ok 31 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 31 # SKIP : GDB not available
ok 32 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 32 # SKIP : GDB not available
ok 33 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 33 # SKIP : GDB not available
ok 34 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 34 # SKIP : GDB not available
ok 35 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 35 # SKIP : GDB not available
ok 36 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 36 # SKIP : GDB not available
ok 37 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 37 # SKIP : GDB not available
ok 38 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 38 # SKIP : GDB not available
ok 39 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 39 # SKIP : GDB not available
ok 40 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 40 # SKIP : GDB not available
ok 41 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 41 # SKIP : GDB not available
ok 42 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 42 # SKIP : GDB not available
ok 43 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 43 # SKIP : GDB not available
ok 44 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 44 # SKIP : GDB not available
ok 45 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 45 # SKIP : GDB not available
ok 46 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 46 # SKIP : GDB not available
ok 47 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 47 # SKIP : GDB not available
ok 48 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 48 # SKIP : GDB not available
ok 49 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 49 # SKIP : GDB not available
ok 50 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 50 # SKIP : GDB not available
ok 51 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 51 # SKIP : GDB not available
ok 52 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 52 # SKIP : GDB not available
ok 53 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 53 # SKIP : GDB not available
ok 54 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 54 # SKIP : GDB not available
ok 55 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 55 # SKIP : GDB not available
ok 56 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 56 # SKIP : GDB not available
ok 57 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 57 # SKIP : GDB not available
ok 58 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 58 # SKIP : GDB not available
ok 59 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 59 # SKIP : GDB not available
ok 60 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 60 # SKIP : GDB not available
ok 61 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 61 # SKIP : GDB not available
ok 62 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 62 # SKIP : GDB not available
ok 63 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 63 # SKIP : GDB not available
ok 64 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 64 # SKIP : GDB not available
ok 65 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 65 # SKIP : GDB not available
ok 66 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 66 # SKIP : GDB not available
ok 67 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 67 # SKIP : GDB not available
ok 68 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 68 # SKIP : GDB not available
ok 69 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 69 # SKIP : GDB not available
ok 70 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 70 # SKIP : GDB not available
ok 71 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 71 # SKIP : GDB not available
ok 72 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 72 # SKIP : GDB not available
ok 73 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 73 # SKIP : GDB not available
ok 74 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 74 # SKIP : GDB not available
ok 75 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 75 # SKIP : GDB not available
ok 76 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 76 # SKIP : GDB not available
ok 77 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 77 # SKIP : GDB not available
ok 78 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 78 # SKIP : GDB not available
ok 79 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 79 # SKIP : GDB not available
ok 80 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 80 # SKIP : GDB not available
ok 81 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 81 # SKIP : GDB not available
ok 82 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 82 # SKIP : GDB not available
ok 83 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 83 # SKIP : GDB not available
ok 84 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 84 # SKIP : GDB not available
ok 85 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 85 # SKIP : GDB not available
ok 86 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 86 # SKIP : GDB not available
ok 87 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 87 # SKIP : GDB not available
ok 88 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 88 # SKIP : GDB not available
ok 89 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 89 # SKIP : GDB not available
ok 90 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 90 # SKIP : GDB not available
ok 91 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 91 # SKIP : GDB not available
ok 92 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 92 # SKIP : GDB not available
ok 93 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 93 # SKIP : GDB not available
ok 94 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 94 # SKIP : GDB not available
ok 95 # Skip: GDB not available
SKIP: tools/sparse-buffer/test_sparse_buffer.py 95 # SKIP : GDB not available

ERROR: tests
============

# [1776180672.584831] INFO:root:Serial tests received 96 tests
# [1776180672.585189] DEBUG:root:Serial tests: ['tools/base-path/test_ust', 'tools/channel/test_channel', 'tools/channel/test_cli_legacy_channel_buffering_policies.py', 'tools/client/test_add_trigger.py', 'tools/filtering/test_invalid_filter', 'tools/filtering/test_unsupported_op', 'tools/filtering/test_valid_filter', 'tools/streaming/test_high_throughput_limits', 'tools/streaming/test_kernel', 'tools/streaming/test_ust', 'tools/health/test_thread_ok', 'tools/health/test_thread_stall', 'tools/health/test_tp_fail', 'tools/live/test_kernel', 'tools/live/test_lttng_kernel', 'tools/live/test_ust', 'tools/live/test_ust_tracefile_count', 'tools/live/test_lttng_ust', 'tools/tracefile-limits/test_tracefile_count', 'tools/tracefile-limits/test_tracefile_size', 'tools/exclusion/test_exclusion', 'tools/snapshots/test_ust_fast', 'tools/snapshots/test_ust_long', 'tools/snapshots/test_ust_streaming', 'tools/snapshots/test_kernel_streaming', 'tools/save-load/test_save', 'tools/save-load/test_load', 'tools/save-load/test_autoload', 'tools/mi/test_mi', 'tools/wildcard/test_event_wildcard', 'tools/crash/test_crash', 'tools/regen-metadata/test_kernel', 'tools/regen-metadata/test_regenerate_rotate.py', 'tools/regen-metadata/test_ust', 'tools/regen-statedump/test_kernel', 'tools/regen-statedump/test_ust', 'tools/rotation/test_ust', 'tools/rotation/test_kernel', 'tools/rotation/test_ust_kernel', 'tools/rotation/test_save_load_mi', 'tools/rotation/test_schedule_api', 'tools/metadata/test_kernel', 'tools/working-directory/test_relayd_working_directory', 'tools/clear/test_live_hang.py', 'tools/tracker/test_event_tracker', 'tools/trigger/start-stop/test_start_stop', 'tools/trigger/test_add_trigger_cli', 'tools/trigger/test_list_triggers_cli', 'tools/trigger/test_remove_trigger_cli', 'tools/trigger/name/test_trigger_name_backwards_compat', 'tools/trigger/hidden/test_hidden_trigger', 'tools/channel/test_channel_allocation_policy_per_channel.py', 'tools/trace-format/test_trace_format_kernel.py', 'ust/before-after/test_before_after', 'ust/buffers-pid/test_buffers_pid', 'ust/multi-session/test_multi_session', 'ust/nprocesses/test_nprocesses', 'ust/overlap/test_overlap', 'ust/python-logging/test_python_logging', 'ust/getcpu-override/test_getcpu_override', 'ust/clock-override/test_clock_override', 'ust/test_event_basic', 'ust/test_event_tracef', 'ust/test_event_perf', 'ust/blocking/test_blocking', 'ust/low-throughput/test_low_throughput', 'ust/multi-lib/test_multi_lib', 'ust/rotation-destroy-flush/test_rotation_destroy_flush', 'ust/ust-app-ctl-paths/test_blocking', 'ust/ust-app-ctl-paths/test_path_separators', 'ust/ust-app-ctl-paths/test_ust_app_ctl_paths', 'ust/ust-constructor/test_ust_constructor_c_dynamic.py', 'tools/client/test_bug1373_events_differ_only_by_loglevel', 'tools/config-directory/test_config.py', 'tools/metadata/test_ust', 'tools/relayd-grouping/test_ust', 'tools/trigger/rate-policy/test_ust_rate_policy', 'ust/stall-buffer/test_stall_buffer_complex.py', 'ust/stall-buffer/test_stall_buffer_simple.py', 'ust/stall-buffer/test_stall_buffer_timer.py', 'kernel/test_all_events', 'kernel/test_callstack', 'kernel/test_channel', 'kernel/test_clock_override', 'kernel/test_event_basic', 'kernel/test_high_throughput.py', 'kernel/test_kernel_function', 'kernel/test_lttng_logger', 'kernel/test_ns_contexts', 'kernel/test_ns_contexts_change', 'kernel/test_rotation_destroy_flush', 'kernel/test_select_poll_epoll', 'kernel/test_syscall', 'kernel/test_userspace_probe', 'ust/namespaces/test_ns_contexts', 'ust/namespaces/test_ns_contexts_change']
# [1776180672.585264] INFO:root:Starting test 'tools/base-path/test_ust'
# [1776180677.419465] INFO:root:Test 'tools/base-path/test_ust' terminated with return code 0
1..96
ok 1 - Test script 'tools/base-path/test_ust' returned code 0. 42 passed, 0 failed, 0 skipped, 42 planned [total: 42]
PASS: tests.serial 1 - Test script 'tools/base-path/test_ust' returned code 0. 42 passed, 0 failed, 0 skipped, 42 planned [total: 42]
---
  duration_ms: 4835.94888
...

# [1776180677.421295] INFO:root:Starting test 'tools/channel/test_channel'
# [1776180681.125246] INFO:root:Test 'tools/channel/test_channel' terminated with return code 0
ok 2 - Test script 'tools/channel/test_channel' returned code 0. 16 passed, 0 failed, 0 skipped, 16 planned [total: 16]
PASS: tests.serial 2 - Test script 'tools/channel/test_channel' returned code 0. 16 passed, 0 failed, 0 skipped, 16 planned [total: 16]
---
  duration_ms: 3704.6238
...

# [1776180681.125946] INFO:root:Starting test 'tools/channel/test_cli_legacy_channel_buffering_policies.py'
# [1776180683.329779] INFO:root:Test 'tools/channel/test_cli_legacy_channel_buffering_policies.py' terminated with return code 0
ok 3 - Test script 'tools/channel/test_cli_legacy_channel_buffering_policies.py' returned code 0. 6 passed, 0 failed, 0 skipped, 6 planned [total: 6]
PASS: tests.serial 3 - Test script 'tools/channel/test_cli_legacy_channel_buffering_policies.py' returned code 0. 6 passed, 0 failed, 0 skipped, 6 planned [total: 6]
---
  duration_ms: 2204.59048
...

# [1776180683.330617] INFO:root:Starting test 'tools/client/test_add_trigger.py'
# [1776180685.379555] INFO:root:Test 'tools/client/test_add_trigger.py' terminated with return code 0
ok 4 - Test script 'tools/client/test_add_trigger.py' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 4 - Test script 'tools/client/test_add_trigger.py' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
---
  duration_ms: 2051.66664
...

# [1776180685.382328] INFO:root:Starting test 'tools/filtering/test_invalid_filter'
# [1776180693.313161] INFO:root:Test 'tools/filtering/test_invalid_filter' terminated with return code 0
ok 5 - Test script 'tools/filtering/test_invalid_filter' returned code 0. 278 passed, 0 failed, 0 skipped, 278 planned [total: 278]
PASS: tests.serial 5 - Test script 'tools/filtering/test_invalid_filter' returned code 0. 278 passed, 0 failed, 0 skipped, 278 planned [total: 278]
---
  duration_ms: 7940.6272
...

# [1776180693.323024] INFO:root:Starting test 'tools/filtering/test_unsupported_op'
# [1776180696.271491] INFO:root:Test 'tools/filtering/test_unsupported_op' terminated with return code 0
ok 6 - Test script 'tools/filtering/test_unsupported_op' returned code 0. 42 passed, 0 failed, 0 skipped, 42 planned [total: 42]
PASS: tests.serial 6 - Test script 'tools/filtering/test_unsupported_op' returned code 0. 42 passed, 0 failed, 0 skipped, 42 planned [total: 42]
---
  duration_ms: 2949.69788
...

# [1776180696.272749] INFO:root:Starting test 'tools/filtering/test_valid_filter'
# [1776180756.274837] INFO:root:Test 'tools/filtering/test_valid_filter' still running...
# [1776180803.146097] INFO:root:Test 'tools/filtering/test_valid_filter' terminated with return code 0
ok 7 - Test script 'tools/filtering/test_valid_filter' returned code 0. 2182 passed, 0 failed, 0 skipped, 2182 planned [total: 2182]
PASS: tests.serial 7 - Test script 'tools/filtering/test_valid_filter' returned code 0. 2182 passed, 0 failed, 0 skipped, 2182 planned [total: 2182]
---
  duration_ms: 106917.02324
...

# [1776180803.189841] INFO:root:Starting test 'tools/streaming/test_high_throughput_limits'
# [1776180803.550720] INFO:root:Test 'tools/streaming/test_high_throughput_limits' terminated with return code 0
ok 8 - Test script 'tools/streaming/test_high_throughput_limits' returned code 0. 39 passed, 0 failed, 0 skipped, 39 planned [total: 39]
PASS: tests.serial 8 - Test script 'tools/streaming/test_high_throughput_limits' returned code 0. 39 passed, 0 failed, 0 skipped, 39 planned [total: 39]
---
  duration_ms: 361.29716
...

# [1776180803.551152] INFO:root:Starting test 'tools/streaming/test_kernel'
# [1776180808.632825] INFO:root:Test 'tools/streaming/test_kernel' terminated with return code 0
ok 9 - Test script 'tools/streaming/test_kernel' returned code 0. 13 passed, 0 failed, 0 skipped, 13 planned [total: 13]
PASS: tests.serial 9 - Test script 'tools/streaming/test_kernel' returned code 0. 13 passed, 0 failed, 0 skipped, 13 planned [total: 13]
---
  duration_ms: 5082.52468
...

# [1776180808.633749] INFO:root:Starting test 'tools/streaming/test_ust'
# [1776180822.774876] INFO:root:Test 'tools/streaming/test_ust' terminated with return code 0
ok 10 - Test script 'tools/streaming/test_ust' returned code 0. 18 passed, 0 failed, 0 skipped, 18 planned [total: 18]
PASS: tests.serial 10 - Test script 'tools/streaming/test_ust' returned code 0. 18 passed, 0 failed, 0 skipped, 18 planned [total: 18]
---
  duration_ms: 14141.96476
...

# [1776180822.775748] INFO:root:Starting test 'tools/health/test_thread_ok'
# [1776180856.003797] INFO:root:Test 'tools/health/test_thread_ok' terminated with return code 0
ok 11 - Test script 'tools/health/test_thread_ok' returned code 0. 17 passed, 0 failed, 0 skipped, 17 planned [total: 17]
PASS: tests.serial 11 - Test script 'tools/health/test_thread_ok' returned code 0. 17 passed, 0 failed, 0 skipped, 17 planned [total: 17]
---
  duration_ms: 33229.10428
...

# [1776180856.004946] INFO:root:Starting test 'tools/health/test_thread_stall'
# [1776180856.026267] INFO:root:Test 'tools/health/test_thread_stall' terminated with return code 0
ok 12 - Test script 'tools/health/test_thread_stall' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
PASS: tests.serial 12 - Test script 'tools/health/test_thread_stall' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
---
  duration_ms: 21.64092
...

# [1776180856.026628] INFO:root:Starting test 'tools/health/test_tp_fail'
# [1776180856.047419] INFO:root:Test 'tools/health/test_tp_fail' terminated with return code 0
ok 13 - Test script 'tools/health/test_tp_fail' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
PASS: tests.serial 13 - Test script 'tools/health/test_tp_fail' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
---
  duration_ms: 21.13148
...

# [1776180856.047815] INFO:root:Starting test 'tools/live/test_kernel'
# [1776180862.582644] INFO:root:Test 'tools/live/test_kernel' terminated with return code 0
ok 14 - Test script 'tools/live/test_kernel' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
PASS: tests.serial 14 - Test script 'tools/live/test_kernel' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
---
  duration_ms: 6535.44804
...

# [1776180862.583326] INFO:root:Starting test 'tools/live/test_lttng_kernel'
# [1776180866.485008] INFO:root:Test 'tools/live/test_lttng_kernel' terminated with return code 0
ok 15 - Test script 'tools/live/test_lttng_kernel' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
PASS: tests.serial 15 - Test script 'tools/live/test_lttng_kernel' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
---
  duration_ms: 3902.1974
...

# [1776180866.485548] INFO:root:Starting test 'tools/live/test_ust'
# [1776180872.499607] INFO:root:Test 'tools/live/test_ust' terminated with return code 0
ok 16 - Test script 'tools/live/test_ust' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
PASS: tests.serial 16 - Test script 'tools/live/test_ust' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
---
  duration_ms: 6014.643799
...

# [1776180872.500267] INFO:root:Starting test 'tools/live/test_ust_tracefile_count'
# [1776180878.493753] INFO:root:Test 'tools/live/test_ust_tracefile_count' terminated with return code 0
ok 17 - Test script 'tools/live/test_ust_tracefile_count' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
PASS: tests.serial 17 - Test script 'tools/live/test_ust_tracefile_count' returned code 0. 11 passed, 0 failed, 0 skipped, 11 planned [total: 11]
---
  duration_ms: 5994.03748
...

# [1776180878.494350] INFO:root:Starting test 'tools/live/test_lttng_ust'
# [1776180882.089582] INFO:root:Test 'tools/live/test_lttng_ust' terminated with return code 0
ok 18 - Test script 'tools/live/test_lttng_ust' returned code 0. 12 passed, 0 failed, 0 skipped, 12 planned [total: 12]
PASS: tests.serial 18 - Test script 'tools/live/test_lttng_ust' returned code 0. 12 passed, 0 failed, 0 skipped, 12 planned [total: 12]
---
  duration_ms: 3596.090839
...

# [1776180882.090502] INFO:root:Starting test 'tools/tracefile-limits/test_tracefile_count'
# [1776180890.758857] INFO:root:Test 'tools/tracefile-limits/test_tracefile_count' terminated with return code 0
ok 19 - Test script 'tools/tracefile-limits/test_tracefile_count' returned code 0. 74 passed, 0 failed, 0 skipped, 74 planned [total: 74]
PASS: tests.serial 19 - Test script 'tools/tracefile-limits/test_tracefile_count' returned code 0. 74 passed, 0 failed, 0 skipped, 74 planned [total: 74]
---
  duration_ms: 8671.661561
...

# [1776180890.762192] INFO:root:Starting test 'tools/tracefile-limits/test_tracefile_size'
# [1776180899.005017] INFO:root:Test 'tools/tracefile-limits/test_tracefile_size' terminated with return code 0
ok 20 - Test script 'tools/tracefile-limits/test_tracefile_size' returned code 0. 74 passed, 0 failed, 0 skipped, 74 planned [total: 74]
PASS: tests.serial 20 - Test script 'tools/tracefile-limits/test_tracefile_size' returned code 0. 74 passed, 0 failed, 0 skipped, 74 planned [total: 74]
---
  duration_ms: 8244.26992
...

# [1776180899.006565] INFO:root:Starting test 'tools/exclusion/test_exclusion'
# [1776180918.086318] INFO:root:Test 'tools/exclusion/test_exclusion' terminated with return code 0
ok 21 - Test script 'tools/exclusion/test_exclusion' returned code 0. 185 passed, 0 failed, 0 skipped, 185 planned [total: 185]
PASS: tests.serial 21 - Test script 'tools/exclusion/test_exclusion' returned code 0. 185 passed, 0 failed, 0 skipped, 185 planned [total: 185]
---
  duration_ms: 19084.68204
...

# [1776180918.091290] INFO:root:Starting test 'tools/snapshots/test_ust_fast'
# [1776180926.085909] INFO:root:Test 'tools/snapshots/test_ust_fast' terminated with return code 0
ok 22 - Test script 'tools/snapshots/test_ust_fast' returned code 0. 231 passed, 0 failed, 0 skipped, 231 planned [total: 231]
PASS: tests.serial 22 - Test script 'tools/snapshots/test_ust_fast' returned code 0. 231 passed, 0 failed, 0 skipped, 231 planned [total: 231]
---
  duration_ms: 8000.82864
...

# [1776180926.092163] INFO:root:Starting test 'tools/snapshots/test_ust_long'
# [1776180926.112375] INFO:root:Test 'tools/snapshots/test_ust_long' terminated with return code 0
ok 23 - Test script 'tools/snapshots/test_ust_long' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
PASS: tests.serial 23 - Test script 'tools/snapshots/test_ust_long' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
---
  duration_ms: 20.53292
...

# [1776180926.112759] INFO:root:Starting test 'tools/snapshots/test_ust_streaming'
# [1776180940.138048] INFO:root:Test 'tools/snapshots/test_ust_streaming' terminated with return code 0
ok 24 - Test script 'tools/snapshots/test_ust_streaming' returned code 0. 85 passed, 0 failed, 0 skipped, 85 planned [total: 85]
PASS: tests.serial 24 - Test script 'tools/snapshots/test_ust_streaming' returned code 0. 85 passed, 0 failed, 0 skipped, 85 planned [total: 85]
---
  duration_ms: 14028.38944
...

# [1776180940.141206] INFO:root:Starting test 'tools/snapshots/test_kernel_streaming'
# [1776180945.171757] INFO:root:Test 'tools/snapshots/test_kernel_streaming' terminated with return code 0
ok 25 - Test script 'tools/snapshots/test_kernel_streaming' returned code 0. 66 passed, 0 failed, 0 skipped, 66 planned [total: 66]
PASS: tests.serial 25 - Test script 'tools/snapshots/test_kernel_streaming' returned code 0. 66 passed, 0 failed, 0 skipped, 66 planned [total: 66]
---
  duration_ms: 5032.66688
...

# [1776180945.173905] INFO:root:Starting test 'tools/save-load/test_save'
# [1776180948.528260] INFO:root:Test 'tools/save-load/test_save' terminated with return code 0
ok 26 - Test script 'tools/save-load/test_save' returned code 0. 57 passed, 0 failed, 0 skipped, 57 planned [total: 57]
PASS: tests.serial 26 - Test script 'tools/save-load/test_save' returned code 0. 57 passed, 0 failed, 0 skipped, 57 planned [total: 57]
---
  duration_ms: 3357.04552
...

# [1776180948.530997] INFO:root:Starting test 'tools/save-load/test_load'
# [1776180954.808755] INFO:root:Test 'tools/save-load/test_load' terminated with return code 0
ok 27 - Test script 'tools/save-load/test_load' returned code 0. 104 passed, 0 failed, 0 skipped, 104 planned [total: 104]
PASS: tests.serial 27 - Test script 'tools/save-load/test_load' returned code 0. 104 passed, 0 failed, 0 skipped, 104 planned [total: 104]
---
  duration_ms: 6281.14636
...

# [1776180954.812200] INFO:root:Starting test 'tools/save-load/test_autoload'
# [1776180961.729841] INFO:root:Test 'tools/save-load/test_autoload' terminated with return code 0
ok 28 - Test script 'tools/save-load/test_autoload' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 28 - Test script 'tools/save-load/test_autoload' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
---
  duration_ms: 6918.4106
...

# [1776180961.730669] INFO:root:Starting test 'tools/mi/test_mi'
# [1776180968.882640] INFO:root:Test 'tools/mi/test_mi' terminated with return code 0
ok 29 - Test script 'tools/mi/test_mi' returned code 0. 246 passed, 0 failed, 0 skipped, 246 planned [total: 246]
PASS: tests.serial 29 - Test script 'tools/mi/test_mi' returned code 0. 246 passed, 0 failed, 0 skipped, 246 planned [total: 246]
---
  duration_ms: 7154.35968
...

# [1776180968.885062] INFO:root:Starting test 'tools/wildcard/test_event_wildcard'
# [1776181013.538121] INFO:root:Test 'tools/wildcard/test_event_wildcard' terminated with return code 0
ok 30 - Test script 'tools/wildcard/test_event_wildcard' returned code 0. 352 passed, 0 failed, 0 skipped, 352 planned [total: 352]
PASS: tests.serial 30 - Test script 'tools/wildcard/test_event_wildcard' returned code 0. 352 passed, 0 failed, 0 skipped, 352 planned [total: 352]
---
  duration_ms: 44663.1076
...

# [1776181013.548207] INFO:root:Starting test 'tools/crash/test_crash'
# [1776181041.294991] INFO:root:Test 'tools/crash/test_crash' terminated with return code 0
ok 31 - Test script 'tools/crash/test_crash' returned code 0. 89 passed, 0 failed, 0 skipped, 89 planned [total: 89]
PASS: tests.serial 31 - Test script 'tools/crash/test_crash' returned code 0. 89 passed, 0 failed, 0 skipped, 89 planned [total: 89]
---
  duration_ms: 27748.71292
...

# [1776181041.296949] INFO:root:Starting test 'tools/regen-metadata/test_kernel'
# [1776181047.084377] INFO:root:Test 'tools/regen-metadata/test_kernel' terminated with return code 0
ok 32 - Test script 'tools/regen-metadata/test_kernel' returned code 0. 34 passed, 0 failed, 0 skipped, 34 planned [total: 34]
PASS: tests.serial 32 - Test script 'tools/regen-metadata/test_kernel' returned code 0. 34 passed, 0 failed, 0 skipped, 34 planned [total: 34]
---
  duration_ms: 5789.66288
...

# [1776181047.086651] INFO:root:Starting test 'tools/regen-metadata/test_regenerate_rotate.py'
# [1776181047.203198] INFO:root:Test 'tools/regen-metadata/test_regenerate_rotate.py' terminated with return code 0
ok 33 - Test script 'tools/regen-metadata/test_regenerate_rotate.py' returned code 0. 2 passed, 0 failed, 0 skipped, 2 planned [total: 2]
PASS: tests.serial 33 - Test script 'tools/regen-metadata/test_regenerate_rotate.py' returned code 0. 2 passed, 0 failed, 0 skipped, 2 planned [total: 2]
---
  duration_ms: 116.85052
...

# [1776181047.203555] INFO:root:Starting test 'tools/regen-metadata/test_ust'
# [1776181057.590156] INFO:root:Test 'tools/regen-metadata/test_ust' terminated with return code 0
ok 34 - Test script 'tools/regen-metadata/test_ust' returned code 0. 69 passed, 0 failed, 0 skipped, 69 planned [total: 69]
PASS: tests.serial 34 - Test script 'tools/regen-metadata/test_ust' returned code 0. 69 passed, 0 failed, 0 skipped, 69 planned [total: 69]
---
  duration_ms: 10388.11244
...

# [1776181057.591694] INFO:root:Starting test 'tools/regen-statedump/test_kernel'
# [1776181060.845977] INFO:root:Test 'tools/regen-statedump/test_kernel' terminated with return code 0
ok 35 - Test script 'tools/regen-statedump/test_kernel' returned code 0. 13 passed, 0 failed, 0 skipped, 13 planned [total: 13]
PASS: tests.serial 35 - Test script 'tools/regen-statedump/test_kernel' returned code 0. 13 passed, 0 failed, 0 skipped, 13 planned [total: 13]
---
  duration_ms: 3255.10304
...

# [1776181060.846858] INFO:root:Starting test 'tools/regen-statedump/test_ust'
# [1776181064.816137] INFO:root:Test 'tools/regen-statedump/test_ust' terminated with return code 0
ok 36 - Test script 'tools/regen-statedump/test_ust' returned code 0. 13 passed, 0 failed, 0 skipped, 13 planned [total: 13]
PASS: tests.serial 36 - Test script 'tools/regen-statedump/test_ust' returned code 0. 13 passed, 0 failed, 0 skipped, 13 planned [total: 13]
---
  duration_ms: 3969.758
...

# [1776181064.816634] INFO:root:Starting test 'tools/rotation/test_ust'
# [1776181103.445933] INFO:root:Test 'tools/rotation/test_ust' terminated with return code 0
ok 37 - Test script 'tools/rotation/test_ust' returned code 0. 152 passed, 0 failed, 0 skipped, 152 planned [total: 152]
PASS: tests.serial 37 - Test script 'tools/rotation/test_ust' returned code 0. 152 passed, 0 failed, 0 skipped, 152 planned [total: 152]
---
  duration_ms: 38634.83988
...

# [1776181103.451517] INFO:root:Starting test 'tools/rotation/test_kernel'
# [1776181126.716879] INFO:root:Test 'tools/rotation/test_kernel' terminated with return code 0
ok 38 - Test script 'tools/rotation/test_kernel' returned code 0. 68 passed, 0 failed, 0 skipped, 68 planned [total: 68]
PASS: tests.serial 38 - Test script 'tools/rotation/test_kernel' returned code 0. 68 passed, 0 failed, 0 skipped, 68 planned [total: 68]
---
  duration_ms: 23266.925
...

# [1776181126.718481] INFO:root:Starting test 'tools/rotation/test_ust_kernel'
# [1776181134.048190] INFO:root:Test 'tools/rotation/test_ust_kernel' terminated with return code 0
ok 39 - Test script 'tools/rotation/test_ust_kernel' returned code 0. 64 passed, 0 failed, 0 skipped, 64 planned [total: 64]
PASS: tests.serial 39 - Test script 'tools/rotation/test_ust_kernel' returned code 0. 64 passed, 0 failed, 0 skipped, 64 planned [total: 64]
---
  duration_ms: 7331.30228
...

# [1776181134.049835] INFO:root:Starting test 'tools/rotation/test_save_load_mi'
# [1776181136.623271] INFO:root:Test 'tools/rotation/test_save_load_mi' terminated with return code 0
ok 40 - Test script 'tools/rotation/test_save_load_mi' returned code 0. 22 passed, 0 failed, 0 skipped, 22 planned [total: 22]
PASS: tests.serial 40 - Test script 'tools/rotation/test_save_load_mi' returned code 0. 22 passed, 0 failed, 0 skipped, 22 planned [total: 22]
---
  duration_ms: 2573.96092
...

# [1776181136.623824] INFO:root:Starting test 'tools/rotation/test_schedule_api'
# [1776181138.760844] INFO:root:Test 'tools/rotation/test_schedule_api' terminated with return code 0
ok 41 - Test script 'tools/rotation/test_schedule_api' returned code 0. 26 passed, 0 failed, 0 skipped, 26 planned [total: 26]
PASS: tests.serial 41 - Test script 'tools/rotation/test_schedule_api' returned code 0. 26 passed, 0 failed, 0 skipped, 26 planned [total: 26]
---
  duration_ms: 2137.80492
...

# [1776181138.761725] INFO:root:Starting test 'tools/metadata/test_kernel'
# [1776181142.048190] INFO:root:Test 'tools/metadata/test_kernel' terminated with return code 0
ok 42 - Test script 'tools/metadata/test_kernel' returned code 0. 15 passed, 0 failed, 0 skipped, 15 planned [total: 15]
PASS: tests.serial 42 - Test script 'tools/metadata/test_kernel' returned code 0. 15 passed, 0 failed, 0 skipped, 15 planned [total: 15]
---
  duration_ms: 3287.2754
...

# [1776181142.049035] INFO:root:Starting test 'tools/working-directory/test_relayd_working_directory'
# [1776181150.197657] INFO:root:Test 'tools/working-directory/test_relayd_working_directory' terminated with return code 0
ok 43 - Test script 'tools/working-directory/test_relayd_working_directory' returned code 0. 36 passed, 0 failed, 0 skipped, 36 planned [total: 36]
PASS: tests.serial 43 - Test script 'tools/working-directory/test_relayd_working_directory' returned code 0. 36 passed, 0 failed, 0 skipped, 36 planned [total: 36]
---
  duration_ms: 8149.51108
...

# [1776181150.198596] INFO:root:Starting test 'tools/clear/test_live_hang.py'
# [1776181151.689600] INFO:root:Test 'tools/clear/test_live_hang.py' terminated with return code 0
ok 44 - Test script 'tools/clear/test_live_hang.py' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
PASS: tests.serial 44 - Test script 'tools/clear/test_live_hang.py' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
---
  duration_ms: 1491.82092
...

# [1776181151.690474] INFO:root:Starting test 'tools/tracker/test_event_tracker'
# [1776181184.815599] INFO:root:Test 'tools/tracker/test_event_tracker' terminated with return code 0
ok 45 - Test script 'tools/tracker/test_event_tracker' returned code 0. 747 passed, 0 failed, 0 skipped, 747 planned [total: 747]
PASS: tests.serial 45 - Test script 'tools/tracker/test_event_tracker' returned code 0. 747 passed, 0 failed, 0 skipped, 747 planned [total: 747]
---
  duration_ms: 33143.50228
...

# [1776181184.834021] INFO:root:Starting test 'tools/trigger/start-stop/test_start_stop'
# [1776181189.437287] INFO:root:Test 'tools/trigger/start-stop/test_start_stop' terminated with return code 0
ok 46 - Test script 'tools/trigger/start-stop/test_start_stop' returned code 0. 18 passed, 0 failed, 0 skipped, 18 planned [total: 18]
PASS: tests.serial 46 - Test script 'tools/trigger/start-stop/test_start_stop' returned code 0. 18 passed, 0 failed, 0 skipped, 18 planned [total: 18]
---
  duration_ms: 4604.4816
...

# [1776181189.438734] INFO:root:Starting test 'tools/trigger/test_add_trigger_cli'
# [1776181195.044983] INFO:root:Test 'tools/trigger/test_add_trigger_cli' terminated with return code 0
ok 47 - Test script 'tools/trigger/test_add_trigger_cli' returned code 0. 295 passed, 0 failed, 0 skipped, 295 planned [total: 295]
PASS: tests.serial 47 - Test script 'tools/trigger/test_add_trigger_cli' returned code 0. 295 passed, 0 failed, 0 skipped, 295 planned [total: 295]
---
  duration_ms: 5609.38056
...

# [1776181195.048159] INFO:root:Starting test 'tools/trigger/test_list_triggers_cli'
# [1776181200.167706] INFO:root:Test 'tools/trigger/test_list_triggers_cli' terminated with return code 0
ok 48 - Test script 'tools/trigger/test_list_triggers_cli' returned code 0. 150 passed, 0 failed, 0 skipped, 150 planned [total: 150]
PASS: tests.serial 48 - Test script 'tools/trigger/test_list_triggers_cli' returned code 0. 150 passed, 0 failed, 0 skipped, 150 planned [total: 150]
---
  duration_ms: 5123.10648
...

# [1776181200.171307] INFO:root:Starting test 'tools/trigger/test_remove_trigger_cli'
# [1776181202.753635] INFO:root:Test 'tools/trigger/test_remove_trigger_cli' terminated with return code 0
ok 49 - Test script 'tools/trigger/test_remove_trigger_cli' returned code 0. 22 passed, 0 failed, 0 skipped, 22 planned [total: 22]
PASS: tests.serial 49 - Test script 'tools/trigger/test_remove_trigger_cli' returned code 0. 22 passed, 0 failed, 0 skipped, 22 planned [total: 22]
---
  duration_ms: 2582.90688
...

# [1776181202.754261] INFO:root:Starting test 'tools/trigger/name/test_trigger_name_backwards_compat'
# [1776181204.894830] INFO:root:Test 'tools/trigger/name/test_trigger_name_backwards_compat' terminated with return code 0
ok 50 - Test script 'tools/trigger/name/test_trigger_name_backwards_compat' returned code 0. 70 passed, 0 failed, 0 skipped, 70 planned [total: 70]
PASS: tests.serial 50 - Test script 'tools/trigger/name/test_trigger_name_backwards_compat' returned code 0. 70 passed, 0 failed, 0 skipped, 70 planned [total: 70]
---
  duration_ms: 2141.75156
...

# [1776181204.896082] INFO:root:Starting test 'tools/trigger/hidden/test_hidden_trigger'
# [1776181207.647936] INFO:root:Test 'tools/trigger/hidden/test_hidden_trigger' terminated with return code 0
ok 51 - Test script 'tools/trigger/hidden/test_hidden_trigger' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
PASS: tests.serial 51 - Test script 'tools/trigger/hidden/test_hidden_trigger' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
---
  duration_ms: 2752.30784
...

# [1776181207.648471] INFO:root:Starting test 'tools/channel/test_channel_allocation_policy_per_channel.py'
# [1776181214.730936] INFO:root:Test 'tools/channel/test_channel_allocation_policy_per_channel.py' terminated with return code 0
ok 52 - Test script 'tools/channel/test_channel_allocation_policy_per_channel.py' returned code 0. 12 passed, 0 failed, 0 skipped, 12 planned [total: 12]
PASS: tests.serial 52 - Test script 'tools/channel/test_channel_allocation_policy_per_channel.py' returned code 0. 12 passed, 0 failed, 0 skipped, 12 planned [total: 12]
---
  duration_ms: 7084.77436
...

# [1776181214.733261] INFO:root:Starting test 'tools/trace-format/test_trace_format_kernel.py'
# [1776181220.792281] INFO:root:Test 'tools/trace-format/test_trace_format_kernel.py' terminated with return code 0
ok 53 - Test script 'tools/trace-format/test_trace_format_kernel.py' returned code 0. 10 passed, 0 failed, 0 skipped, 10 planned [total: 10]
PASS: tests.serial 53 - Test script 'tools/trace-format/test_trace_format_kernel.py' returned code 0. 10 passed, 0 failed, 0 skipped, 10 planned [total: 10]
---
  duration_ms: 6059.86852
...

# [1776181220.793186] INFO:root:Starting test 'ust/before-after/test_before_after'
# [1776181226.409958] INFO:root:Test 'ust/before-after/test_before_after' terminated with return code 0
ok 54 - Test script 'ust/before-after/test_before_after' returned code 0. 17 passed, 0 failed, 0 skipped, 17 planned [total: 17]
PASS: tests.serial 54 - Test script 'ust/before-after/test_before_after' returned code 0. 17 passed, 0 failed, 0 skipped, 17 planned [total: 17]
---
  duration_ms: 5618.09928
...

# [1776181226.411378] INFO:root:Starting test 'ust/buffers-pid/test_buffers_pid'
# [1776181232.467006] INFO:root:Test 'ust/buffers-pid/test_buffers_pid' terminated with return code 0
ok 55 - Test script 'ust/buffers-pid/test_buffers_pid' returned code 0. 59 passed, 0 failed, 0 skipped, 59 planned [total: 59]
PASS: tests.serial 55 - Test script 'ust/buffers-pid/test_buffers_pid' returned code 0. 59 passed, 0 failed, 0 skipped, 59 planned [total: 59]
---
  duration_ms: 6057.30552
...

# [1776181232.468697] INFO:root:Starting test 'ust/multi-session/test_multi_session'
# [1776181239.340088] INFO:root:Test 'ust/multi-session/test_multi_session' terminated with return code 0
ok 56 - Test script 'ust/multi-session/test_multi_session' returned code 0. 28 passed, 0 failed, 0 skipped, 28 planned [total: 28]
PASS: tests.serial 56 - Test script 'ust/multi-session/test_multi_session' returned code 0. 28 passed, 0 failed, 0 skipped, 28 planned [total: 28]
---
  duration_ms: 6873.25776
...

# [1776181239.342021] INFO:root:Starting test 'ust/nprocesses/test_nprocesses'
# [1776181243.748021] INFO:root:Test 'ust/nprocesses/test_nprocesses' terminated with return code 0
ok 57 - Test script 'ust/nprocesses/test_nprocesses' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 57 - Test script 'ust/nprocesses/test_nprocesses' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
---
  duration_ms: 4406.51304
...

# [1776181243.748560] INFO:root:Starting test 'ust/overlap/test_overlap'
# [1776181264.040466] INFO:root:Test 'ust/overlap/test_overlap' terminated with return code 0
ok 58 - Test script 'ust/overlap/test_overlap' returned code 0. 259 passed, 0 failed, 0 skipped, 259 planned [total: 259]
PASS: tests.serial 58 - Test script 'ust/overlap/test_overlap' returned code 0. 259 passed, 0 failed, 0 skipped, 259 planned [total: 259]
---
  duration_ms: 20299.2766
...

# [1776181264.047876] INFO:root:Starting test 'ust/python-logging/test_python_logging'
# [1776181264.081467] INFO:root:Test 'ust/python-logging/test_python_logging' terminated with return code 0
ok 59 - Test script 'ust/python-logging/test_python_logging' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
PASS: tests.serial 59 - Test script 'ust/python-logging/test_python_logging' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
---
  duration_ms: 33.882
...

# [1776181264.081809] INFO:root:Starting test 'ust/getcpu-override/test_getcpu_override'
# [1776181267.820226] INFO:root:Test 'ust/getcpu-override/test_getcpu_override' terminated with return code 0
ok 60 - Test script 'ust/getcpu-override/test_getcpu_override' returned code 0. 20 passed, 0 failed, 0 skipped, 20 planned [total: 20]
PASS: tests.serial 60 - Test script 'ust/getcpu-override/test_getcpu_override' returned code 0. 20 passed, 0 failed, 0 skipped, 20 planned [total: 20]
---
  duration_ms: 3739.0888
...

# [1776181267.820929] INFO:root:Starting test 'ust/clock-override/test_clock_override'
# [1776181277.288851] INFO:root:Test 'ust/clock-override/test_clock_override' terminated with return code 0
ok 61 - Test script 'ust/clock-override/test_clock_override' returned code 0. 32 passed, 0 failed, 0 skipped, 32 planned [total: 32]
PASS: tests.serial 61 - Test script 'ust/clock-override/test_clock_override' returned code 0. 32 passed, 0 failed, 0 skipped, 32 planned [total: 32]
---
  duration_ms: 9469.46848
...

# [1776181277.290473] INFO:root:Starting test 'ust/test_event_basic'
# [1776181281.196428] INFO:root:Test 'ust/test_event_basic' terminated with return code 0
ok 62 - Test script 'ust/test_event_basic' returned code 0. 32 passed, 0 failed, 0 skipped, 32 planned [total: 32]
PASS: tests.serial 62 - Test script 'ust/test_event_basic' returned code 0. 32 passed, 0 failed, 0 skipped, 32 planned [total: 32]
---
  duration_ms: 3908.0574
...

# [1776181281.198592] INFO:root:Starting test 'ust/test_event_tracef'
# [1776181284.150583] INFO:root:Test 'ust/test_event_tracef' terminated with return code 0
ok 63 - Test script 'ust/test_event_tracef' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 63 - Test script 'ust/test_event_tracef' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
---
  duration_ms: 2952.52356
...

# [1776181284.151154] INFO:root:Starting test 'ust/test_event_perf'
# [1776181287.467059] INFO:root:Test 'ust/test_event_perf' terminated with return code 0
ok 64 - Test script 'ust/test_event_perf' returned code 0. 25 passed, 0 failed, 0 skipped, 25 planned [total: 25]
PASS: tests.serial 64 - Test script 'ust/test_event_perf' returned code 0. 25 passed, 0 failed, 0 skipped, 25 planned [total: 25]
---
  duration_ms: 3317.05828
...

# [1776181287.468249] INFO:root:Starting test 'ust/blocking/test_blocking'
# [1776181311.619700] INFO:root:Test 'ust/blocking/test_blocking' terminated with return code 0
ok 65 - Test script 'ust/blocking/test_blocking' returned code 0. 50 passed, 0 failed, 0 skipped, 50 planned [total: 50]
PASS: tests.serial 65 - Test script 'ust/blocking/test_blocking' returned code 0. 50 passed, 0 failed, 0 skipped, 50 planned [total: 50]
---
  duration_ms: 24153.0558
...

# [1776181311.621349] INFO:root:Starting test 'ust/low-throughput/test_low_throughput'
# [1776181311.641215] INFO:root:Test 'ust/low-throughput/test_low_throughput' terminated with return code 0
ok 66 - Test script 'ust/low-throughput/test_low_throughput' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
PASS: tests.serial 66 - Test script 'ust/low-throughput/test_low_throughput' returned code 0. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
---
  duration_ms: 20.1674
...

# [1776181311.641570] INFO:root:Starting test 'ust/multi-lib/test_multi_lib'
# [1776181318.739944] INFO:root:Test 'ust/multi-lib/test_multi_lib' terminated with return code 0
ok 67 - Test script 'ust/multi-lib/test_multi_lib' returned code 0. 55 passed, 0 failed, 0 skipped, 55 planned [total: 55]
PASS: tests.serial 67 - Test script 'ust/multi-lib/test_multi_lib' returned code 0. 55 passed, 0 failed, 0 skipped, 55 planned [total: 55]
---
  duration_ms: 7101.18316
...

# [1776181318.742787] INFO:root:Starting test 'ust/rotation-destroy-flush/test_rotation_destroy_flush'
# [1776181358.410535] INFO:root:Test 'ust/rotation-destroy-flush/test_rotation_destroy_flush' terminated with return code 0
ok 68 - Test script 'ust/rotation-destroy-flush/test_rotation_destroy_flush' returned code 0. 150 passed, 0 failed, 0 skipped, 150 planned [total: 150]
PASS: tests.serial 68 - Test script 'ust/rotation-destroy-flush/test_rotation_destroy_flush' returned code 0. 150 passed, 0 failed, 0 skipped, 150 planned [total: 150]
---
  duration_ms: 39671.37864
...

# [1776181358.414215] INFO:root:Starting test 'ust/ust-app-ctl-paths/test_blocking'
# [1776181367.697078] INFO:root:Test 'ust/ust-app-ctl-paths/test_blocking' terminated with return code 0
ok 69 - Test script 'ust/ust-app-ctl-paths/test_blocking' returned code 0. 34 passed, 0 failed, 0 skipped, 34 planned [total: 34]
PASS: tests.serial 69 - Test script 'ust/ust-app-ctl-paths/test_blocking' returned code 0. 34 passed, 0 failed, 0 skipped, 34 planned [total: 34]
---
  duration_ms: 9284.38128
...

# [1776181367.698644] INFO:root:Starting test 'ust/ust-app-ctl-paths/test_path_separators'
# [1776181373.713792] INFO:root:Test 'ust/ust-app-ctl-paths/test_path_separators' terminated with return code 0
ok 70 - Test script 'ust/ust-app-ctl-paths/test_path_separators' returned code 0. 20 passed, 0 failed, 0 skipped, 20 planned [total: 20]
PASS: tests.serial 70 - Test script 'ust/ust-app-ctl-paths/test_path_separators' returned code 0. 20 passed, 0 failed, 0 skipped, 20 planned [total: 20]
---
  duration_ms: 6016.40356
...

# [1776181373.715113] INFO:root:Starting test 'ust/ust-app-ctl-paths/test_ust_app_ctl_paths'
# [1776181395.959254] INFO:root:Test 'ust/ust-app-ctl-paths/test_ust_app_ctl_paths' terminated with return code 0
ok 71 - Test script 'ust/ust-app-ctl-paths/test_ust_app_ctl_paths' returned code 0. 98 passed, 0 failed, 0 skipped, 98 planned [total: 98]
PASS: tests.serial 71 - Test script 'ust/ust-app-ctl-paths/test_ust_app_ctl_paths' returned code 0. 98 passed, 0 failed, 0 skipped, 98 planned [total: 98]
---
  duration_ms: 22247.0816
...

# [1776181395.962224] INFO:root:Starting test 'ust/ust-constructor/test_ust_constructor_c_dynamic.py'
# [1776181396.866794] INFO:root:Test 'ust/ust-constructor/test_ust_constructor_c_dynamic.py' terminated with return code 0
ok 72 - Test script 'ust/ust-constructor/test_ust_constructor_c_dynamic.py' returned code 0. 24 passed, 0 failed, 0 skipped, 24 planned [total: 24]
PASS: tests.serial 72 - Test script 'ust/ust-constructor/test_ust_constructor_c_dynamic.py' returned code 0. 24 passed, 0 failed, 0 skipped, 24 planned [total: 24]
---
  duration_ms: 905.286
...

# [1776181396.867579] INFO:root:Starting test 'tools/client/test_bug1373_events_differ_only_by_loglevel'
# [1776181400.584162] INFO:root:Test 'tools/client/test_bug1373_events_differ_only_by_loglevel' terminated with return code 0
ok 73 - Test script 'tools/client/test_bug1373_events_differ_only_by_loglevel' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 73 - Test script 'tools/client/test_bug1373_events_differ_only_by_loglevel' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
---
  duration_ms: 3717.3828
...

# [1776181400.585015] INFO:root:Starting test 'tools/config-directory/test_config.py'
# [1776181424.562402] INFO:root:Test 'tools/config-directory/test_config.py' terminated with return code 0
ok 74 - Test script 'tools/config-directory/test_config.py' returned code 0. 8 passed, 0 failed, 0 skipped, 8 planned [total: 8]
PASS: tests.serial 74 - Test script 'tools/config-directory/test_config.py' returned code 0. 8 passed, 0 failed, 0 skipped, 8 planned [total: 8]
---
  duration_ms: 23979.29268
...

# [1776181424.564332] INFO:root:Starting test 'tools/metadata/test_ust'
# [1776181428.940436] INFO:root:Test 'tools/metadata/test_ust' terminated with return code 0
ok 75 - Test script 'tools/metadata/test_ust' returned code 0. 37 passed, 0 failed, 0 skipped, 37 planned [total: 37]
PASS: tests.serial 75 - Test script 'tools/metadata/test_ust' returned code 0. 37 passed, 0 failed, 0 skipped, 37 planned [total: 37]
---
  duration_ms: 4376.822001
...

# [1776181428.941192] INFO:root:Starting test 'tools/relayd-grouping/test_ust'
# [1776181453.172215] INFO:root:Test 'tools/relayd-grouping/test_ust' terminated with return code 0
ok 76 - Test script 'tools/relayd-grouping/test_ust' returned code 0. 284 passed, 0 failed, 0 skipped, 284 planned [total: 284]
PASS: tests.serial 76 - Test script 'tools/relayd-grouping/test_ust' returned code 0. 284 passed, 0 failed, 0 skipped, 284 planned [total: 284]
---
  duration_ms: 24239.2368
...

# [1776181453.180488] INFO:root:Starting test 'tools/trigger/rate-policy/test_ust_rate_policy'
# [1776181461.181964] INFO:root:Test 'tools/trigger/rate-policy/test_ust_rate_policy' terminated with return code 0
ok 77 - Test script 'tools/trigger/rate-policy/test_ust_rate_policy' returned code 0. 19 passed, 0 failed, 0 skipped, 19 planned [total: 19]
PASS: tests.serial 77 - Test script 'tools/trigger/rate-policy/test_ust_rate_policy' returned code 0. 19 passed, 0 failed, 0 skipped, 19 planned [total: 19]
---
  duration_ms: 8002.5804
...

# [1776181461.183131] INFO:root:Starting test 'ust/stall-buffer/test_stall_buffer_complex.py'
# [1776181461.254919] INFO:root:Test 'ust/stall-buffer/test_stall_buffer_complex.py' terminated with return code 1
not ok 78 - Test script 'ust/stall-buffer/test_stall_buffer_complex.py' returned code 1. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
FAIL: tests.serial 78 - Test script 'ust/stall-buffer/test_stall_buffer_complex.py' returned code 1. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
---
  duration_ms: 72.01484
...

# [1776181461.255218] INFO:root:Starting test 'ust/stall-buffer/test_stall_buffer_simple.py'
# [1776181461.316778] INFO:root:Test 'ust/stall-buffer/test_stall_buffer_simple.py' terminated with return code 1
not ok 79 - Test script 'ust/stall-buffer/test_stall_buffer_simple.py' returned code 1. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
FAIL: tests.serial 79 - Test script 'ust/stall-buffer/test_stall_buffer_simple.py' returned code 1. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
---
  duration_ms: 61.74336
...

# [1776181461.317030] INFO:root:Starting test 'ust/stall-buffer/test_stall_buffer_timer.py'
# [1776181461.377518] INFO:root:Test 'ust/stall-buffer/test_stall_buffer_timer.py' terminated with return code 1
not ok 80 - Test script 'ust/stall-buffer/test_stall_buffer_timer.py' returned code 1. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
FAIL: tests.serial 80 - Test script 'ust/stall-buffer/test_stall_buffer_timer.py' returned code 1. 0 passed, 0 failed, 0 skipped, unknown planned [total: 0]
---
  duration_ms: 60.65944
...

# [1776181461.377752] INFO:root:Starting test 'kernel/test_all_events'
# [1776181464.810219] INFO:root:Test 'kernel/test_all_events' terminated with return code 0
ok 81 - Test script 'kernel/test_all_events' returned code 0. 10 passed, 0 failed, 0 skipped, 10 planned [total: 10]
PASS: tests.serial 81 - Test script 'kernel/test_all_events' returned code 0. 10 passed, 0 failed, 0 skipped, 10 planned [total: 10]
---
  duration_ms: 3433.0392
...

# [1776181464.810831] INFO:root:Starting test 'kernel/test_callstack'
# [1776181468.420758] INFO:root:Test 'kernel/test_callstack' terminated with return code 0
ok 82 - Test script 'kernel/test_callstack' returned code 0. 14 passed, 0 failed, 0 skipped, 14 planned [total: 14]
PASS: tests.serial 82 - Test script 'kernel/test_callstack' returned code 0. 14 passed, 0 failed, 0 skipped, 14 planned [total: 14]
---
  duration_ms: 3610.49284
...

# [1776181468.421353] INFO:root:Starting test 'kernel/test_channel'
# [1776181470.862229] INFO:root:Test 'kernel/test_channel' terminated with return code 0
ok 83 - Test script 'kernel/test_channel' returned code 0. 10 passed, 0 failed, 0 skipped, 10 planned [total: 10]
PASS: tests.serial 83 - Test script 'kernel/test_channel' returned code 0. 10 passed, 0 failed, 0 skipped, 10 planned [total: 10]
---
  duration_ms: 2441.4632
...

# [1776181470.862865] INFO:root:Starting test 'kernel/test_clock_override'
# [1776181480.665656] INFO:root:Test 'kernel/test_clock_override' terminated with return code 0
ok 84 - Test script 'kernel/test_clock_override' returned code 0. 31 passed, 0 failed, 0 skipped, 31 planned [total: 31]
PASS: tests.serial 84 - Test script 'kernel/test_clock_override' returned code 0. 31 passed, 0 failed, 0 skipped, 31 planned [total: 31]
---
  duration_ms: 9803.87484
...

# [1776181480.666787] INFO:root:Starting test 'kernel/test_event_basic'
# [1776181485.243414] INFO:root:Test 'kernel/test_event_basic' terminated with return code 0
ok 85 - Test script 'kernel/test_event_basic' returned code 0. 23 passed, 0 failed, 0 skipped, 23 planned [total: 23]
PASS: tests.serial 85 - Test script 'kernel/test_event_basic' returned code 0. 23 passed, 0 failed, 0 skipped, 23 planned [total: 23]
---
  duration_ms: 4577.34488
...

# [1776181485.244159] INFO:root:Starting test 'kernel/test_high_throughput.py'
# [1776181495.839720] INFO:root:Test 'kernel/test_high_throughput.py' terminated with return code 0
ok 86 - Test script 'kernel/test_high_throughput.py' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
PASS: tests.serial 86 - Test script 'kernel/test_high_throughput.py' returned code 0. 1 passed, 0 failed, 0 skipped, 1 planned [total: 1]
---
  duration_ms: 10596.27276
...

# [1776181495.840509] INFO:root:Starting test 'kernel/test_kernel_function'
# [1776181499.131081] INFO:root:Test 'kernel/test_kernel_function' terminated with return code 0
ok 87 - Test script 'kernel/test_kernel_function' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
PASS: tests.serial 87 - Test script 'kernel/test_kernel_function' returned code 0. 9 passed, 0 failed, 0 skipped, 9 planned [total: 9]
---
  duration_ms: 3291.09096
...

# [1776181499.131625] INFO:root:Starting test 'kernel/test_lttng_logger'
# [1776181504.374111] INFO:root:Test 'kernel/test_lttng_logger' terminated with return code 0
ok 88 - Test script 'kernel/test_lttng_logger' returned code 0. 32 passed, 0 failed, 0 skipped, 32 planned [total: 32]
PASS: tests.serial 88 - Test script 'kernel/test_lttng_logger' returned code 0. 32 passed, 0 failed, 0 skipped, 32 planned [total: 32]
---
  duration_ms: 5243.91744
...

# [1776181504.375606] INFO:root:Starting test 'kernel/test_ns_contexts'
# [1776181530.339363] INFO:root:Test 'kernel/test_ns_contexts' terminated with return code 0
ok 89 - Test script 'kernel/test_ns_contexts' returned code 0. 104 passed, 0 failed, 0 skipped, 104 planned [total: 104]
PASS: tests.serial 89 - Test script 'kernel/test_ns_contexts' returned code 0. 104 passed, 0 failed, 0 skipped, 104 planned [total: 104]
---
  duration_ms: 25967.22456
...

# [1776181530.342869] INFO:root:Starting test 'kernel/test_ns_contexts_change'
# [1776181553.784884] INFO:root:Test 'kernel/test_ns_contexts_change' terminated with return code 0
ok 90 - Test script 'kernel/test_ns_contexts_change' returned code 0. 126 passed, 0 failed, 0 skipped, 126 planned [total: 126]
PASS: tests.serial 90 - Test script 'kernel/test_ns_contexts_change' returned code 0. 126 passed, 0 failed, 0 skipped, 126 planned [total: 126]
---
  duration_ms: 23444.37632
...

# [1776181553.787304] INFO:root:Starting test 'kernel/test_rotation_destroy_flush'
# [1776181595.748452] INFO:root:Test 'kernel/test_rotation_destroy_flush' terminated with return code 0
ok 91 - Test script 'kernel/test_rotation_destroy_flush' returned code 0. 150 passed, 0 failed, 0 skipped, 150 planned [total: 150]
PASS: tests.serial 91 - Test script 'kernel/test_rotation_destroy_flush' returned code 0. 150 passed, 0 failed, 0 skipped, 150 planned [total: 150]
---
  duration_ms: 41966.736
...

# [1776181595.754077] INFO:root:Starting test 'kernel/test_select_poll_epoll'
# [1776181614.861788] INFO:root:Test 'kernel/test_select_poll_epoll' terminated with return code 0
ok 92 - Test script 'kernel/test_select_poll_epoll' returned code 0. 98 passed, 0 failed, 0 skipped, 98 planned [total: 98]
PASS: tests.serial 92 - Test script 'kernel/test_select_poll_epoll' returned code 0. 98 passed, 0 failed, 0 skipped, 98 planned [total: 98]
---
  duration_ms: 19110.1476
...

# [1776181614.864269] INFO:root:Starting test 'kernel/test_syscall'
# [1776181637.045663] INFO:root:Test 'kernel/test_syscall' terminated with return code 0
ok 93 - Test script 'kernel/test_syscall' returned code 0. 216 passed, 0 failed, 0 skipped, 216 planned [total: 216]
PASS: tests.serial 93 - Test script 'kernel/test_syscall' returned code 0. 216 passed, 0 failed, 0 skipped, 216 planned [total: 216]
---
  duration_ms: 22188.79488
...

# [1776181637.053108] INFO:root:Starting test 'kernel/test_userspace_probe'
# [1776181647.256973] INFO:root:Test 'kernel/test_userspace_probe' terminated with return code 0
ok 94 - Test script 'kernel/test_userspace_probe' returned code 0. 107 passed, 0 failed, 0 skipped, 107 planned [total: 107]
PASS: tests.serial 94 - Test script 'kernel/test_userspace_probe' returned code 0. 107 passed, 0 failed, 0 skipped, 107 planned [total: 107]
---
  duration_ms: 10205.36212
...

# [1776181647.258514] INFO:root:Starting test 'ust/namespaces/test_ns_contexts'
# [1776181671.872400] INFO:root:Test 'ust/namespaces/test_ns_contexts' terminated with return code 0
ok 95 - Test script 'ust/namespaces/test_ns_contexts' returned code 0. 104 passed, 0 failed, 0 skipped, 104 planned [total: 104]
PASS: tests.serial 95 - Test script 'ust/namespaces/test_ns_contexts' returned code 0. 104 passed, 0 failed, 0 skipped, 104 planned [total: 104]
---
  duration_ms: 24616.52588
...

# [1776181671.875089] INFO:root:Starting test 'ust/namespaces/test_ns_contexts_change'
# [1776181689.778889] INFO:root:Test 'ust/namespaces/test_ns_contexts_change' terminated with return code 0
ok 96 - Test script 'ust/namespaces/test_ns_contexts_change' returned code 0. 80 passed, 0 failed, 0 skipped, 80 planned [total: 80]
PASS: tests.serial 96 - Test script 'ust/namespaces/test_ns_contexts_change' returned code 0. 80 passed, 0 failed, 0 skipped, 80 planned [total: 80]
---
  duration_ms: 17907.38504
...

ERROR: tests.serial - exited with status 1

SKIP: ust/high-throughput/test_high_throughput.py
=================================================

# Launching session daemon with LTTNG_HOME=`/tmp/lttng_test_env_homef4s4efd2`
# /usr/lib/lttng-tools/ptest/src/bin/lttng-sessiond/lttng-sessiond --consumerd64-path /usr/lib/lttng-tools/ptest/src/bin/lttng-consumerd/lttng-consumerd --sig-parent --no-kernel
# Termination signal sent to session daemon (pid = 25012)
1..1
# Session daemon killed
ok 1 # Skip: Long regression tests not enabled
SKIP: ust/high-throughput/test_high_throughput.py 1 # SKIP : Long regression tests not enabled

SKIP: ust/high-throughput/test_high_throughput_snapshot.py
==========================================================

1..3
ok 1 # Skip: Only run on x86_64
SKIP: ust/high-throughput/test_high_throughput_snapshot.py 1 # SKIP : Only run on x86_64
ok 2 # Skip: Only run on x86_64
SKIP: ust/high-throughput/test_high_throughput_snapshot.py 2 # SKIP : Only run on x86_64
ok 3 # Skip: Only run on x86_64
SKIP: ust/high-throughput/test_high_throughput_snapshot.py 3 # SKIP : Only run on x86_64

SKIP: ust/test_no_event_timestamps.py
=====================================

1..1
ok 1 # Skip: Only run on x86_64
SKIP: ust/test_no_event_timestamps.py 1 # SKIP : Only run on x86_64


ERROR: Exit status is 2
DURATION: 1346
