Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2072

Benchmarker: A failure in non-reproducible mode must show the randomSeed in the warn log

    XMLWordPrintable

Details

    Description

      When an arbitrary subsingle fails, it's hard to reproduce that, because we don know the randomSeed.

      See DefaultPlannerBenchmark line 287:

      } catch (ExecutionException e) {
                      Throwable cause = e.getCause();
                      singleBenchmarkRunnerExceptionLogger.warn("The subSingleBenchmarkRunner ({}) failed.",
                              subSingleBenchmarkRunner, cause);
                      ...
                  }
      

      That log line, as well as the one for warmup failures, as well as the repetition for the first one at the end of the benchmark, should also mention the randomSeed, just like the solver does in it's first INFO solving started message.

      Attachments

        Activity

          People

            lpetrovi@redhat.com Lukáš Petrovický (Inactive)
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: