[SERVER-76270] lint_fuzzer_sanity_patch fails even when test file is already excluded by the mutational fuzzer Created: 18/Apr/23  Updated: 29/Oct/23  Resolved: 26/Apr/23

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

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

Issue Links:
Problem/Incident
causes SERVER-77023 lint_fuzzer_sanity_patch ignores chan... Closed
Related
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 35

 Description   

The lint_fuzzer_sanity_patch.sh script copies the new and modified JavaScript files into a separate jstestfuzzinput/ directory and doesn't preserve the jstests/ directory structure. This leads the lint_fuzzer_sanity_patch Evergreen task to fail even when an exclusion for the test file has already been added to the 10gen/jstestfuzz repository.

# Grep all the js files from modified_and_created_patch_files.txt and put them into $indir.
(grep -v "\.tpl\.js$" ../modified_and_created_patch_files.txt | grep ".*jstests/.*\.js$" | xargs -I {} cp {} $indir || true)



 Comments   
Comment by Githook User [ 26/Apr/23 ]

Author:

{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-76270 Moved lint_fuzzer_sanity to python
Branch: master
https://github.com/mongodb/mongo/commit/5ac6f19876a0adf6bf5c7ac1e5eb5b8b7fcc531d

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