ok launchpad.net/goose 0.011s
ok launchpad.net/goose/client 0.107s
ok launchpad.net/goose/errors 0.011s
ok launchpad.net/goose/glance 0.022s
ok launchpad.net/goose/http 0.060s
ok launchpad.net/goose/identity 0.029s
ok launchpad.net/goose/nova 0.104s
ok launchpad.net/goose/swift 0.057s
ok launchpad.net/goose/sync 0.010s
ok launchpad.net/goose/testing/envsuite 0.019s
ok launchpad.net/goose/testing/httpsuite 0.068s
? launchpad.net/goose/testservices [no test files]
? launchpad.net/goose/testservices/cmd [no test files]
ok launchpad.net/goose/testservices/hook 0.011s
ok launchpad.net/goose/testservices/identityservice 0.025s
total: 58
... Panic: Neither Cidr nor GroupId are set for this SecurityGroup Rule: { 0 0 <nil> 1} (PC=0x413B51)
/usr/lib/go/src/pkg/runtime/panic.c:229
in panic
service.go:477
in Nova.addSecurityGroupRule
service_test.go:651
in NovaSuite.TestAddHasRemoveSecurityGroupRule
service_test.go:866:
s.ensureNoGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:548:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:822:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:759:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:740:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:798:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:769:
s.ensureNoGroup(c, invalidGroup)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:570:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:562:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:912:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:900:
s.ensureNoGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:891:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:943:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:632:
s.ensureNoGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:850:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:578:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:996:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:977:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
service_test.go:961:
s.createGroup(c, group)
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
OOPS: 66 passed, 20 FAILED, 1 PANICKED
--- FAIL: Test (0.31 seconds)
FAIL
FAIL launchpad.net/goose/testservices/novaservice 0.340s
? launchpad.net/goose/testservices/openstackservice [no test files]
ok launchpad.net/goose/testservices/swiftservice 0.038s
ok launchpad.net/goose/tools/secgroup-delete-all 0.035s
Setting GOPATH to: /home/tarmac/trees
Running: go fmt ./...
Running: go build ./...
Running: go test ./...
FAIL: failed running: go test ./...
The attempt to merge lp:~jameinel/goose/security-group-rule-group-id-1226996 into lp:goose failed. Below is the output from the failed tests.
ok launchpad.net/goose 0.011s net/goose/ client 0.107s net/goose/ errors 0.011s net/goose/ glance 0.022s net/goose/ http 0.060s net/goose/ identity 0.029s net/goose/ nova 0.104s net/goose/ swift 0.057s net/goose/ sync 0.010s net/goose/ testing/ envsuite 0.019s net/goose/ testing/ httpsuite 0.068s net/goose/ testservices [no test files] net/goose/ testservices/ cmd [no test files] net/goose/ testservices/ hook 0.011s net/goose/ testservices/ identityservice 0.025s
ok launchpad.
ok launchpad.
ok launchpad.
ok launchpad.
ok launchpad.
ok launchpad.
ok launchpad.
ok launchpad.
ok launchpad.
ok launchpad.
? launchpad.
? launchpad.
ok launchpad.
ok launchpad.
total: 58
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 642: NovaSuite. TestAddHasRemov eSecurityGroupR ule
PANIC: service_
... Panic: Neither Cidr nor GroupId are set for this SecurityGroup Rule: { 0 0 <nil> 1} (PC=0x413B51)
/usr/lib/ go/src/ pkg/runtime/ panic.c: 229 yGroupRule TestAddHasRemov eSecurityGroupR ule
in panic
service.go:477
in Nova.addSecurit
service_test.go:651
in NovaSuite.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 862: NovaSuite. TestAddHasRemov eServerSecurity Group
FAIL: service_
service_ test.go: 866: roup(c, group)
s.ensureNoG
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 546: NovaSuite. TestAddRemoveSe curityGroup
FAIL: service_
service_ test.go: 548: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 816: NovaSuite. TestAddSecurity GroupRuleKeepsN egativePort
FAIL: service_
service_ test.go: 822: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 752: NovaSuite. TestAddSecurity GroupRuleToPare ntTwiceFails
FAIL: service_
service_ test.go: 759: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 738: NovaSuite. TestAddSecurity GroupRuleTwiceF ails
FAIL: service_
service_ test.go: 740: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 792: NovaSuite. TestAddSecurity GroupRuleUpdate sParent
FAIL: service_
service_ test.go: 798: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 767: NovaSuite. TestAddSecurity GroupRuleWithIn validParentFail s
FAIL: service_
service_ test.go: 769: roup(c, invalidGroup)
s.ensureNoG
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 568: NovaSuite. TestAddSecurity GroupTwiceFails
FAIL: service_
service_ test.go: 570: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 552: NovaSuite. TestAddSecurity GroupWithRules
FAIL: service_
service_ test.go: 562: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 907: NovaSuite. TestAddServerSe curityGroupTwic eFails
FAIL: service_
service_ test.go: 912: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 897: NovaSuite. TestAddServerSe curityGroupWith InvalidGroupFai ls
FAIL: service_
service_ test.go: 900: roup(c, group)
s.ensureNoG
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 887: NovaSuite. TestAddServerSe curityGroupWith InvalidServerFa ils
FAIL: service_
service_ test.go: 891: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 584: NovaSuite. TestAllSecurity Groups
FAIL: service_
service_ test.go: 587: groups, HasLen, 1) SecurityGroup = []nova. SecurityGroup{ nova.SecurityGr oup{Rules: []nova. SecurityGroupRu le{}, TenantId:"tenant", Id:"999", Name:"default", Description: "default group"}, nova.SecurityGr oup{Rules: []nova. SecurityGroupRu le{}, TenantId:"tenant", Id:"1", Name:"", Description:""}}
// There is always a default security group.
c.Assert(
... obtained []nova.
... n int = 1
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 922: NovaSuite. TestAllServerSe curityGroups
FAIL: service_
service_ test.go: 943: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 625: NovaSuite. TestGetSecurity GroupByName
FAIL: service_
service_ test.go: 632: roup(c, group)
s.ensureNoG
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 848: NovaSuite. TestRemoveSecur ityGroupRuleTwi ceFails
FAIL: service_
service_ test.go: 850: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 576: NovaSuite. TestRemoveSecur ityGroupTwiceFa ils
FAIL: service_
service_ test.go: 578: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 991: NovaSuite. TestRemoveServe rSecurityGroupT wiceFails
FAIL: service_
service_ test.go: 996: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 974: NovaSuite. TestRemoveServe rSecurityGroupW ithInvalidGroup Fails
FAIL: service_
service_ test.go: 977: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- test.go: 957: NovaSuite. TestRemoveServe rSecurityGroupW ithInvalidServe rFails
FAIL: service_
service_ test.go: 961: up(c, group)
s.createGro
service_test.go:40:
c.Assert(err, ErrorMatches, fmt.Sprintf("no such security group %s", group.Id))
... value = nil
... regex string = "no such security group 1"
... Error value is nil
OOPS: 66 passed, 20 FAILED, 1 PANICKED net/goose/ testservices/ novaservice 0.340s net/goose/ testservices/ openstackservic e [no test files] net/goose/ testservices/ swiftservice 0.038s net/goose/ tools/secgroup- delete- all 0.035s
--- FAIL: Test (0.31 seconds)
FAIL
FAIL launchpad.
? launchpad.
ok launchpad.
ok launchpad.
Setting GOPATH to: /home/tarmac/trees
Running: go fmt ./...
Running: go build ./...
Running: go test ./...
FAIL: failed running: go test ./...