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

test/Vagrantfile: Don't hide natnetwork errors #22702

Merged
merged 1 commit into from Dec 14, 2022

Conversation

pchaigno
Copy link
Member

Commit ef22668 reworked the natnetwork creations and deletions and for some obscure reason, I thought it was a good idea to dump stderr. This commit removes that bit, to show stderr in the Vagrant output. We may have a few more erroneous-looking logs (because we sometimes try to create natnetworks that already exists) but I think it's worth it to catch any actual configuration error or even to know if natnetwork existed when they shouldn't.

Fixes: #19523

Commit ef22668 reworked the natnetwork creations and deletions and for
some obscure reason, I thought it was a good idea to dump stderr. This
commit removes that bit, to show stderr in the Vagrant output. We may
have a few more erroneous-looking logs (because we sometimes try to
create natnetworks that already exists) but I think it's worth it to
catch any actual configuration error or even to know if natnetwork
existed when they shouldn't.

Fixes: ef22668 ("vagrant: Don't recreate natnetworks")
Signed-off-by: Paul Chaignon <paul@cilium.io>
@pchaigno pchaigno added the release-note/ci This PR makes changes to the CI. label Dec 13, 2022
@pchaigno pchaigno requested a review from a team as a code owner December 13, 2022 12:20
@pchaigno
Copy link
Member Author

pchaigno commented Dec 13, 2022

/test

Job 'Cilium-PR-K8s-1.16-kernel-4.9' failed:

Click to show.

Test Name

K8sDatapathServicesTest Checks E/W loadbalancing (ClusterIP, NodePort from inside cluster, etc) Checks service on same node

Failure Output

FAIL: Unable to retrieve all pods to restart unmanaged pods with 'kubectl -n kube-system get pods -o json': Exitcode: -1 

If it is a flake and a GitHub issue doesn't already exist to track it, comment /mlh new-flake Cilium-PR-K8s-1.16-kernel-4.9 so I can create one.

@pchaigno
Copy link
Member Author

k8s-1.16-kernel-4.9 failed with flake #22739. Clearly unrelated given this change is only showing up errors, not changing logic. Merging.

@pchaigno pchaigno merged commit 5f94e33 into cilium:master Dec 14, 2022
@pchaigno pchaigno deleted the dont-hide-natnetwork-errors branch December 14, 2022 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants