Project

General

Profile

Bug #1360 » test_ust.log

Heng Guo, 10/14/2022 02:07 AM

 
1..42
./tools/base-path//../../../utils/utils.sh: line 144: no: command not found
# Streaming Base Path Override - User space tracing
./tools/base-path//../../../utils/utils.sh: line 144: no: command not found
Warning: No tracing group detected
ok 1 - Start lttng-relayd (process mode: -b opt: -o /tmp/tmp.test_base_path_ust_trace_path.iIb4e4)
PASS: tools/base-path/test_ust 1 - Start lttng-relayd (process mode: -b opt: -o /tmp/tmp.test_base_path_ust_trace_path.iIb4e4)
ok 2 - Start session daemon
PASS: tools/base-path/test_ust 2 - Start session daemon
# Test base path override for trace streaming
Warning: No tracing group detected
ok 3 - Create session ust_app_stream_base_path with uri:net://localhost/my/custom/path1 and opts:
PASS: tools/base-path/test_ust 3 - Create session ust_app_stream_base_path with uri:net://localhost/my/custom/path1 and opts:
ok 4 - Enable ust event tp:tptest for session ust_app_stream_base_path
PASS: tools/base-path/test_ust 4 - Enable ust event tp:tptest for session ust_app_stream_base_path
ok 5 - Start tracing for session ust_app_stream_base_path
PASS: tools/base-path/test_ust 5 - Start tracing for session ust_app_stream_base_path
ok 6 - Stop lttng tracing for session ust_app_stream_base_path
PASS: tools/base-path/test_ust 6 - Stop lttng tracing for session ust_app_stream_base_path
ok 7 - Destroy session ust_app_stream_base_path
PASS: tools/base-path/test_ust 7 - Destroy session ust_app_stream_base_path
ok 8 - UST per-uid network trace path is valid
PASS: tools/base-path/test_ust 8 - UST per-uid network trace path is valid
ok 9 - Validate trace for event tp:tptest, 100 events
PASS: tools/base-path/test_ust 9 - Validate trace for event tp:tptest, 100 events
# Test base path override for remote trace snapshot (URI on create)
ok 10 - Create session ust_app_snapshot_create_base_path with uri:net://localhost/my/custom/path2 and opts: --snapshot
PASS: tools/base-path/test_ust 10 - Create session ust_app_snapshot_create_base_path with uri:net://localhost/my/custom/path2 and opts: --snapshot
ok 11 - Enable ust event tp:tptest for session ust_app_snapshot_create_base_path
PASS: tools/base-path/test_ust 11 - Enable ust event tp:tptest for session ust_app_snapshot_create_base_path
ok 12 - Start tracing for session ust_app_snapshot_create_base_path
PASS: tools/base-path/test_ust 12 - Start tracing for session ust_app_snapshot_create_base_path
ok 13 - Stop lttng tracing for session ust_app_snapshot_create_base_path
PASS: tools/base-path/test_ust 13 - Stop lttng tracing for session ust_app_snapshot_create_base_path
ok 14 - Snapshot recorded
PASS: tools/base-path/test_ust 14 - Snapshot recorded
ok 15 - Destroy session ust_app_snapshot_create_base_path
PASS: tools/base-path/test_ust 15 - Destroy session ust_app_snapshot_create_base_path
ok 16 - UST per-uid network snapshot trace path is valid
PASS: tools/base-path/test_ust 16 - UST per-uid network snapshot trace path is valid
ok 17 - Validate trace for event tp:tptest, 100 events
PASS: tools/base-path/test_ust 17 - Validate trace for event tp:tptest, 100 events
# Test base path override for remote trace snapshot (URI on snapshot)
ok 18 - Create session ust_app_snapshot_base_path in no-output mode
PASS: tools/base-path/test_ust 18 - Create session ust_app_snapshot_base_path in no-output mode
ok 19 - Enable ust event tp:tptest for session ust_app_snapshot_base_path
PASS: tools/base-path/test_ust 19 - Enable ust event tp:tptest for session ust_app_snapshot_base_path
ok 20 - Start tracing for session ust_app_snapshot_base_path
PASS: tools/base-path/test_ust 20 - Start tracing for session ust_app_snapshot_base_path
ok 21 - Stop lttng tracing for session ust_app_snapshot_base_path
PASS: tools/base-path/test_ust 21 - Stop lttng tracing for session ust_app_snapshot_base_path
ok 22 - Snapshot recorded
PASS: tools/base-path/test_ust 22 - Snapshot recorded
ok 23 - Destroy session ust_app_snapshot_base_path
PASS: tools/base-path/test_ust 23 - Destroy session ust_app_snapshot_base_path
ok 24 - UST per-uid network snapshot trace path is valid
PASS: tools/base-path/test_ust 24 - UST per-uid network snapshot trace path is valid
ok 25 - Validate trace for event tp:tptest, 100 events
PASS: tools/base-path/test_ust 25 - Validate trace for event tp:tptest, 100 events
# Test base path override for remote trace snapshot (URI on add-output)
ok 26 - Create session ust_app_snapshot_add_output_base_path in no-output mode
PASS: tools/base-path/test_ust 26 - Create session ust_app_snapshot_add_output_base_path in no-output mode
ok 27 - Enable ust event tp:tptest for session ust_app_snapshot_add_output_base_path
PASS: tools/base-path/test_ust 27 - Enable ust event tp:tptest for session ust_app_snapshot_add_output_base_path
ok 28 - Start tracing for session ust_app_snapshot_add_output_base_path
PASS: tools/base-path/test_ust 28 - Start tracing for session ust_app_snapshot_add_output_base_path
ok 29 - Stop lttng tracing for session ust_app_snapshot_add_output_base_path
PASS: tools/base-path/test_ust 29 - Stop lttng tracing for session ust_app_snapshot_add_output_base_path
ok 30 - Added snapshot output net://localhost/my/custom/path4
PASS: tools/base-path/test_ust 30 - Added snapshot output net://localhost/my/custom/path4
ok 31 - Snapshot recorded
PASS: tools/base-path/test_ust 31 - Snapshot recorded
ok 32 - Destroy session ust_app_snapshot_add_output_base_path
PASS: tools/base-path/test_ust 32 - Destroy session ust_app_snapshot_add_output_base_path
ok 33 - UST per-uid network snapshot trace path is valid
PASS: tools/base-path/test_ust 33 - UST per-uid network snapshot trace path is valid
ok 34 - Validate trace for event tp:tptest, 100 events
PASS: tools/base-path/test_ust 34 - Validate trace for event tp:tptest, 100 events
# Test base path override for trace streaming using lttng load
ok 35 - Load command with opts: -i ./tools/base-path//load-stream-extra-path.lttng
PASS: tools/base-path/test_ust 35 - Load command with opts: -i ./tools/base-path//load-stream-extra-path.lttng
ok 36 - Start tracing for session load-stream-extra-path
PASS: tools/base-path/test_ust 36 - Start tracing for session load-stream-extra-path
ok 37 - Stop lttng tracing for session load-stream-extra-path
PASS: tools/base-path/test_ust 37 - Stop lttng tracing for session load-stream-extra-path
ok 38 - Destroy session load-stream-extra-path
PASS: tools/base-path/test_ust 38 - Destroy session load-stream-extra-path
ok 39 - UST per-uid network trace path is valid
PASS: tools/base-path/test_ust 39 - UST per-uid network trace path is valid
./tools/base-path//../../../utils/utils.sh: line 144: no: command not found
./tools/base-path//../../../utils/utils.sh: line 144: no: command not found
ok 40 - Validate trace for event tp:tptest, 100 events
PASS: tools/base-path/test_ust 40 - Validate trace for event tp:tptest, 100 events
not ok 41 - No session daemon to kill
FAIL: tools/base-path/test_ust 41 - No session daemon to kill
# Failed test 'No session daemon to kill'
./tools/base-path//../../../utils/utils.sh: line 144: no: command not found
# in ./tools/base-path//../../../utils/tap/tap.sh:fail() at line 159.
not ok 42 - No relay daemon to kill
FAIL: tools/base-path/test_ust 42 - No relay daemon to kill
# Failed test 'No relay daemon to kill'
# in ./tools/base-path//../../../utils/tap/tap.sh:fail() at line 159.
# Looks like you failed 2 tests of 42.
(1-1/7)