solo-io / gloo

The Cloud-Native API Gateway and AI Gateway
https://docs.solo.io/
Apache License 2.0
6 stars 0 forks source link

Flake: Check gateway-proxy replicas when there are 0 replicas of the gateway-proxy deployment [It] warns - #10370

Open sheidkamp opened 1 week ago

sheidkamp commented 1 week ago

Which tests failed?

in 1.15.x nighlties: https://github.com/solo-io/gloo/actions/runs/11888165145/job/33122188931

Check gateway-proxy replicas when there are 0 replicas of the gateway-proxy deployment [It] warns -

Warning: gloo-system:gateway-proxy has zero replicas
  Error: 2 errors occurred:
    * Pod gateway-proxy-5658477b78-6jvpv in namespace gloo-system is not ready! Message: containers with unready status: [gateway-proxy]
    * Not all containers in pod gateway-proxy-5658477b78-6jvpv in namespace gloo-system are ready! Message: containers with unready status: [gateway-proxy]

  [FAILED] in [It] - /home/runner/work/gloo/gloo/test/kube2e/glooctl/check_test.go:338 @ 11/18/24 08:17:02.019
  << Timeline

  [FAILED] Unexpected error:
      <*errors.withStack | 0xc00101db30>: 
      [_output/glooctl-linux-amd64 check -x xds-metrics] failed: Checking deployments... OK
      Checking pods... 2 Errors!
      Checking upstreams... OK
      Checking upstream groups... OK
      Checking auth configs... OK
      Checking rate limit configs... OK
      Checking VirtualHostOptions... OK
      Checking RouteOptions... OK
      Checking secrets... OK
      Checking virtual services... OK
      Checking gateways... OK
      Checking proxies... OK
      Warning: gloo-system:gateway-proxy has zero replicas
      Error: 2 errors occurred:
        * Pod gateway-proxy-5658477b78-6jvpv in namespace gloo-system is not ready! Message: containers with unready status: [gateway-proxy]
        * Not all containers in pod gateway-proxy-5658477b78-6jvpv in namespace gloo-system are ready! Message: containers with unready status: [gateway-proxy]

      : exit status 1
      {
          error: <*errors.withMessage | 0xc000e21d20>{
              cause: <*exec.ExitError | 0xc000e21d00>{
                  ProcessState: {
                      pid: 59367,
                      status: 256,
                      rusage: {
                          Utime: {Sec: 0, Usec: 452193},
                          Stime: {Sec: 0, Usec: 87926},
                          Maxrss: 445168,
                          Ixrss: 0,
                          Idrss: 0,
                          Isrss: 0,
                          Minflt: 4242,
                          Majflt: 0,
                          Nswap: 0,
                          Inblock: 0,
                          Oublock: 0,
                          Msgsnd: 0,
                          Msgrcv: 0,
                          Nsignals: 0,
                          Nvcsw: 6015,
                          Nivcsw: 962,
                      },
                  },
                  Stderr: nil,
              },
              msg: "[_output/glooctl-linux-amd64 check -x xds-metrics] failed: Checking deployments... OK\nChecking pods... 2 Errors!\nChecking upstreams... OK\nChecking upstream groups... OK\nChecking auth configs... OK\nChecking rate limit configs... OK\nChecking VirtualHostOptions... OK\nChecking RouteOptions... OK\nChecking secrets... OK\nChecking virtual services... OK\nChecking gateways... OK\nChecking proxies... OK\nWarning: gloo-system:gateway-proxy has zero replicas\nError: 2 errors occurred:\n\t* Pod gateway-proxy-5658477b78-6jvpv in namespace gloo-system is not ready! Message: containers with unready status: [gateway-proxy]\n\t* Not all containers in pod gateway-proxy-5658477b78-6jvpv in namespace gloo-system are ready! Message: containers with unready status: [gateway-proxy]\n\n\n",
          },
          stack: [0x588219a, 0x5[899](https://github.com/solo-io/gloo/actions/runs/11888165145/job/33122188931#step:3:914)3fb, 0x5899399, 0x58aa68e, 0x22d4691, 0x22f33f5, 0x1b6f501],
      }
  occurred
  In [It] at: /home/runner/work/gloo/gloo/test/kube2e/glooctl/check_test.go:338 @ 11/18/24 08:17:02.019

  Full Stack Trace
    github.com/solo-io/gloo/test/kube2e/glooctl_test.glob..func2.6.3.1()
        /home/runner/work/gloo/gloo/test/kube2e/glooctl/check_test.go:338 +0x2b4
------------------------------
SSSSSSSSSSSSSSSS

Summarizing 1 Failure:
  [FAIL] Check gateway-proxy replicas when there are 0 replicas of the gateway-proxy deployment [It] warns
  /home/runner/work/gloo/gloo/test/kube2e/glooctl/check_test.go:338

Initial Investigation

No response

Additional Information

No response