kubernetes: [Failing test] build-master

Which jobs are failing?

master-blocking

  • build-master

Which tests are failing?

ci-kubernetes-build.Overall

Screenshot from 2023-02-08 10-13-11

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)

Most upvoted comments

Reproducer with a Dockerfile, on k/k b7ad17978ea:

FROM debian:latest

RUN apt-get update && \
    apt-get install -y \
        gcc-arm-linux-gnueabihf \
        wget

RUN wget https://go.dev/dl/go1.20.linux-amd64.tar.gz && \
    tar xf *.tar.gz && \
    mv go /usr/local

ENV PATH=$PATH:/usr/local/go/bin
ENV GOARCH=arm
ENV CGO_ENABLED=1
ENV CC=arm-linux-gnueabihf-gcc

COPY . /work
WORKDIR /work
RUN go test -o e2e_node.test k8s.io/kubernetes/test/e2e_node
  • It breaks with go 1.20 but works with go 1.19.5 on debian:latest (bullseye-20230208, arm-linux-gnueabihf-gcc 10.2.1)
  • It breaks with go 1.20 but works with go 1.19.5 on debian:testing (testing-20230208, arm-linux-gnueabihf-gcc 12.2.0)

It’s green now!

iproute2 contains only the ip utility. net-tools package has ifconfig.

Long term, we should investigate if we can eliminate using ifconfig entirely as iproute2 is touted as its replacement.

Thanks Ben!