| 1 |
######### |
| 2 |
# SETUP # |
| 3 |
######### |
| 4 |
INSTALL COMPONENT 'file://component_query_attributes'; |
| 5 |
INSTALL COMPONENT 'file://component_test_server_telemetry_traces'; |
| 6 |
############## |
| 7 |
# Operations # |
| 8 |
############## |
| 9 |
# send different COM_... commands, expect them being processed by telemetry |
| 10 |
########### |
| 11 |
# CLEANUP # |
| 12 |
########### |
| 13 |
UNINSTALL COMPONENT 'file://component_test_server_telemetry_traces'; |
| 14 |
UNINSTALL COMPONENT 'file://component_query_attributes'; |
| 15 |
Component logs: |
| 16 |
test_server_telemetry_traces_component_init init: |
| 17 |
- System variables registered. |
| 18 |
- Status variables registered. |
| 19 |
- Telemetry per-session data slot registered. |
| 20 |
- Telemetry session callbacks registered. |
| 21 |
- Telemetry statement callbacks registered. |
| 22 |
End of init |
| 23 |
tm_session_connect: client session started (user=root) |
| 24 |
tm_session_create: telemetry session started, increase refcount by user=root to 1 |
| 25 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 26 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='set autocommit=1') |
| 27 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 28 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='CREATE DATABASE IF NOT EXISTS client_test_db') |
| 29 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 30 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='USE client_test_db') |
| 31 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=client_test_db, query='') |
| 32 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='SELECT (support = 'YES' or support = 'DEFAULT' or support = 'ENABLED') AS `TRUE` FROM information_schema.engines WHERE engine = 'innodb'') |
| 33 |
tm_session_connect: client session started (user=root) |
| 34 |
tm_session_create: telemetry session started, increase refcount by user=root to 2 |
| 35 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 36 |
> tm_stmt_end: discard substatement, root discarded (depth=1, user=root, query='', query1='', digest='(null)', app[], call[]) |
| 37 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 38 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='') |
| 39 |
tm_session_disconnect: client session ended (user=root) |
| 40 |
tm_session_destroy: telemetry session ended, decrease refcount to 1 |
| 41 |
tm_session_destroy: failed to get current THD |
| 42 |
tm_session_connect: client session started (user=root) |
| 43 |
tm_session_create: telemetry session started, increase refcount by user=root to 2 |
| 44 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 45 |
> tm_stmt_end: discard substatement, root discarded (depth=1, user=root, query='', query1='', digest='(null)', app[], call[]) |
| 46 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 47 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='') |
| 48 |
tm_session_disconnect: client session ended (user=root) |
| 49 |
tm_session_destroy: telemetry session ended, decrease refcount to 1 |
| 50 |
tm_session_destroy: failed to get current THD |
| 51 |
tm_session_connect: client session started (user=root) |
| 52 |
tm_session_create: telemetry session started, increase refcount by user=root to 2 |
| 53 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 54 |
> tm_stmt_end: discard substatement, root discarded (depth=1, user=root, query='', query1='', digest='(null)', app[], call[]) |
| 55 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 56 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='') |
| 57 |
tm_session_disconnect: client session ended (user=root) |
| 58 |
tm_session_destroy: telemetry session ended, decrease refcount to 1 |
| 59 |
tm_session_destroy: failed to get current THD |
| 60 |
tm_session_connect: client session started (user=root) |
| 61 |
tm_session_create: telemetry session started, increase refcount by user=root to 2 |
| 62 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 63 |
> tm_stmt_end: discard substatement, root discarded (depth=1, user=root, query='', query1='', digest='(null)', app[], call[]) |
| 64 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 65 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='') |
| 66 |
tm_session_disconnect: client session ended (user=root) |
| 67 |
tm_session_destroy: telemetry session ended, decrease refcount to 1 |
| 68 |
tm_session_destroy: failed to get current THD |
| 69 |
tm_session_connect: client session started (user=root) |
| 70 |
tm_session_create: telemetry session started, increase refcount by user=root to 2 |
| 71 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 72 |
> tm_stmt_end: discard substatement, root discarded (depth=1, user=root, query='', query1='', digest='(null)', app[], call[]) |
| 73 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 74 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='') |
| 75 |
tm_session_disconnect: client session ended (user=root) |
| 76 |
tm_session_destroy: telemetry session ended, decrease refcount to 1 |
| 77 |
tm_session_destroy: failed to get current THD |
| 78 |
tm_session_connect: client session started (user=root) |
| 79 |
tm_session_create: telemetry session started, increase refcount by user=root to 2 |
| 80 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 81 |
> tm_stmt_end: discard substatement, root discarded (depth=1, user=root, query='', query1='', digest='(null)', app[], call[]) |
| 82 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 83 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='') |
| 84 |
tm_session_disconnect: client session ended (user=root) |
| 85 |
tm_session_destroy: telemetry session ended, decrease refcount to 1 |
| 86 |
tm_session_destroy: failed to get current THD |
| 87 |
tm_session_connect: client session started (user=root) |
| 88 |
tm_session_create: telemetry session started, increase refcount by user=root to 2 |
| 89 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 90 |
> tm_stmt_end: discard substatement, root discarded (depth=1, user=root, query='', query1='', digest='(null)', app[], call[]) |
| 91 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 92 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='') |
| 93 |
tm_session_disconnect: client session ended (user=root) |
| 94 |
tm_session_destroy: telemetry session ended, decrease refcount to 1 |
| 95 |
tm_session_destroy: failed to get current THD |
| 96 |
tm_session_connect: client session started (user=root) |
| 97 |
tm_session_create: telemetry session started, increase refcount by user=root to 2 |
| 98 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 99 |
> tm_stmt_end: discard substatement, root discarded (depth=1, user=root, query='', query1='', digest='(null)', app[], call[]) |
| 100 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 101 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='') |
| 102 |
tm_session_disconnect: client session ended (user=root) |
| 103 |
tm_session_destroy: telemetry session ended, decrease refcount to 1 |
| 104 |
tm_session_destroy: failed to get current THD |
| 105 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=client_test_db, query='') |
| 106 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='DROP DATABASE IF EXISTS client_test_db') |
| 107 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=, query='') |
| 108 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='') |
| 109 |
tm_session_disconnect: client session ended (user=root) |
| 110 |
tm_session_destroy: telemetry session ended, decrease refcount to 0 |
| 111 |
tm_session_destroy: failed to get current THD |
| 112 |
tm_session_create: telemetry session started, increase refcount by user=root to 1 |
| 113 |
> tm_stmt_start: proceed further (depth=1, user=root, host=localhost, db=test, query='') |
| 114 |
> tm_stmt_notify_qa: skip tracing, no qa (depth=1, with_qa=0, user=root, query='UNINSTALL COMPONENT 'file://component_test_server_telemetry_traces'') |
| 115 |
test_server_telemetry_traces_component_deinit: |
| 116 |
- Telemetry statement callbacks unregistered. |
| 117 |
tm_session_destroy: telemetry session ended, decrease refcount to 0 |
| 118 |
- Current session aborted. |
| 119 |
- Done waiting for telemetry sessions to finish (refcount = 0). |
| 120 |
- Telemetry session callbacks unregistered. |
| 121 |
- Telemetry per-session data slot unregistered. |
| 122 |
- Status variables unregistered. |
| 123 |
- System variables unregistered. |
| 124 |
End of deinit |