'Test that the HS2 logs send back the ql.Driver log output with JobID'

def test_hs2_log_verbose(self):

    execution_engines = get_available_execution_engines()
    for engine in execution_engines:
        hql = ('SELECT    foo    FROM    `%(db)s`.`test`    GROUP    BY    foo' % {'db': self.db_name})
        response = _make_query(self.client, hql, wait=True, local=False, max=180.0, database=self.db_name, settings=[('hive.execution.engine', engine)])
        content = fetch_query_result_data(self.client, response)
        log = content['log']
        assert_true(search_log_line('Completed    executing    command', log), log)
        assert_equal(1, len(parse_out_jobs(log, engine)), 'Should    have    started    1    job    and    extracted    it.')
