[Bug 1483098] [NEW] launchpad.net/ubuntu-push/client/service tests fail when GOMAXPROCS>1

Launchpad Bug Tracker 1483098 at bugs.launchpad.net
Wed Aug 17 13:38:08 UTC 2016


You have been subscribed to a public bug:

This is true with Go 1.4 too, but the default has changed with 1.5:

mwhudson at glamdring:ubuntu-push$ ~/go1.4/bin/go test -a -c launchpad.net/ubuntu-push/client/service
mwhudson at glamdring:ubuntu-push$ for i in 1 2 3 4 5 6 7 8 9 10; do GOMAXPROCS=4 ./service.test 2>/dev/null | egrep 'PASS|FAIL'; done
FAIL: <autogenerated>:80: ualPostalSuite.TestHandleMMUActionsDispatches
--- FAIL: TestService-4 (0.04s)
FAIL
FAIL: <autogenerated>:41: trivialPostalSuite.TestHandleMMUActionsDispatches
--- FAIL: TestService-4 (0.04s)
FAIL
--- FAIL: TestService-4 (0.04s)
FAIL
--- FAIL: TestService-4 (0.04s)
FAIL
FAIL: <autogenerated>:80: ualPostalSuite.TestHandleMMUActionsDispatches
--- FAIL: TestService-4 (0.04s)
FAIL
PASS
FAIL: <autogenerated>:41: trivialPostalSuite.TestHandleMMUActionsDispatches
--- FAIL: TestService-4 (0.05s)
FAIL
PASS
--- FAIL: TestService-4 (0.04s)
FAIL
FAIL: <autogenerated>:41: trivialPostalSuite.TestHandleMMUActionsDispatches
--- FAIL: TestService-4 (0.05s)
FAIL

I don't know if more thinking is more appropriate, but putting
runtime.GOMAXPROCS(1) into TestService fixes this.

** Affects: ubuntu-push (Ubuntu)
     Importance: Undecided
         Status: New

-- 
launchpad.net/ubuntu-push/client/service tests fail when GOMAXPROCS>1
https://bugs.launchpad.net/bugs/1483098
You received this bug notification because you are a member of Ubuntu Phablet Team, which is subscribed to ubuntu-push in Ubuntu.



More information about the Ubuntu-reviews mailing list