No tools available TestValidateConstraintsCalledWithMetadatasource

Bug #1335243 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Ian Booth
1.20
Fix Released
Critical
Ian Booth

Bug Description

All unit test (all archs and series) fail because tools cannot be found by one test. juju 1.20 was updated to 1.20.0, the likely reason.

This is an example from http://juju-ci.vapour.ws:8080/job/run-unit-tests-trusty-amd64/1049/console

FAIL: bootstrap_test.go:506: BootstrapSuite.TestValidateConstraintsCalledWithMetadatasource

[LOG] 0:00.006 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 0:00.006 DEBUG juju.environs.tools no series specified when finding tools, looking for any
[LOG] 0:00.006 DEBUG juju.environs.simplestreams fetchData failed for "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.sjson": stat /tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.sjson: no such file or directory
[LOG] 0:00.007 DEBUG juju.environs.simplestreams cannot load index "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.sjson": invalid URL "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.sjson" not found
[LOG] 0:00.007 DEBUG juju.environs.simplestreams fetchData failed for "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.json": stat /tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.json: no such file or directory
[LOG] 0:00.007 DEBUG juju.environs.simplestreams cannot load index "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.json": invalid URL "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.json" not found
[LOG] 0:00.008 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.008 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json
[LOG] 0:00.008 DEBUG juju.environs.simplestreams fetchData failed for "file:///tmp/gocheck-7504504064263669287/52/images/streams/v1/index.sjson": stat /tmp/gocheck-7504504064263669287/52/images/streams/v1/index.sjson: no such file or directory
[LOG] 0:00.008 DEBUG juju.environs.simplestreams cannot load index "file:///tmp/gocheck-7504504064263669287/52/images/streams/v1/index.sjson": invalid URL "file:///tmp/gocheck-7504504064263669287/52/images/streams/v1/index.sjson" not found
[LOG] 0:00.008 DEBUG juju.environs.simplestreams fetchData failed for "file:///tmp/gocheck-7504504064263669287/52/images/streams/v1/index.json": stat /tmp/gocheck-7504504064263669287/52/images/streams/v1/index.json: no such file or directory
[LOG] 0:00.008 DEBUG juju.environs.simplestreams cannot load index "file:///tmp/gocheck-7504504064263669287/52/images/streams/v1/index.json": invalid URL "file:///tmp/gocheck-7504504064263669287/52/images/streams/v1/index.json" not found
[LOG] 0:00.009 INFO juju.provider.dummy reset environment
[LOG] 0:00.013 INFO juju.testing reset successfully reset admin password
[LOG] 0:00.014 DEBUG juju.environs.configstore Making /tmp/gocheck-7504504064263669287/50/.juju/environments
clearing private storage
removing files: []
[LOG] 0:00.157 WARNING juju.cmd.juju ignoring environments.yaml: using bootstrap config in file "/tmp/gocheck-7504504064263669287/50/.juju/environments/peckham.jenv"
[LOG] 0:00.157 DEBUG juju.environs ConfigForName found bootstrap config map[string]interface {}{"logging-config":"<root>=DEBUG;unit=DEBUG", "syslog-port":6514, "tools-metadata-url":"", "proxy-ssh":true, "secret":"pork", "bootstrap-retry-delay":5, "broken":"", "tools-url":"", "bootstrap-addresses-delay":10, "bootstrap-timeout":600, "image-metadata-url":"", "state-id":"61", "state-port":37017, "authorized-keys":"i-am-a-key", "ca-cert":"-----BEGIN CERTIFICATE-----\nMIIB2jCCAYagAwIBAgIBADALBgkqhkiG9w0BAQUwRTENMAsGA1UEChMEanVqdTE0\nMDIGA1UEAwwranVqdS1nZW5lcmF0ZWQgQ0EgZm9yIGVudmlyb25tZW50ICJwZWNr\naGFtIjAeFw0xNDA2MjcxNjM2NTRaFw0yNDA2MjcxNjQxNTRaMEUxDTALBgNVBAoT\nBGp1anUxNDAyBgNVBAMMK2p1anUtZ2VuZXJhdGVkIENBIGZvciBlbnZpcm9ubWVu\ndCAicGVja2hhbSIwXDANBgkqhkiG9w0BAQEFAANLADBIAkEA0lQdYomW0J03jUeH\nQpH4IiiYlJlAJ7+2sZdjDBqntPfotgF7o2/t62u9r2vbyueaV4e92EyzwjA0974t\nzqvFwwIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAKQwDwYDVR0TAQH/BAUwAwEB/zAd\nBgNVHQ4EFgQUYrAxrKZ95q2YtdViAQHCHcBVNdowHwYDVR0jBBgwFoAUYrAxrKZ9\n5q2YtdViAQHCHcBVNdowCwYJKoZIhvcNAQEFA0EAcvjtJwnZWrPSLY/1yfMXQUO8\n9IT7H7b928EOMbrVK9ZTTq5GnMv9vdbf6xOdXXDAaF69+eiHt+f5KrqFkcz0pw==\n-----END CERTIFICATE-----\n", "ca-private-key":"-----BEGIN RSA PRIVATE KEY-----\nMIIBOgIBAAJBANJUHWKJltCdN41Hh0KR+CIomJSZQCe/trGXYwwap7T36LYBe6Nv\n7etrva9r28rnmleHvdhMs8IwNPe+Lc6rxcMCAwEAAQJBALjFBi97WY8YniWx0aRs\noUQ4z5mza4W/yJoIuQ14GR5DF2sNTCXS4hzF5ph+/wCJ/BuafKpoTp9yT6GYuTRr\n+sECIQDmtxdy+puhB8kO+6Rrs6MzM8ZUgfC//xBhkaoR3iJuIwIhAOlhDyp4aTFR\nW6N7XiVy9qy4hTe1yUiHCMLjojQLKDPhAiBXbNXj6fcDRDH6DX02mrGi+2GSMFMM\nThjlAA+UCbq+RQIhAI7miIPH4Rl6qLMMulQR9etCvQekvxAy5vF2sv5NCpvhAh8B\nMFEqF7P/gEILSTq2tHdurlTqDS3EX5e4tcfHhLfB\n-----END RSA PRIVATE KEY-----\n", "charm-store-auth":"", "development":false, "image-stream":"", "lxc-clone-aufs":false, "default-series":"raring", "ssl-hostname-verification":true, "state-server":false, "api-port":17070, "firewall-mode":"instance", "name":"peckham", "type":"dummy", "admin-secret":"arble", "test-mode":false}
[LOG] 0:00.172 DEBUG juju.environs.configstore Making /tmp/gocheck-7504504064263669287/50/.juju/environments
[LOG] 0:00.172 INFO juju.environs environment info already exists; using New not Prepare
[LOG] 0:00.216 DEBUG juju.environs.bootstrap environment "peckham" supports service/machine networks: true
[LOG] 0:00.217 INFO juju.environs.bootstrap bootstrapping environment "peckham"
[LOG] 0:00.217 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="raring", arch=<nil>, version=<nil>
[LOG] 0:00.217 INFO juju.environs.tools filtering tools by released version
[LOG] 0:00.217 INFO juju.environs.tools reading tools with major.minor version 1.20
[LOG] 0:00.217 INFO juju.environs.tools filtering tools by series: raring
[LOG] 0:00.217 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 0:00.217 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.217 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found
[LOG] 0:00.217 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.217 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found
[LOG] 0:00.217 INFO juju.utils hostname SSL verification enabled
[LOG] 0:00.217 DEBUG juju.environs.simplestreams fetchData failed for "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.sjson": cannot find URL "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.sjson" not found
[LOG] 0:00.217 DEBUG juju.environs.simplestreams cannot load index "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.sjson": invalid URL "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.sjson" not found
[LOG] 0:00.217 INFO juju.utils hostname SSL verification enabled
[LOG] 0:00.416 INFO juju.utils hostname SSL verification enabled
[LOG] 0:00.416 DEBUG juju.environs.simplestreams fetchData failed for "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/mirrors.json": cannot find URL "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/mirrors.json" not found
[LOG] 0:00.417 DEBUG juju.environs.simplestreams no mirror index file found
[LOG] 0:00.417 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found
[LOG] 0:00.417 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/gocheck-7504504064263669287/51/tools/streams/v1/index.json"
[LOG] 0:00.417 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:13.04:amd64" "com.ubuntu.juju:13.04:i386" "com.ubuntu.juju:13.04:armhf" "com.ubuntu.juju:13.04:arm64" "com.ubuntu.juju:13.04:ppc64"] are [{Fri, 27 Jun 2014 16:41:54 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64 com.ubuntu.juju:12.04:i386 com.ubuntu.juju:12.10:amd64 com.ubuntu.juju:12.10:i386 com.ubuntu.juju:13.04:amd64 com.ubuntu.juju:14.04:amd64 com.ubuntu.juju:14.04:i386]}]
[LOG] 0:00.417 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json"
[LOG] 0:00.417 INFO juju.utils hostname SSL verification enabled
[LOG] 0:00.418 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.0.0 amd64 map[20140627:0xc210a23de0]} com.ubuntu.juju:12.04:i386:{ 1.9.0 i386 map[20140627:0xc210a23f00]} com.ubuntu.juju:12.10:amd64:{ 1.0.0 amd64 map[20140627:0xc21079d060]} com.ubuntu.juju:12.10:i386:{ 1.0.0 i386 map[20140627:0xc21079d180]} com.ubuntu.juju:13.04:amd64:{ 1.0.0 amd64 map[20140627:0xc21079d2a0]} com.ubuntu.juju:14.04:amd64:{ 1.2.0 amd64 map[20140627:0xc21079d3c0]} com.ubuntu.juju:14.04:i386:{ 1.2.0 i386 map[20140627:0xc21079d4e0]}] map[] Fri, 27 Jun 2014 16:41:54 +0000 products:1.0 com.ubuntu.juju:released:tools }
[LOG] 0:00.418 DEBUG juju.environs.simplestreams index has no matching records
bootstrap_test.go:522:
    c.Assert(err, gc.IsNil)
