]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rados/test.sh: print test name when it fails 13264/head
authorKefu Chai <kchai@redhat.com>
Sun, 5 Feb 2017 15:11:13 +0000 (23:11 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 10 Feb 2017 15:54:29 +0000 (23:54 +0800)
commit787f6ac699f3e541f5515374cc637a76a5d49b96
treed7e58fc7ef685812af3c22b3acd3a396673f747b
parent9bd91dc5d95011fab5ffa4ac9fa2979f0dc2b1a9
qa/workunits/rados/test.sh: print test name when it fails

we have

2017-02-04T16:15:46.090 INFO:tasks.workunit.client.0.mira032.stdout:error in 22088
2017-02-04T16:15:46.092 INFO:tasks.workunit.client.0.mira032.stderr:bash: line 1: 22092 Alarm clock             ceph_test_rados_api_aio 2>&1
2017-02-04T16:15:46.096 INFO:tasks.workunit.client.0.mira032.stderr:     22093 Done                    | tee ceph_test_rados_api_aio.log
2017-02-04T16:15:46.099 INFO:tasks.workunit.client.0.mira032.stderr:     22094 Done                    | sed "s/^/                  api_aio: /"
2017-02-04T16:15:46.102 INFO:tasks.workunit.client.0.mira032.stderr:+

if a unittest in rados/test.sh fails in teuthology.log, but it would
be desirable to have the failed test name in the line of "error in
22088".

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/rados/test.sh