kubeedge icon indicating copy to clipboard operation
kubeedge copied to clipboard

There was one test case that failed when running Kubernetes conformance tests

Open bzsuni opened this issue 1 year ago • 1 comments

Which jobs are failing: related PR #5663

Which test(s) are failing: [sig-storage] EmptyDir wrapper volumes [It] should not cause race condition when used for configmaps [Serial]

Since when has it been failing:

Reason for failure:

Anything else we need to know:

[sig-storage] EmptyDir wrapper volumes [It] should not cause race condition when used for configmaps [Serial] [Conformance]
/go/src/github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/storage/empty_dir_wrapper.go:188

  Timeline >>
  STEP: Creating a kubernetes client @ 06/13/24 07:08:47.445
  Jun 13 07:08:47.445: INFO: >>> kubeConfig: /root/.kube/config
  STEP: Building a namespace api object, basename emptydir-wrapper @ 06/13/24 07:08:47.445
  STEP: Waiting for a default service account to be provisioned in namespace @ 06/13/24 07:08:47.453
  STEP: Waiting for kube-root-ca.crt to be provisioned in namespace @ 06/13/24 07:08:47.455
  STEP: Creating 50 configmaps @ 06/13/24 07:08:47.457
  STEP: Creating RC which spawns configmap-volume pods @ 06/13/24 07:08:47.697
  Jun 13 07:08:47.813: INFO: Pod name wrapped-volume-race-5197e492-9800-4976-9910-6498d275d89a: Found 5 pods out of 5
  STEP: Ensuring each pod is running @ 06/13/24 07:08:47.813
  STEP: Creating RC which spawns configmap-volume pods @ 06/13/24 07:13:00.224
  Jun 13 07:13:00.233: INFO: Pod name wrapped-volume-race-b0b6f881-c3d5-47b3-b6d1-e838222d52a6: Found 0 pods out of 5
  Jun 13 07:13:05.238: INFO: Pod name wrapped-volume-race-b0b6f881-c3d5-47b3-b6d1-e838222d52a6: Found 5 pods out of 5
  STEP: Ensuring each pod is running @ 06/13/24 07:13:05.238
  STEP: Creating RC which spawns configmap-volume pods @ 06/13/24 07:17:07.596
  Jun 13 07:17:07.606: INFO: Pod name wrapped-volume-race-39a736a5-365f-427d-97a0-19b723735d5f: Found 0 pods out of 5
  Jun 13 07:17:12.614: INFO: Pod name wrapped-volume-race-39a736a5-365f-427d-97a0-19b723735d5f: Found 5 pods out of 5
  STEP: Ensuring each pod is running @ 06/13/24 07:17:12.614
  Jun 13 07:22:12.621: INFO: Failed inside E2E framework:
      github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/framework/pod.WaitTimeoutForPodRunningInNamespace({0x7f7c7b532688, 0xc00123b680}, {0x49e42d0?, 0xc0026c8680?}, {0xc0029d24c0, 0x3e}, {0xc003cb26a8, 0x15}, 0x0?)
      	/go/src/github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/framework/pod/wait.go:459 +0x1a4
      github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/framework/pod.WaitForPodNameRunningInNamespace(...)
      	/go/src/github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/framework/pod/wait.go:443
      github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/storage.testNoWrappedVolumeRace({0x7f7c7b532688, 0xc00123b680}, 0xc0004950e0, {0xc000c7c000, 0x32, 0x42}, {0xc000577500, 0x32, 0x43}, 0x5)
      	/go/src/github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/storage/empty_dir_wrapper.go:402 +0xa73
      github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/storage.glob..func5.2({0x7f7c7b532688, 0xc00123b680})
      	/go/src/github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/storage/empty_dir_wrapper.go:193 +0x165
  [FAILED] in [It] - /go/src/github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/storage/empty_dir_wrapper.go:403 @ 06/13/24 07:22:12.621
  STEP: deleting ReplicationController wrapped-volume-race-39a736a5-365f-427d-97a0-19b723735d5f in namespace emptydir-wrapper-[1712](https://github.com/bzsuni/kubeedge/actions/runs/9495021572/job/26166526575#step:11:1713), will wait for the garbage collector to delete the pods @ 06/13/24 07:22:12.621
  Jun 13 07:22:12.676: INFO: Deleting ReplicationController wrapped-volume-race-39a736a5-365f-427d-97a0-19b723735d5f took: 2.552591ms
  Jun 13 07:22:12.777: INFO: Terminating ReplicationController wrapped-volume-race-39a736a5-365f-427d-97a0-19b723735d5f pods took: 100.700647ms
  STEP: deleting ReplicationController wrapped-volume-race-b0b6f881-c3d5-47b3-b6d1-e838222d52a6 in namespace emptydir-wrapper-1712, will wait for the garbage collector to delete the pods @ 06/13/24 07:22:27.377
  Jun 13 07:22:27.432: INFO: Deleting ReplicationController wrapped-volume-race-b0b6f881-c3d5-47b3-b6d1-e838222d52a6 took: 2.625768ms
  Jun 13 07:22:27.533: INFO: Terminating ReplicationController wrapped-volume-race-b0b6f881-c3d5-47b3-b6d1-e838222d52a6 pods took: 100.990831ms
  STEP: deleting ReplicationController wrapped-volume-race-5197e492-9800-4976-9910-6498d275d89a in namespace emptydir-wrapper-1712, will wait for the garbage collector to delete the pods @ 06/13/24 07:24:09.334
  Jun 13 07:24:09.388: INFO: Deleting ReplicationController wrapped-volume-race-5197e492-9800-4976-9910-6498d275d89a took: 2.340042ms
  Jun 13 07:24:09.489: INFO: Terminating ReplicationController wrapped-volume-race-5197e492-9800-4976-9910-6498d275d89a pods took: 101.050288ms
  STEP: Cleaning up the configMaps @ 06/13/24 07:25:11.29
  STEP: Destroying namespace "emptydir-wrapper-1712" for this suite. @ 06/13/24 07:25:11.421
  << Timeline

  [FAILED] Failed waiting for pod wrapped-volume-race-39a736a5-365f-427d-97a0-19b723735d5f-4rw67 to enter running state: Timed out after 300.000s.
  Expected Pod to be in <v1.PodPhase>: "Running"
  Got instead:
      <*v1.Pod | 0xc001585200>: 
          metadata:
            creationTimestamp: "2024-06-13T07:17:07Z"
            generateName: wrapped-volume-race-39a736a5-365f-427d-97a0-19b723735d5f-
            labels:
              name: wrapped-volume-race-39a736a5-365f-427d-97a0-19b723735d5f
            managedFields:
            - apiVersion: v1
              fieldsType: FieldsV1
              fieldsV1:
                f:metadata:
                  f:generateName: {}
                  f:labels:
                    .: {}
                    f:name: {}
                  f:ownerReferences:
                    .: {}
                    k:{"uid":"f435ee02-967b-48ab-9347-3bf15872bf52"}: {}
                f:spec:
                  f:affinity:
                    .: {}
                    f:nodeAffinity:
                      .: {}
                      f:requiredDuringSchedulingIgnoredDuringExecution: {}
                  f:containers:
                    k:{"name":"test-container"}:
                      .: {}
                      f:image: {}
                      f:imagePullPolicy: {}
                      f:name: {}
                      f:resources: {}
                      f:terminationMessagePath: {}
                      f:terminationMessagePolicy: {}
                      f:volumeMounts:
                        .: {}
                        k:{"mountPath":"/etc/config-0"}:
                          .: {}
                          f:mountPath: {}
                          f:name: {}
                        k:{"mountPath":"/etc/config-1"}:
                          .: {}
                          f:mountPath: {}
                          f:name: {}
                        k:{"mountPath":"/etc/config-2"}:
                          .: {}
                          f:mountPath: {}
                          f:name: {}
                        k:{"mountPath":"/etc/config-3"}:
                         ...
                         ...
  In [It] at: /go/src/github.com/kubeedge/kubeedge/vendor/k8s.io/kubernetes/test/e2e/storage/empty_dir_wrapper.go:403

bzsuni avatar Jul 05 '24 06:07 bzsuni

/sig testing

Shelley-BaoYue avatar Jul 08 '24 01:07 Shelley-BaoYue