kubernetes: kind [ipv6?] CI jobs failing sometimes on network not ready

Which jobs are failing?

pull-kubernetes-e2e-kind-ipv6

possibly others…

Which tests are failing?

cluster creation, network is unready

Since when has it been failing?

looks like this is failing a lot more in the past day: https://go.k8s.io/triage?pr=1&job=kind&test=SynchronizedBeforeSuite

Testgrid link

No response

Reason for failure (if possible)

[ERROR] plugin/errors: 2 4527517896100725881.1499910709173596313. HINFO: dial udp 172.18.0.1:53: connect: network is unreachable

and similar network unready errors (visible in e.g. coredns logs)

Anything else we need to know?

containerd 2.1.1 was adopted a few days ago https://github.com/kubernetes-sigs/kind/commit/31a79fd4b952ded0fe07ea991ef53b9d0158c5ea

That doesn’t align with the failure spike though:

Image

Further back we updated other dependencies recently-ish, but again, that doesn’t align

We haven’t merged anything in kind since the 20th, but there’s failure spike in the past day or so. So I suspect either the CI infra, or kubernetes/kubernetes changes.

Relevant SIG(s)

/sig testing

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 24 (24 by maintainers)

Most upvoted comments

https://prow.k8s.io/?type=periodic&job=*kind* mostly green, looks like just some unrelated flakes

@upodroid ported the rest of the GKE test cluster to the new node pool

We haven’t migrated the “trusted” cluster but that’s only used for some project automation, not tests.

The job indicated https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/131869/pull-kubernetes-e2e-kind-ipv6/1925942985422278656

https://storage.googleapis.com/kubernetes-ci-logs/pr-logs/pull/131869/pull-kubernetes-e2e-kind-ipv6/1925942985422278656/artifacts/kind-control-plane/pods/kube-system_kube-proxy-jfpnz_622983a3-cbb6-47d3-b8a2-640b56839328/kube-proxy/0.log

2025-05-23T16:09:53.05128622Z stderr F E0523 16:09:53.051168       1 proxier.go:1565] "Failed to execute iptables-restore" err=<
2025-05-23T16:09:53.051310201Z stderr F 	exit status 2: Ignoring deprecated --wait-interval option.
2025-05-23T16:09:53.051314559Z stderr F 	Warning: Extension MARK revision 0 not supported, missing kernel module?
2025-05-23T16:09:53.051317661Z stderr F 	ip6tables-restore v1.8.9 (legacy): unknown option "--xor-mark"
2025-05-23T16:09:53.05132104Z stderr F 	Error occurred at line: 22
2025-05-23T16:09:53.05132394Z stderr F 	Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
2025-05-23T16:09:53.051337798Z stderr F  > ipFamily="IPv6"
2025-05-23T16

There are other failures, checking https://testgrid.k8s.io/sig-release-1.33-blocking#kind-1.33-parallel

https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/ci-kubernetes-kind-e2e-parallel-1-33/1925908531593089024

Kernel Version: 6.8.0-1022-gke

2025-05-23T14:03:03.718610318Z stderr F I0523 14:03:03.718387       1 iptables.go:452] "Running" command="ip6tables-restore" arguments=["-w","5","-W","100000","--noflush","--counters"]
2025-05-23T14:03:03.735525109Z stderr F E0523 14:03:03.735334       1 proxier.go:1553] "Failed to execute iptables-restore" err=<
2025-05-23T14:03:03.735618813Z stderr F 	exit status 2: Ignoring deprecated --wait-interval option.
2025-05-23T14:03:03.735627923Z stderr F 	Warning: Extension MARK revision 0 not supported, missing kernel module?
2025-05-23T14:03:03.735633917Z stderr F 	ip6tables-restore v1.8.9 (legacy): unknown option "--xor-mark"
2025-05-23T14:03:03.73564045Z stderr F 	Error occurred at line: 17
2025-05-23T14:03:03.73564673Z stderr F 	Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
2025-05-23T14:03:03.735654031Z stderr F  > ipFamily="IPv6"

The --wait-interval flag was removed in https://git.netfilter.org/iptables/commit/?id=07e2107ef0cbc1b81864c3c0f0ef297a9dfff44d it seems in iptables v1.8.8.

/cc @danwinship @aroradaman I think we should extend the code to avoid adding it for 1.8.8+

https://github.com/kubernetes/kubernetes/blob/3044a4ce87abae50d8bf9ef77554fa16f2be2f12/pkg/util/iptables/iptables.go#L704-L715

The --xor-mark thing is https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2101914 that causes a lots of issues in github actions https://github.com/actions/runner-images/issues/11985 @BenTheElder @ameukam , we need to avoid those kernels