... value *errors.errorString = &errors.errorString{s:"cannot upload bootstrap tools: Juju cannot bootstrap because no tools are available for your environment.\nYou may want to use the 'tools-metadata-url' configuration setting to specify the tools location.\n"} ("cannot upload bootstrap tools: Juju cannot bootstrap because no tools are available for your environment.\nYou may want to use the 'tools-metadata-url' configuration setting to specify the tools location.\n")

[LOG] 0:00.427 INFO juju.testing reset successfully reset admin password
[LOG] 0:00.427 INFO juju.provider.dummy reset environment
[LOG] 0:00.430 INFO juju.testing reset successfully reset admin password

----------------------------------------------------------------------
FAIL: bootstrap_test.go:526: BootstrapSuite.TestValidateConstraintsCalledWithoutMetadatasource

[LOG] 0:00.010 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 0:00.010 DEBUG juju.environs.tools no series specified when finding tools, looking for any
[LOG] 0:00.010 DEBUG juju.environs.simplestreams fetchData failed for "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.sjson": stat /tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.sjson: no such file or directory
[LOG] 0:00.010 DEBUG juju.environs.simplestreams cannot load index "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.sjson": invalid URL "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.sjson" not found
[LOG] 0:00.010 DEBUG juju.environs.simplestreams fetchData failed for "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.json": stat /tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.json: no such file or directory
[LOG] 0:00.010 DEBUG juju.environs.simplestreams cannot load index "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.json": invalid URL "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.json" not found
[LOG] 0:00.031 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.032 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju:released:tools.json
[LOG] 0:00.032 INFO juju.provider.dummy reset environment
[LOG] 0:00.039 INFO juju.testing reset successfully reset admin password
[LOG] 0:00.039 DEBUG juju.environs.configstore Making /tmp/gocheck-7504504064263669287/54/.juju/environments
clearing private storage
removing files: []
[LOG] 0:00.208 WARNING juju.cmd.juju ignoring environments.yaml: using bootstrap config in file "/tmp/gocheck-7504504064263669287/54/.juju/environments/peckham.jenv"
[LOG] 0:00.209 DEBUG juju.environs ConfigForName found bootstrap config map[string]interface {}{"bootstrap-timeout":600, "image-stream":"", "logging-config":"<root>=DEBUG;unit=DEBUG", "charm-store-auth":"", "development":false, "firewall-mode":"instance", "state-server":false, "tools-url":"", "default-series":"raring", "proxy-ssh":true, "test-mode":false, "type":"dummy", "api-port":17070, "broken":"", "ca-cert":"-----BEGIN CERTIFICATE-----\nMIIB2jCCAYagAwIBAgIBADALBgkqhkiG9w0BAQUwRTENMAsGA1UEChMEanVqdTE0\nMDIGA1UEAwwranVqdS1nZW5lcmF0ZWQgQ0EgZm9yIGVudmlyb25tZW50ICJwZWNr\naGFtIjAeFw0xNDA2MjcxNjM2NTVaFw0yNDA2MjcxNjQxNTVaMEUxDTALBgNVBAoT\nBGp1anUxNDAyBgNVBAMMK2p1anUtZ2VuZXJhdGVkIENBIGZvciBlbnZpcm9ubWVu\ndCAicGVja2hhbSIwXDANBgkqhkiG9w0BAQEFAANLADBIAkEAwPNGa9LDmr7NBJ9g\nVvNyQUEon2tzQGS/GWVpP+hw9FTgseYF0pKyeBbqANP19qXmYTzZ2yNRT5wKOLDY\njnwf7QIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAKQwDwYDVR0TAQH/BAUwAwEB/zAd\nBgNVHQ4EFgQUOIK6dE1I4TGgUuEtoV1UJhMcdZcwHwYDVR0jBBgwFoAUOIK6dE1I\n4TGgUuEtoV1UJhMcdZcwCwYJKoZIhvcNAQEFA0EAb6dhA0gUt1J6DvxfNYuTiBq/\nTVVEbTBfV7HQ5wtdapSxBOJ/JHHEavUpeHNOE+w6a/xg9zzgV+PBn0H7vQW72Q==\n-----END CERTIFICATE-----\n", "image-metadata-url":"", "name":"peckham", "ssl-hostname-verification":true, "syslog-port":6514, "authorized-keys":"i-am-a-key", "bootstrap-addresses-delay":10, "bootstrap-retry-delay":5, "ca-private-key":"-----BEGIN RSA PRIVATE KEY-----\nMIIBOgIBAAJBAMDzRmvSw5q+zQSfYFbzckFBKJ9rc0BkvxllaT/ocPRU4LHmBdKS\nsngW6gDT9fal5mE82dsjUU+cCjiw2I58H+0CAwEAAQI/NMJQfysiUS3a4Wiy7xOi\nKjWm5fB7kx/5IPiZzt/AAw64F/SNhacD43XpqZXa7C0aVqxIEl29XqIbw9HD+Qzp\nAiEA+EVxOVSAJCBeyx361OW+hkJYje3IjYprDpzBjDkh/AsCIQDG9PYXi/NVgd1r\nPHR+S02usf9JNCDwn0GFH9sSlDJW5wIgT+2zXPyqYHcXbZcSSPZKF1lGvzK9bWwR\nuVuYKDfAjC8CIQC0ThGsOz/WMS/53DryrcoD1Po3XE+x4ZIeVEVUbAvG5wIhAO3I\nOBF88F2L3ZBCRmoSoT37jS6urIGMdSeHY6pVlx9x\n-----END RSA PRIVATE KEY-----\n", "lxc-clone-aufs":false, "state-port":37017, "tools-metadata-url":"", "admin-secret":"arble", "secret":"pork", "state-id":"62"}
[LOG] 0:00.223 DEBUG juju.environs.configstore Making /tmp/gocheck-7504504064263669287/54/.juju/environments
[LOG] 0:00.224 INFO juju.environs environment info already exists; using New not Prepare
[LOG] 0:00.269 DEBUG juju.environs.bootstrap environment "peckham" supports service/machine networks: true
[LOG] 0:00.269 INFO juju.environs.bootstrap bootstrapping environment "peckham"
[LOG] 0:00.269 DEBUG juju.environs.bootstrap looking for bootstrap tools: series="raring", arch=<nil>, version=<nil>
[LOG] 0:00.269 INFO juju.environs.tools filtering tools by released version
[LOG] 0:00.269 INFO juju.environs.tools reading tools with major.minor version 1.20
[LOG] 0:00.269 INFO juju.environs.tools filtering tools by series: raring
[LOG] 0:00.269 DEBUG juju.environs.tools no architecture specified when finding tools, looking for any
[LOG] 0:00.269 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.269 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found
[LOG] 0:00.269 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.269 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found
[LOG] 0:00.269 INFO juju.utils hostname SSL verification enabled
[LOG] 0:00.269 DEBUG juju.environs.simplestreams fetchData failed for "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.sjson": cannot find URL "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.sjson" not found
[LOG] 0:00.269 DEBUG juju.environs.simplestreams cannot load index "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.sjson": invalid URL "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.sjson" not found
[LOG] 0:00.269 INFO juju.utils hostname SSL verification enabled
[LOG] 0:00.269 INFO juju.utils hostname SSL verification enabled
[LOG] 0:00.281 DEBUG juju.environs.simplestreams fetchData failed for "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/mirrors.json": cannot find URL "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/mirrors.json" not found
[LOG] 0:00.281 DEBUG juju.environs.simplestreams no mirror index file found
[LOG] 0:00.281 DEBUG juju.environs.simplestreams no mirror information available for { }: mirror data for "com.ubuntu.juju:released:tools" not found
[LOG] 0:00.281 DEBUG juju.environs.simplestreams read metadata index at "file:///tmp/gocheck-7504504064263669287/55/tools/streams/v1/index.json"
[LOG] 0:00.281 DEBUG juju.environs.simplestreams candidate matches for products ["com.ubuntu.juju:13.04:amd64" "com.ubuntu.juju:13.04:i386" "com.ubuntu.juju:13.04:armhf" "com.ubuntu.juju:13.04:arm64" "com.ubuntu.juju:13.04:ppc64"] are [{Fri, 27 Jun 2014 16:41:55 +0000 products:1.0 content-download [] streams/v1/com.ubuntu.juju:released:tools.json [com.ubuntu.juju:12.04:amd64 com.ubuntu.juju:12.04:i386 com.ubuntu.juju:12.10:amd64 com.ubuntu.juju:12.10:i386 com.ubuntu.juju:13.04:amd64 com.ubuntu.juju:14.04:amd64 com.ubuntu.juju:14.04:i386]}]
[LOG] 0:00.281 DEBUG juju.environs.simplestreams finding products at path "streams/v1/com.ubuntu.juju:released:tools.json"
[LOG] 0:00.281 INFO juju.utils hostname SSL verification enabled
[LOG] 0:00.283 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.0.0 amd64 map[20140627:0xc210df3360]} com.ubuntu.juju:12.04:i386:{ 1.9.0 i386 map[20140627:0xc210df34e0]} com.ubuntu.juju:12.10:amd64:{ 1.0.0 amd64 map[20140627:0xc210df3660]} com.ubuntu.juju:12.10:i386:{ 1.0.0 i386 map[20140627:0xc210df3780]} com.ubuntu.juju:13.04:amd64:{ 1.0.0 amd64 map[20140627:0xc210df38a0]} com.ubuntu.juju:14.04:amd64:{ 1.2.0 amd64 map[20140627:0xc210df39c0]} com.ubuntu.juju:14.04:i386:{ 1.2.0 i386 map[20140627:0xc210df3ae0]}] map[] Fri, 27 Jun 2014 16:41:55 +0000 products:1.0 com.ubuntu.juju:released:tools }
[LOG] 0:00.283 DEBUG juju.environs.simplestreams index has no matching records
bootstrap_test.go:536:
    c.Assert(err, gc.IsNil)
