worker/resumer test intermittently failing

Bug #1288720 reported by Michael Foord
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Medium
Unassigned

Bug Description

During a full test run I got a worker/resumer test fail. Run on its own it passes.

----------------------------------------------------------------------
FAIL: resumer_test.go:35: ResumerSuite.TestResumerCalls

[LOG] 0:00.600 DEBUG juju.environs.configstore Making /tmp/gocheck-5577006791947779410/0/home/ubuntu/.juju/environments
[LOG] 0:00.658 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.658 INFO juju environs/testing: uploading FAKE tools 1.17.4-saucy-amd64
[LOG] 0:00.660 INFO juju environs/testing: uploading FAKE tools 1.17.4-precise-amd64
[LOG] 0:00.662 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 0:00.662 DEBUG juju.environs.tools no series specified when finding tools, looking for any
[LOG] 0:00.662 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found
[LOG] 0:00.662 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found
[LOG] 0:00.662 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.json": file "tools/streams/v1/index.json" not found not found
[LOG] 0:00.662 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found
[LOG] 0:00.662 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.663 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json
[LOG] 0:00.663 INFO juju.environs.bootstrap bootstrapping environment "dummyenv"
[LOG] 0:00.663 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=<nil>, version=1.17.4
[LOG] 0:00.663 INFO juju.environs.tools reading tools with major.minor version 1.17
[LOG] 0:00.663 INFO juju.environs.tools filtering tools by version: 1.17.4
[LOG] 0:00.663 INFO juju.environs.tools filtering tools by series: precise
[LOG] 0:00.663 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 0:00.663 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/index.sjson": file "tools/streams/v1/index.sjson" not found not found
[LOG] 0:00.663 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found
[LOG] 0:00.663 DEBUG juju.environs.simplestreams fetchData failed for "tools/streams/v1/mirrors.json": file "tools/streams/v1/mirrors.json" not found not found
[LOG] 0:00.663 DEBUG juju.environs.simplestreams no mirror index file found
[LOG] 0:00.663 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found
[LOG] 0:00.663 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:34337/dummyenv/private/tools/streams/v1/index.json"
[LOG] 0:00.663 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:arm"] are [{Thu, 06 Mar 2014 12:28:01 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64 com.ubuntu.juju:13.10:amd64]}]
[LOG] 0:00.663 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json"
[LOG] 0:00.663 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.17.4 amd64 map[20140306:0xc210113a20]} com.ubuntu.juju:13.10:amd64:{ 1.17.4 amd64 map[20140306:0xc210113b40]}] map[] Thu, 06 Mar 2014 12:28:01 +0000 products:1.0 com.ubuntu.juju:released:tools}
[LOG] 0:00.664 INFO juju.environs.bootstrap picked newest version: 1.17.4
[LOG] 0:00.664 INFO juju.provider.dummy would pick tools from 1.17.4-precise-amd64
[LOG] 0:00.664 INFO juju.state opening state; mongo addresses: ["localhost:33911"]; entity ""
[LOG] 0:00.674 INFO juju.state connection established
[LOG] 0:00.718 INFO juju.state adding state server info to legacy environment
[LOG] 0:00.718 INFO juju.state found existing state servers []
[LOG] 0:00.726 INFO juju.state initializing environment
[LOG] 0:00.777 INFO juju.state.apiserver listening on "127.0.0.1:45063"
[LOG] 0:00.794 INFO juju.state opening state; mongo addresses: ["localhost:33911"]; entity ""
[LOG] 0:00.796 INFO juju.state connection established
[LOG] 0:00.815 INFO juju juju: authorization error while connecting to state server; retrying
[LOG] 0:00.815 INFO juju.state opening state; mongo addresses: ["localhost:33911"]; entity ""
[LOG] 0:00.819 INFO juju.state connection established
[LOG] 0:00.824 INFO juju.state adding state server info to legacy environment
[LOG] 0:00.824 INFO juju.state found existing state servers []
[LOG] 0:00.886 INFO juju state/api: dialing "wss://127.0.0.1:45063/"
[LOG] 0:00.902 INFO juju.state.apiserver [1] API connection from 127.0.0.1:50532
[LOG] 0:00.902 INFO juju state/api: connection established
[LOG] 0:00.903 DEBUG juju.state.apiserver <- [1] <unknown> {"RequestId":1,"Type":"Admin","Request":"Login","Params":{"AuthTag":"user-admin","Password":"dummy-secret","Nonce":""}}
[LOG] 0:00.904 DEBUG juju.state.apiserver -> [1] user-admin 919.718us {"RequestId":1,"Response":{}} Admin[""].Login
resumer_test.go:57:
    c.Assert(diff <= 2*testInterval, gc.Equals, true)
... obtained bool = false
... expected bool = true

[LOG] 0:01.007 INFO juju.provider.dummy reset environment
[LOG] 0:01.007 INFO juju.state.apiserver [1] user-admin API connection terminated after 105.035905ms
[LOG] 0:01.013 INFO juju Reset successfully reset admin password
[LOG] 0:01.031 INFO juju Reset successfully reset admin password
[LOG] 0:01.037 INFO juju Reset successfully reset admin password
OOPS: 1 passed, 1 FAILED
--- FAIL: TestPackage (1.35 seconds)

Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
tags: added: intermittent-failure test-failure
Changed in juju-core:
importance: High → Medium
Curtis Hovey (sinzui)
Changed in juju-core:
status: Triaged → 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.