Skip to content

Commit

Permalink
ci: increase wait duration after upgrade/downgrade in E2E upgrade test
Browse files Browse the repository at this point in the history
E2E Upgrade tests randomly fail if health endpoints aren't available after
an upgrade within the given default timeout of 5min.

```
Errors:                cilium             cilium-c4qkb    controller cilium-health-ep is failing since 2m7s (15x): Get "http://10.244.2.186:4240/hello": dial tcp 10.244.2.186:4240: connect: no route to host
```

It looks like the health server unix listener isn't available at that time.

Therefore, this commit increases the timeout from 5 to 10 minutes.

Suggested-by: Marco Iorio <marco.iorio@isovalent.com>
Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
  • Loading branch information
mhofstetter authored and sayboras committed May 15, 2024
1 parent 73b3704 commit 7a930fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests-e2e-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ jobs:
./cilium-cli upgrade \
${{ steps.cilium-newest-config.outputs.config }}
./cilium-cli status --wait
./cilium-cli status --wait --wait-duration=10m
kubectl get pods --all-namespaces -o wide
kubectl -n kube-system exec daemonset/cilium -- cilium status
Expand Down Expand Up @@ -463,7 +463,7 @@ jobs:
./cilium-cli upgrade \
${{ steps.cilium-stable-config.outputs.config }}
./cilium-cli status --wait
./cilium-cli status --wait --wait-duration=10m
kubectl get pods --all-namespaces -o wide
kubectl -n kube-system exec daemonset/cilium -- cilium status
Expand Down

0 comments on commit 7a930fa

Please sign in to comment.