def requirements_file(path):
    reqs = None
    try:
        reqs = json.load(open(path, 'r'))
    except:
        _log.exception("Failed JSON file")
    if not reqs or not isinstance(reqs, dict):
        _log.error("Failed loading deployment requirements file %s" % path)
        return {}
    return reqs
Parse subunit raw log file.
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/Tools/cscontrol.py/requirements_file--crossover with--dataset/ETHPy150Open openstack/rally/rally/verification/tempest/tempest.py/Tempest.parse_results