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-01-13: Failed

weizhoublue opened this issue · comments

• [FAILED] [97.369 seconds]
Egressendpointslice
/home/runner/work/egressgateway/egressgateway/test/e2e/egressendpointslice/egressendpointslice_test.go:22
  After performing several rounds of creating and deleting pods, check the status of the egress endpointSlice and the exported IP of the pod [S00001]
  /home/runner/work/egressgateway/egressgateway/test/e2e/egressendpointslice/egressendpointslice_test.go:32
    [It] test the namespace-level policy
    /home/runner/work/egressgateway/egressgateway/test/e2e/egressendpointslice/egressendpointslice_test.go:92

  Timeline >>
  > Enter [BeforeEach] After performing several rounds of creating and deleting pods, check the status of the egress endpointSlice and the exported IP of the pod - /home/runner/work/egressgateway/egressgateway/test/e2e/egressendpointslice/egressendpointslice_test.go:48 @ 01/13/24 20:47:05.906
  create gateway egw-02c71b3a-a3bc-44a6-b7d1-88660948c20d
  < Exit [BeforeEach] After performing several rounds of creating and deleting pods, check the status of the egress endpointSlice and the exported IP of the pod - /home/runner/work/egressgateway/egressgateway/test/e2e/egressendpointslice/egressendpointslice_test.go:48 @ 01/13/24 20:47:05.949 (43ms)
  > Enter [It] test the namespace-level policy - /home/runner/work/egressgateway/egressgateway/test/e2e/egressendpointslice/egressendpointslice_test.go:92 @ 01/13/24 20:47:05.949
  succeeded to create deploy deploy-d1b0a527-daa1-4969-9aff-4144c5aee5a0
  succeeded to create policy policy-550efa87-644f-4783-bd92-e0d8f6560915sgvrb
  succeeded to create deploy deploy-d1b0a527-daa1-4969-9aff-4144c5aee5a0
  check the egressEndpointSlice synced with the pod list
  check the egress ip of pods
  Automatically polling progress:
    Egressendpointslice After performing several rounds of creating and deleting pods, check the status of the egress endpointSlice and the exported IP of the pod test the namespace-level policy (Spec Runtime: 20.043s)
      /home/runner/work/egressgateway/egressgateway/test/e2e/egressendpointslice/egressendpointslice_test.go:92
      In [It] (Node Runtime: 20s)
        /home/runner/work/egressgateway/egressgateway/test/e2e/egressendpointslice/egressendpointslice_test.go:92

      Spec Goroutine
      goroutine 72 [syscall]
        syscall.Syscall6(0xc000963e40?, 0x631445?, 0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
          /opt/hostedtoolcache/go/1.20.5/x64/src/syscall/syscall_linux.go:91
        os.(*Process).blockUntilWaitable(0xc000672c60)
          /opt/hostedtoolcache/go/1.20.5/x64/src/os/wait_waitid.go:32
        os.(*Process).wait(0xc000672c60)
          /opt/hostedtoolcache/go/1.20.5/x64/src/os/exec_unix.go:22
        os.(*Process).Wait(...)
          /opt/hostedtoolcache/go/1.20.5/x64/src/os/exec.go:132
        os/exec.(*Cmd).Wait(0xc0008ba9a0)
          /opt/hostedtoolcache/go/1.20.5/x64/src/os/exec/exec.go:890
        os/exec.(*Cmd).Run(0xc00069d660?)
          /opt/hostedtoolcache/go/1.20.5/x64/src/os/exec/exec.go:590
        os/exec.(*Cmd).CombinedOutput(0xc0008ba9a0)
          /opt/hostedtoolcache/go/1.20.5/x64/src/os/exec/exec.go:1005
        github.com/spidernet-io/egressgateway/test/e2e/common.CheckPodEgressIP({_, _}, _, {{{0x0, 0x0}, {0x0, 0x0}}, {{0xc00095d980, 0x3c}, {0xc00095d9c0, ...}, ...}, ...}, ...)
          /home/runner/work/egressgateway/egressgateway/test/e2e/common/check_eip.go:93
        github.com/spidernet-io/egressgateway/test/e2e/common.CheckDeployEgressIP({_, _}, {_, _}, _, {0x1, 0x1, {{0xc0006dc54c, 0x4}, 0x0, ...}, ...}, ...)
          /home/runner/work/egressgateway/egressgateway/test/e2e/common/check_eip.go:161
      > github.com/spidernet-io/egressgateway/test/e2e/egressendpointslice_test.glob..func2.1.2()
          /home/runner/work/egressgateway/egressgateway/test/e2e/egressendpointslice/egressendpointslice_test.go:120
            | // check the egress ip of pods
            | GinkgoWriter.Println("check the egress ip of pods")
            > err = common.CheckDeployEgressIP(ctx, cli, config, egressConfig, deploy, egp.Status.Eip.Ipv4, egp.Status.Eip.Ipv6, true)
            | Expect(err).NotTo(HaveOccurred())
            | 
        github.com/onsi/ginkgo/v2/internal.extractBodyFunction.func3({0x0, 0x0})
          /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
  [FAILED] Unexpected error:
      <*errors.errorString | 0xc0001b7360>: 
      error timeout
      {s: "error timeout"}
  occurred
  In [It] at: /home/runner/work/egressgateway/egressgateway/test/e2e/egressendpointslice/egressendpointslice_test.go:129 @ 01/13/24 20:48:43.252
• [FAILED] [30.442 seconds]
Reliability [Reliability]
/home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_test.go:30
  Test the drift of the EIP [BeforeEach]
  /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_test.go:43
    restart components [R00007]
    /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_test.go:225
      restart kube-proxy
      /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_test.go:297

  Timeline >>
  > Enter [BeforeEach] Test the drift of the EIP - /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_test.go:43 @ 01/13/24 20:52:04.489
  succeeded to create the gateway: egw-208660d1-8c46-4ae6-82c8-05388c0728be
  v4DefaultEip: 172.18.2.4, v6DefaultEip: fc00:f853:ccd:e793::203
  Automatically polling progress:
    Reliability Test the drift of the EIP restart components restart kube-proxy (Spec Runtime: 20.001s)
      /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_test.go:297
      In [BeforeEach] (Node Runtime: 20.001s)
        /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_test.go:43

      Spec Goroutine
      goroutine 436 [sleep]
        time.Sleep(0x1dcd6500)
          /opt/hostedtoolcache/go/1.20.5/x64/src/runtime/time.go:195
        github.com/spidernet-io/egressgateway/test/e2e/common.CreateDaemonSet({0x2971330, 0xc000138008}, {0x2978f00, 0xc00023ba70}, {0xc0002503c0, 0x33}, {0xc000046246, 0x2e}, 0x0?)
          /home/runner/work/egressgateway/egressgateway/test/e2e/common/ds.go:71
      > github.com/spidernet-io/egressgateway/test/e2e/reliability_test.glob..func3.1.1()
          /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_test.go:69
            | 
            | // daemonSet
            > daemonSet, err = common.CreateDaemonSet(ctx, cli, "ds-reliability-"+uuid.NewString(), config.Image, time.Minute/2)
            | Expect(err).NotTo(HaveOccurred())
            | GinkgoWriter.Printf("succeeded to create DaemonSet: %s\n", daemonSet.Name)
        github.com/onsi/ginkgo/v2/internal.extractBodyFunction.func3({0xa582ef74ffda3370, 0x146ecb04d354ed12})
          /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
  [FAILED] Unexpected error:
      <*errors.errorString | 0xc0006c06a0>: 
      create DaemonSet time out
      {
          s: "create DaemonSet time out",
      }
  occurred
  In [BeforeEach] at: /home/runner/work/egressgateway/egressgateway/test/e2e/reliability/reliability_test.go:70 @ 01/13/24 20:52:34.736

问题 同 #1191