TestContainerProvisionerStarted fails due to unknown container type: lxd

Bug #1520247 reported by Martin Packman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Unassigned

Bug Description

TestContainerProvisionerStarted fails on systems with go 1.3 or later but without some level of lxd support.

<http://reports.vapour.ws/releases/issue/5614b0e7749a5613c5aff2e0>

<http://reports.vapour.ws/releases/3365/job/run-unit-tests-wily-amd64/attempt/921>

FAIL: container_initialisation_test.go:174: ContainerSetupSuite.TestContainerProvisionerStarted
...
[LOG] 0:01.015 WARNING juju.provisioner not stopping machine agent container watcher due to error: initialising container infrastructure on host machine: unknown container type: lxd
[LOG] 0:01.015 ERROR juju.provisioner starting container provisioner for lxd: initialising container infrastructure on host machine: unknown container type: lxd
...
container_initialisation_test.go:192:
    s.assertContainerProvisionerStarted(c, m, ctype)
container_initialisation_test.go:171:
    // the container worker should have created the provisioner
    c.Assert(provisionerStarted, jc.IsTrue)
... obtained bool = false
...
OOPS: 101 passed, 3 FAILED
--- FAIL: TestPackage (59.59s)
FAIL
FAIL github.com/juju/juju/worker/provisioner 59.656s

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.26-alpha2 → 1.26-alpha3
Changed in juju-core:
milestone: 1.26-alpha3 → 2.0-alpha2
Changed in juju-core:
milestone: 2.0-alpha2 → 2.0-alpha3
Changed in juju-core:
milestone: 2.0-alpha3 → 2.0-beta4
Revision history for this message
John A Meinel (jameinel) wrote :

I'm pretty sure Tycho landed a patch for this to check if LXD is available even on things like gcc-go where the original runtime.Version() check wasn't working.

Changed in juju-core:
status: Triaged → Fix Committed
Changed in juju-core:
milestone: 2.0-beta4 → 2.0-beta3
Aaron Bentley (abentley)
tags: added: tech-debt
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
tags: added: 2.0-count
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta3 → none
milestone: none → 2.0-beta3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.