forked from TrueCloudLab/frostfs-testcases
[#150] Patterns for keys in logs added
Now regex can find kyes in logs Signed-off-by: Mikhail Kadilov <m.kadilov@yadro.com>
This commit is contained in:
parent
269caf8e03
commit
da06c09ed0
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class TestLogs:
|
||||||
logs_dir = os.path.join(temp_directory, "logs")
|
logs_dir = os.path.join(temp_directory, "logs")
|
||||||
os.makedirs(logs_dir)
|
os.makedirs(logs_dir)
|
||||||
# Using \b here because 'oom' and 'panic' can sometimes be found in OID or CID
|
# Using \b here because 'oom' and 'panic' can sometimes be found in OID or CID
|
||||||
issues_regex = r"\bpanic\b|\boom\b|too many|insufficient funds|insufficient amount of gas"
|
issues_regex = r"\bpanic\b|\boom\b|too many|insufficient funds|insufficient amount of gas|wallet passwd|secret key|access key"
|
||||||
|
|
||||||
futures = parallel(
|
futures = parallel(
|
||||||
self._collect_logs_on_host, cluster.hosts, logs_dir, issues_regex, session_start_time, end_time
|
self._collect_logs_on_host, cluster.hosts, logs_dir, issues_regex, session_start_time, end_time
|
||||||
|
|
Loading…
Reference in a new issue