]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
orch/run: Added scan_unit_test_error wip-ksirivad-improve-log 1681/head
authorKamoltat Sirivadhna <ksirivad@redhat.com>
Thu, 30 Sep 2021 14:34:50 +0000 (10:34 -0400)
committerKamoltat <ksirivad@redhat.com>
Wed, 1 Dec 2021 20:28:41 +0000 (20:28 +0000)
commit19e2759e79ee9cd7805b97c66a34e14355322153
treeda601693afbc14833cbff6ee8dc982c1720a1e8e
parentf08b273eeec75318a83a4e8d7fb51841e4d71be0
orch/run: Added scan_unit_test_error

Currently when a unittest in RemoteProcess
fails it will throw a CommandFailure with
no information regarding which unittest
failed.

This PR will enable the CommandFailure to scan
for unittest failures in teuthology.log
and output them to paddles.

Currently only supports these unittests:
- gtest c++
- python nose

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
teuthology/exceptions.py
teuthology/orchestra/run.py
teuthology/orchestra/test/test_scan_unittest_error.py [new file with mode: 0644]
teuthology/orchestra/test/teuth_log/gtest_failure_teuth.log [new file with mode: 0644]
teuthology/orchestra/test/teuth_log/s3_failure_teuth.log [new file with mode: 0644]