Functest fail to parse tempest-based results 03/57103/1
authorxudan <xudan16@huawei.com>
Fri, 4 May 2018 08:40:06 +0000 (04:40 -0400)
committerDan Xu <xudan16@huawei.com>
Mon, 7 May 2018 06:41:40 +0000 (06:41 +0000)
commit882818bdf267a0e93aafb80417b59f7fdb9826ca
tree3b6f575a40e46be21e03e2541d8ee48c0c937b24
parent4a6864077a4989eb003efa1d18df2a78cb405155
Functest fail to parse tempest-based results

1. The regular expression can't work well for all tempest-based results
2. Refer to http://testresults.opnfv.org/test/api/v1/results?project=functest&case_name=refstack_defcore&last=1
3. There are 88 success test cases but the list of success is empty
4. tempest test case name is not always begin with {0}, it maybe any number
5. The test case whose name has the keyword 'fail' will also be list in 'failures'

Change-Id: I5187aaaabdca762256be9162cc85ba42263169bc
Signed-off-by: xudan <xudan16@huawei.com>
(cherry picked from commit 9286e052afe194c400479275edaa2aaf8ed52de8)
functest/opnfv_tests/openstack/tempest/tempest.py