[SERVER-47000] Evergreen compile task archives changed directory name to dist-test Created: 19/Mar/20  Updated: 27/Oct/23  Resolved: 01/Apr/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Shane Harvey Assignee: Andrew Morrow (Inactive)
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-46198 MongoDB-latest archive for RHEL 6.2 c... Closed
is related to SERVER-45048 Cleanup artifacts.tgz and remove brid... Closed
Operating System: ALL
Sprint: Dev Platform 2020-04-06
Participants:

 Description   

Similar to the issue described in SERVER-46198, the Evergreen compile task's "Binaries" archive now unpacks to a directory named "dist-test":

$ curl -O https://s3.amazonaws.com/mciuploads/mongodb-mongo-master/enterprise-rhel-62-64-bit/3c1813351da71a698a97305989c07ccca874bde4/binaries/mongo-mongodb_mongo_master_enterprise_rhel_62_64_bit_3c1813351da71a698a97305989c07ccca874bde4_20_03_19_17_47_38.tgz
$ tar ztvf mongo-mongodb_mongo_master_enterprise_rhel_62_64_bit_3c1813351da71a698a97305989c07ccca874bde4_20_03_19_17_47_38.tgz
-rw-r--r--  0 root   root    17699 Mar 19 10:48 dist-test/LICENSE-Enterprise.txt
...

It used to be named something like "mongodb-macos-x86_64-enterprise-4.3.3-54-gd1fe174/".



 Comments   
Comment by Andrew Morrow (Inactive) [ 01/Apr/20 ]

Yeah, I mean if you don't actually need the "official" looking release with the correct package name, you should just use the binaries out of the compile task. They are the same bits, just installed with a different path.

Comment by Shane Harvey [ 01/Apr/20 ]

Thanks, I'll use the "Dist Tarball" link from now on and keep the dist-test name in mind when I need to use the "Binaries" tarball directly (the package task only runs when various tests pass so when the tests fail for a long time we need to use the compile task to get the latest build).

Comment by Andrew Morrow (Inactive) [ 01/Apr/20 ]

shane.harvey - This is intentional. The generated files from the compile task aren't intended for end user consumption, only for running tests on other evergreen CI machines. If you want a proper download, you should pick it up from the package task (like this one https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_62_64_bit_package_d2a8b439fad6e6e926645c484b058b695a41f0a0_20_04_01_06_16_01). You want the Dist Tarball.

The most recent run for macOS Enterprise is here: https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_macos_package_994c78a1a36c006ad659983e2f0a3cba7a6dea41_20_03_19_13_57_41

Comment by Cristopher Stauffer [ 20/Mar/20 ]

Thanks Max, we will review.

Comment by Max Hirschhorn [ 19/Mar/20 ]

Routing this over to the SDP team. (I had asked Shane to file this ticket after his comment didn't get a response.) CC cristopher.stauffer

This might just be the expected state of the binaries tarball after the changes from f31bc89 as part of SERVER-45048 to enable hygienic builds in Evergreen. It'd be good to confirm whether that's the case or not. I imagine a change in the directory name for the binaries tarball in Evergreen impacts internal users who use the Evergreen API to find the download link rather than using the -latest tarballs or published releases.

Generated at Thu Feb 08 05:13:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.