ansible-role-collect-logs/plugins
frenzyfriday c9358e211b Handling long file names in sova
Sova writes a file with the combined failure reasons as filename.
When sova finds multiple error matches [1] this filename can be too long. This patch limits the filename to 100 chars. The full failure reasons are still written inside the file.

Example: https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_a4a/798958/8/check/openstack-tox-py38/a4af6fe/job-output.txt

[1] https://opendev.org/openstack/tripleo-ci-health-queries/src/branch/master/samples/errors-testing.err - This happens specially here.
We add a sample string for each of the regex/patterns being added and run sova to verify the regexes are indeed correct.
As the number of regexes increase the filename goes out of limit.

Change-Id: I2682a7e2b9316b4c3cd11b546f35822c53a3c489
2021-07-05 13:18:20 +00:00
..
module_utils Enable ansible-test units 2021-02-19 11:21:07 +00:00
modules Handling long file names in sova 2021-07-05 13:18:20 +00:00