Thanks to @ramkumar-k for noticing this - we found out ip-masq-agent unit test is broken with the below error:
$ make test
Running tests:
# k8s.io/ip-masq-agent/cmd/ip-masq-agent [k8s.io/ip-masq-agent/cmd/ip-masq-agent.test]
cmd/ip-masq-agent/ip-masq-agent_test.go:322:19: fipt.Lines undefined (type *"k8s.io/kubernetes/pkg/util/iptables/testing".FakeIPTables has no field or method Lines)
cmd/ip-masq-agent/ip-masq-agent_test.go:323:61: fipt.Lines undefined (type *"k8s.io/kubernetes/pkg/util/iptables/testing".FakeIPTables has no field or method Lines)
cmd/ip-masq-agent/ip-masq-agent_test.go:384:20: fipt6.Lines undefined (type *"k8s.io/kubernetes/pkg/util/iptables/testing".FakeIPTables has no field or method Lines)
cmd/ip-masq-agent/ip-masq-agent_test.go:385:66: fipt6.Lines undefined (type *"k8s.io/kubernetes/pkg/util/iptables/testing".FakeIPTables has no field or method Lines)
? k8s.io/ip-masq-agent/cmd/ip-masq-agent/testing/fakefs [no test files]
? k8s.io/ip-masq-agent/pkg/version [no test files]
FAIL k8s.io/ip-masq-agent/cmd/ip-masq-agent [build failed]
FAIL
make: *** [Makefile:349: test] Error 1
Thanks to @ramkumar-k for noticing this - we found out ip-masq-agent unit test is broken with the below error:
This seems to be introduced because of an upstream change in Kubernetes, where
iptables/testing/fake.go
got revamped: https://github.com/kubernetes/kubernetes/pull/109844cc @jingyuanliang