Change-Id: Ie28c3f3fb58a76ada1cf292ba4c8a401d0ec7155
Signed-off-by: Tibor Frank <tifrank@cisco.com>
from robot import errors
from collections import OrderedDict
from string import replace
from robot import errors
from collections import OrderedDict
from string import replace
class ExecutionChecker(ResultVisitor):
class ExecutionChecker(ResultVisitor):
format(build["build"]))
logging.info(" Processing the file '{0}'".
format(build["file-name"]))
format(build["build"]))
logging.info(" Processing the file '{0}'".
format(build["file-name"]))
data = InputData._parse_tests(job, build)
data = InputData._parse_tests(job, build)
+
+ logging.info(" Removing the file '{0}'".
+ format(build["file-name"]))
+ try:
+ remove(build["file-name"])
+ build["status"] = "processed"
+ except OSError as err:
+ logging.error(" Cannot remove the file '{0}': {1}".
+ format(build["file-name"], err))
if data is None:
logging.error("Input data file from the job '{job}', build "
"'{build}' is damaged. Skipped.".
if data is None:
logging.error("Input data file from the job '{job}', build "
"'{build}' is damaged. Skipped.".