Ubuntu Pastebin

Paste from menn0 at Tue, 8 Aug 2017 00:06:59 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
----------------------------------------------------------------------
FAIL: allwatcher_internal_test.go:599: allWatcherStateSuite.TestChangeApplicationOffers

test 0. no application offer in state, no application offer in store -> do nothing
test 1. application offer is removed if it's not in backing
test 2. application offer is added if it's in backing but not in Store
allwatcher_internal_test.go:600:
    testChangeApplicationOffers(c, s.performChangeTestCases)
allwatcher_internal_test.go:3654:
    c.Assert(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"cannot update application offer \"another-mysql\"", cause:(*mgo.LastError)(0xc420113420), previous:(*errors.Err)(0xc4207ca780), file:"github.com/juju/juju/state/applicationoffers.go", line:294} ("cannot update application offer \"another-mysql\": Mod on _id not allowed")
... error stack:
	Mod on _id not allowed
	github.com/juju/juju/state/applicationoffers.go:294: 
	github.com/juju/juju/state/applicationoffers.go:294: cannot update application offer "another-mysql"


----------------------------------------------------------------------
FAIL: applicationoffers_test.go:295: applicationOffersSuite.TestUpdateApplicationOffer

applicationoffers_test.go:310:
    c.Assert(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"cannot update application offer \"foo\"", cause:(*mgo.LastError)(0xc420b357a0), previous:(*errors.Err)(0xc4209013b0), file:"github.com/juju/juju/state/applicationoffers.go", line:294} ("cannot update application offer \"foo\": Mod on _id not allowed")
... error stack:
	Mod on _id not allowed
	github.com/juju/juju/state/applicationoffers.go:294: 
	github.com/juju/juju/state/applicationoffers.go:294: cannot update application offer "foo"
Download as text