Commit 15d3190
[TEST][antlir2] Mark apt ubuntu-noble test as x86_64-only
Summary:
`fbcode//antlir/antlir2/features/apt/tests:test-bash-installed-ubuntu-noble` has never passed on aarch64 (0/5 runs) because Ubuntu Noble has no aarch64 packages — the deb snapshot suite for noble is declared `architectures = ["amd64"]`, so the apt transaction fails to resolve bash/dash/dpkg:
```
Error: while planning transaction
Caused by:
there were one or more transaction errors: ["No such package found 'bash'", "No such package found 'dash'", "No such package found 'dpkg'"]
```
The noble-only restriction is already declared for the suite (`package_managers/deb/BUCK`), the OS record (`os/oses.bzl`) and the build appliance, but nothing constrained the test itself, so CI kept configuring it for arm64.
Constrain the noble alias to x86_64, mirroring the existing precedent in `features/rpm/tests/facebook/rpmcow/BUCK`. The debian-trixie variants are unaffected — trixie snapshots do carry arm64.
___
Test Plan:
Target is now skipped instead of failing on aarch64:
```
$ buck2 build --flagfile fbcode//mode/dev-nosan --config fbcode.arch=aarch64 --skip-incompatible-targets fbcode//antlir/antlir2/features/apt/tests:test-bash-installed-ubuntu-noble
Skipped 1 incompatible targets:
fbcode//antlir/antlir2/features/apt/tests:test-bash-installed-ubuntu-noble (cfg:dev-linux-arm64-fbcode-platform010-aarch64-clang21-no-san#f6800fbffbd05e8b)
BUILD SUCCEEDED
```
Still builds on x86_64:
```
$ buck2 build --flagfile fbcode//mode/dev-nosan fbcode//antlir/antlir2/features/apt/tests:test-bash-installed-ubuntu-noble
BUILD SUCCEEDED
```
Differential Revision: D117174803
fbshipit-source-id: 38760f7cafac1ad487826a54f2cce89a89f888781 parent 7b4937c commit 15d3190
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments