intermittent test failure in upgrader.SetUpTest when using GOMAXPROCS>1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
John A Meinel |
Bug Description
I got this now (r1413 on trunk), but I've seen it before, so decided to report it. Occurs very rarely and it appears to be some timeout issue.
-------
FAIL: upgrader_
[LOG] 32.56385 INFO juju environs/testing: uploading FAKE tools 1.11.2-raring-amd64
[LOG] 32.56395 INFO juju environs/testing: uploading FAKE tools 1.11.2-
[LOG] 32.56405 INFO juju environs: reading tools with major version 1
[LOG] 32.56409 DEBUG juju environs/tools: reading v1.* tools
[LOG] 32.56413 INFO juju environs: falling back to public bucket
[LOG] 32.56416 DEBUG juju environs/tools: reading v1.* tools
[LOG] 32.56423 DEBUG juju environs/tools: found 1.11.2-
[LOG] 32.56429 DEBUG juju environs/tools: found 1.11.2-raring-amd64
[LOG] 32.56433 INFO juju environs: filtering tools by series: precise
[LOG] 32.56438 INFO juju environs: filtering tools by version: 1.11.2
[LOG] 32.56443 INFO juju environs/dummy: would pick tools from 1.11.2-
[LOG] 32.62548 INFO juju state: opening state; mongo addresses: ["localhost:
[LOG] 32.63101 INFO juju state: connection established
[LOG] 32.68732 INFO juju state: initializing environment
[LOG] 32.71977 INFO juju state/api: listening on "127.0.0.1:45160"
[LOG] 32.77023 INFO juju state: opening state; mongo addresses: ["localhost:
[LOG] 32.77572 INFO juju state: connection established
[LOG] 32.77647 INFO juju juju: authorization error while connecting to state server; retrying
[LOG] 32.77658 INFO juju state: opening state; mongo addresses: ["localhost:
[LOG] 32.78523 INFO juju state: connection established
[LOG] 32.89387 INFO juju state/api: dialing "wss://
[LOG] 32.89990 INFO juju state/api: connection established
[LOG] 32.90015 DEBUG juju rpc/jsoncodec: <- {"RequestId"
[LOG] 32.90107 DEBUG juju rpc/jsoncodec: -> {"RequestId"
[LOG] 32.90194 DEBUG juju rpc/jsoncodec: <- {"RequestId"
[LOG] 32.90210 DEBUG juju rpc/jsoncodec: -> {"RequestId"
upgrader_
c.Assert(err, IsNil)
... value *net.OpError = &net.OpError{
-------
FAIL: upgrader_
upgrader_
c.Check(err, IsNil)
... value *errors.errorString = &errors.
-------
PANIC: upgrader_
[LOG] 32.94387 DEBUG juju rpc/jsoncodec: <- error: EOF (closing false)
[LOG] 32.94402 INFO juju environs/dummy: reset environment
... Panic: Fixture has panicked (see related PANIC)
OOPS: 2 passed, 2 FAILED, 3 MISSED
--- FAIL: TestAll (2.74 seconds)
FAIL
FAIL launchpad.
Related branches
- Juju Engineering: Pending requested
-
Diff: 92 lines (+0/-30)2 files modifiedstate/api/upgrader/upgrader_test.go (+0/-15)
state/api/watcher/watcher_test.go (+0/-15)
Changed in juju-core: | |
status: | In Progress → Fix Committed |
summary: |
- intermittent test failure in upgrader.SetUpTest + intermittent test failure in upgrader.SetUpTest when using GOMAXPROCS>1 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
I just got this in another module - it might be related to the API server actually (also intermittent).
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- SetUpTest
FAIL: watcher_test.go:46: watcherSuite.
[LOG] 66.97901 INFO juju environs/testing: uploading FAKE tools 1.11.2-raring-amd64 precise- amd64 precise- amd64 precise- amd64 52824"] ; entity "" 52824"] ; entity "" 52824"] ; entity "" 127.0.0. 1:50388/ " Method{ Name:"apiRootFo rEntity" , PkgPath: "launchpad. net/juju- core/state/ apiserver" , Type:(* reflect. commonType) (0x7ea1a0) , Func:reflect. Value{typ: (*reflect. commonType) (0x7ea1a0) , val:(unsafe. Pointer) (0x4e231c) , flag:0x131}, Index:1} :1,"Type" :"Admin" ,"Request" :"Login" ,"Params" :{"AuthTag" :"user- admin", "Password" :"dummy- secret" }} Method{ Name:"AuthClien t", PkgPath:"", Type:(* reflect. commonType) (0x732788) , Func:reflect. Value{typ: (*reflect. commonType) (0x732788) , val:(unsafe. Pointer) (0x4e3772) , flag:0x130}, Index:1} Method{ Name:"AuthEnvir onManager" , PkgPath:"", Type:(* reflect. commonType) (0x732788) , Func:reflect. Value{typ: (*reflect. commonType) (0x732788) , val:(unsafe. Pointer) (0x4e372c) , flag:0x130}, Index:2} Method{ Name:"AuthMachi neAgent" , PkgPath:"", Type:(* reflect. commonType) (0x732788) , Func:reflect. Value{typ: (*reflect. commonType) (0x732788) , val:(unsafe. Pointer) (0x4e364f) , flag:0x130}, Index:3} Method{ Name:"AuthOwner ", PkgPath:"", Type:(* reflect. commonType) (0x78dc38) , Func:reflect. Value{typ: (*reflect. comm...
[LOG] 66.97911 INFO juju environs/testing: uploading FAKE tools 1.11.2-
[LOG] 66.97923 INFO juju environs: reading tools with major version 1
[LOG] 66.97927 DEBUG juju environs/tools: reading v1.* tools
[LOG] 66.97931 INFO juju environs: falling back to public bucket
[LOG] 66.97934 DEBUG juju environs/tools: reading v1.* tools
[LOG] 66.97943 DEBUG juju environs/tools: found 1.11.2-
[LOG] 66.97950 DEBUG juju environs/tools: found 1.11.2-raring-amd64
[LOG] 66.97954 INFO juju environs: filtering tools by series: precise
[LOG] 66.97959 INFO juju environs: filtering tools by version: 1.11.2
[LOG] 66.97964 INFO juju environs/dummy: would pick tools from 1.11.2-
[LOG] 67.02753 INFO juju state: opening state; mongo addresses: ["localhost:
[LOG] 67.04133 INFO juju state: connection established
[LOG] 67.09910 INFO juju state: initializing environment
[LOG] 67.14371 INFO juju state/api: listening on "127.0.0.1:50388"
[LOG] 67.20279 INFO juju state: opening state; mongo addresses: ["localhost:
[LOG] 67.20862 INFO juju state: connection established
[LOG] 67.20930 INFO juju juju: authorization error while connecting to state server; retrying
[LOG] 67.20941 INFO juju state: opening state; mongo addresses: ["localhost:
[LOG] 67.21293 INFO juju state: connection established
[LOG] 67.32584 INFO juju state/api: dialing "wss://
[LOG] 67.33283 INFO juju rpc: discarding action method reflect.
[LOG] 67.33302 INFO juju state/api: connection established
[LOG] 67.33371 DEBUG juju rpc/jsoncodec: <- {"RequestId"
[LOG] 67.33457 INFO juju rpc: discarding obtainer method reflect.
[LOG] 67.33464 INFO juju rpc: discarding obtainer method reflect.
[LOG] 67.33471 INFO juju rpc: discarding obtainer method reflect.
[LOG] 67.33476 INFO juju rpc: discarding obtainer method reflect.