... value *errors.errorString = &errors.errorString{s:"cannot upload bootstrap tools: Juju cannot bootstrap because no tools are available for your environment.\nYou may want to use the 'tools-metadata-url' configuration setting to specify the tools location.\n"} ("cannot upload bootstrap tools: Juju cannot bootstrap because no tools are available for your environment.\nYou may want to use the 'tools-metadata-url' configuration setting to specify the tools location.\n")

[LOG] 0:00.290 INFO juju.testing reset successfully reset admin password
[LOG] 0:00.291 INFO juju.provider.dummy reset environment
[LOG] 0:00.296 INFO juju.testing reset successfully reset admin password
OOPS: 243 passed, 2 FAILED
--- FAIL: TestPackage (288.24 seconds)
FAIL
FAIL github.com/juju/juju/cmd/juju 288.454s

The error also happens on
http://juju-ci.vapour.ws:8080/job/run-unit-tests-utopic-amd64/180/console
http://juju-ci.vapour.ws:8080/job/run-unit-tests-trusty-ppc64el/650/console
http://juju-ci.vapour.ws:8080/job/run-unit-tests-precise-i386/261/console
http://juju-ci.vapour.ws:8080/job/run-unit-tests-precise-amd64/1033/console

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

The version we are testing is 1.20.0. The tarball juju-core_1.20.0.tar.gz. But the error log doesn't appear to be looking for 1.20.0.
   1.2.0
