Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-76270

lint_fuzzer_sanity_patch fails even when test file is already excluded by the mutational fuzzer

    XMLWordPrintableJSON

Details

    • Server Development Platform
    • Fully Compatible
    • ALL
    • 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)
      

      Attachments

        Activity

          People

            alex.neben@mongodb.com Alex Neben
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: