Classes | |
class | Failure |
class | Result |
class | Success |
Functions | |
def | parse_log (log_fname, other_node) |
Variables | |
BIN_NAME = os.path.join('.', script_path, 'swarmio-simulator') | |
discovery_case = TestCase('discovery_case') | |
err | |
files = os.listdir('.') | |
input | |
message | |
new_files = os.listdir('.') | |
out | |
pretty | |
proc1 = subprocess.Popen(BIN_NAME, stdin=subprocess.PIPE, stdout=subprocess.PIPE) | |
proc1_found_proc2 = parse_log(proc1_log, proc2_out[0][uuidpos:]) | |
list | proc1_log = [f for f in new_files if f not in files][0] |
proc1_out = out.decode('unicode_escape').split('\n') | |
proc2 = subprocess.Popen(BIN_NAME, stdin=subprocess.PIPE, stdout=subprocess.PIPE) | |
proc2_found_proc1 = parse_log(proc2_log, proc1_out[0][uuidpos:]) | |
list | proc2_log = [f for f in new_files if f not in files][0] |
proc2_out = out.decode('unicode_escape').split('\n') | |
int | PROCESS_START_DELAY_S = 1 |
int | PROCESS_TIMEOUT_S = 2 |
int | PROCESSES_RUN_S = 1 |
program_starting_case = TestCase('program_starting_case') | |
result | |
script_path = os.path.dirname(os.path.realpath(sys.argv[0])) | |
suite = TestSuite('testsuite') | |
test_reporst_dir = os.path.join('tests', 'test-reports') | |
timeout | |
uuidpos = proc2_out[0].find('UUID: ')+len('UUID: ') | |
xml = JUnitXml() | |
def logparser.parse_log | ( | log_fname, | |
other_node | |||
) |
Definition at line 79 of file logparser.py.
logparser.BIN_NAME = os.path.join('.', script_path, 'swarmio-simulator') |
Definition at line 49 of file logparser.py.
logparser.discovery_case = TestCase('discovery_case') |
Definition at line 68 of file logparser.py.
logparser.err |
Definition at line 71 of file logparser.py.
logparser.files = os.listdir('.') |
Definition at line 54 of file logparser.py.
logparser.input |
Definition at line 71 of file logparser.py.
logparser.message |
Definition at line 108 of file logparser.py.
logparser.new_files = os.listdir('.') |
Definition at line 58 of file logparser.py.
logparser.out |
Definition at line 71 of file logparser.py.
logparser.pretty |
Definition at line 134 of file logparser.py.
logparser.proc1 = subprocess.Popen(BIN_NAME, stdin=subprocess.PIPE, stdout=subprocess.PIPE) |
Definition at line 55 of file logparser.py.
Definition at line 100 of file logparser.py.
Definition at line 59 of file logparser.py.
logparser.proc1_out = out.decode('unicode_escape').split('\n') |
Definition at line 72 of file logparser.py.
logparser.proc2 = subprocess.Popen(BIN_NAME, stdin=subprocess.PIPE, stdout=subprocess.PIPE) |
Definition at line 62 of file logparser.py.
Definition at line 101 of file logparser.py.
Definition at line 77 of file logparser.py.
logparser.proc2_out = out.decode('unicode_escape').split('\n') |
Definition at line 74 of file logparser.py.
int logparser.PROCESS_START_DELAY_S = 1 |
Definition at line 50 of file logparser.py.
int logparser.PROCESS_TIMEOUT_S = 2 |
Definition at line 52 of file logparser.py.
int logparser.PROCESSES_RUN_S = 1 |
Definition at line 51 of file logparser.py.
logparser.program_starting_case = TestCase('program_starting_case') |
Definition at line 67 of file logparser.py.
logparser.result |
Definition at line 104 of file logparser.py.
logparser.script_path = os.path.dirname(os.path.realpath(sys.argv[0])) |
Definition at line 7 of file logparser.py.
logparser.suite = TestSuite('testsuite') |
Definition at line 121 of file logparser.py.
logparser.test_reporst_dir = os.path.join('tests', 'test-reports') |
Definition at line 130 of file logparser.py.
logparser.timeout |
Definition at line 71 of file logparser.py.
logparser.uuidpos = proc2_out[0].find('UUID: ')+len('UUID: ') |
Definition at line 99 of file logparser.py.
logparser.xml = JUnitXml() |
Definition at line 127 of file logparser.py.