
A recent update introduced an empty file (__init__.py) in the plugins folder which was causing report traceback failures for off system runs. Also the current handling of the --plugin option is broken. The fix to that issue lead to a few additional more general plugin handling improvements. Test Plan: PASS: Verify ignore handling of empty plugin files. PASS: Verify all python file permissions set to executable on fresh pull in git and after on-system package install. PASS: Verify all plugin file permissions are not executable on fresh pull in git and after on-system package install. PASS: Verify general handling of the --plugin option with space delimited plugins that follow. PASS: Verify correlator is not run if there is no plugin data to correlate. PASS: Verify missing plugin output log files do not lead to a file not found error on the console. PASS: Verify refactored plugin search handling success and error paths. PASS: Verify refactored plugin search handling finds and adds built-in and localhost plugins with and without the --plugin option specified. PASS: Verify that previous plugin data is removed prior to a rerun of the tool. This is helpful for localhost plugin development. PASS: Verify handling of adding multiple plugins that span both built-in and localhost locations. PASS: Verify handling of missing plugin(s) when specified with the --plugin option. Regression: PASS: Verify collector package build and passes tox. PASS: Verify both on-system and off-system Report handling. PASS: Verify collect all using --report option PASS: Verify logging with and without --debug option. PASS: Verify no pep8 errors or warnings. Story: 2010533 Task: 48433 Task: 48432 Task: 48443 Change-Id: I42616daad2de6b0785f11736ef20b11e19f19869 Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
21 lines
595 B
Python
Executable File
21 lines
595 B
Python
Executable File
########################################################################
|
|
#
|
|
# Copyright (c) 2022 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
########################################################################
|
|
|
|
# Algorithm string constants
|
|
ALARM = "alarm"
|
|
AUDIT = "audit"
|
|
DAEMON_FAILURES = "daemon_failures"
|
|
HEARTBEAT_LOSS = "heartbeat_loss"
|
|
MAINTENANCE_ERR = "maintenance_errors"
|
|
PROCESS_FAILURES = "process_failures"
|
|
PUPPET_ERRORS = "puppet_errors"
|
|
STATE_CHANGES = "state_changes"
|
|
SUBSTRING = "substring"
|
|
SWACT_ACTIVITY = "swact_activity"
|
|
SYSTEM_INFO = "system_info"
|