Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ef e2e: make sure external containers are running and ready to serve #4484

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

npinaeva
Copy link
Member

@npinaeva npinaeva commented Jun 28, 2024

before starting the test.

What this PR does and why is it needed

An attempt to fix #4480
Based on the reported failures, it seems like a problem with the external container connectivity, as some failures happen even before the egress firewall is created.

Can't guarantee that it will fix it though, couldn't reproduce the problem locally.
WIP: trying to get a couple of successful e2e runs (no egress firewall failures), will update when this is done.
1st green run: https://github.com/ovn-org/ovn-kubernetes/actions/runs/9744630959/job/26893660029?pr=4484
2nd green run: https://github.com/ovn-org/ovn-kubernetes/actions/runs/9747524153/job/26901588241?pr=4484
3rd: https://github.com/ovn-org/ovn-kubernetes/actions/runs/9749486954/job/26907766095?pr=4484
4th: https://github.com/ovn-org/ovn-kubernetes/actions/runs/9757083984/job/26929893035?pr=4484
5th: https://github.com/ovn-org/ovn-kubernetes/actions/runs/9759344723/job/26936886909?pr=4484

@npinaeva npinaeva requested a review from a team as a code owner June 28, 2024 20:49
@npinaeva npinaeva requested a review from trozet June 28, 2024 20:49
@flavio-fernandes
Copy link
Contributor

/lgtm

TY @npinaeva !

Verified with:

$ cd .../ovn-kubernetes.git/ && \
  git checkout 7b9a9849b040406a9cb6d20402be742980e5c873

$ cd .../ovn-kubernetes.git/contrib && \
  ./kind.sh -ic -ds -n4 -i6 && echo ok


$ cd .../ovn-kubernetes.git/test/e2e && \
  go mod download && \
  while : ; do go test -test.timeout 5m -v . -ginkgo.v \
  -ginkgo.focus 'Should\svalidate\sthe\segress\sfirewall\spolicy\sfunctionality\sfor\sallowed\sIP' \
  -ginkgo.flake-attempts 1 -ginkgo.fail-fast \
  -provider skeleton -kubeconfig $KUBECONFIG --num-nodes=2 || break ; \
  sleep 2 ; done

@npinaeva
Copy link
Member Author

npinaeva commented Jul 1, 2024

Funnily enough, the egress firewall test failed on that run https://github.com/ovn-org/ovn-kubernetes/actions/runs/9718311887/job/26826716750?pr=4484
trying replacing netcat with curl

@coveralls
Copy link

Coverage Status

coverage: 52.639% (-0.005%) from 52.644%
when pulling 65bd4d6 on npinaeva:e2e-ext-container
into 6b5c591 on ovn-org:master.

@npinaeva npinaeva marked this pull request as draft July 1, 2024 10:23
before starting the test.

Signed-off-by: Nadia Pinaeva <[email protected]>
@npinaeva npinaeva closed this Jul 1, 2024
@npinaeva npinaeva reopened this Jul 1, 2024
@npinaeva npinaeva closed this Jul 1, 2024
@npinaeva npinaeva reopened this Jul 1, 2024
@npinaeva npinaeva closed this Jul 2, 2024
@npinaeva npinaeva reopened this Jul 2, 2024
@npinaeva npinaeva closed this Jul 2, 2024
@npinaeva npinaeva reopened this Jul 2, 2024
@npinaeva npinaeva marked this pull request as ready for review July 2, 2024 12:28
@npinaeva
Copy link
Member Author

npinaeva commented Jul 2, 2024

@flavio-fernandes I have got 5 (more or less) green runs, at least no egress firewall failures. Can you please tal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
3 participants