Created
November 2, 2015 23:07
-
-
Save cholcombe973/a6603ed6e8820ad323d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make test2 | |
Starting Py2 tests... | |
.venv/bin/nosetests -s --nologcapture tests/ | |
........................................................................................................................................................................................................................................juju-log: INFO: Loading kernel module ip6_tables | |
modprobe: ERROR: could not insert 'ip6_tables': Operation not permitted | |
Ejuju-log: INFO: Loading kernel module ip6_tables | |
modprobe: ERROR: could not insert 'ip6_tables': Operation not permitted | |
E.........E........juju-log: INFO: Loading kernel module ip6_tables | |
modprobe: ERROR: could not insert 'ip6_tables': Operation not permitted | |
E............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... | |
====================================================================== | |
ERROR: test_enable_fail (tests.contrib.network.test_ufw.TestUFW) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/chris/repos/charm-helpers-ceph/.venv/local/lib/python2.7/site-packages/mock.py", line 1201, in patched | |
return func(*args, **keywargs) | |
File "/home/chris/repos/charm-helpers-ceph/tests/contrib/network/test_ufw.py", line 62, in test_enable_fail | |
self.assertFalse(ufw.enable()) | |
File "/home/chris/repos/charm-helpers-ceph/charmhelpers/contrib/network/ufw.py", line 136, in enable | |
if not is_ipv6_ok(soft_fail): | |
File "/home/chris/repos/charm-helpers-ceph/charmhelpers/contrib/network/ufw.py", line 101, in is_ipv6_ok | |
raise UFWIPv6Error("IPv6 firewall support broken") | |
UFWIPv6Error: IPv6 firewall support broken | |
====================================================================== | |
ERROR: test_enable_ok (tests.contrib.network.test_ufw.TestUFW) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/chris/repos/charm-helpers-ceph/.venv/local/lib/python2.7/site-packages/mock.py", line 1201, in patched | |
return func(*args, **keywargs) | |
File "/home/chris/repos/charm-helpers-ceph/tests/contrib/network/test_ufw.py", line 48, in test_enable_ok | |
self.assertTrue(ufw.enable()) | |
File "/home/chris/repos/charm-helpers-ceph/charmhelpers/contrib/network/ufw.py", line 136, in enable | |
if not is_ipv6_ok(soft_fail): | |
File "/home/chris/repos/charm-helpers-ceph/charmhelpers/contrib/network/ufw.py", line 101, in is_ipv6_ok | |
raise UFWIPv6Error("IPv6 firewall support broken") | |
UFWIPv6Error: IPv6 firewall support broken | |
====================================================================== | |
ERROR: test_no_ip6_tables (tests.contrib.network.test_ufw.TestUFW) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/chris/repos/charm-helpers-ceph/.venv/local/lib/python2.7/site-packages/mock.py", line 1201, in patched | |
return func(*args, **keywargs) | |
File "/home/chris/repos/charm-helpers-ceph/tests/contrib/network/test_ufw.py", line 324, in test_no_ip6_tables | |
self.assertTrue(ufw.enable()) | |
File "/home/chris/repos/charm-helpers-ceph/charmhelpers/contrib/network/ufw.py", line 136, in enable | |
if not is_ipv6_ok(soft_fail): | |
File "/home/chris/repos/charm-helpers-ceph/charmhelpers/contrib/network/ufw.py", line 90, in is_ipv6_ok | |
modprobe('ip6_tables') | |
File "/home/chris/repos/charm-helpers-ceph/charmhelpers/core/kernel.py", line 39, in modprobe | |
with open('/etc/modules', 'r+') as modules: | |
IOError: [Errno 13] Permission denied: '/etc/modules' | |
====================================================================== | |
ERROR: test_with_ipv6 (tests.contrib.network.test_ufw.TestUFW) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/chris/repos/charm-helpers-ceph/.venv/local/lib/python2.7/site-packages/mock.py", line 1201, in patched | |
return func(*args, **keywargs) | |
File "/home/chris/repos/charm-helpers-ceph/tests/contrib/network/test_ufw.py", line 408, in test_with_ipv6 | |
ufw.enable() | |
File "/home/chris/repos/charm-helpers-ceph/charmhelpers/contrib/network/ufw.py", line 136, in enable | |
if not is_ipv6_ok(soft_fail): | |
File "/home/chris/repos/charm-helpers-ceph/charmhelpers/contrib/network/ufw.py", line 101, in is_ipv6_ok | |
raise UFWIPv6Error("IPv6 firewall support broken") | |
UFWIPv6Error: IPv6 firewall support broken | |
Name Stmts Miss Cover Missing | |
------------------------------------------------------------------------------ | |
charmhelpers.py 16 10 38% 24-29, 33-38 | |
charmhelpers/cli.py 107 1 99% 59 | |
charmhelpers/context.py 82 0 100% | |
charmhelpers/contrib.py 0 0 100% | |
charmhelpers/contrib/amulet.py 0 0 100% | |
charmhelpers/contrib/amulet/utils.py 365 237 35% 33, 66-69, 72-83, 98, 102, 114-131, 149, 174-181, 195-220, 230-246, 250-251, 255-258, 261-264, 268, 272, 286-299, 316-325, 350-385, 404-438, 476-492, 496-497, 500, 503, 513-514, 524-538, 584-632, 636-646, 652-663, 667-672, 676-686, 690-697, 705-724, 736-757, 770-776, 781 | |
charmhelpers/contrib/ansible.py 66 1 98% 249 | |
charmhelpers/contrib/benchmark.py 45 2 96% 92-93 | |
charmhelpers/contrib/charmhelpers.py 91 9 90% 31-32, 67, 159, 174, 189, 200-201, 208 | |
charmhelpers/contrib/charmsupport.py 0 0 100% | |
charmhelpers/contrib/charmsupport/nrpe.py 155 25 84% 175, 181-184, 239, 248-261, 272-273, 369-378, 389-393 | |
charmhelpers/contrib/hahelpers.py 0 0 100% | |
charmhelpers/contrib/hahelpers/apache.py 34 0 100% | |
charmhelpers/contrib/hahelpers/cluster.py 143 4 97% 169-171, 202-204 | |
charmhelpers/contrib/network.py 0 0 100% | |
charmhelpers/contrib/network/ip.py 256 11 96% 34-37, 41-44, 181, 249, 348 | |
charmhelpers/contrib/network/ovs.py 46 0 100% | |
charmhelpers/contrib/network/ufw.py 105 8 92% 92, 104, 134, 149-150, 163, 263-264 | |
charmhelpers/contrib/openstack.py 0 0 100% | |
charmhelpers/contrib/openstack/alternatives.py 9 0 100% | |
charmhelpers/contrib/openstack/context.py 746 42 94% 106-115, 231-240, 275, 721-723, 982, 985-990, 1009, 1021-1023, 1039, 1221-1224, 1231-1237, 1386 | |
charmhelpers/contrib/openstack/ip.py 49 0 100% | |
charmhelpers/contrib/openstack/neutron.py 94 1 99% 347 | |
charmhelpers/contrib/openstack/templating.py 124 20 84% 31-34, 305-323 | |
charmhelpers/contrib/openstack/utils.py 446 60 87% 263, 399-407, 547-555, 573, 609-610, 612, 615, 684, 690, 698, 716-718, 727-734, 746, 752, 759-764, 771-780, 858-866, 878-894 | |
charmhelpers/contrib/peerstorage.py 116 16 86% 92, 135-141, 153-159, 219-220, 232 | |
charmhelpers/contrib/python.py 0 0 100% | |
charmhelpers/contrib/python/packages.py 61 6 90% 28-31, 40, 116 | |
charmhelpers/contrib/python/version.py 6 0 100% | |
charmhelpers/contrib/saltstack.py 14 0 100% | |
charmhelpers/contrib/ssl.py 36 5 86% 86-88, 92-94 | |
charmhelpers/contrib/ssl/service.py 111 16 86% 45-49, 53-56, 111, 129, 134, 143, 172, 185-186 | |
charmhelpers/contrib/storage.py 0 0 100% | |
charmhelpers/contrib/storage/linux.py 0 0 100% | |
charmhelpers/contrib/storage/linux/ceph.py 431 29 93% 107, 118, 179-180, 196-198, 201-203, 212-213, 234, 243, 251-252, 261-262, 270-271, 288, 303-304, 324-325, 337-339, 706, 711, 719 | |
charmhelpers/contrib/storage/linux/loopback.py 25 0 100% | |
charmhelpers/contrib/storage/linux/lvm.py 27 0 100% | |
charmhelpers/contrib/storage/linux/utils.py 21 0 100% | |
charmhelpers/contrib/templating.py 0 0 100% | |
charmhelpers/contrib/templating/contexts.py 58 2 97% 122-123 | |
charmhelpers/contrib/templating/jinja.py 16 6 63% 24-30 | |
charmhelpers/contrib/templating/pyformat.py 7 0 100% | |
charmhelpers/contrib/unison.py 146 2 99% 108-109 | |
charmhelpers/coordinator.py 182 0 100% | |
charmhelpers/core.py 0 0 100% | |
charmhelpers/core/decorators.py 21 0 100% | |
charmhelpers/core/files.py 6 0 100% | |
charmhelpers/core/fstab.py 73 9 88% 64, 83, 113, 124-128, 132 | |
charmhelpers/core/hookenv.py 487 23 95% 41, 111, 125, 189, 503, 529, 650, 662, 668, 718-721, 861-862, 870-878 | |
charmhelpers/core/host.py 339 30 91% 99, 135-142, 403-405, 562-566, 577-593, 597, 613 | |
charmhelpers/core/hugepage.py 28 0 100% | |
charmhelpers/core/kernel.py 26 0 100% | |
charmhelpers/core/services.py 2 0 100% | |
charmhelpers/core/services/base.py 130 20 85% 139-141, 172, 178, 231, 302, 315-321, 336-337, 345-349 | |
charmhelpers/core/services/helpers.py 116 4 97% 56, 58, 70, 189 | |
charmhelpers/core/strutils.py 25 0 100% | |
charmhelpers/core/sysctl.py 15 0 100% | |
charmhelpers/core/templating.py 28 9 68% 44-53, 56 | |
charmhelpers/core/unitdata.py 174 9 95% 177, 255-266 | |
charmhelpers/fetch.py 188 9 95% 33, 197, 393, 447-453 | |
charmhelpers/fetch/archiveurl.py 83 21 75% 33-38, 54, 60-64, 100-108, 113-116, 158 | |
charmhelpers/fetch/bzrurl.py 49 12 76% 26, 31-35, 57-58, 64-65, 76-77 | |
charmhelpers/fetch/giturl.py 40 10 75% 26, 30-33, 53, 69-72 | |
charmhelpers/payload.py 1 0 100% | |
charmhelpers/payload/archive.py 37 0 100% | |
charmhelpers/payload/execd.py 30 0 100% | |
tools.py 0 0 100% | |
tools/charm_helpers_sync.py 0 0 100% | |
tools/charm_helpers_sync/charm_helpers_sync.py 158 49 69% 38-41, 158, 180, 197-253 | |
------------------------------------------------------------------------------ | |
TOTAL 6292 718 89% | |
---------------------------------------------------------------------- | |
Ran 1132 tests in 8.944s | |
FAILED (errors=4) | |
make: *** [test2] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment