[bug] Extension Download Test Failures on darwin_arm64
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- go
- Domain
- testing-qa
Research direction
Start with cmd/extension_test.go:66 and run TestExtensionCmd, or reproduce with make test on darwin_arm64. Then inspect the mock registry configuration and test data for the missing architecture-specific binaries and compare the requested manifests. Done means the extension download tests pass on ARM64 macOS without affecting the existing test behavior.
Written by the indexing model from the issue text.
Description
Extension Download Test Failures on darwin_arm64
Description
The extension download functionality tests are failing when running make test on macOS with ARM64 architecture. The tests fail to find architecture-specific binaries in the mock Docker registry.
Error Details
=== FAIL: TestExtensionCmd/normal (0.01s)
Error: not found atest-store-git_darwin_arm64/atest-store-git from http://127.0.0.1:55323/v2/linuxsuren/atest-ext-store-git/manifests/0.0.2
Error: not found atest-store-orm_darwin_arm64/atest-store-orm from http://127.0.0.1:55323/v2/linuxsuren/atest-ext-store-orm/manifests/0.0.2
Environment
- OS: macOS (Darwin 25.0.0)
- Architecture: ARM64 (Apple Silicon)
- Test:
TestExtensionCmdincmd/extension_test.go - Mock Registry:
127.0.0.1:55323
Root Cause Analysis
- Architecture-Specific Binary Missing: The test expects
darwin_arm64binaries but the mock Docker registry only contains limited test data - Mock Registry Incomplete: The simulated registry manifests don't include all required architecture variants
- Platform Detection: The extension system correctly detects
darwin_arm64but can't find matching binaries
Impact
- Extension installation tests fail on ARM64 macOS systems
- Core API testing functionality remains unaffected
- CI/CD might fail on ARM64 runners
Reproduction Steps
- Run
make teston macOS with ARM64 architecture - Observe
TestExtensionCmd/normaltest failure - Check mock registry logs for missing manifest requests
Suggested Solutions
- Expand Mock Registry Data: Add
darwin_arm64binaries to test fixtures - Platform Fallback Logic: Implement fallback to
linux_amd64for testing - Skip Architecture-Specific Tests: Skip extension tests on unsupported platforms
- Mock Registry Enhancement: Generate complete manifest data for all supported architectures
Files Involved
cmd/extension_test.go:66- Test assertion location- Mock registry configuration and test data
- Extension download and platform detection logic
Priority
Low - This affects testing infrastructure but not core functionality. Extension system works in production environments with proper registries.
- Dominant language
- Go
- Stars
- 370
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LinuxSuRen/api-testing
-
Integrating Tailwind in atest-UI components one by onePossibly taken @Ayush4958 claimed this 225 days ago. Openospp ui
Difficulty 4/5 3-5 days Newbie friendliness 38/100
LinuxSuRen/api-testing#729 · 4 comments ·
-
[Feat]: Add In-App Feedback Button to Improve User Feedback ChannelsMay be free again @bhavESH-CHAWLA claimed this 175 days ago, and no pull request is open. Openenhancement ospp
LinuxSuRen/api-testing#706 · 4 comments · 1 assignee ·
-
[Bug]: The Chinese version of the UI is not fully localized — some parts are still in English.Possibly taken @Ayush4958 claimed this 226 days ago. Openenhancement good first issue ospp
LinuxSuRen/api-testing#701 · 8 comments · 1 assignee ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
LinuxSuRen/api-testing#666 · 2 comments ·
-
Support to generate lots data for testing purposeMay be free again @Aditya-132 claimed this 530 days ago, and no pull request is open. Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
LinuxSuRen/api-testing#649 · 3 comments ·
All issues in LinuxSuRen/api-testing
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
aminueza/terraform-provider-minio#1406 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
kubernetes/kubeadm#3339 ·
-
A failed hydrate call can be dropped when the row's wait is ready tooPossibly taken @turbot-agent-fleet claimed this today. Openagent:ready
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
turbot/steampipe-plugin-sdk#1018 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
speakeasy-api/speakeasy#2159 ·
Maintainers usually reply within 1 day
-
enhancement needs-review
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day