-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Lint
-
Storage Engines
-
2
-
StorEng - Defined Pipeline
When there are multiple build directories in WiredTiger and a user runs `s_evergreen` they will see the following message:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ./s_evergreen: test/evergreen/evg_cfg.py check DBG DBG build_folder='./buildd/CMakeFiles\n./build' Task 'buildd--deps-catch2-src-projects-test' (for directory 'buildd/_deps/catch2-src/projects') is missing in test/evergreen.yml! Task 'buildd--deps-catch2-src-projects-ExtraTests-test' (for directory 'buildd/_deps/catch2-src/projects/ExtraTests') is missing in test/evergreen.yml! Task 'build--deps-catch2-src-projects-test' (for directory 'build/_deps/catch2-src/projects') is missing in test/evergreen.yml! Task 'build--deps-catch2-src-projects-ExtraTests-test' (for directory 'build/_deps/catch2-src/projects/ExtraTests') is missing in test/evergreen.yml!*** Some tests are missing in Evergreen configuration *** Please 1) Run 'test/evergreen/evg_cfg.py generate' to generate and apply the Evergreen changes. 2) Run 'git diff' to see the detail of the Evergreen changes. 3) Trigger Evergreen patch build to verify the changes before merging.=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This is because of the following lines in `evg_cfg.py`
# Find the build folder. It can be identified by the presence of the `CMakeFiles` file.
p = subprocess.Popen("find . -maxdepth 2 -name CMakeFiles", stdout=subprocess.PIPE, shell=True,
universal_newlines=True)
build_folder = os.path.dirname(p.stdout.read().strip())
We need to perform this check because CMake doesn't mandate a specific build folder name, however it wasn't written to handle multiple build directories. It needs to be updated to handle this case.
- related to
-
WT-10749 Update s_mentions script to handle multiple build directories
- Closed