cilium-cli icon indicating copy to clipboard operation
cilium-cli copied to clipboard

CI: unable to forward port because pod is not running in EKS (tunnel) job

Open tklauser opened this issue 2 years ago • 2 comments

Seen on #917:

2022-06-14T13:10:29.398640353Z ❌ Unable to execute "kubectl port-forward -n kube-system svc/hubble-relay --address 0.0.0.0 --address :: 4245:80":
2022-06-14T13:10:29.398668197Z  error: unable to forward port because pod is not running. Current status=Pending
2022-06-14T13:10:29.398683818Z 
2022-06-14T13:10:29.398706720Z 
2022-06-14T13:10:29.398714138Z Error: Unable to port forward: unable to execute "kubectl port-forward -n kube-system svc/hubble-relay --address 0.0.0.0 --address :: 4245:80": exit status 1
2022-06-14T13:10:38.759227006Z + pgrep -f 'cilium.*hubble.*port-forward|kubectl.*port-forward.*hubble-relay'
2022-06-14T13:10:38.75925[80](https://github.com/cilium/cilium-cli/runs/6880678172?check_suite_focus=true#step:12:81)90Z + wc -l
2022-06-14T13:10:38.759934374Z + '[[' 0 '==' 2 ]]

https://github.com/cilium/cilium-cli/runs/6880678172?check_suite_focus=true

tklauser avatar Jun 14 '22 13:06 tklauser

Also seen on a scheduled run of the same test job: https://github.com/cilium/cilium-cli/runs/6868302411?check_suite_focus=true

Haven't found any occurrences on other test jobs so far.

tklauser avatar Jun 14 '22 13:06 tklauser

Now also seen on the AKS (BYOCNI) workflow: https://github.com/cilium/cilium-cli/runs/6913084344?check_suite_focus=true

tklauser avatar Jun 16 '22 12:06 tklauser