FAIL: managedstorage_test trusty ppc64

Bug #1336089 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Bodie Solomon

Bug Description

Unit tests fail on trusty ppc64 (and only on this arch) in 1.19.5 (master). Other archs and 1.20 branch are fine. This failure was introduced in a recent revision.

From http://juju-ci.vapour.ws:8080/job/run-unit-tests-trusty-ppc64el/670/console

----------------------------------------------------------------------
FAIL: managedstorage_test.go:241: com_juju_juju_state_storage_test.TestRemove.pN59_github.com_juju_juju_state_storage_test.managedStorageSuite

[LOG] 0:00.006 DEBUG juju.storage resource catalog entry created with id "05d3b585dcf76e70fd4833150ed7db0e37bc1c59b94f4fe8c0a062a4be52f11926fcbb81001a32ad47ad119b36b156ac"
[LOG] 0:00.013 DEBUG juju.storage managed resource entry created with path "environs/env/path/to/blob"
managedstorage_test.go:251:
    c.Assert(err, gc.NotNil)
... value = nil

[LOG] 0:00.022 INFO juju.testing reset successfully reset admin password

----------------------------------------------------------------------
FAIL: resourcecatalog_test.go:135: com_juju_juju_state_storage_test.TestRemoveOnlyRecord.pN60_github.com_juju_juju_state_storage_test.resourceCatalogSuite

resourcecatalog_test.go:139:
    c.Assert(wasDeleted, jc.IsTrue)
... obtained bool = false

[LOG] 0:00.022 INFO juju.testing reset successfully reset admin password
OOPS: 33 passed, 2 FAILED
--- FAIL: Test (0.88 seconds)
FAIL
FAIL github.com/juju/juju/state/storage 1.246s

Revision history for this message
Curtis Hovey (sinzui) wrote :
Download full text (18.9 KiB)

This bug has gotten worse. Another test now consistently fails

FAIL: filter_test.go:508: com_juju_juju_worker_uniter.TestActionEvents.pN46_github.com_juju_juju_worker_uniter.FilterSuite

[LOG] 0:00.050 DEBUG juju.environs.configstore Making /tmp/gocheck-5577006791947779410/2/home/ubuntu/.juju/environments
[LOG] 0:00.220 INFO juju.environs.testing uploading FAKE tools 1.21-alpha1-precise-amd64
[LOG] 0:00.220 INFO juju.environs.testing uploading FAKE tools 1.21-alpha1-precise-amd64
[LOG] 0:00.221 INFO juju.environs.testing uploading FAKE tools 1.21-alpha1-trusty-ppc64
[LOG] 0:00.221 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 0:00.221 DEBUG juju.environs.tools no series specified when finding tools, looking for any
[LOG] 0:00.222 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.222 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found
[LOG] 0:00.222 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.222 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found
[LOG] 0:00.222 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.223 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json
[LOG] 0:00.223 DEBUG juju.environs.bootstrap environment "dummyenv" supports service/machine networks: true
[LOG] 0:00.223 INFO juju.environs.bootstrap bootstrapping environment "dummyenv"
[LOG] 0:00.223 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="precise", arch=<nil>, version=1.21-alpha1
[LOG] 0:00.223 INFO juju.environs.tools reading tools with major.minor version 1.21
[LOG] 0:00.223 INFO juju.environs.tools filtering tools by version: 1.21-alpha1
[LOG] 0:00.223 INFO juju.environs.tools filtering tools by series: precise
[LOG] 0:00.223 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 0:00.223 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.223 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found
[LOG] 0:00.223 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.223 DEBUG juju.environs.simplestreams no mirror index file found
[LOG] 0:00.223 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found
[LOG] 0:00.223 DEBUG juju.environs.simplestreams read metadata index at "http://127.0.0.1:58043/dummyenv/private/tools/streams/v1/index.json"
[LOG] 0:00.223 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:12.04:amd64" "com.ubuntu.juju:12.04:i386" "com.ubuntu.juju:12...

Revision history for this message
Curtis Hovey (sinzui) wrote :

Fixed by commit 9c2afa1 Merge pull request #312 from binary132/flaky-action-queue-test-fix

Changed in juju-core:
assignee: nobody → Bodie Solomon (binary132)
status: Triaged → Fix Committed
Revision history for this message
Dave Cheney (dave-cheney) wrote : Re: [Bug 1336089] Re: FAIL: managedstorage_test trusty ppc64

This has nothing to do with storage, it's a flaky test associated with Actions

[LOG] 0:00.716 DEBUG juju.worker.uniter.filter got 5 actions
[LOG] 0:00.716 DEBUG juju.worker.uniter.filter sent action event
filter_test.go:490:
    c.Assert(event.ActionId, gc.Equals, id)
... obtained string = "wordpress/0_a_3"
... expected string = "wordpress/0_a_1"

[LOG] 0:00.719 DEBUG juju.state.apiserver <- [2] unit-wordpress-0
{"RequestId":25,"Type":"StringsWatcher","Id":"4","

Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → 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.