open-cluster-management-io / ocm

Core components in the OCM project. Report here if you found any issues in OCM.
https://open-cluster-management.io
Apache License 2.0
740 stars 92 forks source link

ocm-eks-e2e Test Failure #625

Closed ocm-bot closed 4 days ago

ocm-bot commented 4 days ago

ocm-eks-e2e tests failed! ocm git commit hash: 100db54c21955ce52ccde831c01c4bc07a3d4fa0

./e2e.test -test.v -ginkgo.v -nil-executor-validating=true -registration-image=quay.io/open-cluster-management/registration:latest -work-image=quay.io/open-cluster-management/work:latest -singleton-image=quay.io/open-cluster-management/registration-operator:latest -klusterlet-deploy-mode=Default
=== RUN   TestE2E
Running Suite: ocm E2E Suite - /home/ubuntu/workspace/CI-Jobs/ClusterLifecycle/clc_ocm_eks_e2e/ocm
==================================================================================================
Random Seed: 1726862451

Will run 67 of 67 specs
------------------------------
[BeforeSuite] 
/home/ubuntu/workspace/CI-Jobs/ClusterLifecycle/clc_ocm_eks_e2e/ocm/test/e2e/e2e_suite_test.go:85
  STEP: Setup hub @ 09/20/24 20:00:51.373
  STEP: Setup spokeTestHelper @ 09/20/24 20:00:51.374
  STEP: Setup default bootstrap-hub-kubeconfig @ 09/20/24 20:00:51.375
  STEP: Check Hub Ready @ 09/20/24 20:00:51.429
  STEP: Check Klusterlet Operator Ready @ 09/20/24 20:00:51.508
  STEP: Enable Work Feature @ 09/20/24 20:00:51.521
  STEP: Enable ManifestWorkReplicaSet Feature @ 09/20/24 20:00:51.565
  STEP: Create a universal Klusterlet/managedcluster @ 09/20/24 20:01:01.826
I0920 20:01:01.826278   11482 klusterlet.go:91] klusterlet: e2e-universal-klusterlet/,   mode: Default,      agent namespace: open-cluster-management-agent-universal
  [FAILED] in [BeforeSuite] - /home/ubuntu/workspace/CI-Jobs/ClusterLifecycle/clc_ocm_eks_e2e/ocm/vendor/github.com/onsi/gomega/internal/async_assertion.go:145 @ 09/20/24 20:02:37.012
[BeforeSuite] [FAILED] [105.639 seconds]
[BeforeSuite] 
/home/ubuntu/workspace/CI-Jobs/ClusterLifecycle/clc_ocm_eks_e2e/ocm/test/e2e/e2e_suite_test.go:85

  [FAILED] Timed out after 90.001s.
  Expected success, but got an error:
      <*errors.errorString | 0xc0009efbc0>: 
      cluster e2e-universal-managedcluster condtions are not ready: [{HubAcceptedManagedCluster True 0 2024-09-20 20:01:07 +0000 UTC HubClusterAdminAccepted Accepted by hub cluster admin} {ManagedClusterConditionAvailable Unknown 0 2024-09-20 20:01:32 +0000 UTC ManagedClusterLeaseUpdateStopped Registration agent stopped updating its lease.}]
      {
          s: \"cluster e2e-universal-managedcluster condtions are not ready: [{HubAcceptedManagedCluster True 0 2024-09-20 20:01:07 +0000 UTC HubClusterAdminAccepted Accepted by hub cluster admin} {ManagedClusterConditionAvailable Unknown 0 2024-09-20 20:01:32 +0000 UTC ManagedClusterLeaseUpdateStopped Registration agent stopped updating its lease.}]\",
      }
  In [BeforeSuite] at: /home/ubuntu/workspace/CI-Jobs/ClusterLifecycle/clc_ocm_eks_e2e/ocm/vendor/github.com/onsi/gomega/internal/async_assertion.go:145 @ 09/20/24 20:02:37.012
------------------------------
[AfterSuite] 
/home/ubuntu/workspace/CI-Jobs/ClusterLifecycle/clc_ocm_eks_e2e/ocm/test/e2e/e2e_suite_test.go:185
  STEP: clean klusterlet e2e-universal-klusterlet resources after the test case @ 09/20/24 20:02:37.012
I0920 20:02:42.060912   11482 klusterlet.go:228] klusterlet e2e-universal-klusterlet deleted successfully
I0920 20:02:47.105677   11482 klusterlet.go:248] managed cluster e2e-universal-managedcluster deleted successfully
[AfterSuite] PASSED [10.093 seconds]
------------------------------

Summarizing 1 Failure:
  [FAIL] [BeforeSuite] 
  /home/ubuntu/workspace/CI-Jobs/ClusterLifecycle/clc_ocm_eks_e2e/ocm/vendor/github.com/onsi/gomega/internal/async_assertion.go:145

Ran 0 of 67 Specs in 115.732 seconds
FAIL! -- A BeforeSuite node failed so all tests were skipped.
--- FAIL: TestE2E (115.74s)
FAIL
make: *** [test/e2e-test.mk:39: run-e2e] Error 1
mikeshng commented 4 days ago

Thank you @dtthuynh !

@suvaanshkumar @jaswalkiranavtar @qiujian16 FYI: this is the weekly run EKS e2e test that David developed.

Closing for now because we are expecting this failure until we have the hub on EKS feature.