← Back to team overview

autopilot-users team mailing list archive

Autopilot & LTTNG Tracing

 

Hello Autopilot-users,


We have added a bunch of cool new things in autopilot recently, one of
which is tracing support for LTTNG ([1]). Right now, if you install
autopilot, it will recommend the installation of the
'python-autopilot-trace' package. If this package is installed,
autopilot will emit an LTTNG tracepoint with the following details:

Provider: com_canonical_autopilot
Tracepoint name: test_event
Arg1 (started_or_stopped): either the string "started" or "ended".
Arg2 (test_id): the string of the autopilot test id that's being run.

This allows you to correlate other interesting lttng tracepoint data
with autopilot tests, making autopilot useful for regression testing.
Our plan is to use autopilot as a tool to run repeatable actions, while
gathering tracepoint data.

Please let us know if you use this feature in anger, and if it can be
improved somehow.


Cheers,

[1] https://lttng.org/

-- 
Thomi Richards


Attachment: signature.asc
Description: OpenPGP digital signature