worker/uniter: FAIL: util_test.go:665: "never reached desired status"

Bug #1437445 reported by Casey Marshall
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju-core
Triaged
High
Unassigned

Bug Description

At 0955790cc3017c117a53f07e6b8c77f9203ed990 I'm getting this worker/uniter test failure: http://paste.ubuntu.com/10689670/

First error is:
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
want resolved mode "", got "no-hooks"; still waiting
uniter_test.go:857:
    s.runUniterTests(c, []uniterTest{
        // Upgrade scenarios - handling conflicts.
        ut(
            "upgrade: resolving doesn't help until underlying problem is fixed",
            startUpgradeError{},
            resolveError{state.ResolvedNoHooks},
            verifyWaitingUpgradeError{revision: 1},
            fixUpgradeError{},
            resolveError{state.ResolvedNoHooks},
            waitHooks{"upgrade-charm", "config-changed"},
            waitUnit{
                status: params.StatusActive,
                charm: 1,
            },
            verifyCharm{revision: 1},
        ), ut(
            `upgrade: forced upgrade does work without explicit resolution if underlying problem was fixed`,
            startUpgradeError{},
            resolveError{state.ResolvedNoHooks},
            verifyWaitingUpgradeError{revision: 1},
            fixUpgradeError{},
            createCharm{revision: 2},
            serveCharm{},
            upgradeCharm{revision: 2, forced: true},
            waitHooks{"upgrade-charm", "config-changed"},
            waitUnit{
                status: params.StatusActive,
                charm: 2,
            },
            verifyCharm{revision: 2},
        ), ut(
            "upgrade conflict service dying",
            startUpgradeError{},
            serviceDying,
            verifyWaitingUpgradeError{revision: 1},
            fixUpgradeError{},
            resolveError{state.ResolvedNoHooks},
            waitHooks{"upgrade-charm", "config-changed", "stop"},
            waitUniterDead{},
        ), ut(
            "upgrade conflict unit dying",
            startUpgradeError{},
            unitDying,
            verifyWaitingUpgradeError{revision: 1},
            fixUpgradeError{},
            resolveError{state.ResolvedNoHooks},
            waitHooks{"upgrade-charm", "config-changed", "stop"},
            waitUniterDead{},
        ), ut(
            "upgrade conflict unit dead",
            startUpgradeError{},
            unitDead,
            waitUniterDead{},
            waitHooks{},
            fixUpgradeError{},
        ),
    })
util_test.go:665:
    c.Fatalf("never reached desired status")
... Error: never reached desired status

Platforms:

vivid amd64, golang-go 1.3.3, juju-mongodb 2.4.10
trusty amd64, golang-go 1.2.1, juju-mongodb 2.4.9

Tags: unit-tests
Aaron Bentley (abentley)
Changed in juju-core:
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Domas Monkus (tasdomas) wrote :

I get the same failure, utopic amd64, go 1.2.2 (source built), juju-mongodb 2.4.10

John George (jog)
tags: added: unit-tests
Revision history for this message
Martin Packman (gz) wrote :

Also seeing this on the ppc64 tests currently:

<http://reports.vapour.ws/releases/2535/job/run-unit-tests-trusty-ppc64el/attempt/2780>

FAIL: uniter_test.go:856: com_juju_juju_worker_uniter_test.TestUniterUpgradeConflicts.pN51_github.com_juju_juju_worker_uniter_test.UniterSuite
...
step 6:

uniter_test.waitUnitAgent{statusGetter:(func(*uniter_test.context) uniter_test.statusfunc)(nil), status:"idle", info:"", data:map[string]interface {}(nil), charm:1, resolved:""}
[LOG] 0:03.147 DEBUG juju.apiserver <- [BB] unit-u-0 {"RequestId":233,"Type":"Uniter","Version":2,"Request":"SetAgentStatus","Params":"'params redacted'"}
[LOG] 0:03.151 DEBUG juju.apiserver -> [BB] unit-u-0 4.803ms {"RequestId":233,"Response":"'body redacted'"} Uniter[""].SetAgentStatus
...
want resolved mode "", got "no-hooks"; still waiting
util_test.go:685:
    c.Fatalf("never reached desired status")
... Error: never reached desired status

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.24-alpha1 → 1.24.0
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.24.0 → 1.25.0
Curtis Hovey (sinzui)
no longer affects: juju-core/1.24
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.