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

parse_options() in powertest.py implicitly deduplicates mongod options

    XMLWordPrintable

    Details

      Description

      In the powercycle Evergreen tests, we make an invocation to `powertest.py` with the following mongod options:

      --setParameter enableTestCommands=1 --setParameter logComponentVerbosity={storage:{recovery:2}} --storageEngine wiredTiger

      If one checks the mongod.log afterwards, it appears that the setParameter options have been deduplicated and only --setParameter logComponentVerbosity={storage:{recovery:2}} remains.

      This seems to be a bug in parse_options() of powertest.py, which creates a defaultDict of mongod options that implicity deduplicates the two setParameter options.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM)
            Reporter:
            james.heppenstall James Heppenstall
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: