-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Bazel
-
None
-
Fully Compatible
-
v9.0
-
Build OnDeck
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Fixes the artifact collision behind [BF-46681](https://jira.mongodb.org/browse/BF-46681). `package` and `crypt_lib_package` uploaded their `Packages` archives to the same S3 key, allowing crypt-only packages to replace the server RPM/DEB archive consumed by SELinux, package testing, publishing, and release staging.
Move the crypt archive and its publishing consumer under `${project}/mongo_crypt/...`, preserving the existing server archive path. Add `--package-kind` to `package_test.py` and its container runner: server tests now reject crypt-only archives, while `test_crypt_packages` explicitly requests `crypt_v1`.
Validation: 80 package-test unit tests pass, including a regression that failed before the fix; artifact-path consistency checks, YAML parsing, and `bazel run format` pass. Full Evergreen configuration validation fails on an unresolved `enterprise-rhel8-arm64-debug-tsan-compile` anchor, reproduced on the unchanged base revision.
CI submitted before the SELinux setup change was reverted: [required Evergreen patch](https://spruce.mongodb.com/patch/6ac40f0846d65700078cd791) and [focused RHEL 8 package, crypt package, both package tests, and SELinux patch](https://spruce.mongodb.com/patch/6ac41207a87ef800070ff346).