https://bugzilla.redhat.com/show_bug.cgi?id=1086900
Bug ID: 1086900
Summary: SIGABRT during test case of misc/cgo/test, inside mock
Product: Fedora
Version: rawhide
Component: golang
Assignee: adam(a)spicenitz.org
Reporter: vbatts(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: adam(a)spicenitz.org, admiller(a)redhat.com,
golang(a)lists.fedoraproject.org, lemenkov(a)gmail.com,
lsm5(a)redhat.com, renich(a)woralelandia.com,
skottler(a)redhat.com, vbatts(a)redhat.com
Description of problem:
SIGABRT running the tests, during misc/cgo/test, when doing a mock build of
golang
(this does not happen for f19, f20, el6 or el7)
Version-Release number of selected component (if applicable):
golang-1.2.1-3
Mock Version: 1.1.36
How reproducible:
consistent
Steps to Reproduce:
1. fedpkg mockbuild or build on koji for rawhide
2.
3.
Actual results:
testing/iotest [no test files]
ok testing/quick 0.024s
ok text/scanner 0.018s
ok text/tabwriter 0.004s
ok text/template 0.027s
ok text/template/parse 0.016s
ok time 2.394s
ok unicode 0.009s
ok unicode/utf16 0.004s
ok unicode/utf8 0.005s
? unsafe [no test files]
real 0m58.752s
user 1m35.272s
sys 0m21.180s
# GOMAXPROCS=2 runtime -cpu=1,2,4
ok runtime 47.346s
# sync -cpu=10
ok sync 0.033s
# Testing race detector.
ok runtime/race 1.477s
ok flag 1.009s
# ../misc/cgo/stdio
# ../misc/cgo/life
# ../misc/cgo/test
SIGABRT: abort
PC=0x7fa07adc2bd7
runtime.notetsleepg(0x9ca040, 0xffffffffffffffff)
/usr/lib/golang/src/pkg/runtime/lock_futex.c:190 +0x46 fp=0x7fa07b8e1f48
runtime.signal_recv(0x0)
/usr/lib/golang/src/pkg/runtime/sigqueue.goc:110 +0xe2 fp=0x7fa07b8e1f70
os/signal.loop()
/usr/lib/golang/src/pkg/os/signal/signal_unix.go:21 +0x1e fp=0x7fa07b8e1fa0
runtime.goexit()
/usr/lib/golang/src/pkg/runtime/proc.c:1394 fp=0x7fa07b8e1fa8
created by os/signal.init·1
/usr/lib/golang/src/pkg/os/signal/signal_unix.go:27 +0x31
goroutine 1 [chan receive]:
testing.RunTests(0x5ffda8, 0x9bbd40, 0x29, 0x29, 0x1)
/usr/lib/golang/src/pkg/testing/testing.go:472 +0x8d5
testing.Main(0x5ffda8, 0x9bbd40, 0x29, 0x29, 0x9b57b0, ...)
/usr/lib/golang/src/pkg/testing/testing.go:403 +0x84
main.main()
_/builddir/build/BUILD/go/misc/cgo/test/_test/_testmain.go:129 +0x9c
goroutine 4 [syscall]:
runtime.goexit()
/usr/lib/golang/src/pkg/runtime/proc.c:1394
goroutine 5 [syscall]:
_/builddir/build/BUILD/go/misc/cgo/test._Cfunc_usleep(0x7fa000002710, 0x424339)
_/builddir/build/BUILD/go/misc/cgo/test/_test/_cgo_defun.c:778 +0x31
created by _/builddir/build/BUILD/go/misc/cgo/test.lockOSThreadCallback
/builddir/build/BUILD/go/misc/cgo/test/issue3775.go:35 +0x36
goroutine 6 [select]:
_/builddir/build/BUILD/go/misc/cgo/test.testSetgid(0xc21006e000)
/builddir/build/BUILD/go/misc/cgo/test/setgid_linux.go:27 +0x1ce
_/builddir/build/BUILD/go/misc/cgo/test.TestSetgid(0xc21006e000)
/builddir/build/BUILD/go/misc/cgo/test/cgo_linux_test.go:9 +0x27
testing.tRunner(0xc21006e000, 0x9bbd40)
/usr/lib/golang/src/pkg/testing/testing.go:391 +0x8b
created by testing.RunTests
/usr/lib/golang/src/pkg/testing/testing.go:471 +0x8b2
goroutine 7 [syscall]:
_/builddir/build/BUILD/go/misc/cgo/test._Cfunc_setgid(0x0, 0x0)
_/builddir/build/BUILD/go/misc/cgo/test/_test/_cgo_defun.c:643 +0x31
_/builddir/build/BUILD/go/misc/cgo/test.func·014()
/builddir/build/BUILD/go/misc/cgo/test/setgid_linux.go:24 +0x2e
created by _/builddir/build/BUILD/go/misc/cgo/test.testSetgid
/builddir/build/BUILD/go/misc/cgo/test/setgid_linux.go:26 +0x7f
rax 0x0
rbx 0x7fa07b8e1e80
rcx 0xffffffffffffffff
rdx 0x6
rdi 0x5c84
rsi 0x5c87
rbp 0xc21002a000
rsp 0x7fa07b8e18f8
r8 0x0
r9 0x0
r10 0x8
r11 0x206
r12 0x7fa07a48acf0
r13 0x0
r14 0x7fa079c8a700
r15 0x7fa079c8a9c0
rip 0x7fa07adc2bd7
rflags 0x206
cs 0x33
fs 0x0
gs 0x0
exit status 2
FAIL _/builddir/build/BUILD/go/misc/cgo/test 0.004s
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.Voyady (%check)
bogus date in %changelog: Thu Apr 09 2014 Vincent Batts
<vbatts(a)fedoraproject.org> 1.2.1-4
Bad exit status from /var/tmp/rpm-tmp.Voyady (%check)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps
builddir/build/SPECS/golang.spec']
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 376, in do
raise mockbuild.exception.Error, ("Command failed. See logs for output.\n #
%s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps
builddir/build/SPECS/golang.spec']
LEAVE do --> EXCEPTION RAISED
Expected results:
successful test "ok"
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.