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-02: Failed

weizhoublue opened this issue · comments

 Timeline >>
  > Enter [BeforeEach] IP Allocation - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:36 @ 02/02/24 20:56:18.488
  succeeded create egw: egw-0f846302-1856-492c-ad1b-25d4ad6320bc
  < Exit [BeforeEach] IP Allocation - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:36 @ 02/02/24 20:56:24.725 (6.238s)
  > Enter [It] test IP allocation - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:71 @ 02/02/24 20:56:24.726
  STEP: create egressPolicies by gaven pods - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:73 @ 02/02/24 20:56:24.726
  Automatically polling progress:
    IP Allocation test IP allocation (Spec Runtime: 26.238s)
      /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 1713 [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, 0xc0000501c8}, {0x297ac00, 0xc000533b00}, 0xc000576380, 0x1, 0x1, 0xc00078a639?)
            /home/runner/work/egressgateway/egressgateway/test/e2e/common/egp.go:320
          github.com/spidernet-io/egressgateway/test/e2e/common.CreateEgressPoliciesForPods({0x2973030, 0xc0000501c8}, {0x297ac00?, 0xc000533b00}, 0xdf71b0?, {0xc000813400, 0x32, 0x0?}, 0x0?, 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({0x7fbe32806c00, 0xc000a1d4b0})
            /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/02/24 20:57:29.559
  STEP: delete all egressPolicies - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:88 @ 02/02/24 20:57:30.335
  STEP: create egressPolicies by gaven pods - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:93 @ 02/02/24 20:57:36.147
  STEP: create another extra egressPolicies - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:97 @ 02/02/24 20:58:39.258
  STEP: check egressgateway status synced with egresspolicies - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:107 @ 02/02/24 20:58:40.12
  STEP: check eip of pods - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:124 @ 02/02/24 20:58:41.356
  STEP: delete all egressPolicies - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:135 @ 02/02/24 20:58:43.57
  STEP: check egressgateway status should be empty - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:139 @ 02/02/24 20:58:52.573
  [FAILED] Unexpected error:
      <*errors.errorString | 0xc0006f3e50>: 
      egressGateway failed synced with egressPolicy, error: egresspolicies.egressgateway.spidernet.io "egp-d6ebb03a-794c-423f-b4e0-a149074c4ad2" not found
      
      {
          s: "egressGateway failed synced with egressPolicy, error: egresspolicies.egressgateway.spidernet.io \"egp-d6ebb03a-794c-423f-b4e0-a149074c4ad2\" not found\n",
      }
  occurred
  In [It] at: /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:141 @ 02/02/24 20:59:22.961
  < Exit [It] test IP allocation - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:71 @ 02/02/24 20:59:22.961 (2m58.235s)
  > Enter [DeferCleanup (Each)] IP Allocation - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:46 @ 02/02/24 20:59:22.961
  < Exit [DeferCleanup (Each)] IP Allocation - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_ip_test.go:46 @ 02/02/24 20:59:39.035 (16.073s)
  << Timeline

same with #1196