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

CI: K8sFQDNTest retry initial DNS lookups #10871

Merged
merged 1 commit into from Apr 8, 2020

Conversation

raybejjani
Copy link
Contributor

We target jenkins.cilium.io and vagrant-cache.ci.cilium.io as the remote
targets for the FQDN tests. Sometimes, the DNS lookups fail and so does
the test. We now retry for 30 seconds. When your DNS lookup at first
doesn't succeed, try try again.

@raybejjani raybejjani added pending-review area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Apr 7, 2020
@raybejjani raybejjani requested a review from a team as a code owner April 7, 2020 09:21
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.8.0 Apr 7, 2020
@raybejjani
Copy link
Contributor Author

test-focus K8sFQDNTest.*

@raybejjani
Copy link
Contributor Author

test-gke K8sFQDNTest.*

@coveralls
Copy link

coveralls commented Apr 7, 2020

Coverage Status

Coverage increased (+0.04%) to 45.984% when pulling 307fb59 on raybejjani:ci-fqdn-initial-dns-retry into 0638987 on cilium:master.

Copy link
Member

@nebril nebril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small change request, lgtm otherwise

worldInvalidTargetIP = addrs[0]

return true
}, "Could not get vagrant-cache.ci.cilium.io and jenkins.cilium.io IPs", &helpers.TimeoutConfig{Timeout: 30 * time.Second})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use helpers.MidCommandTimeout?

@raybejjani
Copy link
Contributor Author

test-gke K8sFQDNTest.*

@raybejjani
Copy link
Contributor Author

test-focus K8sFQDNTest.*

@nebril
Copy link
Member

nebril commented Apr 7, 2020

build fails because of time import in fqdn.go

We target jenkins.cilium.io and vagrant-cache.ci.cilium.io as the remote
targets for the FQDN tests. Sometimes, the DNS lookups fail and so does
the test. We now retry for 30 seconds. When your DNS lookup at first
doesn't succeed, try try again.

Signed-off-by: Ray Bejjani <ray@isovalent.com>
@raybejjani
Copy link
Contributor Author

test-focus K8sFQDNTest.*

@raybejjani
Copy link
Contributor Author

test-gke K8sFQDNTest.*

@raybejjani raybejjani merged commit 919f3a3 into cilium:master Apr 8, 2020
1.8.0 automation moved this from In progress to Merged Apr 8, 2020
@raybejjani raybejjani deleted the ci-fqdn-initial-dns-retry branch April 8, 2020 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI.
Projects
No open projects
1.8.0
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

3 participants