loggen.py

loggen.py is a python program used to manage log results, as part of report generation for Fuego.

Note: REP_ in variables is short for 'REPORT'

arguments [edit section]

loggen.py is called from reports.sh, with the following arguments:

TEST_RES is a file containing test results from a benchmark operation. It is called <board>.<build_id>.<build_num>.res.json This file is created by the parser file, and is the results for the benchmark in json format.

It is set to GEN_TESTRES_FILE, which is written to by parser/common.py.

main actions [edit section]

Can be used to create a logrun file.

A logrun file is in json format, with top level fields of:

An --append-logfile operation will add an object with:

to the runLogs list.

An --append-funcres operation will add an object with:

to the runLogs list.

SEE ALSO [edit section]

See also Report Generator, gentexml.py, check_create_logrun, check_create_functional_logrun