test failure in AddMachineSuite.TestAddContainerToNewMachine

Bug #1188549 reported by Dimiter Naydenov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Ian Booth

Bug Description

I'm getting this every time I run tests on trunk tip (currently r1257):
----------------------------------------------------------------------
FAIL: addmachine_test.go:73: AddMachineSuite.TestAddContainerToNewMachine

[LOG] 30.37443 INFO juju environs/testing: uploading FAKE tools 1.11.1-raring-amd64
[LOG] 30.37451 INFO juju environs/testing: uploading FAKE tools 1.11.1-precise-amd64
[LOG] 30.37457 INFO juju environs: reading tools with major version 1
[LOG] 30.37460 DEBUG juju environs/tools: reading v1.* tools
[LOG] 30.37462 INFO juju environs: falling back to public bucket
[LOG] 30.37464 DEBUG juju environs/tools: reading v1.* tools
[LOG] 30.37471 DEBUG juju environs/tools: found 1.11.1-precise-amd64
[LOG] 30.37482 DEBUG juju environs/tools: found 1.11.1-raring-amd64
[LOG] 30.37486 INFO juju environs: filtering tools by series: precise
[LOG] 30.37490 INFO juju environs: filtering tools by version: 1.11.1
[LOG] 30.37494 INFO juju environs/dummy: would pick tools from 1.11.1-precise-amd64
[LOG] 30.40707 INFO juju state: opening state; mongo addresses: ["localhost:37873"]; entity ""
[LOG] 30.41055 INFO juju state: connection established
[LOG] 30.44927 INFO juju state: initializing environment
[LOG] 30.78825 INFO juju state/api: listening on "localhost:0"
[LOG] 30.82929 INFO juju state: opening state; mongo addresses: ["localhost:37873"]; entity ""
[LOG] 30.83640 INFO juju state: connection established
[LOG] 30.83702 INFO juju juju: authorization error while connecting to state server; retrying
[LOG] 30.95408 INFO juju state: opening state; mongo addresses: ["localhost:37873"]; entity ""
[LOG] 30.95740 INFO juju state: connection established
[LOG] 31.00835 INFO juju state/api: dialing "wss://127.0.0.1:37096/"
[LOG] 31.01460 INFO juju state/api: connection established
[LOG] 31.01468 DEBUG juju rpc/jsoncodec: -> {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret"}}
[LOG] 31.01488 DEBUG juju rpc/jsoncodec: <- {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret"}}
[LOG] 31.18487 DEBUG juju rpc/jsoncodec: -> {"RequestId":1,"Response":{}}
[LOG] 31.18511 DEBUG juju rpc/jsoncodec: <- {"RequestId":1,"Response":{}}
[LOG] 31.18530 DEBUG juju rpc/jsoncodec: -> {"RequestId":2,"Type":"State","Request":"Ping","Params":{}}
[LOG] 31.18549 DEBUG juju rpc/jsoncodec: <- {"RequestId":2,"Type":"State","Request":"Ping","Params":{}}
[LOG] 31.18565 DEBUG juju rpc/jsoncodec: -> {"RequestId":2,"Error":"permission denied","ErrorCode":"unauthorized access","Response":{}}
[LOG] 31.18710 DEBUG juju rpc/jsoncodec: <- {"RequestId":2,"Error":"permission denied","ErrorCode":"unauthorized access","Response":{}}
[LOG] 31.26328 INFO juju state: opening state; mongo addresses: ["localhost:37873"]; entity ""
[LOG] 31.27097 INFO juju state: connection established
[LOG] 31.36742 INFO juju created "lxc" container on machine 0/lxc/0
addmachine_test.go:77:
    s._assertAddContainer(c, strconv.Itoa(2*i), fmt.Sprintf("0/%s/%d", ctype, i), ctype)
addmachine_test.go:64:
    c.Assert(containers, DeepEquals, []string{containerId})
... obtained []string = []string(nil)
... expected []string = []string{"0/lxc/0"}

[LOG] 31.37390 INFO juju environs/dummy: reset environment
[LOG] 31.37573 DEBUG juju rpc/jsoncodec: <- error: read tcp 127.0.0.1:51913: use of closed network connection (closing true)
[LOG] 31.37879 DEBUG juju rpc/jsoncodec: <- error: EOF (closing false)
2013-06-07 12:40:10 ERROR juju plugin.go:143 'juju-error --description': exit status 1
OOPS: 140 passed, 1 FAILED
--- FAIL: TestPackage (172.67 seconds)
FAIL
FAIL launchpad.net/juju-core/cmd/juju 173.029s

It seems the bug was introduced in the same revision (r1257).

Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
Revision history for this message
Dimiter Naydenov (dimitern) wrote :

Marking as fixed, because r1257 was reverted with https://codereview.appspot.com/10046047/

Changed in juju-core:
status: New → Fix Committed
Tim Penhey (thumper)
Changed in juju-core:
status: Fix Committed → Fix Released
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.