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

Fuzzer tasks not merging corpus

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Security 2019-11-18

    Description

      This task run successfully:
      https://evergreen.mongodb.com/task/mongodb_mongo_master_ubuntu1804_debug_aubsan_lite_fuzzer_libfuzzertests_1c4b9635631a8408b626fa9259d1c83860c0c054_19_10_30_00_58_16/0

      However, the corpus merge task actually failed:

      [2019/10/30 11:14:56.111] Running command 'shell.exec' (step 12 of 15)
       [2019/10/30 11:14:56.113] set -o errexit
       [2019/10/30 11:14:56.113] ./buildscripts/merge_corpus.sh
       [2019/10/30 11:14:56.113] set -o errexit
       [2019/10/30 11:14:56.113] input="build/libfuzzer_tests.txt"
       [2019/10/30 11:14:56.113] corpus_dir="corpus"
       [2019/10/30 11:14:56.113] if [ ! -f $input ] || [ ! -d $corpus_dir ]; then
       [2019/10/30 11:14:56.113]     echo "Missing corpus information"
       [2019/10/30 11:14:56.113]     exit 0
       [2019/10/30 11:14:56.113] fi
       [2019/10/30 11:14:56.113] # We need to merge the corpus once it has been tested
       [2019/10/30 11:14:56.113] while IFS= read -r line
       [2019/10/30 11:14:56.113] do
       [2019/10/30 11:14:56.113]     mkdir "$corpus_dir"/corpus-"${line##*/}"-new
       [2019/10/30 11:14:56.113]     ./"$line" "$corpus_dir"/corpus-"${line##*/}"-new "$corpus_dir"/corpus-"${line##*/}" -merge=1
       [2019/10/30 11:14:56.113] done < "$input"
       [2019/10/30 11:14:56.114] mkdir: cannot create directory 'corpus/corpus-bson_validate_fuzzer-new': File exists
       [2019/10/30 11:14:56.115] Command failed: command encountered problem: exit status 1
       [2019/10/30 11:14:56.115] Running command 'archive.targz_pack' in "archive new corpus" (step 13 of 15)
       [2019/10/30 11:15:35.581] Running command 's3.put' in "upload new corpus" (step 14 of 15)
       [2019/10/30 11:15:35.609] Putting corpus.tgz into https://s3.amazonaws.com//fuzzer-artifacts/mongodb-mongo-master/corpus/mongo-ubuntu1804-debug-aubsan-lite_fuzzer-latest.tgz
       [2019/10/30 11:15:35.626] performing s3 put to fuzzer-artifacts of mongodb-mongo-master/corpus/mongo-ubuntu1804-debug-aubsan-lite_fuzzer-latest.tgz [1 of 10]
       [2019/10/30 11:15:37.422] Running command 'shell.exec' in "remove files" (step 15 of 15)
      

      Attachments

        Activity

          People

            sara.golemon@mongodb.com Sara Golemon
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: