Skip to content

tests: Too long timeout - test fails after 6+ minutes #22067

@nirs

Description

@nirs

I'm not sure what is the purpose of TestFunctionalNewestKubernetes/Versionv1.35.0-beta.0/parallel/PersistentVolumeClaim but there is no reason why the test should fail after 6 minutes.

Checking the logs shows that it failed because the known rate-limit issue, but it is not clear why we need to pull nginx image for testing a PVC.

We need to minimize the test timeout so it fails quickly.

	Events:
	  Type     Reason     Age                  From               Message
	  ----     ------     ----                 ----               -------
	  Normal   Scheduled  6m3s                 default-scheduler  Successfully assigned default/sp-pod to functional-940895
	  Warning  Failed     5m16s                kubelet            Failed to pull image "docker.io/nginx": copying system image from manifest list: determining manifest MIME type for docker://nginx:latest: reading manifest sha256:5c733364e9a8f7e6d7289ceaad623c6600479fe95c3ab5534f07bfd7416d9541 in docker.io/library/nginx: toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit
	  Normal   Pulling    47s (x5 over 6m)     kubelet            Pulling image "docker.io/nginx"
	  Warning  Failed     15s (x5 over 5m16s)  kubelet            Error: ErrImagePull
	  Warning  Failed     15s (x4 over 4m28s)  kubelet            Failed to pull image "docker.io/nginx": reading manifest latest in docker.io/library/nginx: toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit
	  Normal   BackOff    1s (x11 over 5m16s)  kubelet            Back-off pulling image "docker.io/nginx"
	  Warning  Failed     1s (x11 over 5m16s)  kubelet            Error: ImagePullBackOff
-- /stdout --
helpers_test.go:293: <<< TestFunctionalNewestKubernetes/Versionv1.35.0-beta.0/parallel/PersistentVolumeClaim FAILED: end of post-mortem logs <<<
helpers_test.go:294: ---------------------/post-mortem---------------------------------
--- FAIL: TestFunctionalNewestKubernetes/Versionv1.35.0-beta.0/parallel/PersistentVolumeClaim (369.63s)

Full test log:
https://storage.googleapis.com/minikube-builds/logs/21409/42683/KVM_Linux_crio.html

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