Project

General

Profile

Actions

Bug #1354

closed

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

Added by Heng Guo almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
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

Also available in: Atom PDF