]> git.lttng.org Git - lttng-tools.git/commit
Tests: Start sessiond in python test environments with `--no-kernel`
authorKienan Stewart <kstewart@efficios.com>
Thu, 7 Nov 2024 13:44:36 +0000 (08:44 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 18 Dec 2024 15:54:59 +0000 (15:54 +0000)
commit040bcb88e339d35b847bbee570db86879342c8eb
treef58128316c6dbe5fffb5cd4a99ad24dc24582dbf
parent4d043836e3bd666d813f50cf0d3a82baebfd69ad
Tests: Start sessiond in python test environments with `--no-kernel`

Observed issue
==============

One of the goals of the lttngtest Environment is to be able to produce
separate test environments for each run in order to eventually run
some tests in parallel.

Solution
========

If `lttng-sessiond` is run as root, by default it will attempt to load
the lttng-modules kernel modules.

The session daemon is now started with `--no-kernel` to disable the
kernel domain and prevent that instance from loading the kernel
modules. This behaviour can be changed for specific tests that
exercise kernel tracing.

Known drawbacks
===============

The `--no-kernel` start is less representative of the default usage of
the session daemon.

Change-Id: Iacb85d0a33d6981bd038d57bf629d61117f9344d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/config-directory/test_config.py.in
tests/utils/lttngtest/environment.py
This page took 0.028351 seconds and 4 git commands to generate.