MAAS Snap fails to build on PPC64 on Launchpad

Bug #1904245 reported by Lee Trager
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Adam Collard
2.9
Fix Released
Critical
Adam Collard

Bug Description

The MAAS PPC64 Snap has failed to build on Launchpad since 10/26. The failure occurs when trying to copy the machine-resources binaries. What is strange is according to the logs building the binaries succeeded, they just don't exist on the filesystem. I wasn't able to reproduce this manually with the PPC64 machine in the CI.

rm -rf src/machine-resources/vendor
cd src/machine-resources; dep ensure -vendor-only
[13/Nov/2020:20:55:44 +0000] "CONNECT github.com:443 HTTP/1.1" 200 6267 "-" "git/2.25.1"
[13/Nov/2020:20:55:45 +0000] "CONNECT github.com:443 HTTP/1.1" 200 23487 "-" "git/2.25.1"
[13/Nov/2020:20:55:45 +0000] "CONNECT github.com:443 HTTP/1.1" 200 57732 "-" "git/2.25.1"
[13/Nov/2020:20:55:45 +0000] "CONNECT github.com:443 HTTP/1.1" 200 16067 "-" "git/2.25.1"
[13/Nov/2020:20:55:46 +0000] "CONNECT github.com:443 HTTP/1.1" 200 6358 "-" "git/2.25.1"
[13/Nov/2020:20:55:46 +0000] "CONNECT github.com:443 HTTP/1.1" 200 438237 "-" "git/2.25.1"
[13/Nov/2020:20:55:47 +0000] "CONNECT github.com:443 HTTP/1.1" 200 152808 "-" "git/2.25.1"
[13/Nov/2020:20:55:48 +0000] "CONNECT github.com:443 HTTP/1.1" 200 330197 "-" "git/2.25.1"
[13/Nov/2020:20:55:48 +0000] "CONNECT github.com:443 HTTP/1.1" 200 30138 "-" "git/2.25.1"
[13/Nov/2020:20:55:51 +0000] "CONNECT github.com:443 HTTP/1.1" 200 10603 "-" "git/2.25.1"
[13/Nov/2020:20:55:52 +0000] "CONNECT github.com:443 HTTP/1.1" 200 16004 "-" "git/2.25.1"
[13/Nov/2020:20:55:53 +0000] "CONNECT github.com:443 HTTP/1.1" 200 619839 "-" "git/2.25.1"
[13/Nov/2020:20:55:53 +0000] "CONNECT github.com:443 HTTP/1.1" 200 203962 "-" "git/2.25.1"
[13/Nov/2020:20:55:59 +0000] "CONNECT github.com:443 HTTP/1.1" 200 58601881 "-" "git/2.25.1"
GOCACHE=/root/.cache/go-cache GOARCH=amd64 go build -ldflags '-s -w' -o bin/amd64 machine-resources
GOCACHE=/root/.cache/go-cache GOARCH=386 go build -ldflags '-s -w' -o bin/i386 machine-resources
GOCACHE=/root/.cache/go-cache GOARCH=arm go build -ldflags '-s -w' -o bin/armhf machine-resources
GOCACHE=/root/.cache/go-cache GOARCH=arm64 go build -ldflags '-s -w' -o bin/arm64 machine-resources
[13/Nov/2020:20:55:59 +0000] "CONNECT golang.org:443 HTTP/1.1" 200 8350 "-" "Go-http-client/1.1"
GOCACHE=/root/.cache/go-cache GOARCH=ppc64le go build -ldflags '-s -w' -o bin/ppc64el machine-resources
GOCACHE=/root/.cache/go-cache GOARCH=s390x go build -ldflags '-s -w' -o bin/s390x machine-resources
+ make -j4 install DESTDIR=/build/maas/parts/machine-resources/install
GOCACHE=/root/.cache/go-cache GOARCH=amd64 go build -ldflags '-s -w' -o bin/amd64 machine-resources
GOCACHE=/root/.cache/go-cache GOARCH=386 go build -ldflags '-s -w' -o bin/i386 machine-resources
GOCACHE=/root/.cache/go-cache GOARCH=arm go build -ldflags '-s -w' -o bin/armhf machine-resources
GOCACHE=/root/.cache/go-cache GOARCH=arm64 go build -ldflags '-s -w' -o bin/arm64 machine-resources
GOCACHE=/root/.cache/go-cache GOARCH=ppc64le go build -ldflags '-s -w' -o bin/ppc64el machine-resources
GOCACHE=/root/.cache/go-cache GOARCH=s390x go build -ldflags '-s -w' -o bin/s390x machine-resources
install -t /build/maas/parts/machine-resources/install/usr/share/maas/machine-resources -D bin/amd64 bin/i386 bin/armhf bin/arm64 bin/ppc64el bin/s390x
install: cannot stat 'bin/amd64': No such file or directory
install: cannot stat 'bin/i386': No such file or directory
install: cannot stat 'bin/armhf': No such file or directory
install: cannot stat 'bin/arm64': No such file or directory
install: cannot stat 'bin/ppc64el': No such file or directory
install: cannot stat 'bin/s390x': No such file or directory
make: *** [Makefile:48: install] Error 1
Failed to build 'machine-resources'.

Related branches

Alberto Donato (ack)
Changed in maas:
assignee: nobody → Alberto Donato (ack)
Alberto Donato (ack)
Changed in maas:
assignee: Alberto Donato (ack) → nobody
Changed in maas:
assignee: nobody → Adam Collard (adam-collard)
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
milestone: 2.9.0rc2 → 2.10-next
Changed in maas:
milestone: 3.0.0 → 3.0-beta1
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.