Actions
Bug #1292
closednew lttng_pgrep utils.sh test helper introduces errors in normal test output
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/30/2020
Due date:
% Done:
100%
Estimated time:
Description
Since introduction of commit:
commit 7cb78e2f73ef7bc0cfedef707f47f1c229bb4c43 Author: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com> Date: Fri May 22 10:36:46 2020 -0400 Fix: tests: `pgrep -f` flags unrelated process as lttng-sessiond
I notice the following errors in the console output when running tests individually by hand:
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 20962 20963 ./tests/regression/tools/trigger/start-stop//../../../../utils/utils.sh: line 103: /proc/20963/cmdline: No such file or directory
Updated by Jonathan Rajotte Julien over 3 years ago
- Status changed from New to Confirmed
This is not a major problem.
This is a race between the lookup and evaluation since lttng_pgrep is used in the teardown path and process might exit between the initial pgrep and the extensive check. This is a matter of silencing the error.
This should in no way influence the outcome of tests.
Updated by Jonathan Rajotte Julien over 3 years ago
- Status changed from Confirmed to Resolved
- % Done changed from 0 to 100
Applied in changeset lttng-tools|00d1ff64c4c7a19cd9e8bd705d76c5834d6dd822.
Actions