# the condition are meet
if scenario == "Unsupported by tools" or scenario == "Unsupported by modules":
if modules_label == "lttng-modules-2.7":
- pytest.xfail("failing configuration (but should work)")
# Error from lttng-modules-2.7 is not reported correctly by
# sessiond. But it is reported on the sessiond side.
# For now, run the command, validate that the error exist on
runtime.run("lttng {}".format(command))
# Make sure everything looks good on this side
+ runtime.run("lttng stop")
+ runtime.run("lttng destroy -a")
stderr_path = runtime.get_subprocess_stderr_path(sessiond)
sessiond = runtime.subprocess_terminate(sessiond)
if scenario == "Unsupported by modules":
return
- runtime.run("lttng {}".format(command))
runtime.run("lttng stop")
runtime.run("lttng destroy -a")