[SERVER-40922] Add npm install command to "run jstestfuzz" Evergreen function Created: 30/Apr/19 Updated: 29/Oct/23 Resolved: 03/May/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.21, 3.6.13, 4.0.10, 4.1.11 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Robert Guo (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | tig-evgconfig | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v4.0, v3.6, v3.4
|
||||
| Sprint: | STM 2019-05-20 | ||||
| Participants: | |||||
| Story Points: | 1 | ||||
| Description |
|
The "run jstestfuzz" function lives here in the etc/evergreen.yml project configuration file. We'd like to remove the vendored copy of the fuzzer's dependencies from the 10gen/jstestfuzz repository. Note that removing the node_modules/ directory is a "break the world" kind of change where older mongodb/mongo commits will fail because the dependencies are no longer present. Until we remove the node_modules/ directory, running npm install should have no effect because the versions of all the fuzzer's transitive dependencies are pinned by the package-lock.json file. We can therefore add the npm install command now in preparation for removing the node_modules/ directory and break fewer older commits. This should happen in a type=system task so that if Artifactory is down, then the Evergreen task turns purple. Note that this means it should happen before the shell.exec command to call npm test and npm run. |
| Comments |
| Comment by Githook User [ 07/May/19 ] |
|
Author: {'name': 'Robert Guo', 'username': 'guoyr', 'email': 'robertguo@me.com'}Message: (cherry picked from commit 1a91e889478eacc7f5c63d93a0c68242719aca08) |
| Comment by Githook User [ 07/May/19 ] |
|
Author: {'email': 'robertguo@me.com', 'name': 'Robert Guo', 'username': 'guoyr'}Message: |
| Comment by Githook User [ 07/May/19 ] |
|
Author: {'name': 'Robert Guo', 'username': 'guoyr', 'email': 'robert.guo@10gen.com'}Message: (cherry picked from commit 8bc6a62611724c9a9530c460034e47ed483c33f3) |
| Comment by Githook User [ 03/May/19 ] |
|
Author: {'name': 'Robert Guo', 'username': 'guoyr', 'email': 'robert.guo@10gen.com'}Message: |