[SERVER-46198] MongoDB-latest archive for RHEL 6.2 changed directory name to dist-test Created: 14/Feb/20  Updated: 29/Oct/23  Resolved: 19/Feb/20

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

Type: Bug Priority: Major - P3
Reporter: Shane Harvey Assignee: Mathew Robinson (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-47000 Evergreen compile task archives chang... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Platform 2020-02-24
Participants:

 Description   

The MongoDB-latest archive for RHEL 6.2 changed the directory name to "dist-test/":

$ curl -O http://downloads.10gen.com/linux/mongodb-linux-x86_64-enterprise-rhel62-latest.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  158M  100  158M    0     0  7758k      0  0:00:20  0:00:20 --:--:-- 10.1M
$ tar ztvf  mongodb-linux-x86_64-enterprise-rhel62-latest.tgz
-rw-r--r--  0 root   root     2013 Feb 14 13:46 dist-test/README
-rwxr-xr-x  0 root   root 56152360 Feb 14 13:48 dist-test/bin/mongotmock
-rwxr-xr-x  0 root   root 49481144 Feb 14 13:48 dist-test/bin/mongoldap
-rwxr-xr-x  0 root   root 49197104 Feb 14 13:50 dist-test/bin/mongobridge
-rwxr-xr-x  0 root   root 79602232 Feb 14 13:51 dist-test/bin/mongod
-rwxr-xr-x  0 root   root 62420112 Feb 14 13:50 dist-test/bin/mongos
-rw-r--r--  0 root   root    30341 Feb 14 13:46 dist-test/snmp/MONGOD-MIB.txt
-rw-r--r--  0 root   root    16726 Feb 14 13:46 dist-test/MPL-2
-rwxr-xr-x  0 root   root  3454752 Feb 14 13:48 dist-test/bin/wt
-rw-r--r--  0 root   root      735 Feb 14 13:46 dist-test/snmp/README-snmp.txt
-rwxr-xr-x  0 root   root 22263520 Feb 14 13:47 dist-test/bin/mongokerberos
-rw-r--r--  0 root   root      668 Feb 14 13:46 dist-test/snmp/mongod.conf.subagent
-rwxr-xr-x  0 root   root 22362584 Feb 14 13:48 dist-test/bin/mongodecrypt
-rw-r--r--  0 root   root    75685 Feb 14 13:46 dist-test/THIRD-PARTY-NOTICES
-rwxr-xr-x  0 root   root 55686608 Feb 14 13:48 dist-test/bin/mongocryptd
-rw-r--r--  0 root   root      371 Feb 14 13:46 dist-test/snmp/MONGODBINC-MIB.txt
-rw-r--r--  0 root   root    17699 Feb 14 13:46 dist-test/LICENSE-Enterprise.txt
-rwxr-xr-x  0 root   root 56477176 Feb 14 13:48 dist-test/bin/mongo
-rw-r--r--  0 root   root     1465 Feb 14 13:46 dist-test/snmp/mongod.conf.master

In earlier versions the name was the same was the file, eg "mongodb-linux-x86_64-enterprise-rhel62-4.3.3/":

$ curl -O http://downloads.10gen.com/linux/mongodb-linux-x86_64-enterprise-rhel62-4.3.3.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  120M  100  120M    0     0  9338k      0  0:00:13  0:00:13 --:--:-- 9824k
$ tar ztvf mongodb-linux-x86_64-enterprise-rhel62-4.3.3.tgz
-rwxr-xr-x  0 root   root 79465800 Jan 27 07:56 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/bin/mongod
-rw-r--r--  0 root   root    75685 Jan 27 07:28 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/THIRD-PARTY-NOTICES
-rwxr-xr-x  0 root   root 62408280 Jan 27 07:57 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/bin/mongos
-rw-r--r--  0 root   root    17699 Jan 27 07:28 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/LICENSE-Enterprise.txt
-rwxr-xr-x  0 root   root 55234792 Jan 27 07:41 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/bin/mongocryptd
-rw-r--r--  0 root   root     1465 Jan 27 07:28 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/snmp/mongod.conf.master
-rwxr-xr-x  0 root   root 56022920 Jan 27 07:40 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/bin/mongo
-rw-r--r--  0 root   root      735 Jan 27 07:28 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/snmp/README-snmp.txt
-rwxr-xr-x  0 root   root 21958632 Jan 27 07:32 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/bin/mongokerberos
-rw-r--r--  0 root   root    16726 Jan 27 07:28 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/MPL-2
-rw-r--r--  0 root   root     2013 Jan 27 07:28 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/README
-rw-r--r--  0 root   root    30341 Jan 27 07:28 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/snmp/MONGOD-MIB.txt
-rw-r--r--  0 root   root      371 Jan 27 07:28 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/snmp/MONGODBINC-MIB.txt
-rwxr-xr-x  0 root   root 22074480 Jan 27 07:32 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/bin/mongodecrypt
-rwxr-xr-x  0 root   root     7684 Jan 27 07:29 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/bin/install_compass
-rw-r--r--  0 root   root      668 Jan 27 07:28 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/snmp/mongod.conf.subagent
-rwxr-xr-x  0 root   root 49246160 Jan 27 07:40 mongodb-linux-x86_64-enterprise-rhel62-4.3.3/bin/mongoldap

This change is causing task failures in the python driver:

 [2020/02/14 15:21:17.311] + curl --retry 8 -sS http://downloads.10gen.com/linux/mongodb-linux-x86_64-enterprise-rhel62-latest.tgz --max-time 300 --output mongodb-binaries.tgz
 [2020/02/14 15:21:23.685] + tar zxf mongodb-binaries.tgz
 [2020/02/14 15:21:23.685] + rm mongodb-binaries.tgz
 [2020/02/14 15:21:23.685] + mv 'mongodb*' mongodb
 [2020/02/14 15:21:23.686] mv: cannot stat `mongodb*': No such file or directory



 Comments   
Comment by Andrew Morrow (Inactive) [ 31/Mar/20 ]

shane.harvey - Actually, hang on, I may have that backwards. Let me do a little more research.

Comment by Andrew Morrow (Inactive) [ 31/Mar/20 ]

shane.harvey - Yes, that is intentional. The Binaries archive is not intended for consumption by "users" - it exists to bundle up the resources required to run server tests on remote machines. Please use the Artifacts archive instead.

Comment by Shane Harvey [ 28/Feb/20 ]

mathew.robinson I just found that the macOS DEBUG "Binaries" archive has the same "dist-test" name: https://evergreen.mongodb.com/task/mongodb_mongo_master_macos_debug_compile_12f4d69ed3108822ef2ae48a01817ef75f20bbe1_20_02_28_16_15_03

Is that intentional?

Comment by Githook User [ 18/Feb/20 ]

Author:

{'name': 'Mathew Robinson', 'email': 'chasinglogic@gmail.com'}

Message: SERVER-46198 Correct local file name for dist debugsymbols
Branch: master
https://github.com/mongodb/mongo/commit/80512e580834b70c97f1facf3cd78da97be643c1

Comment by Mathew Robinson (Inactive) [ 18/Feb/20 ]

This should be resolved, we will know when the next push task runs.

Comment by Githook User [ 18/Feb/20 ]

Author:

{'name': 'Mathew Robinson', 'email': 'chasinglogic@gmail.com'}

Message: SERVER-46198 Use the dist tarball in the push task
Branch: master
https://github.com/mongodb/mongo/commit/3f529eeb89a3821604012ea86e9ef7d6fb962a24

Comment by Andrew Morrow (Inactive) [ 15/Feb/20 ]

shane.harvey - Thanks for reporting this. It is definitely unintentional, and is fallout from SERVER-45048. My suspicion is that the new `package` task is actually uploading the archive files produced to drive testing of the server rather than the archive files produced to ship. mathew.robinson@mongodb.com, can you take a look?

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