X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Ftest_list.py;h=2a613b92bc3337cb8f0513e2a626a5b47107ee3b;hb=37f1c23617e54ba79c11ff6dc4c4ce7ad07f7be9;hp=375e07320e8408fffe3ea960e4861cd4992d9e41;hpb=4d5b973e8e468bf99fc9229b9b7a67bfdfe09924;p=lttng-tools.git diff --git a/tests/test_list.py b/tests/test_list.py old mode 100644 new mode 100755 index 375e07320..2a613b92b --- a/tests/test_list.py +++ b/tests/test_list.py @@ -18,8 +18,20 @@ Tests = \ 'desc': "Test UST data structures and methods.", 'success': 0, 'enabled': True }, + { + 'bin': "tools/streaming/run-ust", 'daemon': True, 'kern': False, + 'name': "UST network streaming", + 'desc': "Test user space tracing network streaming support", + 'success': 0, 'enabled': True + }, + { + 'bin': "tools/streaming/run-kernel", 'daemon': True, 'kern': True, + 'name': "Kernel network streaming", + 'desc': "Test kernel tracing network streaming support", + 'success': 0, 'enabled': True + }, - #### KERNEL #### + # Kernel tests { 'bin': "kernel/run-kernel-tests.sh", 'daemon': True, 'kern': True, 'name': "Kernel tracer - lttng client", @@ -27,7 +39,7 @@ Tests = \ 'success': 0, 'enabled': True }, - #### UST #### + # UST tests { 'bin': "ust/run-ust-global-tests.sh", 'daemon': True, 'kern': False, 'name': "UST tracer - Global domain", @@ -41,22 +53,94 @@ Tests = \ 'success': 0, 'enabled': True }, { - 'bin': "ust/nevents/run", 'daemon': True, 'kern': False, - 'name': "UST tracer - Generate multiple events", - 'desc': "Test multiple events during tracing", - 'success': 0, 'enabled': True - }, - { 'bin': "ust/high-throughput/run", 'daemon': True, 'kern': False, 'name': "UST tracer - Testing high events throughput", 'desc': "Test multiple large number of events with concurrent application", 'success': 0, 'enabled': True }, - { - 'bin': "ust/low-throughput/run", 'daemon': True, 'kern': False, - 'name': "UST tracer - Testing high events throughput", - 'desc': "Test low throughput of events", - 'success': 0, 'enabled': False # Deactivated. This test last 20 minutes... + #{ + #'bin': "ust/low-throughput/run", 'daemon': True, 'kern': False, + #'name': "UST tracer - Testing high events throughput", + #'desc': "Test low throughput of events", + #'success': 0, 'enabled': False + #}, + { + 'bin': "ust/before-after/run", 'daemon': True, 'kern': False, + 'name': "UST tracer - Tracing before and after app execution", + 'desc': "Test tracing before and after app execution", + 'success': 0, 'enabled': True + }, + { + 'bin': "ust/multi-session/run", 'daemon': True, 'kern': False, + 'name': "UST tracer - Multi-session", + 'desc': "Test tracing with 4 sessions for one application", + 'success': 0, 'enabled': True + }, + + # Tools filtering tests + { + 'bin': "tools/filtering/unsupported-ops", 'daemon': True, 'kern': False, + 'name': "Filtering - Unsupported operators", + 'desc': "Test the failure of filter with unsupported operators", + 'success': 0, 'enabled': True + }, + { + 'bin': "tools/filtering/invalid-filters", 'daemon': True, 'kern': False, + 'name': "Filtering - Invalid filters", + 'desc': "Test the failure of invalid filters", + 'success': 0, 'enabled': True + }, + { + 'bin': "tools/filtering/valid-filters", 'daemon': True, 'kern': False, + 'name': "Filtering - Valid filters", + 'desc': "Validate the expected trace output of valid filters", + 'success': 0, 'enabled': True + }, + + # Tools health check tests + { + 'bin': "tools/health/health_thread_exit", 'daemon': "test", 'kern': True, + 'name': "Health check - Thread exit", + 'desc': "Call exit in the various lttng-sessiond threads and ensure that health failure is detected", + 'success': 0, 'enabled': True + }, + { + 'bin': "tools/health/health_thread_stall", 'daemon': "test", 'kern': True, + 'name': "Health check - Thread stall", + 'desc': "Stall the various lttng-sessiond threads and ensure that health failure is detected", + 'success': 0, 'enabled': True + }, + { + 'bin': "tools/health/health_tp_fail", 'daemon': "test", 'kern': True, + 'name': "Health check - Testpoint failure", + 'desc': "Trigger a failure in the testpoint mechanism in each thread to provoke thread teardown", + 'success': 0, 'enabled': True + }, + + # Tools streaming tests + { + 'bin': "tools/streaming/run-kernel", 'daemon': True, 'kern': True, + 'name': "Streaming - Kernel tracing", + 'desc': "Stream a kernel trace across the network", + 'success': 0, 'enabled': True + }, + { + 'bin': "tools/streaming/run-ust", 'daemon': True, 'kern': False, + 'name': "Streaming - Userspace tracing", + 'desc': "Stream a userspace trace across the network", + 'success': 0, 'enabled': True + }, + { + 'bin': "tools/streaming/uri_switch", 'daemon': True, 'kern': False, + 'name': "Streaming - URI switching", + 'desc': "Switch URI and verify that the trace result are in the proper location", + 'success': 0, 'enabled': True + }, + { + 'bin': "tools/streaming/high_throughput_limits", 'daemon': True, 'kern': True, + 'name': "Streaming - High throughput with bandwith limits", + 'desc': "Trace streaming with bandwidth limits", + 'success': 0, 'enabled': True }, ]