[SERVER-28586] "do jepsen setup" function should check out branch before trying to change to subdirectory Created: 03/Apr/17  Updated: 15/Aug/17  Resolved: 03/Apr/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.4.4

Type: Bug Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: TIG 2017-04-17
Participants:
Linked BF Score: 0

 Description   

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



 Comments   
Comment by Githook User [ 03/Apr/17 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-28586 Check out branch before switching to subdirectory.

The default branch was changed to track jepsen-io/mongodb/master and
therefore doesn't contain a jepsen/ subdirectory.
Branch: v3.4
https://github.com/mongodb/mongo/commit/45f67b19a81b58017764b8487f5a8a9e605f6094

Generated at Thu Feb 08 04:18:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.