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

"do jepsen setup" function should check out branch before trying to change to subdirectory

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.4
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • TIG 2017-04-17
    • 0

      The 10gen/jepsen's default branch was changed to track https://github.com/jepsen-io/mongodb/tree/master/, which doesn't have a jepsen/ subdirectory since MongoDB's Jepsen tests were split out from the jepsen-io/jepsen repository. The "do jepsen setup" function should check out the mongodb-master-linearizable-2 before trying to change to the jepsen/ subdirectory to ensure it is using the expected version of the tests.

      [2017/03/31 21:09:07.491] Running command 'shell.exec' in "do jepsen setup" (step 2.1 of 3)
      [2017/03/31 21:09:07.494] Cloning into 'jepsen'...
      [2017/03/31 21:09:09.304] sh: 3: cd: can't cd to jepsen/jepsen
      [2017/03/31 21:09:09.304] Command failed: exit status 2
      

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: