tests fail with Go 1.4

Bug #1478741 reported by Michael Hudson-Doyle
This bug report is a duplicate of:  Bug #1475612: ubuntu-push ftbfs with GCC 5. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Push Notifications
New
Undecided
Pat McGowan

Bug Description

Specifically these two:

--- FAIL: TestGoroutinesRunning (0.00s)
 z_last_test.go:57: num goroutines = 1
 z_last_test.go:59: Too many goroutines.
 z_last_test.go:61: 1 instances of:
  testing.RunTests(0x8587b8, 0x971200, 0x6d, 0x6d, 0x975501)
   /home/mwhudson/go1.4/src/testing/testing.go:556 +0xad6
  testing.(*M).Run(0xc2080460f0, 0x97c900)
   /home/mwhudson/go1.4/src/testing/testing.go:485 +0x6c
  main.main()
   launchpad.net/ubuntu-push/http13client/_test/_testmain.go:282 +0x1d5
FAIL
FAIL launchpad.net/ubuntu-push/http13client 22.001s

panic: time: Stop called on uninitialized Timer

goroutine 73 [running]:
time.(*Timer).Stop(0xc2080949c0, 0xc2080a2380)
 /home/mwhudson/go1.4/src/time/sleep.go:59 +0x74
launchpad.net/ubuntu-push/launch_helper.func·006(0xc20804dae0)
 /opt/opensource/gopath/src/launchpad.net/ubuntu-push/launch_helper/kindpool.go:284 +0x3e
launchpad.net/ubuntu-push/launch_helper.(*kindHelperPool).peekId(0xc20807c180, 0x70d350, 0x3, 0xc2080177a8, 0x0)
 /opt/opensource/gopath/src/launchpad.net/ubuntu-push/launch_helper/kindpool.go:276 +0xd5
launchpad.net/ubuntu-push/launch_helper.(*kindHelperPool).OneDone(0xc20807c180, 0x70d350, 0x3)
 /opt/opensource/gopath/src/launchpad.net/ubuntu-push/launch_helper/kindpool.go:287 +0x7f
created by launchpad.net/ubuntu-push/launch_helper.(*poolSuite).TestOneDoneOnBadFileOut
 /opt/opensource/gopath/src/launchpad.net/ubuntu-push/launch_helper/kindpool_test.go:317 +0x2a7

[...]
FAIL launchpad.net/ubuntu-push/launch_helper 0.440s

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

FWIW, wily has Go 1.4 currently so this means that ubuntu-push ftbfs currently...

Changed in ubuntu-push:
assignee: nobody → Pat McGowan (pat-mcgowan)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.