Type: Build Failure
Priority: Major - P3
Affects Version/s: None
Project: WiredTiger (mongodb-5.0)
Commit: diff: Merge branch 'mongodb-master' into mongodb-5.0 | 23 Sep 21 06:45 UTC
Evergreen Subscription: ; Evergreen Event:
Description of the issue:
This issue is present on any branch that has an evergreen project and does not correspond to our develop branch.
The task doc-update is described here.
In the function update wiredtiger docs, we exit if we are not on the develop branch:
We thought it would exit the whole function but in fact, it does not. It jumps to the next command. Since the next command starts from the directory wiredtiger.github.com and it does not exist, we end up having the failure shown in Evergreen:
After discussing with the Evergreen team, there are two suggested solutions:
- Add the check against the develop branch in here. We will need to change the working_dir as wiredtiger.github.com might not exist.
- Or create a noop.txt file and check for its existence. If it exists, exit the function. We still need to change the working_dir.