eg,
   [LOG] 0:00.418 DEBUG juju.environs.simplestreams metadata: &{map[com.ubuntu.juju:12.04:amd64:{ 1.0.0 amd64 map[20140627:0xc210a23de0]} com.ubuntu.juju:12.04:i386:{ 1.9.0 i386 map[20140627:0xc210a23f00]} com.ubuntu.juju:12.10:amd64:{ 1.0.0 amd64 map[20140627:0xc21079d060]} com.ubuntu.juju:12.10:i386:{ 1.0.0 i386 map[20140627:0xc21079d180]} com.ubuntu.juju:13.04:amd64:{ 1.0.0 amd64 map[20140627:0xc21079d2a0]} com.ubuntu.juju:14.04:amd64:{ 1.2.0 amd64 map[20140627:0xc21079d3c0]} com.ubuntu.juju:14.04:i386:{ 1.2.0 i386 map[20140627:0xc21079d4e0]}] map[]

1.2.0 != 1.20.0. Looks like the version was parsed incorrectly.

Ian Booth (wallyworld)
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Revision history for this message
Ian Booth (wallyworld) wrote :

It's not a parsing issue - the 1.2.0 version (along with 1.0.0, 1.9.0 and 2.0.0) are the versions for which the test generates fake tools metadata. The test fails the same way of vesion.Current is set to 1.22 for example.

Revision history for this message
Ian Booth (wallyworld) wrote :

The issue is that we don't allow uploading of tools for non dev versions of Juju. And currently, even minor numbers are considered stable (non dev). So the test needs to patch the version number before running.

Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Critical → High
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.