]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
orch/run: Scan teuthology log files for unit test errors
authorVallari Agrawal <val.agl002@gmail.com>
Sun, 12 Jun 2022 20:50:50 +0000 (02:20 +0530)
committerVallari Agrawal <val.agl002@gmail.com>
Thu, 29 Sep 2022 16:30:23 +0000 (22:00 +0530)
commite785b8196b0fc1d5e588cb8d731b0118ee1e689a
treeb5a974fa351d86afa3c8c550e7b1f6465db6f6d8
parentdd7eb9d989259767783fb5ee9a761cd0732b84e6
orch/run: Scan teuthology log files for unit test errors

- Scan teuthology log files from bottom up
- Keep a flag to keep track of line-number till which logs were last scanned
  Do not scan above this flag index.
- Raise UnitTestError with error message found in log files

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
teuthology/exceptions.py
teuthology/orchestra/run.py
teuthology/orchestra/test/log_files/test_scan_gtest.log [new file with mode: 0644]
teuthology/orchestra/test/log_files/test_scan_nose.log [new file with mode: 0644]