unit tests failing if no jsonschema available

Bug #1695318 reported by Joshua Powers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Undecided
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)
Changed in cloud-init:
status: New → In Progress
assignee: nobody → Chad Smith (chad.smith)
Revision history for this message
Scott Moser (smoser) wrote :

I updated the subject.
The unit tests fail also on ubuntu... in our daily builds.
see
 https://code.launchpad.net/~cloud-init-dev/+recipe/cloud-init-daily-zesty
 https://code.launchpad.net/~cloud-init-dev/+recipe/cloud-init-daily-yakkety
 https://code.launchpad.net/~cloud-init-dev/+recipe/cloud-init-daily-xenial

and
 https://code.launchpad.net/~cloud-init-dev/+recipe/cloud-init-daily-devel

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
Revision history for this message
Scott Moser (smoser) wrote : Fixed in Cloud-init 17.1

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
Revision history for this message
James Falcon (falcojr) wrote :
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.