Project

General

Profile

Bug #1354 » fail.log

Heng Guo, 05/13/2022 04:07 AM

 

root@axxiax86-64:/usr/lib64/lttng-tools/ptest/tests# cat test.sh
./regression/kernel/test_clock_override
./regression/kernel/test_clock_timestamp

1..30
# Kernel tracer - Clock override plugin
# Clock override plugin metadata test
ok 1 - Start session daemon
ok 2 - Create session clock_override in -o /tmp/tmp.wJRVK2bdHj
ok 3 - Enable kernel event lttng_test_filter_event for session clock_override
ok 4 - Start tracing for session clock_override
ok 5 - Stop lttng tracing for session clock_override
ok 6 - Destroy session clock_override
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 129175 129176 129196
ok 7 - Wait after kill session daemon
metadata modprobe --remove
ok 8 - Metadata extraction from babeltrace
ok 9 - Clock metadata extraction
ok 10 - Tokens to check(4) and provided values(4) count is equal
ok 11 - Token "name" expect:lttng_test_clock_override got:lttng_test_clock_override
ok 12 - Token "uuid" expect:83c63deb-7aa4-48fb-abda-946f400d76e6 got:83c63deb-7aa4-48fb-abda-946f400d76e6
ok 13 - Token "description" expect:Freeze time with 1KHz for regression test got:Freeze time with 1KHz for regression test
ok 14 - Token "freq" expect:1000 got:1000
# Clock override test
# Plugin disabled
ok 15 - Start session daemon
ok 16 - Create session clock_override in -o /tmp/tmp.WEWuj2WBrE
ok 17 - Enable kernel event lttng_test_filter_event for session clock_override
ok 18 - Start tracing for session clock_override
ok 19 - Stop lttng tracing for session clock_override
ok 20 - Destroy session clock_override
ok 21 - Unique event timestamps without clock override: 10 expect >1
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 129258 129259 129278
ok 22 - Wait after kill session daemon
# Plugin enabled
ok 23 - Start session daemon
ok 24 - Create session clock_override in -o /tmp/tmp.WEWuj2WBrE
ok 25 - Enable kernel event lttng_test_filter_event for session clock_override
ok 26 - Start tracing for session clock_override
ok 27 - Stop lttng tracing for session clock_override
ok 28 - Destroy session clock_override
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 129317 129318 129345
ok 29 - Wait after kill session daemon
modprobe: FATAL: Module lttng_clock_plugin_test is in use.
ok 30 - Unique event timestamps with clock override: 1 expect 1
1..20
# Kernel tracer - Clock timestamp
# Clock metadata test
ok 1 - Start session daemon
ok 2 - Create session clock_timestamp in -o /tmp/tmp.2jB8ZPREah
ok 3 - Enable kernel event lttng_test_filter_event for session clock_timestamp
ok 4 - Start tracing for session clock_timestamp
ok 5 - Stop lttng tracing for session clock_timestamp
ok 6 - Destroy session clock_timestamp
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 129391 129392 129411
ok 7 - Wait after kill session daemon
rmmod: ERROR: Module lttng_clock is in use by: lttng_clock_plugin_test
ok 8 - Metadata extraction from babeltrace
ok 9 - Clock metadata extraction
ok 10 - Tokens to check(2) and provided values(2) count is equal
not ok 11 - Token "name" expect:monotonic got:lttng_test_clock_override
# Failed test 'Token "name" expect:monotonic got:lttng_test_clock_override'
# in ./regression/kernel/test_clock_timestamp:test_clock_metadata() at line 107.
not ok 12 - Token "description" expect:Monotonic Clock got:Freeze time with 1KHz for regression test
# Failed test 'Token "description" expect:Monotonic Clock got:Freeze time with 1KHz for regression test'
# in ./regression/kernel/test_clock_timestamp:test_clock_metadata() at line 107.
# Clock timestamp test
ok 13 - Start session daemon
ok 14 - Create session clock_timestamp in -o /tmp/tmp.pdJSf17QJZ
ok 15 - Enable kernel event lttng_test_filter_event for session clock_timestamp
ok 16 - Start tracing for session clock_timestamp
ok 17 - Stop lttng tracing for session clock_timestamp
ok 18 - Destroy session clock_timestamp
not ok 19 - Unique event timestamps without clock override: 1 expect >1
# Failed test 'Unique event timestamps without clock override: 1 expect >1'
# in ./regression/kernel/test_clock_timestamp:test_clock_timestamp() at line 133.
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 129472 129473 129493
[77373.425644] LTTng: Unloaded modules v2.12.6 ((Ta) Meilleure)
ok 20 - Wait after kill session daemon

(2-2/3)