[lttng-dev] [PATCH lttng-tools 0/8] Fix racy lttng-tools tests

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed Nov 19 16:40:24 EST 2014


Mathieu Desnoyers (8):
  Fix: tests: don't use pidof to wait for test apps
  Fix: test flaky sleep and wait patterns
  Document test anti-patterns
  Fix: tests: add missing wait, document missing synchro
  Fix: high throughput test: reset bw limit on sigterm
  Fix: tests: remove killall, add missing SIGTERM handlers
  Fix: tests: wait output hide Terminate errors
  Fix: add missing synchronization point for before app test case

 tests/Makefile.am                                  |  2 +-
 tests/README                                       | 63 +++++++++++++++++
 tests/regression/tools/live/test_kernel            | 12 ++--
 tests/regression/tools/live/test_ust               | 12 ++--
 .../regression/tools/live/test_ust_tracefile_count | 12 ++--
 tests/regression/tools/mi/test_mi                  |  6 +-
 .../regression/tools/snapshots/test_ust_streaming  | 45 +++++++------
 tests/regression/tools/snapshots/ust_test          | 28 +++++---
 .../tools/streaming/test_high_throughput_limits    | 16 ++---
 tests/regression/tools/streaming/test_kernel       |  7 --
 tests/regression/tools/streaming/test_ust          | 26 +++++++-
 .../regression/ust/before-after/test_before_after  | 14 +++-
 tests/regression/ust/buffers-pid/test_buffers_pid  | 50 ++++++++------
 .../ust/high-throughput/test_high_throughput       |  9 ++-
 tests/regression/ust/java-jul/test_java_jul        | 19 +++++-
 tests/regression/ust/java-log4j/test_java_log4j    | 19 ++++--
 .../ust/multi-session/test_multi_session           |  2 +-
 tests/regression/ust/nprocesses/test_nprocesses    | 37 ++++++----
 tests/regression/ust/overlap/test_overlap          |  3 +-
 .../test_periodical_metadata_flush                 | 78 ++++++++++++++++------
 .../ust/python-logging/test_python_logging         | 10 ++-
 tests/stress/test_multi_sessions_per_uid_10app     | 13 ++--
 .../test_multi_sessions_per_uid_5app_streaming     | 13 ++--
 ...lti_sessions_per_uid_5app_streaming_kill_relayd | 20 ++++--
 .../utils/testapp/gen-ust-events/gen-ust-events.c  | 71 ++++++++++++++++----
 tests/utils/utils.sh                               |  2 +-
 26 files changed, 411 insertions(+), 178 deletions(-)
 create mode 100644 tests/README

-- 
2.1.1




More information about the lttng-dev mailing list