hobbit-project / platform

HOBBIT benchmarking platform
GNU General Public License v2.0
23 stars 9 forks source link

Misleading error message in experiment result #530

Open MichaelRoeder opened 2 years ago

MichaelRoeder commented 2 years ago

Description

when the platform stops an experiment that takes too much time, the experiment receives the error message "An unexpected error occurred". This is misleading since the user has to ask the HOBBIT maintainers to look into the logs of the platform. There, they may find the following statements:

2021-07-26 19:47:30,407 INFO [org.hobbit.controller.execute.ExperimentAbortTimerTask] - <Experiment Abortion timer task triggered>
2021-07-26 19:47:30,407 ERROR [org.hobbit.controller.ExperimentManager] - <The experiment http://w3id.org/hobbit/experiments#1627321396880 took too much time. Forcing termination.>

Related to #495.

Reproducability

  1. Start an experiment with a configuration that will make it run longer than its max runtime
  2. Check the result page
  3. Check the platform logs

Expected behavior

The UI should clearly state the cause of the abortion, i.e., that the experiment took longer than expected,