def get_all_lcsm_names():
    lcstates = sorted({lcs for lcsm in lcs_workflow_defs.values() for lcs in lcsm.lcstate_states})
    avstates = sorted({avs for lcsm in lcs_workflow_defs.values() for avs in lcsm.availability_states})
    fsmevents = set()
    for lcsm in lcs_workflow_defs.values():
        for src, evt in lcsm.lcstate_transitions.keys():
            fsmevents.add(evt)
        for src, evt in lcsm.availability_transitions.keys():
            fsmevents.add(evt)
    fsmevents = sorted(fsmevents)

    return lcstates, avstates, fsmevents
BigQueryCall should wrap ResponseNotReady to a BigQueryCommunicationError.
dataset/ETHPy150Open ooici/pyon/pyon/ion/resource.py/get_all_lcsm_names--crossover with--dataset/ETHPy150Open m-lab/telescope/tests/test_external.py/BigQueryCallTest.test_run_asynchronous_query_ResponseNotReady