Skip to content

Conversation

ronantakizawa
Copy link
Contributor

@ronantakizawa ronantakizawa commented Sep 20, 2025

Attempt to Fix #2188 - AsyncDnsResolverIntegrationSpec doesn't run on Apple M-series machines.

The AsyncDnsResolverIntegrationSpec test was failing on Apple M series machines (ARM64) with the error:
The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested.

This occurred because the Docker image raboof/bind:9.11.3-20180713-nochown only supported linux/amd64 architecture
and couldn't run on ARM64 platforms.

Solution:

  • Replaced Docker image to cytopia/bind:latest
    • cytopia/bind supports multi-platform including ARM64 for Apple M series machines and has 5M+ downloads
    • Actively maintained and provides better ARM64 support
    • Updated container configuration:
      • Replaced custom bind mount configuration with environment variable-based DNS configuration
      • Simplified setup using cytopia/bind's native configuration options
      • Maintained the same DNS records and functionality for tests
    • Cleaned up bind configuration files: Removed unnecessary bind configuration files that are no longer needed with
      the new Docker image approach

@mdedetrich
Copy link
Contributor

Thanks so much for this, @raboof will be very happy

@ronantakizawa
Copy link
Contributor Author

@mdedetrich tests should pass now

Copy link
Member

@He-Pin He-Pin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@He-Pin He-Pin merged commit 878d219 into apache:main Sep 22, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AsyncDnsResolverIntegrationSpec doesn't run on Apple M series machines
3 participants