https://bugzilla.redhat.com/show_bug.cgi?id=1378960
Bug ID: 1378960 Summary: golang in fedora 24 fails to build openshift origin 1.3 for i686 but golang in fedora 25 does not Product: Fedora Version: 24 Component: golang Assignee: vbatts@redhat.com Reporter: admiller@redhat.com QA Contact: extras-qa@fedoraproject.org CC: admiller@redhat.com, amurdaca@redhat.com, golang-updates@lists.fedoraproject.org, jcajka@redhat.com, lemenkov@gmail.com, renich@woralelandia.com, s@shk.io, vbatts@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 i686 --nodeps /builddir/build/SPECS/origin.spec'], logger=<mockbuild.trace_decorator.getLog object at 0x7f07925a0dd8>uid=1000printOutput=Falseenv={'SHELL': '/bin/bash', 'PS1': '<mock-chroot> \s-\v\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\033]0;<mock-chroot>\007"', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}user='mockbuild'chrootPath='/var/lib/mock/f24-build-6491473-642118/root'timeout=172800gid=425shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/origin.spec'] with env {'SHELL': '/bin/bash', 'PS1': '<mock-chroot> \s-\v\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\033]0;<mock-chroot>\007"', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False warning: Could not canonicalize hostname: buildvm-02.phx2.fedoraproject.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/origin-1.3.0-1.fc24.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/origin.spec'], logger=<mockbuild.trace_decorator.getLog object at 0x7f07925a0dd8>uid=1000printOutput=Falseprivate_network=Trueenv={'SHELL': '/bin/bash', 'PS1': '<mock-chroot> \s-\v\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\033]0;<mock-chroot>\007"', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'}user='mockbuild'chrootPath='/var/lib/mock/f24-build-6491473-642118/root'timeout=172800gid=425shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/origin.spec'] with env {'SHELL': '/bin/bash', 'PS1': '<mock-chroot> \s-\v\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\033]0;<mock-chroot>\007"', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tAmPHx + 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 . Patch #0 (origin-1.3.0-build-platform.patch): + echo 'Patch #0 (origin-1.3.0-build-platform.patch):' + /usr/bin/patch -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.nXSVQC + 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/386: cmd/openshift cmd/oc # github.com/openshift/origin/cmd/openshift runtime: memory allocated by OS (0xf667e000) not in usable range [0x18500000,0x98500000) fatal error: out of memory runtime stack: runtime.throw(0x8263710, 0xd) /usr/lib/golang/src/runtime/panic.go:547 +0x7f runtime.(*mcache).refill(0xf77b4708, 0x17, 0xf67a58c0) /usr/lib/golang/src/runtime/mcache.go:121 +0xce runtime.mallocgc.func2() /usr/lib/golang/src/runtime/malloc.go:642 +0x2b runtime.systemstack(0x1894e0f0) /usr/lib/golang/src/runtime/asm_386.s:313 +0x5e runtime.mstart() /usr/lib/golang/src/runtime/proc.go:1051 goroutine 1 [running]: runtime.systemstack_switch() /usr/lib/golang/src/runtime/asm_386.s:267 fp=0x6c7317f4 sp=0x6c7317f0 runtime.mallocgc(0x1c0, 0x81f5f20, 0x0, 0x5) /usr/lib/golang/src/runtime/malloc.go:643 +0x6ca fp=0x6c731860 sp=0x6c7317f4 runtime.newobject(0x81f5f20, 0x0) /usr/lib/golang/src/runtime/malloc.go:781 +0x41 fp=0x6c731874 sp=0x6c731860 cmd/link/internal/ld.writelines() /usr/lib/golang/src/cmd/link/internal/ld/dwarf.go:1651 +0xe77 fp=0x6c731aac sp=0x6c731874 cmd/link/internal/ld.Dwarfemitdebugsections() /usr/lib/golang/src/cmd/link/internal/ld/dwarf.go:2108 +0x94a fp=0x6c731bc0 sp=0x6c731aac cmd/link/internal/x86.asmb() /usr/lib/golang/src/cmd/link/internal/x86/asm.go:704 +0x1179 fp=0x6c731cdc sp=0x6c731bc0 cmd/link/internal/ld.Ldmain() /usr/lib/golang/src/cmd/link/internal/ld/pobj.go:248 +0x1ac6 fp=0x6c731f28 sp=0x6c731cdc cmd/link/internal/x86.Main() /usr/lib/golang/src/cmd/link/internal/x86/obj.go:44 +0x1c fp=0x6c731f2c sp=0x6c731f28 main.main() /usr/lib/golang/src/cmd/link/main.go:25 +0xf6 fp=0x6c731f98 sp=0x6c731f2c runtime.main() /usr/lib/golang/src/runtime/proc.go:188 +0x276 fp=0x6c731fc0 sp=0x6c731f98 runtime.goexit() /usr/lib/golang/src/runtime/asm_386.s:1585 +0x1 fp=0x6c731fc4 sp=0x6c731fc0 [ERROR] PID 12424: hack/common.sh:308: `GOOS=${platform%/*} GOARCH=${platform##*/} go install -pkgdir "${OS_OUTPUT_PKGDIR}" "${goflags[@]:+${goflags[@]}}" "${platform_goflags[@]:+${platform_goflags[@]}}" -ldflags "${version_ldflags}" "${nonstatics[@]}"` exited with status 2. [INFO] Stack Trace: [INFO] 1: hack/common.sh:308: `GOOS=${platform%/*} GOARCH=${platform##*/} go install -pkgdir "${OS_OUTPUT_PKGDIR}" "${goflags[@]:+${goflags[@]}}" "${platform_goflags[@]:+${platform_goflags[@]}}" -ldflags "${version_ldflags}" "${nonstatics[@]}"` [INFO] 2: hack/common.sh:247: os::build::internal::build_binaries [INFO] 3: hack/build-platform.sh:23: os::build::build_binaries [INFO] Exiting with code 2. [ERROR] PID 12405: hack/common.sh:244: `( os::build::internal::build_binaries "${binaries[@]+"${binaries[@]}"}" )` exited with status 2. [INFO] Stack Trace: [INFO] 1: hack/common.sh:244: `( os::build::internal::build_binaries "${binaries[@]+"${binaries[@]}"}" )` [INFO] 2: hack/build-platform.sh:23: os::build::build_binaries [INFO] Exiting with code 2. error: Bad exit status from /var/tmp/rpm-tmp.nXSVQC (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.nXSVQC (%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 i686 --nodeps /builddir/build/SPECS/origin.spec
Version-Release number of selected component (if applicable): golang.i686 1.6.3-2.fc24
How reproducible: Always
Steps to Reproduce: 1. Build this package in mock with fedora-24-i386 profile http://koji.fedoraproject.org/koji/taskinfo?taskID=15768410
https://bugzilla.redhat.com/show_bug.cgi?id=1378960
Jakub Čajka jcajka@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|vbatts@redhat.com |jcajka@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1378960
Jakub Čajka jcajka@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |golang-1.6.3-3.fc24
https://bugzilla.redhat.com/show_bug.cgi?id=1378960
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #1 from Fedora Update System updates@fedoraproject.org --- golang-1.6.3-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-227caed405
https://bugzilla.redhat.com/show_bug.cgi?id=1378960
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Last Closed| |2016-10-22 03:55:32
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- golang-1.6.3-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
golang-updates@lists.fedoraproject.org