Several tests in the maas provider are trying to access simplestreams over the network, and they fail without a working network connection. We should mock out these URLs for the tests, or perhaps only run them when asked with a specific flag.
----------------------------------------------------------------------
FAIL: environ_whitebox_test.go:599: environSuite.TestConstraintsValidator
[LOG] 0:00.099 DEBUG juju.environs.simplestreams fetchData failed for "images/streams/v1/index.sjson": file 'dfb69555-0bc4-4d1f-85f2-4ee390974984-images/streams/v1/index.sjson' not found not found
[LOG] 0:00.099 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "images/streams/v1/index.sjson" not found
[LOG] 0:00.100 DEBUG juju.environs.simplestreams fetchData failed for "images/streams/v1/index.json": file 'dfb69555-0bc4-4d1f-85f2-4ee390974984-images/streams/v1/index.json' not found not found
[LOG] 0:00.100 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "images/streams/v1/index.json" not found
[LOG] 0:00.100 INFO juju.utils hostname SSL verification enabled
[LOG] 0:20.119 DEBUG juju.environs.simplestreams Got error requesting "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson": Get http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson: dial tcp: lookup cloud-images.ubuntu.com: no such host
[LOG] 0:20.119 DEBUG juju.environs.simplestreams fetchData failed for "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson" not found
[LOG] 0:20.119 DEBUG juju.environs.simplestreams cannot load index "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson" not found
[LOG] 0:20.119 INFO juju.utils hostname SSL verification enabled
[LOG] 0:40.135 DEBUG juju.environs.simplestreams Got error requesting "http://cloud-images.ubuntu.com/releases/streams/v1/index.json": Get http://cloud-images.ubuntu.com/releases/streams/v1/index.json: dial tcp: lookup cloud-images.ubuntu.com: no such host
[LOG] 0:40.135 DEBUG juju.environs.simplestreams fetchData failed for "http://cloud-images.ubuntu.com/releases/streams/v1/index.json": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.json" not found
[LOG] 0:40.135 DEBUG juju.environs.simplestreams cannot load index "http://cloud-images.ubuntu.com/releases/streams/v1/index.json": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.json" not found
environ_whitebox_test.go:602:
c.Assert(err, gc.IsNil)
... value *errors.notFound = &errors.notFound{wrapper:errors.wrapper{err:error(nil), msg:"invalid URL \"http://cloud-images.ubuntu.com/releases/streams/v1/index.json\" not found"}} ("invalid URL \"http://cloud-images.ubuntu.com/releases/streams/v1/index.json\" not found")
----------------------------------------------------------------------
FAIL: environ_whitebox_test.go:609: environSuite.TestConstraintsValidatorVocab
[LOG] 0:00.095 DEBUG juju.environs.simplestreams fetchData failed for "images/streams/v1/index.sjson": file 'dfb69555-0bc4-4d1f-85f2-4ee390974984-images/streams/v1/index.sjson' not found not found
[LOG] 0:00.095 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "images/streams/v1/index.sjson" not found
[LOG] 0:00.097 DEBUG juju.environs.simplestreams fetchData failed for "images/streams/v1/index.json": file 'dfb69555-0bc4-4d1f-85f2-4ee390974984-images/streams/v1/index.json' not found not found
[LOG] 0:00.097 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "images/streams/v1/index.json" not found
[LOG] 0:00.097 INFO juju.utils hostname SSL verification enabled
[LOG] 0:20.113 DEBUG juju.environs.simplestreams Got error requesting "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson": Get http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson: dial tcp: lookup cloud-images.ubuntu.com: no such host
[LOG] 0:20.113 DEBUG juju.environs.simplestreams fetchData failed for "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson" not found
[LOG] 0:20.113 DEBUG juju.environs.simplestreams cannot load index "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson" not found
[LOG] 0:20.113 INFO juju.utils hostname SSL verification enabled
[LOG] 0:40.129 DEBUG juju.environs.simplestreams Got error requesting "http://cloud-images.ubuntu.com/releases/streams/v1/index.json": Get http://cloud-images.ubuntu.com/releases/streams/v1/index.json: dial tcp: lookup cloud-images.ubuntu.com: no such host
[LOG] 0:40.129 DEBUG juju.environs.simplestreams fetchData failed for "http://cloud-images.ubuntu.com/releases/streams/v1/index.json": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.json" not found
[LOG] 0:40.129 DEBUG juju.environs.simplestreams cannot load index "http://cloud-images.ubuntu.com/releases/streams/v1/index.json": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.json" not found
environ_whitebox_test.go:612:
c.Assert(err, gc.IsNil)
... value *errors.notFound = &errors.notFound{wrapper:errors.wrapper{err:error(nil), msg:"invalid URL \"http://cloud-images.ubuntu.com/releases/streams/v1/index.json\" not found"}} ("invalid URL \"http://cloud-images.ubuntu.com/releases/streams/v1/index.json\" not found")
----------------------------------------------------------------------
FAIL: environ_whitebox_test.go:592: environSuite.TestSupportedArchitectures
[LOG] 0:00.060 DEBUG juju.environs.simplestreams fetchData failed for "images/streams/v1/index.sjson": file 'dfb69555-0bc4-4d1f-85f2-4ee390974984-images/streams/v1/index.sjson' not found not found
[LOG] 0:00.060 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.sjson": invalid URL "images/streams/v1/index.sjson" not found
[LOG] 0:00.061 DEBUG juju.environs.simplestreams fetchData failed for "images/streams/v1/index.json": file 'dfb69555-0bc4-4d1f-85f2-4ee390974984-images/streams/v1/index.json' not found not found
[LOG] 0:00.061 DEBUG juju.environs.simplestreams cannot load index "streams/v1/index.json": invalid URL "images/streams/v1/index.json" not found
[LOG] 0:00.061 INFO juju.utils hostname SSL verification enabled
[LOG] 0:20.079 DEBUG juju.environs.simplestreams Got error requesting "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson": Get http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson: dial tcp: lookup cloud-images.ubuntu.com: no such host
[LOG] 0:20.079 DEBUG juju.environs.simplestreams fetchData failed for "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson" not found
[LOG] 0:20.079 DEBUG juju.environs.simplestreams cannot load index "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson" not found
[LOG] 0:20.079 INFO juju.utils hostname SSL verification enabled
[LOG] 0:40.094 DEBUG juju.environs.simplestreams Got error requesting "http://cloud-images.ubuntu.com/releases/streams/v1/index.json": Get http://cloud-images.ubuntu.com/releases/streams/v1/index.json: dial tcp: lookup cloud-images.ubuntu.com: no such host
[LOG] 0:40.094 DEBUG juju.environs.simplestreams fetchData failed for "http://cloud-images.ubuntu.com/releases/streams/v1/index.json": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.json" not found
[LOG] 0:40.094 DEBUG juju.environs.simplestreams cannot load index "http://cloud-images.ubuntu.com/releases/streams/v1/index.json": invalid URL "http://cloud-images.ubuntu.com/releases/streams/v1/index.json" not found
environ_whitebox_test.go:595:
c.Assert(err, gc.IsNil)
... value *errors.notFound = &errors.notFound{wrapper:errors.wrapper{err:error(nil), msg:"invalid URL \"http://cloud-images.ubuntu.com/releases/streams/v1/index.json\" not found"}} ("invalid URL \"http://cloud-images.ubuntu.com/releases/streams/v1/index.json\" not found")
OOPS: 88 passed, 3 FAILED
--- FAIL: TestMAAS (135.57 seconds)
FAIL
FAIL launchpad.net/juju-core/provider/maas 135.773s
TestConstraints Validator is still callout out the the net. This is only of the bugs that blocks ppc44el