]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
ansible: Try to summarize failure logs analyze-ansible 1864/head
authorZack Cerza <zack@redhat.com>
Wed, 5 Jul 2023 21:12:05 +0000 (15:12 -0600)
committerZack Cerza <zack@redhat.com>
Wed, 5 Jul 2023 23:45:23 +0000 (17:45 -0600)
commitde63af3a5acdf4e4784e5b0e2a368ed9fb6c541c
treee3286d965d8de307e338ac9555b4eea956a84551
parent9b4cb18ecb06efe51a41f6ebe8f959b826b1bc35
ansible: Try to summarize failure logs

The failure logs we capture are sometimes helpful, but are often too
long, too complex, and too noisy to understand. Sentry also struggles to
associate related failures because of the presence of unique data such
as timestamps and URLs.

While I don't see a quick and generic solution to this, there are
several common failure modes that can easily be summarized. This commit
begins that work by looking for errors caused by network outages.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/task/ansible.py
teuthology/test/task/test_ansible.py