edf-hpc / unclebench

10 stars 4 forks source link

Incompatiblity of the command ubench result with old benchmark run #34

Open camilo1729 opened 6 years ago

camilo1729 commented 6 years ago

When trying to get the result of an old benchmark run, the following error is produced:

Processing nas benchmark :
----analysing results
----extracting analysis
----benchmark results path: /scratch/cr3db69n/Ubench/benchmarks/porthos/nas/./benchmarks_runs/000015/
Traceback (most recent call last):
  File "/usr/bin/ubench", line 172, in <module>
    commands.result(id_list=args.i)
  File "/usr/lib/python2.7/dist-packages/ubench/core/ubench_commands.py", line 101, in result
    bm.extract_result_from_benchmark(idb)
  File "/usr/lib/python2.7/dist-packages/ubench/benchmark_managers/benchmark_manager.py", line 232, in extract_result_from_benchmark
    self.benchmarking_api.write_bench_data(benchmark_id)
  File "/usr/lib/python2.7/dist-packages/ubench/benchmarking_tools_interfaces/jube_benchmarking_api.py", line 293, in write_bench_data
    value.update(scheduler_interface.get_job_info(job_id)[-1])
IndexError: list index out of range