[SERVER-81396] "Enterprise RHEL 8.3 s390x Shared" build variant is overwriting the binaries of "Enterprise RHEL 8.3 s390x" (non-Shared) Created: 24/Sep/23  Updated: 26/Nov/23  Resolved: 14/Nov/23

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 7.3.0-rc0, 7.0.5

Type: Bug Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Juan Gu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
is caused by SERVER-66014 switch testing build targets to dynam... Closed
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Participants:

 Description   

These two Evergreen tasks for the different build variants have the same binaries url:

Notably, the binaries url is the result of compiling with --link-model=dynamic despite the "Enterprise RHEL 8.3 s390x" build variant using --link-model=static.

The problem is due to the two build variants sharing the same value for the compile_variant expansion. This causes the two build variants to write to the same S3 path and whichever build variant happens to run its archive_dist_test Evergreen task second in wall-clock time wins. The compile_variant expansion must instead be overridden for the "Enterprise RHEL 8.3 s390x Shared" build variant.

Note that the same issue applies to the "Enterprise RHEL 8.1 PPC64LE Shared" and "Enterprise RHEL 8.1 PPC64LE" build variants.



 Comments   
Comment by Githook User [ 14/Nov/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-81396 Fix compile_variant expansion causing S3 path conflicts for IBM variants

(cherry picked from commit ea9f2696a9e22cb95d414b114e811ecfcde048dd)
Branch: v7.0
https://github.com/mongodb/mongo/commit/b2d005b230d6ba643ae11abaa370e7314cfa879d

Comment by Githook User [ 10/Nov/23 ]

Author:

{'name': 'Juan Gu', 'email': 'juan.gu@mongodb.com', 'username': 'juangugit'}

Message: SERVER-81396 Fix compile_variant expansion causing S3 path conflicts for IBM variants
Branch: master
https://github.com/mongodb/mongo/commit/ea9f2696a9e22cb95d414b114e811ecfcde048dd

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