Make tests platform-agnostic
Metadata
Current evaluation
Tests have hardcoded amd64 strings preventing execution on other architectures. CI runners for arm/s390x/ppc64el have been added, but 45 hardcoded amd64 references remain in test files. Triaged, no recent activity in ~12 months.
Suggested action: keep open
Reason: The issue is triaged (Status: Triaged, Type: Enhancement) and the underlying problem persists: 45 hardcoded 'amd64' strings remain in test files (test_deb.py, test_npm_plugin.py, test_environment.py, etc.). While CI has been expanded to arm/s390x/ppc64el runners via commits like #1279, #1276, #1303, #1311, and #1568, the actual test code cleanup to remove arch-specific assumptions is still outstanding. The issue remains relevant and actionable.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
20.25
Staleness:
60
Complexity:
55
Confidence:
72
Support Request:
0
|
keep open | Tests have hardcoded amd64 strings preventing execution on other architectures. CI runners for arm/s390x/ppc64el have been added, but 45 hardcoded amd64 references remain in test files. Triaged, no recent activity in ~12 months. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
45
Confidence:
80
Support Request:
5
|
keep open | Enhancement to remove hardcoded AMD64 architecture dependencies in tests, enabling cross-platform execution. Issue is triaged but inactive for over 321 days with pending CI runner updates. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
70
Complexity:
45
Confidence:
85
Support Request:
0
|
keep open | Enhancement to remove hardcoded AMD64 dependencies in tests and update CI runners for cross-architecture support. Currently triaged and awaiting implementation. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
68
Complexity:
25
Confidence:
80
Support Request:
5
|
keep open | Refactor tests to remove hardcoded AMD64 dependencies, enabling cross-architecture execution. Triaged enhancement, inactive for nearly a year, awaiting implementation and CI runner updates for ARM and other platforms. |
Update history
No update history recorded yet.
Related work
-
Related To:
craft-parts#1279
(confidence 75%)
ci: run non-plugin tests on more platforms — addresses the QA workflow portion of this issue
-
Related To:
craft-parts#1276
(confidence 75%)
ci: run Python plugin tests on more platforms — extends CI coverage to additional architectures
-
Related To:
craft-parts#1303
(confidence 75%)
ci: test java plugins on more platforms — further CI expansion
-
Related To:
craft-parts#1311
(confidence 75%)
ci: test non java/python plugins on more platforms — further CI expansion
-
Related To:
craft-parts#1568
(confidence 70%)
ci: use ubuntu-22.04-arm runners — adds ARM runner to CI
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #144 Some tests fail on arm64 | craft-archives | closed | Closed without resolution. Tests fail on arm64 due to hard-coded amd64 architecture in expected values. No fix or merge was provided, leaving the issue abandoned. | |
| #2018 Package service integration tests fail on non-amd64 architectures | charmcraft | open | Package service integration tests hardcode amd64, causing failures on arm64 CI. Still open; QA workflow limits tests to amd64 as a workaround referencing this issue. No fix merged yet. |