Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48162

resmokelib combine_benchmark_results hook intolerant of unexpected json elements

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • Service arch 2020-05-18
    • 50

      The newer version of benchmark upgrade added a "host_name" field to the json report. It looks like combine_benchmark_results.py parses a json output document emitted by the benchmark run. Unfortunately it can't tolerate additional elements that might be present in that document. I think that's a future-proofing bug in combine_benchmark_results.py. I'll try to fix it.

      Addressing this so that upgrades to benchmark that add extra info fields without changing the old fields don't break our analysis tools.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: