Project

General

Profile

Actions

Bug #1354

open

Cannot Modprobe unload lttng-clock-plugin-test in test case test_clock_override

Added by Heng Guo about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Target version:
-
Start date:
05/13/2022
Due date:
% Done:

0%

Estimated time:

Description

Issue =====
Below modprobe FATAL is got in test_clock_override:

ok 29 - Wait after kill session daemon
modprobe: FATAL: Module lttng_clock_plugin_test is in use.
ok 30 - Unique event timestamps with clock override: 1 expect 1

Cause =====
This issue was introduced by the following commit:

commit d267104b87f12ea8f0bf73bff1af272f98dc069e
Author: Francis Deslauriers <>
Date: Tue Sep 15 12:10:18 2020 -0400
Cleanup: use `modprobe --remove` rather than `rmmod`

Modprobe unload lttng-clock-plugin-test before lttng-test

Patch =====
Please find the attached file: 0001-Tests-fix-wrong-sequence-of-unload-modules.patch

Test ====
Test log is attached.
fail.log is the log without my patch
ok.log is the log with my patch


Files

0001-Tests-fix-wrong-sequence-of-unload-modules.patch (1.6 KB) 0001-Tests-fix-wrong-sequence-of-unload-modules.patch Heng Guo, 05/13/2022 04:07 AM
fail.log (4.24 KB) fail.log Heng Guo, 05/13/2022 04:07 AM
ok.log (3.38 KB) ok.log Heng Guo, 05/13/2022 04:07 AM
Actions #1

Updated by Mathieu Desnoyers about 2 months ago

  • Assignee set to Jérémie Galarneau

This patch is pretty much a duplicate of the patch already submitted on gerrit here:

https://review.lttng.org/c/lttng-tools/+/7682

Actions

Also available in: Atom PDF