spidernet-io / egressgateway

Network egress policy for Kubernetes

Home Page:https://spidernet-io.github.io/egressgateway/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Night CI 2024-02-09: Failed -- R00008 timeout to wait egressPolicy status ready

weizhoublue opened this issue · comments

IP Allocation [Reliability_IP]
/home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:21
  [It] test IP allocation [R00008, P00009]
  /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:71

  Timeline >>
  > Enter [BeforeEach] IP Allocation - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:36 @ 02/09/24 20:46:29.964
  succeeded create egw: egw-24963453-bfff-46b9-892c-2deb4c862ef9
  < Exit [BeforeEach] IP Allocation - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:36 @ 02/09/24 20:46:33.666 (3.702s)
  > Enter [It] test IP allocation - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:71 @ 02/09/24 20:46:33.667
  STEP: create egressPolicies by gaven pods - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:73 @ 02/09/24 20:46:33.667
  Automatically polling progress:
    IP Allocation test IP allocation (Spec Runtime: 23.703s)
      /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:71
      In [It] (Node Runtime: 20s)
        /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:71
        At [By Step] create egressPolicies by gaven pods (Step Runtime: 20s)
          /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:73

        Spec Goroutine
        goroutine 186 [sleep]
          time.Sleep(0x1dcd6500)
            /opt/hostedtoolcache/go/1.20.5/x64/src/runtime/time.go:195
          github.com/spidernet-io/egressgateway/test/e2e/common.WaitEgressPolicyStatusReady({0x2973030, 0xc0000501b8}, {0x297ac00, 0xc0000f9b00}, 0xc0008bea80, 0x1, 0x1, 0xc0005ae8b9?)
            /home/runner/work/egressgateway/egressgateway/test/e2e/common/egp.go:320
          github.com/spidernet-io/egressgateway/test/e2e/common.CreateEgressPoliciesForPods({0x2973030, 0xc0000501b8}, {0x297ac00?, 0xc0000f9b00}, 0xc000018270?, {0xc00018aa00, 0x32, 0x4ac459?}, 0xf7?, 0x1, ...)
            /home/runner/work/egressgateway/egressgateway/test/e2e/common/egp.go:393
        > github.com/spidernet-io/egressgateway/test/e2e/reliability_test.glob..func1.2()
            /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:74
              | // create egresspolicies
              | By("create egressPolicies by gaven pods")
              > egps, _, err = common.CreateEgressPoliciesForPods(ctx, cli, egw, pods, egressConfig.EnableIPv4, egressConfig.EnableIPv6, creationThresholdTime)
              | Expect(err).NotTo(HaveOccurred())
              | 
          github.com/onsi/ginkgo/v2/internal.extractBodyFunction.func3({0x2968da0, 0x2963b90})
            /home/runner/work/egressgateway/egressgateway/vendor/github.com/onsi/ginkgo/v2/internal/node.go:463
          github.com/onsi/ginkgo/v2/internal.(*Suite).runNode.func3()
            /home/runner/work/egressgateway/egressgateway/vendor/github.com/onsi/ginkgo/v2/internal/suite.go:889
          github.com/onsi/ginkgo/v2/internal.(*Suite).runNode
            /home/runner/work/egressgateway/egressgateway/vendor/github.com/onsi/ginkgo/v2/internal/suite.go:876
  STEP: create extra egressPolicies - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:77 @ 02/09/24 20:47:40.748
  STEP: delete all egressPolicies - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:88 @ 02/09/24 20:47:41.526
  STEP: create egressPolicies by gaven pods - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:93 @ 02/09/24 20:47:47.346
  [FAILED] Unexpected error:
      <*errors.errorString | 0xc0008abcb0>: 
      timeout to wait egressPolicy status ready
      {
          s: "timeout to wait egressPolicy status ready",
      }
  occurred
  In [It] at: /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:95 @ 02/09/24 20:49:19.107
  < Exit [It] test IP allocation - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:71 @ 02/09/24 20:49:19.107 (2m45.441s)