lttng-tools 2.7 did not perform a stop on destroy.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
runtime.run(cmd, cwd=app_path)
# Stop tracing
runtime.run(cmd, cwd=app_path)
# Stop tracing
+ runtime.run('lttng stop')
runtime.run('lttng destroy -a')
cp = runtime.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime.run('lttng destroy -a')
cp = runtime.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime.run(cmd, cwd=app_path)
# Stop tracing
runtime.run(cmd, cwd=app_path)
# Stop tracing
+ runtime.run('lttng stop')
runtime.run('lttng destroy -a')
cp = runtime.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime.run('lttng destroy -a')
cp = runtime.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_app.run(cmd, cwd=app_path)
# Stop tracing
runtime_app.run(cmd, cwd=app_path)
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
utils.create_empty_file(app_sync_end)
# Stop tracing
utils.create_empty_file(app_sync_end)
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_app.run(cmd, cwd=app_path)
# Stop tracing
runtime_app.run(cmd, cwd=app_path)
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_app.run(cmd, cwd=app_path)
# Stop tracing
runtime_app.run(cmd, cwd=app_path)
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_tools.run(cmd, cwd=app_path, classpath=ust_classpath)
# Stop tracing
runtime_tools.run(cmd, cwd=app_path, classpath=ust_classpath)
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_app.run(cmd, cwd=app_path)
# Stop tracing
runtime_app.run(cmd, cwd=app_path)
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_tools.run(cmd, cwd=app_path)
# Stop tracing
runtime_tools.run(cmd, cwd=app_path)
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_tools.run('lttng destroy -a')
cp = runtime_tools.subprocess_terminate(sessiond)
if cp.returncode != 0:
runtime_tools.run(cmd, cwd=app_path, ld_preload="./libtp-enum.so")
# Stop tracing
runtime_tools.run(cmd, cwd=app_path, ld_preload="./libtp-enum.so")
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
runtime_tools.subprocess_terminate(sessiond)
runtime_tools.run('lttng destroy -a')
runtime_tools.subprocess_terminate(sessiond)
runtime_tools.run(cmd, cwd=app_path, ld_preload="./libtp.so")
# Stop tracing
runtime_tools.run(cmd, cwd=app_path, ld_preload="./libtp.so")
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
runtime_tools.subprocess_terminate(sessiond)
runtime_tools.run('lttng destroy -a')
runtime_tools.subprocess_terminate(sessiond)
runtime_tools.run(cmd, cwd=app_path, ld_preload="./libtp-enum.so")
# Stop tracing
runtime_tools.run(cmd, cwd=app_path, ld_preload="./libtp-enum.so")
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
runtime_tools.subprocess_terminate(sessiond)
runtime_tools.run('lttng destroy -a')
runtime_tools.subprocess_terminate(sessiond)
runtime_tools.run(cmd, cwd=app_path, ld_preload="./libtp.so")
# Stop tracing
runtime_tools.run(cmd, cwd=app_path, ld_preload="./libtp.so")
# Stop tracing
+ runtime_tools.run('lttng stop')
runtime_tools.run('lttng destroy -a')
runtime_tools.subprocess_terminate(sessiond)
runtime_tools.run('lttng destroy -a')
runtime_tools.subprocess_terminate(sessiond)