https://bugzilla.redhat.com/show_bug.cgi?id=1378972
Bug ID: 1378972
Summary: golang fails openshift origin 1.3.0 build for armv7hl
Product: Fedora
Version: rawhide
Component: golang
Assignee: vbatts(a)redhat.com
Reporter: admiller(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, amurdaca(a)redhat.com,
golang-updates(a)lists.fedoraproject.org,
jcajka(a)redhat.com, lemenkov(a)gmail.com,
renich(a)woralelandia.com, s(a)shk.io, vbatts(a)redhat.com
Description of problem:
Mock Version: 1.2.21
Mock Version: 1.2.21
ENTER ['do'](['bash', '--login', '-c',
'/usr/bin/rpmbuild -bs --target armv7hl
--nodeps /builddir/build/SPECS/origin.spec'],
gid=425timeout=172800env={'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL':
'/bin/bash',
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"',
'HOME': '/builddir',
'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1':
'<mock-chroot> \\s-\\v\\$
'}uid=1000chrootPath='/var/lib/mock/f26-build-6492446-642185/root'logger=<mockbuild.trace_decorator.getLog
object at 0xb5e6ffd0>printOutput=Falseuser='mockbuild'shell=False)
Executing command: ['bash', '--login', '-c',
'/usr/bin/rpmbuild -bs --target
armv7hl --nodeps /builddir/build/SPECS/origin.spec'] with env {'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL':
'/bin/bash',
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"',
'HOME': '/builddir',
'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1':
'<mock-chroot> \\s-\\v\\$ '}
and shell False
warning: Could not canonicalize hostname:
arm02-builder15.arm.fedoraproject.org
Building target platforms: armv7hl
Building for target armv7hl
Wrote: /builddir/build/SRPMS/origin-1.3.0-2.fc26.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c',
'/usr/bin/rpmbuild -bb --target armv7hl
--nodeps /builddir/build/SPECS/origin.spec'],
gid=425timeout=172800uid=1000shell=Falseprivate_network=TruechrootPath='/var/lib/mock/f26-build-6492446-642185/root'logger=<mockbuild.trace_decorator.getLog
object at 0xb5e6ffd0>printOutput=Falseenv={'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL':
'/bin/bash',
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"',
'HOME': '/builddir',
'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1':
'<mock-chroot> \\s-\\v\\$
'}user='mockbuild')
Executing command: ['bash', '--login', '-c',
'/usr/bin/rpmbuild -bb --target
armv7hl --nodeps /builddir/build/SPECS/origin.spec'] with env {'PATH':
'/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'SHELL':
'/bin/bash',
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"',
'HOME': '/builddir',
'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1':
'<mock-chroot> \\s-\\v\\$ '}
and shell False
Building target platforms: armv7hl
Building for target armv7hl
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ORHkve
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf origin-d45151824821195c9d3db7e5d2da0a1c982a614c
+ /usr/bin/gzip -dc /builddir/build/SOURCES/origin-1.3.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd origin-d45151824821195c9d3db7e5d2da0a1c982a614c
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (origin-1.3.0-build-platform.patch):'
Patch #0 (origin-1.3.0-build-platform.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file Makefile
patching file hack/build-platform.sh
patching file origin.spec
+ chmod +x hack/build-platform.sh
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.knwheP
+ umask 022
+ cd /builddir/build/BUILD
+ cd origin-d45151824821195c9d3db7e5d2da0a1c982a614c
+ OS_GIT_TREE_STATE=clean
+ OS_GIT_VERSION=v1.3.0
+ OS_GIT_COMMIT=d451518
+ OS_GIT_MAJOR=1
+ OS_GIT_MINOR=3
+ hack/build-platform.sh
++ Building go targets for linux/arm: cmd/openshift cmd/oc
++ Building go targets for linux/arm: images/pod cmd/dockerregistry
cmd/gitserver examples/hello-openshift examples/deployment
++ Placing binaries
++ ERROR: No release type defined for linux/arm
++ Placing binaries
++ ERROR: No release type defined for linux/arm
hack/build-platform.sh took 934 seconds
+ OS_GIT_TREE_STATE=clean
+ OS_GIT_VERSION=v1.3.0
+ OS_GIT_COMMIT=d451518
+ OS_GIT_MAJOR=1
+ OS_GIT_MINOR=3
+ hack/build-go.sh test/extended/extended.test
++ Building go targets for linux/arm: test/extended/extended.test
++ Placing binaries
hack/build-go.sh took 515 seconds
+ OS_GIT_TREE_STATE=clean
+ OS_GIT_VERSION=v1.3.0
+ OS_GIT_COMMIT=d451518
+ OS_GIT_MAJOR=1
+ OS_GIT_MINOR=3
+ hack/update-generated-docs.sh
++ Building go targets for linux/arm: tools/gendocs tools/genman
++ Placing binaries
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/hack/build-go.sh
took 626 seconds
Assets generated in
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c//docs/generated
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x4 pc=0x7ab4c]
goroutine 1 [running]:
panic(0x297b3a0, 0x15928008)
/usr/lib/golang/src/runtime/panic.go:500 +0x33c
encoding/gob.newTypeObject(0x25f3a18, 0x8, 0x1599f7c0, 0x456f8c0, 0x2ba8918,
0x2ba8918, 0x456f8c0, 0x2ba8918, 0x246a0f4)
/usr/lib/golang/src/encoding/gob/type.go:448 +0x24
encoding/gob.getType(0x25f3a18, 0x8, 0x1599f7c0, 0x456f8c0, 0x2ba8918, 0x0,
0x0, 0x0, 0x0)
/usr/lib/golang/src/encoding/gob/type.go:608 +0xc0
encoding/gob.getBaseType(0x25f3a18, 0x8, 0x456f8c0, 0x2ba8918, 0x0, 0x0, 0x0,
0x0)
/usr/lib/golang/src/encoding/gob/type.go:595 +0x78
encoding/gob.buildTypeInfo(0x1599f7c0, 0x456f8c0, 0x2ba8918, 0x0, 0x0, 0x0)
/usr/lib/golang/src/encoding/gob/type.go:725 +0xe8
encoding/gob.getTypeInfo(0x1599f7c0, 0x2ba8918, 0x0, 0x0)
/usr/lib/golang/src/encoding/gob/type.go:712 +0xa4
encoding/gob.mustGetTypeInfo(0x456f8c0, 0x2ba8918, 0x456f8c0)
/usr/lib/golang/src/encoding/gob/type.go:776 +0x34
encoding/gob.init()
/usr/lib/golang/src/encoding/gob/type.go:269 +0x1be0
net/rpc.init()
/usr/lib/golang/src/net/rpc/server.go:713 +0x50
github.com/openshift/origin/vendor/github.com/ugorji/go/codec.init()
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/vendor/github.com/ugorji/go/codec/time.go:234
+0x9c
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializ...
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/json/meta.go:62
+0x58
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializ...
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/runtime/serializer/protobuf_extension.go:53
+0x54
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/api.init()
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/api/types.go:3076
+0xa4
github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd.init()
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/vendor/k8s.io/kubernetes/pkg/kubectl/cmd/version.go:56
+0x6c
github.com/openshift/origin/pkg/cmd/admin.init()
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/pkg/cmd/admin/oadm_bashcomp_func.go:17
+0x58
main.init()
/builddir/build/BUILD/origin-d45151824821195c9d3db7e5d2da0a1c982a614c/_output/local/go/src/github.com/openshift/origin/tools/genman/gen_man.go:198
+0x60
[ERROR] PID 896: hack/common.sh:910: `${cmd} "${tmpdir}" "${cmdName}"`
exited
with status 2.
[INFO] Stack Trace:
[INFO] 1: hack/common.sh:910: `${cmd} "${tmpdir}"
"${cmdName}"`
[INFO] 2: hack/update-generated-docs.sh:41: os::build::gen-man
[INFO] Exiting with code 2.
error: Bad exit status from /var/tmp/rpm-tmp.knwheP (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.knwheP (%build)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line
88, in trace
result = func(*args, **kw)
File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 562, in do
raise exception.Error("Command failed. See logs for output.\n # %s" %
(command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps
/builddir/build/SPECS/origin.spec
Version-Release number of selected component (if applicable):
golang.armv7hl 1.7.1-1.fc26
How reproducible:
Always
Steps to Reproduce:
1. Rebuild this package in koji or mock for armv7hl
https://maxamillion.fedorapeople.org/origin-1.3.0-2.fc24.src.rpm
2. Scratch build here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=15770239
--
You are receiving this mail because:
You are on the CC list for the bug.