Fix s3.put failures in mongo-tools builds

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 1
    • Tools and Replicator
    • 38

      The s3.put steps to upload server logs etc seem to fail because they can't find the files / they don't exist.

      [2025/08/06 01:01:17.935] Current command set to 's3.put' in function 'attach artifacts' (step 6.3 of 7) in block 'post' (system).
      [2025/08/06 01:01:17.958] Putting local file 'server-logs.tgz' into path 'mciuploads/mongosync/rhel88/ed6769324f4f566cda8c295cc10de73190cb64b7/mongo-logs/mongo-logs-mongo_tools_rhel88_ed6769324f4f566cda8c295cc10de73190cb64b7_25_08_05_20_09_05-qa-tests-latest-0.tgz' (https://mciuploads.s3.amazonaws.com/mongosync/rhel88/ed6769324f4f566cda8c295cc10de73190cb64b7/mongo-logs/mongo-logs-mongo_tools_rhel88_ed6769324f4f566cda8c295cc10de73190cb64b7_25_08_05_20_09_05-qa-tests-latest-0.tgz).
      [2025/08/06 01:01:17.958] Performing S3 put to file 'mongosync/rhel88/ed6769324f4f566cda8c295cc10de73190cb64b7/mongo-logs/mongo-logs-mongo_tools_rhel88_ed6769324f4f566cda8c295cc10de73190cb64b7_25_08_05_20_09_05-qa-tests-latest-0.tgz' in bucket 'mciuploads' (attempt 1 of 5).
      [2025/08/06 01:01:17.958] File '/data/mci/489db95dcb0442d9a936873849b30eb1/server-logs.tgz' not found and skip missing is true, exiting without error.
      [2025/08/06 01:01:17.958] Finished command 's3.put' in function 'attach artifacts' (step 6.3 of 7) in block 'post' in 23.810445ms.
      

      It looks like the archive.targz_pack step before the `s3.put` step doesn't actually archive any files. Eg:
      https://parsley.mongodb.com/evergreen/mongo_tools_rhel88_qa_tests_latest_ed6769324f4f566cda8c295cc10de73190cb64b7_25_08_05_20_09_05/0/all?bookmarks=0,649402,649494

      [2025/08/06 01:01:17.958] Running command 'archive.targz_pack' in function 'attach artifacts' (step 6.4 of 7) in block 'post'.
      [2025/08/06 01:01:17.958] Current command set to 'archive.targz_pack' in function 'attach artifacts' (step 6.4 of 7) in block 'post' (system).
      [2025/08/06 01:01:17.958] Beginning to build archive.
      [2025/08/06 01:01:17.959] No files were archived.
      

            Assignee:
            Unassigned
            Reporter:
            Shyam Subramaniyam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: