Our log parsing script sometimes throw an error
Failing job: https://gitlab.in2p3.fr/ipsl/projets/dynamico/dynamico/-/jobs/805493
$ python3 test/store-records/log2json.py rundir/gcm.log --json-out gcm.json
Traceback (most recent call last):
File "test/store-records/log2json.py", line 114, in <module>
info = _read_profile_info_from_log(args.log_file)
File "test/store-records/log2json.py", line 100, in _read_profile_info_from_log
profile_info["sections"].append(_get_section_data(section_lines))
File "test/store-records/log2json.py", line 72, in _get_section_data
elapsed_time = _parse_section_elapsed_time(section[0])
IndexError: list index out of range
Cleaning up project directory and file based variables 00:01
ERROR: Job failed: exit code 1