unit tests failing if no jsonschema available

Bug #1695318 reported by Joshua Powers on 2017-06-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Chad Smith

Bug Description

With the recent merge of the validation work the unit tests are now failing on the centos 6 and 7 platforms. Here are the test failures:
centos 6: https://paste.ubuntu.com/24749874/
centos 7: https://paste.ubuntu.com/24749876/

Steps to reproduce:
1. lxc launch images:centos/[6|7] c[6|7]
2. lxc exec c[6|7] bash
3. yum install epel-release -y
4. install dependencies
5. git clone https://git.launchpad.net/cloud-init
6. cd cloud-init
7. nosetests tests/unittests

Expected behavior:
Tests pass with no failures

Chad Smith (chad.smith) on 2017-06-02
Changed in cloud-init:
status: New → In Progress
assignee: nobody → Chad Smith (chad.smith)
Scott Moser (smoser) wrote :

I updated the subject.
The unit tests fail also on ubuntu... in our daily builds.


I"m going to fix devel by adding the build dependency.
the others will have to skip as we dont want to add it there.

summary: - centos 6/7 schema unittests failing
+ unit tests failing if no jsonschema available

This bug is believed to be fixed in cloud-init in 17.1. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers