kubernetes: [Failing test] build-master
Which jobs are failing?
master-blocking
- build-master
Which tests are failing?
ci-kubernetes-build.Overall

Since when has it been failing?
2023-02-07 22:06:39 +0000 UTC
Testgrid link
https://k8s-testgrid.appspot.com/sig-release-master-blocking#build-master
Link to failing run: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/ci-kubernetes-build/1623271793525526528
Reason for failure (if possible)
make: *** [Makefile:374: release] Error 1 level=fatal msg="failed to run: running make release: command /usr/bin/make release did not succeed: build/../build/common.sh: line 604: ifconfig: command not found\n!!! [0207 23:28:23] Call tree:\n!!! [0207 23:28:23] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)\nmake[1]: *** [Makefile:92: all] Error 1\nmake: *** [Makefile:487: cross] Error 1\n!!! [0207 23:28:25] Call tree:\n!!! [0207 23:28:25] 1: build/../build/common.sh:484 kube::build::run_build_command_ex(...)\n!!! [0207 23:28:25] 2: build/release.sh:36 kube::build::run_build_command(...)\nmake: *** [Makefile:374: release] Error 1\n"
ifconfig: command not found
Looks like the binary is not present in the test environment.
Anything else we need to know?
No response
Relevant SIG(s)
/sig testing cc @kubernetes/ci-signal
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 31 (30 by maintainers)
Reproducer with a Dockerfile, on k/k b7ad17978ea:
It’s green now!
@aojea – references to
ifconfigare across the repositories: https://cs.k8s.io/?q=ifconfig&i=nope&files=&excludeFiles=&repos=The reference to
ifconfigin current context is in https://github.com/kubernetes/kubernetes/blob/b7ad17978eaba508c560f81bab2fb9d0b256e469/build/common.sh#L604. There’s a check in https://github.com/kubernetes/kubernetes/blob/b7ad17978eaba508c560f81bab2fb9d0b256e469/build/common.sh#L598 which should switch toipif that is present.iproute2contains only theiputility.net-toolspackage hasifconfig.Long term, we should investigate if we can eliminate using
ifconfigentirely asiproute2is touted as its replacement.Thanks Ben!