Intermittent TestUniterRelations failure

Bug #1265875 reported by Casey Marshall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
William Reade

Bug Description

Encountered a uniter test failure during a merge proposal build, which seems to be an intermittent issue unrelated to the merge. I am not able to reproduce in my development environment, nor did it recur when manually run on the build server.

See the log at: https://code.launchpad.net/~cmars/juju-core/lp1247892/+merge/197453/comments/465426

Curtis Hovey (sinzui)
tags: added: intermittent-failure test-failure
summary: - Intermittent uniter test failure
+ Intermittent TestUniterRelations failure
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Roger Peppe (rogpeppe) wrote :
Download full text (3.4 KiB)

I've seen another intermittent TestUniterRelations failure, which I'm adding under this bug because they might both be related:

test 5: unit becomes dead while in a relation

step 0:

uniter_test.quickStartRelation{}
uniter_test.quickStart{}
uniter_test.createCharm{revision:0, badHooks:[]string(nil), customize:(func(*gocheck.C, *uniter_test.context, string))(nil)}
uniter_test.addCharm{dir:(*charm.Dir)(0xc21026aea0), curl:(*charm.URL)(0xc210732a00)}
uniter_test.serveCharm{}
uniter_test.createUniter{}
uniter_test.ensureStateWorker{}
uniter_test.createServiceAndUnit{serviceName:""}
API: login as "unit-u-0" successful
uniter_test.startUniter{unitTag:""}
uniter_test.waitAddresses{}
uniter_test.waitUnit{status:"started", info:"", data:params.StatusData(nil), charm:0, resolved:""}
want unit status "started", got "pending"; still waiting
want unit status "started", got "pending"; still waiting
want unit status "started", got "pending"; still waiting
want unit status "started", got "installed"; still waiting
want unit status "started", got "installed"; still waiting
uniter_test.waitHooks{"install", "config-changed", "start"}
waiting for hooks: []string{"install", "config-changed", "start"}
ctx.hooksCompleted: []string{"install", "config-changed", "start"}
uniter_test.verifyCharm{revision:0, dirty:false}
uniter_test.waitHooks{}
waiting for hooks: []string{"install", "config-changed", "start"}
ctx.hooksCompleted: []string{"install", "config-changed", "start"}
uniter_test.addRelation{waitJoin:false}
uniter_test.addRelationUnit{}
uniter_test.waitHooks{"db-relation-joined mysql/0 db:0", "db-relation-changed mysql/0 db:0"}
waiting for hooks: []string{"install", "config-changed", "start", "db-relation-joined mysql/0 db:0", "db-relation-changed mysql/0 db:0"}
ctx.hooksCompleted: []string{"install", "config-changed", "start"}
ctx.hooksCompleted: []string{"install", "config-changed", "start"}
ctx.hooksCompleted: []string{"install", "config-changed", "start", "db-relation-joined mysql/0 db:0"}
ctx.hooksCompleted: []string{"install", "config-changed", "start", "db-relation-joined mysql/0 db:0", "db-relation-changed mysql/0 db:0"}
uniter_test.verifyRunning{noHooks:false}
uniter_test.stopUniter{err:""}
uniter_test.startUniter{unitTag:""}
uniter_test.waitHooks{"config-changed"}
waiting for hooks: []string{"install", "config-changed", "start", "db-relation-joined mysql/0 db:0", "db-relation-changed mysql/0 db:0", "config-changed"}
ctx.hooksCompleted: []string{"install", "config-changed", "start", "db-relation-joined mysql/0 db:0", "db-relation-changed mysql/0 db:0"}
ctx.hooksCompleted: []string{"install", "config-changed", "start", "db-relation-joined mysql/0 db:0", "db-relation-changed mysql/0 db:0"}
ctx.hooksCompleted: []string{"install", "config-changed", "start", "db-relation-joined mysql/0 db:0", "db-relation-changed mysql/0 db:0", "config-changed"}
step 1:

uniter_test.custom{f:(func(*gocheck.C, *uniter_test.context))(0x45d290)}
step 2:

uniter_test.waitUniterDead{err:""}
uniter_test.startUniter{unitTag:""}
uniter_test.go:1026:
    s.runUniterTests(c, relationsTests)
uniter_test.go:1392:
    c.Assert(err, gc.Equals, worker.ErrTerminateAgent)
... obtained *erro...

Read more...

Revision history for this message
Ian Booth (wallyworld) wrote :
Download full text (551.3 KiB)

Another one, might be the same, so much text...

FAIL: uniter_test.go:1025: UniterSuite.TestUniterRelations

[LOG] 57.09182 DEBUG juju.environs.configstore Making /tmp/jc18test.kgC/gocheck-7504504064263669287/109/home/ubuntu/.juju/environments
[LOG] 57.16255 INFO juju environs/testing: uploading FAKE tools 1.18.4-precise-amd64
[LOG] 57.16325 INFO juju environs/testing: uploading FAKE tools 1.18.4-precise-amd64
[LOG] 57.16391 INFO juju environs/testing: uploading FAKE tools 1.18.4-precise-amd64
[LOG] 57.16435 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 57.16436 DEBUG juju.environs.tools no series specified when finding tools, looking for any
[LOG] 57.16440 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found
[LOG] 57.16441 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found
[LOG] 57.16443 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found
[LOG] 57.16444 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found
[LOG] 57.16465 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 57.16467 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json
[LOG] 57.16470 INFO juju.environs.bootstrap bootstrapping environment "dummyenv"
[LOG] 57.16472 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=<nil>, version=1.18.4
[LOG] 57.16473 INFO juju.environs.tools reading tools with major.minor version 1.18
[LOG] 57.16474 INFO juju.environs.tools filtering tools by version: 1.18.4
[LOG] 57.16474 INFO juju.environs.tools filtering tools by series: precise
[LOG] 57.16476 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 57.16478 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found
[LOG] 57.16480 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found
[LOG] 57.16487 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found
[LOG] 57.16489 DEBUG juju.environs.simplestreams no mirror index file found
[LOG] 57.16491 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found
[LOG] 57.16492 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:37944/dummyenv/private/tools/streams/v1/index.json"
[LOG] 57.16506 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12.04:armhf" "com.ubuntu.juju:12.04:arm64" "com.ubuntu.juju:12.04:ppc64"] are [{Tue, 13 May 2014 03:06:18 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [c...

Revision history for this message
Andrew Wilkins (axwalk) wrote :

A note for anyone looking at this: the errors reported by rogpeppe and wallyworld have been resolved already, in r2631.

Revision history for this message
Andrew Wilkins (axwalk) wrote :
Changed in juju-core:
status: Triaged → Fix Released
assignee: nobody → William Reade (fwereade)
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.