[SERVER-36757] Generate and extract mongoebench-compatible JSON config files to consistent locations Created: 18/Aug/18  Updated: 29/Oct/23  Resolved: 27/Aug/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.0.3, 4.1.3

Type: Improvement Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-36078 Integrate adb resource monitor into m... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: TIG 2018-09-10
Participants:
Story Points: 2

 Description   

The script from SERVER-36069 writes the mongoebench-compatible JSON config files to a src/third_party/mongo-perf/mongoebench/ directory. The "fetch benchmark embedded files" added to Evergreen as part of SERVER-36076 extracts the mongoebench-compatible JSON config files to a top-level benchrun_embedded/ directory. The benchrun_embedded*.yml test suites similiarly run the mongoebench-compatible JSON config files from a top-level benchrun_embedded/ directory.

We should have these directories be consistent with each other so that resmoke.py can be used to run the tests, regardless of whether the mongoebench-compatible JSON config files were generated locally or downloaded from S3. We should also add an entry for the directory to a .gitignore file because we made a decision to not include the mongoebench-compatible JSON config files in the source tree.



 Comments   
Comment by Githook User [ 22/Sep/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-36757 Generate and extract mongoebench-compatible JSON config files to consistent locations

(cherry picked from commit e86d0110125a5d6678d19aa691c1c4ea6a84d647)
Branch: v4.0
https://github.com/mongodb/mongo/commit/807e67c902f0406ed8c186c0afa7ee7f799bbf7b

Comment by Githook User [ 27/Aug/18 ]

Author:

{'name': 'Jonathan Abrahams', 'email': 'jonathan@mongodb.com', 'username': 'hptabster'}

Message: SERVER-36757 Generate and extract mongoebench-compatible JSON config files to consistent locations
Branch: master
https://github.com/mongodb/mongo/commit/e86d0110125a5d6678d19aa691c1c4ea6a84d647

Comment by Jonathan Abrahams [ 24/Aug/18 ]

We should consider modifying the do benchmark embedded setup function in etc/evergreen.yml to run this script instead of fetch_benchrun_embedded_files.

Comment by Max Hirschhorn [ 24/Aug/18 ]

Max Hirschhorn Any preference which directory to use? If not, I'll stick with benchrun_embedded/testcases, which is what SERVER-36077 & SERVER-36078 now use.

If it is easier to just change the mongo-perf_get_sources.sh script script, then I think that's fine.

Comment by Jonathan Abrahams [ 24/Aug/18 ]

max.hirschhorn Any preference which directory to use? If not, I'll stick with benchrun_embedded/testcases, which is what SERVER-36077 & SERVER-36078 now use.

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