github.com/juju/juju/cmd/jujud unit tests fail if xenial is the LTS

Bug #1571914 reported by Cheryl Jennings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Reed O'Brien
juju-core
Fix Released
Critical
Reed O'Brien
1.25
Fix Released
Critical
Reed O'Brien

Bug Description

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:

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta5 → 2.0-rc1
Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Reed O'Brien (reedobrien)
Revision history for this message
Reed O'Brien (reedobrien) wrote :

They all pass for me:

date; go test github.com/juju/juju/cmd/jujud/... ;date
Thu Apr 21 13:18:42 PDT 2016
ok github.com/juju/juju/cmd/jujud 8.084s
ok github.com/juju/juju/cmd/jujud/agent 127.115s
ok github.com/juju/juju/cmd/jujud/agent/machine 0.110s
ok github.com/juju/juju/cmd/jujud/agent/model 0.049s
? github.com/juju/juju/cmd/jujud/agent/testing [no test files]
ok github.com/juju/juju/cmd/jujud/agent/unit 0.107s
ok github.com/juju/juju/cmd/jujud/agent/util 0.285s
? github.com/juju/juju/cmd/jujud/dumplogs [no test files]
ok github.com/juju/juju/cmd/jujud/reboot 5.154s
ok github.com/juju/juju/cmd/jujud/util 0.054s
Thu Apr 21 13:21:35 PDT 2016

Revision history for this message
Reed O'Brien (reedobrien) wrote :

The above is on master with fixes for bug 1568374

Revision history for this message
Cheryl Jennings (cherylj) wrote :

Please also evaluate if these failures exist on 1.25.

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta6 → 2.0-beta7
Martin Packman (gz)
tags: added: blocker test-failure
Martin Packman (gz)
Changed in juju-core:
importance: High → Critical
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta7 → none
milestone: none → 2.0-beta7
Changed in juju-core:
assignee: nobody → Reed O'Brien (reedobrien)
importance: Undecided → Critical
status: New → 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.