Skip test_ros2trace's post-clear snapshot check with LTTng 2.14.0-2.14.2 #283
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.33) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 151 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.301
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #283"
general
weight: 0.35
mjcarroll
Description
With lttng-tools 2.14.0 to 2.14.2, recording a snapshot right after clearing a stopped snapshot session fails with "Snapshot record failed", since the consumer daemon no longer flushes an empty packet into the buffer before taking the snapshot. This was introduced by https://github.com/lttng/lttng-tools/commit/3b2a7c81a0db4006478819d65ebcce390a6afb7b and fixed in lttng-tools 2.14.3 by
https://github.com/lttng/lttng-tools/commit/46c72156526a1c5e279d0dbdfac59a91dd9ced10. 2.15.0 and later also have the fix. Ubuntu 26.04 has lttng-tools 2.14.1.
ros2 trace record_snapshotclears the session after recording the snapshot, so the secondrecord_snapshotintest_snapshot_start_pause_resume_stop fails with those versions. Skip that check if the lttng-ctl version is in that range. Also add the
python3-packagingtest dependency, since the test now uses it directly.Is this user-facing behavior change?
No, it only affects a test in a test-only (not distributed) package.
Did you use Generative AI?
I only used Claude Opus 5.5 to run tests against a bunch of versions of LTTng. I implemented the fix myself.
Additional Information
Backport to Lyrical.