[SERVER-71250] Nightly package tests fail due to missing packages Created: 10/Nov/22  Updated: 29/Oct/23  Resolved: 29/Nov/22

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

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

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-70512 Resolve packaging issues on arm64/aar... Closed
Related
related to SERVER-71472 mongodb-enterprise package for rhel 7... Closed
is related to SERVER-70121 Ubuntu 18 packaging tests shows error... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.2
Participants:
Linked BF Score: 33

 Description   

The nightly package tests that pull built packages and test installation are failing due to missing packages. It's apparently only been downloading and installing a subset of packages that happen to succeed installation; however, the tests began to fail as soon as we added more subtests.

An example log showing the problem:
https://mciuploads.s3.amazonaws.com/mongodb-mongo-master-nightly/enterprise-ubuntu2204-arm64/a29be1cf33df71c62ebbcc55ec1c1d870c46e297/package_test_main.log.mongodb_mongo_master_nightly_enterprise_ubuntu2204_arm64_patch_a29be1cf33df71c62ebbcc55ec1c1d870c46e297_6369db0d2a60ed09eb3b19b6_22_11_08_04_31_37-test_nightly_packages-0



 Comments   
Comment by Githook User [ 29/Nov/22 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-71250 Ensure aliased platform names work in package tests
Branch: master
https://github.com/mongodb/mongo/commit/7833a6ab2ac4d00ca6c07b40d28c33946a7928e9

Comment by Ryan Egesdahl (Inactive) [ 18/Nov/22 ]

The problem here seems to be that there's no uniform schema to the JSON document we're downloading for the releases. The packages are listed there, but we're not finding them because we're not using the right dictionary keys. I've only confirmed that's the case for the server releases, but it would not surprise me at all to learn that the same is true for mongosh and tools as well. I think the way forward here is to abstract the JSON handling away so we can present a uniform interface to the rest of the script.

Generated at Thu Feb 08 06:18:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.