The following tests fail for this pacakge when xenial is the default lts (from distro-info --lts):
FAIL: bootstrap_test.go:84: BootstrapSuite.SetUpSuite
[LOG] 0:00.004 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.004 INFO juju.environs.testing uploading FAKE tools 1.99.0-precise-amd64
[LOG] 0:00.012 INFO juju.environs.testing uploading FAKE tools 1.99.0-trusty-amd64
[LOG] 0:00.013 INFO juju.environs.testing uploading FAKE tools 1.99.0-wily-amd64
[LOG] 0:00.014 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.015 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.015 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.027 INFO juju.environs.tools finding tools in stream "released"
[LOG] 0:00.027 INFO juju.environs.tools reading tools with major version -1
[LOG] 0:00.027 INFO juju.environs.tools filtering tools by version: 1.99.0
[LOG] 0:00.027 INFO juju.environs.tools filtering tools by series: xenial
[LOG] 0:00.027 DEBUG juju.environs.tools trying datasource "keystone catalog"
[LOG] 0:00.028 DEBUG juju.environs.simplestreams index file has no data for product name(s) ["com.ubuntu.juju:16.04:amd64" "com.ubuntu.juju:16.04:i386" "com.ubuntu.juju:16.04:armhf" "com.ubuntu.juju:16.04:arm64" "com.ubuntu.juju:16.04:ppc64el" "com.ubuntu.juju:16.04:s390x"]
bootstrap_test.go:97:
s.makeTestEnv(c)
bootstrap_test.go:1021:
c.Assert(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"", cause:(*errors.notFound)(0xc8203b2d70), previous:(*errors.Err)(0xc8203b2dc0), file:"github.com/juju/juju/juju/testing/instance.go", line:146} ("no matching tools available")
... error stack:
github.com/juju/juju/tools/list.go:19: no matching tools available
github.com/juju/juju/environs/tools/tools.go:200:
github.com/juju/juju/juju/testing/instance.go:177:
github.com/juju/juju/juju/testing/instance.go:146:
They all pass for me:
date; go test github. com/juju/ juju/cmd/ jujud/. .. ;date com/juju/ juju/cmd/ jujud 8.084s com/juju/ juju/cmd/ jujud/agent 127.115s com/juju/ juju/cmd/ jujud/agent/ machine 0.110s com/juju/ juju/cmd/ jujud/agent/ model 0.049s com/juju/ juju/cmd/ jujud/agent/ testing [no test files] com/juju/ juju/cmd/ jujud/agent/ unit 0.107s com/juju/ juju/cmd/ jujud/agent/ util 0.285s com/juju/ juju/cmd/ jujud/dumplogs [no test files] com/juju/ juju/cmd/ jujud/reboot 5.154s com/juju/ juju/cmd/ jujud/util 0.054s
Thu Apr 21 13:18:42 PDT 2016
ok github.
ok github.
ok github.
ok github.
? github.
ok github.
ok github.
? github.
ok github.
ok github.
Thu Apr 21 13:21:35 PDT 2016