def get_list_of_failed_test_cases(console_output):
    """
    Return list of failed test cases from ATF console output
    :param console_output: plain text of ATF console output
    :return: list of failed test cases
    """
    failed_list = []
    for line in console_output.split("\n"):
        pos = line.find("[FAIL]")
        if pos != -1:
            failed_list.append(line[0:pos])
    return failed_list