[pkg-go] Bug#736204: golang-metrics: FTBFS: TestEWMA fails

Aaron M. Ucko ucko at debian.org
Mon Jan 20 23:08:31 UTC 2014


Source: golang-metrics
Version: 0.0~git20140119-1
Severity: important

The automated build of golang-metrics on i386 (the only architecture
attempted so far) failed with a panic in TestEWMA1:

  === RUN TestEWMA1
  --- FAIL: TestEWMA1 (0.00 seconds)
  panic: runtime error: invalid memory address or nil pointer dereference [recovered]
  	panic: runtime error: invalid memory address or nil pointer dereference
  [signal 0xb code=0x1 addr=0x1 pc=0x80e966c]
  
  goroutine 12 [running]:
  runtime.panic(0x815f0a0, 0x8300568)
  	/usr/lib/go/src/pkg/runtime/panic.c:266 +0xac
  testing.func·005()
  	/usr/lib/go/src/pkg/testing/testing.go:385 +0xda
  runtime.panic(0x815f0a0, 0x8300568)
  	/usr/lib/go/src/pkg/runtime/panic.c:248 +0xef
  sync/atomic.AddUint64(0x1861d3ac, 0x3, 0x0, 0x3fb477f8, 0x1861d390)
  	/usr/lib/go/src/pkg/sync/atomic/asm_386.s:118 +0xc
  github.com/rcrowley/go-metrics.(*StandardEWMA).Update(0x1861d390, 0x3, 0x0)
  	/«PKGBUILDDIR»/obj-i486-linux-gnu/src/github.com/rcrowley/go-metrics/ewma.go:117 +0x45
  github.com/rcrowley/go-metrics.TestEWMA1(0x1863f540)
  	/«PKGBUILDDIR»/obj-i486-linux-gnu/src/github.com/rcrowley/go-metrics/ewma_test.go:16 +0x58
  testing.tRunner(0x1863f540, 0x83006ac)
  	/usr/lib/go/src/pkg/testing/testing.go:391 +0x88
  created by testing.RunTests
  	/usr/lib/go/src/pkg/testing/testing.go:471 +0x6d3
  
  goroutine 1 [chan receive]:
  testing.RunTests(0x81b5d90, 0x8300640, 0x2a, 0x2a, 0x1)
  	/usr/lib/go/src/pkg/testing/testing.go:472 +0x6ee
  testing.Main(0x81b5d90, 0x8300640, 0x2a, 0x2a, 0x82ff580, ...)
  	/usr/lib/go/src/pkg/testing/testing.go:403 +0x6b
  main.main()

Could you please take a look?

Thanks!



More information about the Pkg-go-maintainers mailing list