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

make docker-func-test fails on master #3076

Closed
orsenthil opened this issue Oct 17, 2024 · 2 comments · Fixed by #3160
Closed

make docker-func-test fails on master #3076

orsenthil opened this issue Oct 17, 2024 · 2 comments · Fixed by #3160
Labels
bug stale Issue or PR is stale

Comments

@orsenthil
Copy link
Member

$ git log -n 1
commit 30115aae627ca5aaa8429bd0ff598d66f95732cd (HEAD -> master, origin/master, origin/HEAD)
Author: Senthil Kumaran <[email protected]>
Date:   Thu Oct 17 11:59:15 2024 -0700

    Fix Formatting in troubleshooting doc (#3074)
$ make docker-func-test
docker build --build-arg golang_image="public.ecr.aws/eks-distro-build-tooling/golang:1.22.5-gcc-al2" --build-arg base_image="public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-iptables:latest.2" --network=host  \
        -f scripts/dockerfiles/Dockerfile.release \
        -t "amazon/amazon-k8s-cni:v1.12.0-417-g30115aae" \
        .
[+] Building 123.8s (14/14) FINISHED                                                                                                                                                                                                          docker:default
 => [internal] load build definition from Dockerfile.release                                                                                                                                                                                            0.0s
 => => transferring dockerfile: 1.01kB                                                                                                                                                                                                                  0.0s
 => [internal] load metadata for public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-iptables:latest.2                                                                                                                                      0.2s
 => [internal] load metadata for public.ecr.aws/eks-distro-build-tooling/golang:1.22.5-gcc-al2                                                                                                                                                          0.2s
 => [internal] load .dockerignore                                                                                                                                                                                                                       0.0s
 => => transferring context: 203B                                                                                                                                                                                                                       0.0s
 => [stage-1 1/4] FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-iptables:latest.2@sha256:38671d6b390b662ff06def57d163d8162403e80abddb51209bf8a0904bce068c                                                                        0.0s
 => [builder 1/4] FROM public.ecr.aws/eks-distro-build-tooling/golang:1.22.5-gcc-al2@sha256:461dff837b3c329347af1eb162acc6d0a0d88794ea2b64db5ab97ab8da640d02                                                                                            0.0s
 => [internal] load build context                                                                                                                                                                                                                       0.1s
 => => transferring context: 326.22kB                                                                                                                                                                                                                   0.1s
 => CACHED [builder 2/4] WORKDIR /go/src/github.com/aws/amazon-vpc-cni-k8s                                                                                                                                                                              0.0s
 => CACHED [builder 3/4] COPY . ./                                                                                                                                                                                                                      0.0s
 => [builder 4/4] RUN make build-aws-vpc-cni && make build-linux                                                                                                                                                                                      123.0s
 => CACHED [stage-1 2/4] WORKDIR /app                                                                                                                                                                                                                   0.0s
 => CACHED [stage-1 3/4] COPY --from=builder /go/src/github.com/aws/amazon-vpc-cni-k8s/aws-cni     /go/src/github.com/aws/amazon-vpc-cni-k8s/misc/10-aws.conflist     /go/src/github.com/aws/amazon-vpc-cni-k8s/aws-k8s-agent     /go/src/github.com/a  0.0s
 => CACHED [stage-1 4/4] RUN ["update-alternatives", "--set", "iptables", "/usr/sbin/iptables-wrapper"]                                                                                                                                                 0.0s
 => exporting to image                                                                                                                                                                                                                                  0.0s
 => => exporting layers                                                                                                                                                                                                                                 0.0s
 => => writing image sha256:7a65c3c70dbd4c2b87f8a8fb9b7e6018ad81ade8220e458aabfc908233e87557                                                                                                                                                            0.0s
 => => naming to docker.io/amazon/amazon-k8s-cni:v1.12.0-417-g30115aae                                                                                                                                                                                  0.0s
Built Docker image "amazon/amazon-k8s-cni:v1.12.0-417-g30115aae"
docker run --rm -ti  \
        "amazon/amazon-k8s-cni:v1.12.0-417-g30115aae"
ERRO[0000] Failed to install CNI binaries                error="Failed to install /host/opt/cni/bin/aws-cni: failed to copy file: open /host/opt/cni/bin/aws-cni.tmp: no such file or directory"
make: *** [Makefile:170: docker-func-test] Error 1
@orsenthil orsenthil added the bug label Oct 17, 2024
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days

Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale Issue or PR is stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant