Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail when run on IPv6-only host #521

Open
gibmat opened this issue Nov 11, 2021 · 0 comments
Open

Tests fail when run on IPv6-only host #521

gibmat opened this issue Nov 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@gibmat
Copy link

gibmat commented Nov 11, 2021

Two tests try to download a test file from GitHub, which is only available over IPv4 networks. This causes those tests to fail if they are run on an IPv6-only host. Please consider bundling the test file with this library, or hosting it on a server that is reachable over IPv6.

=== RUN   TestLayerConvertFunc
    estargz_test.go:37: Get "https://github.com/AkihiroSuda/test-oci-archives/releases/download/v20210101/hello-world.tar.gz": dial tcp 140.82.114.4:443: connect: network is unreachable
--- FAIL: TestLayerConvertFunc (0.05s)
FAIL
FAIL	github.com/containerd/stargz-snapshotter/nativeconverter/estargz	0.094s
=== RUN   TestLayerConvertFunc
    zstdchunked_test.go:40: Get "https://github.com/AkihiroSuda/test-oci-archives/releases/download/v20210101/hello-world.tar.gz": dial tcp 140.82.114.4:443: connect: network is unreachable
--- FAIL: TestLayerConvertFunc (0.00s)
FAIL
FAIL	github.com/containerd/stargz-snapshotter/nativeconverter/zstdchunked	0.101s
@ktock ktock added the enhancement New feature or request label Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants