Skip to content

flaky test TestFunctional/parallel/ImageCommands/ImageSaveDaemon on Github Action #22071

@medyagh

Description

@medyagh

The Functional Tests on PRs are being Red for on Docker Contained for one Test , (TestFunctional/parallel/ImageCommands/ImageSaveDaemon)
https://github.com/kubernetes/minikube/actions/workflows/functional_test.yml

https://github.com/kubernetes/minikube/actions/runs/19810406200/job/56751869820)

✗ TestFunctional/parallel/ImageCommands/ImageSaveDaemon
X Exiting due to GUEST_IMAGE_SAVE: Failed to save image: failed to determine the image tag from tarball, err: unexpected EOF

here is a full log

=== RUN TestFunctional/parallel/ImageCommands/ImageSaveDaemon
functional_test.go:434: (dbg) Run: docker rmi kicbase/echo-server:functional-534732
functional_test.go:439: (dbg) Run: ./minikube-linux-amd64 -p functional-534732 image save --daemon kicbase/echo-server:functional-534732 --alsologtostderr
functional_test.go:439: (dbg) Non-zero exit: ./minikube-linux-amd64 -p functional-534732 image save --daemon kicbase/echo-server:functional-534732 --alsologtostderr: exit status 80 (297.392302ms)
-- stdout --

-- /stdout --
** stderr **
I1201 03:49:02.388151 16596 out.go:360] Setting OutFile to fd 1 ...
I1201 03:49:02.388595 16596 out.go:408] TERM=,COLORTERM=, which probably does not support color
I1201 03:49:02.388606 16596 out.go:374] Setting ErrFile to fd 2...
I1201 03:49:02.388612 16596 out.go:408] TERM=,COLORTERM=, which probably does not support color
I1201 03:49:02.388822 16596 root.go:338] Updating PATH: /home/runner/.minikube/bin
I1201 03:49:02.389367 16596 config.go:182] Loaded profile config "functional-534732": Driver=docker, ContainerRuntime=containerd, KubernetesVersion=v1.34.1
I1201 03:49:02.389401 16596 cache_images.go:404] Save images: ["kicbase/echo-server:functional-534732"]
I1201 03:49:02.389507 16596 config.go:182] Loaded profile config "functional-534732": Driver=docker, ContainerRuntime=containerd, KubernetesVersion=v1.34.1
I1201 03:49:02.389956 16596 cli_runner.go:164] Run: docker container inspect functional-534732 --format={{.State.Status}}
I1201 03:49:02.406686 16596 cache_images.go:349] SaveCachedImages start: [kicbase/echo-server:functional-534732]
I1201 03:49:02.406824 16596 ssh_runner.go:195] Run: systemctl --version
I1201 03:49:02.406935 16596 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" functional-534732
I1201 03:49:02.423162 16596 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:32768 SSHKeyPath:/home/runner/.minikube/machines/functional-534732/id_rsa Username:docker}
I1201 03:49:02.519167 16596 containerd.go:267] Checking existence of image with name "kicbase/echo-server:functional-534732" and sha ""
I1201 03:49:02.519270 16596 ssh_runner.go:195] Run: sudo ctr -n=k8s.io images ls name==kicbase/echo-server:functional-534732
I1201 03:49:02.538643 16596 containerd.go:267] Checking existence of image with name "docker.io/kicbase/echo-server:functional-534732" and sha ""
I1201 03:49:02.538727 16596 ssh_runner.go:195] Run: sudo ctr -n=k8s.io images ls name==docker.io/kicbase/echo-server:functional-534732
I1201 03:49:02.559615 16596 cache_images.go:495] Saving image to: /home/runner/.minikube/cache/images/amd64/kicbase/echo-server_functional-534732
I1201 03:49:02.559705 16596 ssh_runner.go:195] Run: sudo rm -f /var/lib/minikube/images/echo-server_functional-534732
I1201 03:49:02.569580 16596 containerd.go:300] Saving image docker.io/kicbase/echo-server:functional-534732: /var/lib/minikube/images/echo-server_functional-534732
I1201 03:49:02.569671 16596 ssh_runner.go:195] Run: sudo ctr -n=k8s.io images export /var/lib/minikube/images/echo-server_functional-534732 docker.io/kicbase/echo-server:functional-534732
I1201 03:49:02.618837 16596 ssh_runner.go:195] Run: stat -c %s /var/lib/minikube/images/echo-server_functional-534732
I1201 03:49:02.623185 16596 ssh_runner.go:447] scp /var/lib/minikube/images/echo-server_functional-534732 --> /home/runner/.minikube/cache/images/amd64/kicbase/echo-server_functional-534732 (2328064 bytes)
I1201 03:49:02.641275 16596 cache_images.go:527] Transferred and saved /home/runner/.minikube/cache/images/amd64/kicbase/echo-server_functional-534732 to cache
I1201 03:49:02.641301 16596 cache_images.go:367] Successfully saved all cached images
I1201 03:49:02.641308 16596 cache_images.go:353] duration metric: took 234.601886ms to SaveCachedImages
I1201 03:49:02.641348 16596 cache_images.go:458] succeeded pulling from : functional-534732
I1201 03:49:02.641354 16596 cache_images.go:459] failed pulling from :
I1201 03:49:02.643794 16596 out.go:203]
W1201 03:49:02.644251 16596 out.go:285] X Exiting due to GUEST_IMAGE_SAVE: Failed to save image: failed to determine the image tag from tarball, err: unexpected EOF
X Exiting due to GUEST_IMAGE_SAVE: Failed to save image: failed to determine the image tag from tarball, err: unexpected EOF
W1201 03:49:02.644262 16596 out.go:285] *
*
W1201 03:49:02.646682 16596 out.go:308] ╭─────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * If the above advice does not help, please let us know: │
│ https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ * Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │
│ * Please also attach the following file to the GitHub issue: │
│ * - /tmp/minikube_image_7dbe1bbf583ac14396f71579088b4513a5179521_0.log │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * If the above advice does not help, please let us know: │
│ https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ * Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │
│ * Please also attach the following file to the GitHub issue: │
│ * - /tmp/minikube_image_7dbe1bbf583ac14396f71579088b4513a5179521_0.log │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯
I1201 03:49:02.647153 16596 out.go:203]
** /stderr **
functional_test.go:441: saving image from minikube to daemon: exit status 80
-- stdout --

-- /stdout --
** stderr **
I1201 03:49:02.388151 16596 out.go:360] Setting OutFile to fd 1 ...
I1201 03:49:02.388595 16596 out.go:408] TERM=,COLORTERM=, which probably does not support color
I1201 03:49:02.388606 16596 out.go:374] Setting ErrFile to fd 2...
I1201 03:49:02.388612 16596 out.go:408] TERM=,COLORTERM=, which probably does not support color
I1201 03:49:02.388822 16596 root.go:338] Updating PATH: /home/runner/.minikube/bin
I1201 03:49:02.389367 16596 config.go:182] Loaded profile config "functional-534732": Driver=docker, ContainerRuntime=containerd, KubernetesVersion=v1.34.1
I1201 03:49:02.389401 16596 cache_images.go:404] Save images: ["kicbase/echo-server:functional-534732"]
I1201 03:49:02.389507 16596 config.go:182] Loaded profile config "functional-534732": Driver=docker, ContainerRuntime=containerd, KubernetesVersion=v1.34.1
I1201 03:49:02.389956 16596 cli_runner.go:164] Run: docker container inspect functional-534732 --format={{.State.Status}}
I1201 03:49:02.406686 16596 cache_images.go:349] SaveCachedImages start: [kicbase/echo-server:functional-534732]
I1201 03:49:02.406824 16596 ssh_runner.go:195] Run: systemctl --version
I1201 03:49:02.406935 16596 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" functional-534732
I1201 03:49:02.423162 16596 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:32768 SSHKeyPath:/home/runner/.minikube/machines/functional-534732/id_rsa Username:docker}
I1201 03:49:02.519167 16596 containerd.go:267] Checking existence of image with name "kicbase/echo-server:functional-534732" and sha ""
I1201 03:49:02.519270 16596 ssh_runner.go:195] Run: sudo ctr -n=k8s.io images ls name==kicbase/echo-server:functional-534732
I1201 03:49:02.538643 16596 containerd.go:267] Checking existence of image with name "docker.io/kicbase/echo-server:functional-534732" and sha ""
I1201 03:49:02.538727 16596 ssh_runner.go:195] Run: sudo ctr -n=k8s.io images ls name==docker.io/kicbase/echo-server:functional-534732
I1201 03:49:02.559615 16596 cache_images.go:495] Saving image to: /home/runner/.minikube/cache/images/amd64/kicbase/echo-server_functional-534732
I1201 03:49:02.559705 16596 ssh_runner.go:195] Run: sudo rm -f /var/lib/minikube/images/echo-server_functional-534732
I1201 03:49:02.569580 16596 containerd.go:300] Saving image docker.io/kicbase/echo-server:functional-534732: /var/lib/minikube/images/echo-server_functional-534732
I1201 03:49:02.569671 16596 ssh_runner.go:195] Run: sudo ctr -n=k8s.io images export /var/lib/minikube/images/echo-server_functional-534732 docker.io/kicbase/echo-server:functional-534732
I1201 03:49:02.618837 16596 ssh_runner.go:195] Run: stat -c %s /var/lib/minikube/images/echo-server_functional-534732
I1201 03:49:02.623185 16596 ssh_runner.go:447] scp /var/lib/minikube/images/echo-server_functional-534732 --> /home/runner/.minikube/cache/images/amd64/kicbase/echo-server_functional-534732 (2328064 bytes)
I1201 03:49:02.641275 16596 cache_images.go:527] Transferred and saved /home/runner/.minikube/cache/images/amd64/kicbase/echo-server_functional-534732 to cache
I1201 03:49:02.641301 16596 cache_images.go:367] Successfully saved all cached images
I1201 03:49:02.641308 16596 cache_images.go:353] duration metric: took 234.601886ms to SaveCachedImages
I1201 03:49:02.641348 16596 cache_images.go:458] succeeded pulling from : functional-534732
I1201 03:49:02.641354 16596 cache_images.go:459] failed pulling from :
I1201 03:49:02.643794 16596 out.go:203]
W1201 03:49:02.644251 16596 out.go:285] X Exiting due to GUEST_IMAGE_SAVE: Failed to save image: failed to determine the image tag from tarball, err: unexpected EOF
X Exiting due to GUEST_IMAGE_SAVE: Failed to save image: failed to determine the image tag from tarball, err: unexpected EOF
W1201 03:49:02.644262 16596 out.go:285] *
*
W1201 03:49:02.646682 16596 out.go:308] ╭─────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * If the above advice does not help, please let us know: │
│ https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ * Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │
│ * Please also attach the following file to the GitHub issue: │
│ * - /tmp/minikube_image_7dbe1bbf583ac14396f71579088b4513a5179521_0.log │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ * If the above advice does not help, please let us know: │
│ https://github.com/kubernetes/minikube/issues/new/choose │
│ │
│ * Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │
│ * Please also attach the following file to the GitHub issue: │
│ * - /tmp/minikube_image_7dbe1bbf583ac14396f71579088b4513a5179521_0.log │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯
I1201 03:49:02.647153 16596 out.go:203]
** /stderr **
--- FAIL: TestFunctional/parallel/ImageCommands/ImageSaveDaemon (0.31s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions