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

Bug #1571917 reported by Cheryl Jennings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Eric Snow
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: api_test.go:373: NewAPIClientSuite.TestBothError

[LOG] 0:00.026 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.026 INFO juju.environs.testing uploading FAKE tools 1.99.0-precise-amd64
[LOG] 0:00.028 INFO juju.environs.testing uploading FAKE tools 1.99.0-trusty-amd64
[LOG] 0:00.031 INFO juju.environs.testing uploading FAKE tools 1.99.0-wily-amd64
[LOG] 0:00.034 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.034 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.035 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.050 INFO juju.network setting prefer-ipv6 to false
[LOG] 0:00.050 DEBUG juju.environs.bootstrap model "only" supports service/machine networks: true
[LOG] 0:00.050 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:00.050 INFO juju.environs.bootstrap looking for bootstrap tools: version=<nil>
[LOG] 0:00.050 INFO juju.environs.tools finding tools in stream "released"
[LOG] 0:00.050 INFO juju.environs.tools reading tools with major.minor version 1.99
api_test.go:375:
    env, store := s.bootstrapModel(c)
api_test.go:106:
    c.Assert(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"no matching tools available", cause:error(nil), previous:error(nil), file:"github.com/juju/juju/tools/list.go", line:19} ("no matching tools available")
... error stack:
 github.com/juju/juju/tools/list.go:19: no matching tools available

[LOG] 0:00.061 INFO juju.provider.dummy reset model
[LOG] 0:00.071 INFO juju.testing reset successfully reset admin password
[LOG] 0:00.075 INFO juju.testing reset successfully reset admin password

----------------------------------------------------------------------
FAIL: api_test.go:301: NewAPIClientSuite.TestWithSlowConfigConnect

[LOG] 0:00.016 DEBUG juju.environs.tools reading v1.* tools
[LOG] 0:00.016 INFO juju.environs.testing uploading FAKE tools 1.99.0-precise-amd64
[LOG] 0:00.020 INFO juju.environs.testing uploading FAKE tools 1.99.0-trusty-amd64
[LOG] 0:00.023 INFO juju.environs.testing uploading FAKE tools 1.99.0-wily-amd64
[LOG] 0:00.040 INFO juju.environs.tools Writing tools/streams/v1/index2.json
[LOG] 0:00.040 INFO juju.environs.tools Writing tools/streams/v1/index.json
[LOG] 0:00.040 INFO juju.environs.tools Writing tools/streams/v1/com.ubuntu.juju-released-tools.json
[LOG] 0:00.090 INFO juju.network setting prefer-ipv6 to false
[LOG] 0:00.091 DEBUG juju.environs.bootstrap model "only" supports service/machine networks: true
[LOG] 0:00.091 DEBUG juju.environs.bootstrap network management by juju enabled: true
[LOG] 0:00.091 INFO juju.environs.bootstrap looking for bootstrap tools: version=<nil>
[LOG] 0:00.091 INFO juju.environs.tools finding tools in stream "released"
[LOG] 0:00.091 INFO juju.environs.tools reading tools with major.minor version 1.99
api_test.go:304:
    _, store := s.bootstrapModel(c)
api_test.go:106:
    c.Assert(err, jc.ErrorIsNil)
... value *errors.Err = &errors.Err{message:"no matching tools available", cause:error(nil), previous:error(nil), file:"github.com/juju/juju/tools/list.go", line:19} ("no matching tools available")
... error stack:
 github.com/juju/juju/tools/list.go:19: no matching tools available

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta5 → 2.0-rc1
Changed in juju-core:
assignee: nobody → Eric Snow (ericsnowcurrently)
status: Triaged → In Progress
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
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
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.