Skip to content

MacOS X Panic when running test for github.com/elastic/beats/libbeat/publisher/queue/spool #8490

@ph

Description

@ph

This is issue was reported by @ruflin during PR review of #8376

Failure on the spooler when running the test on macos X (complete gist at https://gist.github.com/ph/d2fd8eecde3c16ee720939d483e7b654)

12:53:51 command [go test -race -cover -coverprofile /var/folders/n9/rjyq805d3xs95862s8msvlqh0000gp/T/gotestcover-102501828 github.com/elastic/beats/libbeat/publisher/queue/spool]: exit status 1
12:53:51 SIGQUIT: quit
12:53:51 PC=0x108da8b m=0 sigcode=0
12:53:51 
12:53:51 goroutine 0 [idle]:
12:53:51 runtime.mach_semaphore_wait(0x1303, 0x116289a, 0x78000bf1ef, 0x0, 0x0, 0x1b06160, 0x7fff5fbfebd8, 0x1087cf3, 0xffffffffffffffff, 0x1162a8f, ...)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/runtime/sys_darwin_amd64.s:540 +0xb
12:53:51 runtime.semasleep1(0xffffffffffffffff, 0x1162a8f)
12:53:51 make[1]: *** [unit-tests] Error 1
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/runtime/os_darwin.go:438 +0x52
12:53:51 runtime.semasleep.func1()
12:53:51 make: *** [testsuite] Error 2
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/runtime/os_darwin.go:457 +0x33
12:53:51 runtime.semasleep(0xffffffffffffffff, 0x7fff5fbfec48)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/runtime/os_darwin.go:456 +0x44
12:53:51 runtime.notesleep(0x1b067a8)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/runtime/lock_sema.go:167 +0xe9
12:53:51 runtime.stopm()
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/runtime/proc.go:1952 +0xe5
12:53:51 + cleanup
12:53:51 + echo 'Running cleanup...'
12:53:51 runtime.findrunnable(0xc42003cf00, 0x0)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/runtime/proc.go:2415 +0x2c8
12:53:51 + rm -rf /var/folders/n9/rjyq805d3xs95862s8msvlqh0000gp/T/tmp.sfkroiny
12:53:51 runtime.schedule()
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/runtime/proc.go:2541 +0x151
12:53:51 runtime.park_m(0xc42007ca80)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/runtime/proc.go:2604 +0x81
12:53:51 runtime.mcall(0x0)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/runtime/asm_amd64.s:351 +0x5b
12:53:51 
12:53:51 goroutine 1 [chan receive, 9 minutes]:
12:53:51 testing.(*T).Run(0xc42015a000, 0x1751b98, 0x13, 0x1766818, 0xc42006dc00)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/testing/testing.go:825 +0x597
12:53:51 testing.runTests.func1(0xc42015a000)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/testing/testing.go:1063 +0xa5
12:53:51 testing.tRunner(0xc42015a000, 0xc42006dd48)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/testing/testing.go:777 +0x16e
12:53:51 testing.runTests(0xc4201253e0, 0x1afa7a0, 0x1, 0x1, 0xc4200e4080)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/testing/testing.go:1061 +0x4e2
12:53:51 testing.(*M).Run(0xc4200e4080, 0x0)
12:53:51 	/var/lib/jenkins/.gvm/versions/go1.10.3.darwin.amd64/src/testing/testing.go:978 +0x2ce
12:53:51 main.main()
12:53:51 	_testmain.go:108 +0x325
12:53:51 

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions