unittest TestState ran too long and was killed

Bug #1563659 reported by Leo Arias on 2016-03-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Medium
Unassigned

Bug Description

The unit tests failed when building for powerpc on the image ppa:

=== RUN TestState
Quit

runtime_sighandler
 ../../../src/libgo/runtime/go-signal.c:223
sig_tramp_info
 ../../../src/libgo/runtime/go-signal.c:413

 :0
runtime_markscan
 ../../../src/libgo/runtime/mgc0.c:2615
runtime_mallocgc
 ../../../src/libgo/runtime/malloc.goc:235
__go_new
 ../../../src/libgo/runtime/go-new.c:16
github_com_ubuntu_core_snappy_overlord_state.Wait.pN55_github_com_ubuntu_core_snappy_overlord_state.TaskRunner
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/github.com/ubuntu-core/snappy/overlord/state/taskrunner.go:219
github_com_ubuntu_core_snappy_overlord_state_test.TestEnsureComplex.pN65_github_com_ubuntu_core_snappy_overlord_state_test.taskRunnerSuite
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/github.com/ubuntu-core/snappy/overlord/state/taskrunner_test.go:126

 ../../../src/libffi/src/powerpc/sysv.S:104
ffi_call_int
 ../../../src/libffi/src/powerpc/ffi.c:107
reflect.call
 ../../../src/libgo/runtime/go-reflect-call.c:225
reflect.call.N13_reflect.Value
 ../../../src/libgo/go/reflect/value.go:450
reflect.Call.N13_reflect.Value
 ../../../src/libgo/go/reflect/value.go:300
check.$nested2
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/gopkg.in/check.v1/check.go:772
check.$nested0
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/gopkg.in/check.v1/check.go:666
kickoff
 ../../../src/libgo/runtime/proc.c:235

goroutine 16 [chan receive, 9 minutes]:
runtime_mcall
 ../../../src/libgo/runtime/proc.c:295
runtime_park
 ../../../src/libgo/runtime/proc.c:1871
runtime_parkunlock
 ../../../src/libgo/runtime/proc.c:1887
chanrecv
 ../../../src/libgo/runtime/chan.goc:269
testing.RunTests
 ../../../src/libgo/go/testing/testing.go:582
testing.Run.pN9_testing.M
 ../../../src/libgo/go/testing/testing.go:514
main.main
 /tmp/go-build130510327/github.com/ubuntu-core/snappy/overlord/state/_test/_testmain.go:56
runtime_main
 ../../../src/libgo/runtime/proc.c:626

goroutine 17 [syscall]:
 goroutine in C code; stack unavailable
created by runtime_main
 ../../../src/libgo/runtime/proc.c:598

goroutine 18 [finalizer wait, 9 minutes]:
runtime_mcall
 ../../../src/libgo/runtime/proc.c:295
runtime_park
 ../../../src/libgo/runtime/proc.c:1871
runtime_parkunlock
 ../../../src/libgo/runtime/proc.c:1887
runfinq
 ../../../src/libgo/runtime/mgc0.c:2512
kickoff
 ../../../src/libgo/runtime/proc.c:235
created by runtime_createfing
 ../../../src/libgo/runtime/mgc0.c:2577

goroutine 19 [runnable]:
runtime_mcall
 ../../../src/libgo/runtime/proc.c:295
runtime_gosched
 ../../../src/libgo/runtime/proc.c:1921
bgsweep
 ../../../src/libgo/runtime/mgc0.c:1833
kickoff
 ../../../src/libgo/runtime/proc.c:235
created by mgc
 ../../../src/libgo/runtime/mgc0.c:2215

goroutine 20 [chan receive, 9 minutes]:
runtime_mcall
 ../../../src/libgo/runtime/proc.c:295
runtime_park
 ../../../src/libgo/runtime/proc.c:1871
runtime_parkunlock
 ../../../src/libgo/runtime/proc.c:1887
chanrecv
 ../../../src/libgo/runtime/chan.goc:299
gopkg_in_check_v1.runTest.pN29_gopkg_in_check_v1.suiteRunner
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/gopkg.in/check.v1/check.go:810
gopkg_in_check_v1.run.pN29_gopkg_in_check_v1.suiteRunner
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/gopkg.in/check.v1/check.go:615
gopkg_in_check_v1.Run
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/gopkg.in/check.v1/run.go:92
gopkg_in_check_v1.RunAll
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/gopkg.in/check.v1/run.go:84
gopkg_in_check_v1.TestingT
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/gopkg.in/check.v1/run.go:72
github_com_ubuntu_core_snappy_overlord_state_test.TestState
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/github.com/ubuntu-core/snappy/overlord/state/state_test.go:33
testing.tRunner
 ../../../src/libgo/go/testing/testing.go:472
kickoff
 ../../../src/libgo/runtime/proc.c:235
created by testing.RunTests
 ../../../src/libgo/go/testing/testing.go:581

goroutine 67 [select, 9 minutes]:
runtime_mcall
 ../../../src/libgo/runtime/proc.c:295
runtime_park
 ../../../src/libgo/runtime/proc.c:1871
selectgo
 ../../../src/libgo/runtime/chan.goc:815
gopkg_in_check_v1._loopRoutine.pN31_gopkg_in_check_v1.resultTracker
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/gopkg.in/check.v1/check.go:461
kickoff
 ../../../src/libgo/runtime/proc.c:235
created by gopkg_in_check_v1.start.pN31_gopkg_in_check_v1.resultTracker
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/gopkg.in/check.v1/check.go:441

goroutine 39 [timer goroutine (idle), 9 minutes]:
runtime_mcall
 ../../../src/libgo/runtime/proc.c:295
runtime_park
 ../../../src/libgo/runtime/proc.c:1871
runtime_parkunlock
 ../../../src/libgo/runtime/proc.c:1887
timerproc
 ../../../src/libgo/runtime/time.goc:255
kickoff
 ../../../src/libgo/runtime/proc.c:235
created by addtimer
 ../../../src/libgo/runtime/time.goc:147

goroutine 97 [runnable]:
runtime_mcall
 ../../../src/libgo/runtime/proc.c:295
runtime_park
 ../../../src/libgo/runtime/proc.c:1871
runtime_parkunlock
 ../../../src/libgo/runtime/proc.c:1887
runtime_semacquire
 ../../../src/libgo/runtime/sema.goc:139
sync.runtime_Semacquire
 ../../../src/libgo/runtime/sema.goc:204
sync.Lock.pN10_sync.Mutex
 ../../../src/libgo/go/sync/mutex.go:83
github_com_ubuntu_core_snappy_overlord_state.Ensure.pN55_github_com_ubuntu_core_snappy_overlord_state.TaskRunner
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/github.com/ubuntu-core/snappy/overlord/state/taskrunner.go:136
kickoff
 ../../../src/libgo/runtime/proc.c:235
created by github_com_ubuntu_core_snappy_overlord_state_test.EnsureBefore.pN62_github_com_ubuntu_core_snappy_overlord_state_test.stateBackend
 /«BUILDDIR»/ubuntu-snappy-1.7.3+20160310ubuntu1~ppa27/obj-powerpc-linux-gnu/src/github.com/ubuntu-core/snappy/overlord/state/taskrunner_test.go:80
*** Test killed with Quit: ran too long (10m0s).
FAIL github.com/ubuntu-core/snappy/overlord/state 600.102s

https://launchpadlibrarian.net/250373747/buildlog_ubuntu-xenial-powerpc.ubuntu-snappy_1.7.3+20160310ubuntu1~ppa27-1_BUILDING.txt.gz

Michael Vogt (mvo) wrote :

I suspect this is a gccgo bug actually.

Changed in snappy:
status: New → Incomplete
status: Incomplete → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers