Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8242

mongodb-download-url pacakge fails to correctly resolve 8.0.0-rc18-enterprise download url.

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Not Needed
    • Developer Tools

      It resolves it to 8.0.0-rc9-enterprise.

      Some CI Logs:

      [2024/09/03 07:42:23.900] 2024-09-03T11:42:23.900Z mongodb-download-url:linux-distro loaded /etc/os-release
      
      [2024/09/03 07:42:23.902] 2024-09-03T11:42:23.901Z mongodb-download-url:linux-distro got os-release info { id: 'ubuntu', version: '20.04', codename: 'focal' }
      
      [2024/09/03 07:42:23.903] 2024-09-03T11:42:23.902Z mongodb-download-url Building URL for options `{"version":">= 8.0.0-rc18","enterprise":true,"crypt_shared":false,"arch":["x86_64","x64"],"platform":"linux","target":[{"value":"linux_x86_64","priority":1},{"value":"ubuntu1204","priority":100},{"value":"ubuntu1404","priority":200},{"value":"ubuntu1604","priority":300},{"value":"ubuntu1804","priority":400},{"value":"ubuntu2004","priority":500}],"cryptd":false}`
      
      [2024/09/03 07:42:23.903] 2024-09-03T11:42:23.903Z mongodb-download-url:version-list trying to load versions from cache /data/mci/d1ce85a4ef250d226b745bae9f362691/tmp/.mongodb-full.json.gz
      
      [2024/09/03 07:42:24.195] 2024-09-03T11:42:23.903Z mongodb-download-url:version-list cache up-to-date
      
      [2024/09/03 07:42:24.195] 2024-09-03T11:42:24.194Z mongodb-download-url fully resolved {
      
      [2024/09/03 07:42:24.195]   "version": ">= 8.0.0-rc18",
      
      [2024/09/03 07:42:24.195]   "enterprise": true,
      
      [2024/09/03 07:42:24.195]   "crypt_shared": false,
      
      [2024/09/03 07:42:24.195]   "arch": [
      
      [2024/09/03 07:42:24.195]     "x86_64",
      
      [2024/09/03 07:42:24.195]     "x64"
      
      [2024/09/03 07:42:24.195]   ],
      
      [2024/09/03 07:42:24.195]   "platform": "linux",
      
      [2024/09/03 07:42:24.195]   "target": [
      
      [2024/09/03 07:42:24.195]     {
      
      [2024/09/03 07:42:24.195]       "value": "linux_x86_64",
      
      [2024/09/03 07:42:24.195]       "priority": 1
      
      [2024/09/03 07:42:24.195]     },
      
      [2024/09/03 07:42:24.195]     {
      
      [2024/09/03 07:42:24.195]       "value": "ubuntu1204",
      
      [2024/09/03 07:42:24.195]       "priority": 100
      
      [2024/09/03 07:42:24.195]     },
      
      [2024/09/03 07:42:24.195]     {
      
      [2024/09/03 07:42:24.195]       "value": "ubuntu1404",
      
      [2024/09/03 07:42:24.195]       "priority": 200
      
      [2024/09/03 07:42:24.195]     },
      
      [2024/09/03 07:42:24.195]     {
      
      [2024/09/03 07:42:24.195]       "value": "ubuntu1604",
      
      [2024/09/03 07:42:24.195]       "priority": 300
      
      [2024/09/03 07:42:24.195]     },
      
      [2024/09/03 07:42:24.195]     {
      
      [2024/09/03 07:42:24.195]       "value": "ubuntu1804",
      
      [2024/09/03 07:42:24.195]       "priority": 400
      
      [2024/09/03 07:42:24.195]     },
      
      [2024/09/03 07:42:24.195]     {
      
      [2024/09/03 07:42:24.195]       "value": "ubuntu2004",
      
      [2024/09/03 07:42:24.195]       "priority": 500
      
      [2024/09/03 07:42:24.195]     }
      
      [2024/09/03 07:42:24.195]   ],
      
      [2024/09/03 07:42:24.195]   "cryptd": false
      
      [2024/09/03 07:42:24.195] } {
      
      [2024/09/03 07:42:24.195]   arch: 'x86_64',
      
      [2024/09/03 07:42:24.195]   archive: {
      
      [2024/09/03 07:42:24.195]     debug_symbols: 'https://downloads.mongodb.com/linux/mongodb-linux-x86_64-enterprise-ubuntu2004-debugsymbols-8.0.0-rc9.tgz',
      
      [2024/09/03 07:42:24.195]     sha1: 'a8cce2ac12098c8ad2b396a27195961ad87f3e79',
      
      [2024/09/03 07:42:24.195]     sha256: '6d5aa852b88043b14dc65fbe752df066e2a01ddc540798f055d6dd9592e31806',
      
      [2024/09/03 07:42:24.195]     url: 'https://downloads.mongodb.com/linux/mongodb-linux-x86_64-enterprise-ubuntu2004-8.0.0-rc9.tgz'
      
      [2024/09/03 07:42:24.195]   },
      
      [2024/09/03 07:42:24.195]   crypt_shared: {
      
      [2024/09/03 07:42:24.195]     sha1: '22ab44710d1d0617447e30b6c3252c090d0e6004',
      
      [2024/09/03 07:42:24.195]     sha256: 'faa317b1ae0e03f3ebdf35e9ed5a15f00b8d7a0666bb961185f5f1ea93dc07f1',
      
      [2024/09/03 07:42:24.195]     url: 'https://downloads.mongodb.com/linux/mongo_crypt_shared_v1-linux-x86_64-enterprise-ubuntu2004-8.0.0-rc9.tgz'
      
      [2024/09/03 07:42:24.195]   },
      
      [2024/09/03 07:42:24.195]   cryptd: {
      
      [2024/09/03 07:42:24.195]     sha1: '680659d834ddb1b2b4bb13a2cc3a94b0adefd211',
      
      [2024/09/03 07:42:24.195]     sha256: '3a67f7d533b155ca164abc4d9cb8efe8ccf1404f00b811932274debbe0e3518c',
      
      [2024/09/03 07:42:24.195]     url: 'https://downloads.mongodb.com/linux/mongodb-cryptd-linux-x86_64-enterprise-ubuntu2004-8.0.0-rc9.tgz'
      
      [2024/09/03 07:42:24.195]   },
      
      [2024/09/03 07:42:24.195]   edition: 'enterprise',
      
      [2024/09/03 07:42:24.195]   packages: [
      
      [2024/09/03 07:42:24.195]     'https://repo.mongodb.com/apt/ubuntu/dists/focal/mongodb-enterprise/testing/multiverse/binary-amd64/mongodb-enterprise-server_8.0.0~rc9_amd64.deb',
      
      [2024/09/03 07:42:24.195]     'https://repo.mongodb.com/apt/ubuntu/dists/focal/mongodb-enterprise/testing/multiverse/binary-amd64/mongodb-enterprise-mongos_8.0.0~rc9_amd64.deb',
      
      [2024/09/03 07:42:24.195]     'https://repo.mongodb.com/apt/ubuntu/dists/focal/mongodb-enterprise/testing/multiverse/binary-amd64/mongodb-enterprise-cryptd_8.0.0~rc9_amd64.deb'
      
      [2024/09/03 07:42:24.195]   ],
      
      [2024/09/03 07:42:24.195]   target: 'ubuntu2004'
      
      [2024/09/03 07:42:24.195] }
      
      [2024/09/03 07:42:24.195] 2024-09-03T11:42:24.195Z mongodb-downloader Downloading https://downloads.mongodb.com/linux/mongodb-linux-x86_64-enterprise-ubuntu2004-8.0.0-rc9.tgz into /data/mci/d1ce85a4ef250d226b745bae9f362691/tmp/mongodb-linux-none-x64-800-rc18-enterprise...
      
      [2024/09/03 07:42:28.610] 2024-09-03T11:42:28.610Z mongodb-downloader Download complete /data/mci/d1ce85a4ef250d226b745bae9f362691/tmp/mongodb-linux-none-x64-800-rc18-enterprise/bin
      
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            basit.chonka@mongodb.com Basit Chonka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: