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

ISO build broken on head #7840

Closed
medyagh opened this issue Apr 22, 2020 · 3 comments · Fixed by #7845
Closed

ISO build broken on head #7840

medyagh opened this issue Apr 22, 2020 · 3 comments · Fixed by #7845
Assignees
Labels
area/build-release area/guest-vm General configuration issues with the minikube guest VM area/testing kind/bug Categorizes issue or PR as related to a bug. kind/process Process oriented issues, like setting up CI priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@medyagh
Copy link
Member

medyagh commented Apr 22, 2020

2020-04-22 02:56:31 (6.54 MB/s) - ‘/mnt/out/buildroot/output/build/.v1.8.2.tar.gz.cUgNAX/output’ saved [30065262]

v1.8.2.tar.gz: OK (sha256: 69f7ff81da1510ebf2962c1de3170675ca3cd8a24bc00c93742a24bcce17c752)
>>> podman v1.8.2 Extracting
gzip -d -c /mnt/out/buildroot/dl/podman/v1.8.2.tar.gz | tar --strip-components=1 -C /mnt/out/buildroot/output/build/podman-v1.8.2   -xf -
>>> podman v1.8.2 Patching
>>> podman v1.8.2 Configuring
mkdir -p /mnt/out/buildroot/output/build/podman-v1.8.2/_output/src/github.com/containers
ln -sf /mnt/out/buildroot/output/build/podman-v1.8.2 /mnt/out/buildroot/output/build/podman-v1.8.2/_output/src/github.com/containers/libpod
mkdir -p /mnt/out/buildroot/output/build/podman-v1.8.2/_output/src/github.com/varlink
ln -sf /mnt/out/buildroot/output/build/podman-v1.8.2/vendor/github.com/varlink/go /mnt/out/buildroot/output/build/podman-v1.8.2/_output/src/github.com/varlink/go
>>> podman v1.8.2 Building
mkdir -p /mnt/out/buildroot/output/build/podman-v1.8.2/bin
CGO_ENABLED=1 GOPATH="/mnt/out/buildroot/output/build/podman-v1.8.2/_output" GOBIN="/mnt/out/buildroot/output/build/podman-v1.8.2/_output/bin" PATH=/mnt/out/buildroot/output/build/podman-v1.8.2/_output/bin:"/mnt/out/buildroot/output/host/bin:/mnt/out/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CIRRUS_TAG=v1.8.2 /usr/bin/make -j7 PATH="/mnt/out/buildroot/output/host/bin:/mnt/out/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-ar" AS="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-as" LD="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-ld" NM="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-nm" CC="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-gcc" GCC="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-gcc" CPP="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-cpp" CXX="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-g++" FC="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-gfortran" F77="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-gfortran" RANLIB="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-ranlib" READELF="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-readelf" STRIP="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-strip" OBJCOPY="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-objcopy" OBJDUMP="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/mnt/out/buildroot/output/host/bin/ccache /usr/bin/gcc" GCC_FOR_BUILD="/mnt/out/buildroot/output/host/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/mnt/out/buildroot/output/host/bin/ccache /usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/mnt/out/buildroot/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/mnt/out/buildroot/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/mnt/out/buildroot/output/host/include" LDFLAGS_FOR_BUILD="-L/mnt/out/buildroot/output/host/lib -Wl,-rpath,/mnt/out/buildroot/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-as" DEFAULT_LINKER="/mnt/out/buildroot/output/host/bin/x86_64-minikube-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O2  " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O2  " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/mnt/out/buildroot/output/host/bin/pkg-config" STAGING_DIR="/mnt/out/buildroot/output/host/x86_64-minikube-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl -C /mnt/out/buildroot/output/build/podman-v1.8.2 GIT_COMMIT=028e3317eb1494b9b2acba4a0a295df80fae66cc PREFIX=/usr podman
make[3]: Entering directory '/mnt/out/buildroot/output/build/podman-v1.8.2'
touch .gopathok
# Only generate the varlink code on Linux (see issue #4814).
GO111MODULE=off go generate ./cmd/podman/varlink/...
Podman is being compiled without the systemd build tag. Install libsystemd on 	Ubuntu or systemd-devel on rpm based distro for journald support.
GO111MODULE=on go build -mod=vendor  -gcflags 'all=-trimpath=/mnt/out/buildroot' -asmflags 'all=-trimpath=/mnt/out/buildroot' -ldflags '-X github.com/containers/libpod/libpod/define.gitCommit=028e3317eb1494b9b2acba4a0a295df80fae66cc -X github.com/containers/libpod/libpod/define.buildInfo=1587524195 -X github.com/containers/libpod/libpod/config._installPrefix=/usr -X github.com/containers/libpod/libpod/config._etcDir=/etc -extldflags ""' -tags " exclude_graphdriver_btrfs btrfs_noversion   exclude_graphdriver_devicemapper seccomp varlink" -o bin/podman github.com/containers/libpod/cmd/podman
make[3]: Leaving directory '/mnt/out/buildroot/output/build/podman-v1.8.2'
>>> podman v1.8.2 Installing to target
/usr/bin/install -Dm755 /mnt/out/buildroot/output/build/podman-v1.8.2/bin/podman /mnt/out/buildroot/output/target/usr/bin/podman
/usr/bin/install -d -m 755 /mnt/out/buildroot/output/target/etc/cni/net.d/
/usr/bin/install -m 644 cni/87-podman-bridge.conflist /mnt/out/buildroot/output/target/etc/cni/net.d/87-podman-bridge.conflist
/usr/bin/install: cannot stat 'cni/87-podman-bridge.conflist': No such file or directory
package/pkg-generic.mk:345: recipe for target '/mnt/out/buildroot/output/build/podman-v1.8.2/.stamp_target_installed' failed
make[2]: *** [/mnt/out/buildroot/output/build/podman-v1.8.2/.stamp_target_installed] Error 1
make[2]: Leaving directory '/mnt/out/buildroot'
make[1]: *** [minikube_iso] Error 2
Makefile:202: recipe for target 'minikube_iso' failed
make[1]: Leaving directory '/mnt'
Makefile:226: recipe for target 'out/minikube.iso' failed
make: *** [out/minikube.iso] Error 2
make: *** [Makefile:228: out/minikube.iso] Error 2
medya@medya:~/workspace/minikube$ 

maybe related to
#7754

@medyagh medyagh added kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Apr 22, 2020
@afbjorklund
Copy link
Collaborator

Yeah, I was merging the old commit and I guess the missing dir was missed in code review too...

And I guess the ISO test in #7754 didn't work either ? (It is supposed to build the ISO, no?)

@afbjorklund
Copy link
Collaborator

Possibly this also caused the missing ISO in the beta.0 ?

@afbjorklund
Copy link
Collaborator

Actually the build did fail (#7754), but "tests are always red" (#6799)

>>> podman v1.8.2 Installing to target
/usr/bin/install -Dm755 /var/lib/jenkins/go/src/k8s.io/minikube/out/buildroot/output/build/podman-v1.8.2/bin/podman /var/lib/jenkins/go/src/k8s.io/minikube/out/buildroot/output/target/usr/bin/podman
/usr/bin/install -d -m 755 /var/lib/jenkins/go/src/k8s.io/minikube/out/buildroot/output/target/etc/cni/net.d/
/usr/bin/install -m 644 cni/87-podman-bridge.conflist /var/lib/jenkins/go/src/k8s.io/minikube/out/buildroot/output/target/etc/cni/net.d/87-podman-bridge.conflist
/usr/bin/install: cannot stat 'cni/87-podman-bridge.conflist': No such file or directory
package/pkg-generic.mk:345: recipe for target '/var/lib/jenkins/go/src/k8s.io/minikube/out/buildroot/output/build/podman-v1.8.2/.stamp_target_installed' failed
make[1]: *** [/var/lib/jenkins/go/src/k8s.io/minikube/out/buildroot/output/build/podman-v1.8.2/.stamp_target_installed] Error 1
make[1]: Leaving directory '/var/lib/jenkins/go/src/k8s.io/minikube/out/buildroot'
Makefile:202: recipe for target 'minikube_iso' failed
make: *** [minikube_iso] Error 2
Build step 'Execute shell' marked build as failure

Probably should block PR with failing builds ?

@afbjorklund afbjorklund added kind/process Process oriented issues, like setting up CI area/testing area/guest-vm General configuration issues with the minikube guest VM area/build-release labels Apr 22, 2020
@afbjorklund afbjorklund self-assigned this Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build-release area/guest-vm General configuration issues with the minikube guest VM area/testing kind/bug Categorizes issue or PR as related to a bug. kind/process Process oriented issues, like setting up CI priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants