Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
==============================
Failed 2 tests - output below:
==============================
shade.tests.unit.test_floating_ip_pool.TestFloatingIPPool.test_list_floating_ip_pools
-------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/tmp/makepkg/python-shade/src/shade-py2/shade/tests/unit/test_floating_ip_pool.py", line 52, in test_list_floating_ip_pools
self.assertItemsEqual(floating_ip_pools, self.pools)
AttributeError: 'TestFloatingIPPool' object has no attribute 'assertItemsEqual'
Captured logging:
~~~~~~~~~~~~~~~~~
2018-03-25 12:30:25,498 shade.task_manager Manager _test_cloud_:RegionOne running task compute.GET.extensions
2018-03-25 12:30:25,499 keystoneauth.session REQ: curl -g -i -X GET https://identity.example.com -H "Accept: application/json" -H "User-Agent: os-client-config/1.29.0 shade/1.26.0 keystoneauth1/3.4.0 python-requests/2.18.4 CPython/3.6.4"
2018-03-25 12:30:25,509 keystoneauth.session RESP: [200] content-type: application/json
RESP BODY: {
"versions": {
"values": [
{
"status": "stable",
"updated": "2016-04-04T00:00:00Z",
"media-types": [
{
"base": "application/json",
"type": "application/vnd.openstack.identity-v3+json"
}
],
"id": "v3.6",
"links": [
{
"href": "https://identity.example.com/v3/",
"rel": "self"
}
]
},
{
"status": "stable",
"updated": "2014-04-17T00:00:00Z",
"media-types": [
{
"base": "application/json",
"type": "application/vnd.openstack.identity-v2.0+json"
}
],
"id": "v2.0",
"links": [
{
"href": "https://identity.example.com/v2.0/",
"rel": "self"
},
{
"href": "http://docs.openstack.org/",
"type": "text/html",
"rel": "describedby"
}
]
}
]
}
}
2018-03-25 12:30:25,513 keystoneauth.identity.v3.base Making authentication request to https://identity.example.com/v3/auth/tokens
2018-03-25 12:30:25,527 keystoneauth.identity.v3.base {"token": {"audit_ids": ["Rvn7eHkiSeOwucBIPaKdYA"], "catalog": [{"endpoints": [{"id": "32466f357f3545248c47471ca51b0d3a", "interface": "public", "region": "RegionOne", "url": "https://compute.example.com/v2.1/"}], "name": "nova", "type": "compute"}, {"endpoints": [{"id": "1e875ca2225b408bbf3520a1b8e1a537", "interface": "public", "region": "RegionOne", "url": "https://volume.example.com/v2/1c36b64c840a42cd9e9b931a369337f0"}], "name": "cinderv2", "type": "volumev2"}, {"endpoints": [{"id": "5a64de3c4a614d8d8f8d1ba3dee5f45f", "interface": "public", "region": "RegionOne", "url": "https://image.example.com"}], "name": "glance", "type": "image"}, {"endpoints": [{"id": "3d15fdfc7d424f3c8923324417e1a3d1", "interface": "public", "region": "RegionOne", "url": "https://volume.example.com/v1/1c36b64c840a42cd9e9b931a369337f0"}], "name": "cinder", "type": "volume"}, {"endpoints": [{"id": "4deb4d0504a044a395d4480741ba628c", "interface": "public", "region": "RegionOne", "url": "https://identity.example.com"}, {"id": "012322eeedcd459edabb4933021112bc", "interface": "admin", "region": "RegionOne", "url": "https://identity.example.com"}], "endpoints_links": [], "name": "keystone", "type": "identity"}, {"endpoints": [{"id": "4deb4d0504a044a395d4480741ba628d", "interface": "public", "region": "RegionOne", "url": "https://network.example.com"}], "endpoints_links": [], "name": "neutron", "type": "network"}, {"endpoints": [{"id": "4deb4d0504a044a395d4480741ba628e", "interface": "public", "region": "RegionOne", "url": "https://container-infra.example.com/v1"}], "endpoints_links": [], "name": "magnum", "type": "container-infra"}, {"endpoints": [{"id": "4deb4d0504a044a395d4480741ba628c", "interface": "public", "region": "RegionOne", "url": "https://object-store.example.com/v1/1c36b64c840a42cd9e9b931a369337f0"}], "endpoints_links": [], "name": "swift", "type": "object-store"}, {"endpoints": [{"id": "652f0612744042bfbb8a8bb2c777a16d", "interface": "public", "region": "RegionOne", "url": "https://bare-metal.example.com/"}], "endpoints_links": [], "name": "ironic", "type": "baremetal"}, {"endpoints": [{"id": "4deb4d0504a044a395d4480741ba628c", "interface": "public", "region": "RegionOne", "url": "https://orchestration.example.com/v1/1c36b64c840a42cd9e9b931a369337f0"}], "endpoints_links": [], "name": "heat", "type": "orchestration"}, {"endpoints": [{"id": "10c76ffd2b744a67950ed1365190d352", "interface": "public", "region": "RegionOne", "url": "https://dns.example.com"}], "endpoints_links": [], "name": "designate", "type": "dns"}], "expires_at": "9999-12-31T23:59:59Z", "issued_at": "2016-12-17T14:25:05.000000Z", "methods": ["password"], "project": {"domain": {"id": "default", "name": "default"}, "id": "1c36b64c840a42cd9e9b931a369337f0", "name": "Default Project"}, "roles": [{"id": "9fe2ff9ee4384b1894a90878d3e92bab", "name": "_member_"}, {"id": "37071fc082e14c2284c32a2761f71c63", "name": "swiftoperator"}], "user": {"domain": {"id": "default", "name": "default"}, "id": "c17534835f8f42bf98fc367e0bf35e09", "name": "mordred"}}}
2018-03-25 12:30:25,531 keystoneauth.session REQ: curl -g -i -X GET https://compute.example.com/v2.1/extensions -H "X-Auth-Token: {SHA1}002a0918280d7075ae94ea4d7ad15eda381b670c" -H "User-Agent: os-client-config/1.29.0 shade/1.26.0 keystoneauth1/3.4.0 python-requests/2.18.4 CPython/3.6.4"
2018-03-25 12:30:25,538 keystoneauth.session RESP: [200] content-type: application/json
RESP BODY: {"extensions": [{"alias": "os-floating-ip-pools", "updated": "2014-12-03T00:00:00Z", "name": "FloatingIpPools", "links": [], "namespace": "http://docs.openstack.org/compute/ext/fake_xml", "description": "Floating IPs support."}]}
2018-03-25 12:30:25,541 shade.task_manager Manager _test_cloud_:RegionOne ran task compute.GET.extensions in 0.04215693473815918s
2018-03-25 12:30:25,546 shade.task_manager Manager _test_cloud_:RegionOne running task compute.GET.os-floating-ip-pools
2018-03-25 12:30:25,553 keystoneauth.session REQ: curl -g -i -X GET https://compute.example.com/v2.1/os-floating-ip-pools -H "X-Auth-Token: {SHA1}002a0918280d7075ae94ea4d7ad15eda381b670c" -H "User-Agent: os-client-config/1.29.0 shade/1.26.0 keystoneauth1/3.4.0 python-requests/2.18.4 CPython/3.6.4"
2018-03-25 12:30:25,560 keystoneauth.session RESP: [200] content-type: application/json
RESP BODY: {"floating_ip_pools": [{"name": "public"}]}
2018-03-25 12:30:25,563 shade.task_manager Manager _test_cloud_:RegionOne ran task compute.GET.os-floating-ip-pools in 0.014772176742553711s
shade.tests.unit.test_port.TestPort.test_list_ports
---------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/tmp/makepkg/python-shade/src/shade-py2/shade/tests/unit/test_port.py", line 241, in test_list_ports
self.assertItemsEqual(self.mock_neutron_port_list_rep['ports'], ports)
AttributeError: 'TestPort' object has no attribute 'assertItemsEqual'
Captured logging:
~~~~~~~~~~~~~~~~~
2018-03-25 12:30:28,593 keystoneauth.session REQ: curl -g -i -X GET https://identity.example.com -H "Accept: application/json" -H "User-Agent: os-client-config/1.29.0 shade/1.26.0 keystoneauth1/3.4.0 python-requests/2.18.4 CPython/3.6.4"
2018-03-25 12:30:28,601 keystoneauth.session RESP: [200] content-type: application/json
RESP BODY: {
"versions": {
"values": [
{
"status": "stable",
"updated": "2016-04-04T00:00:00Z",
"media-types": [
{
"base": "application/json",
"type": "application/vnd.openstack.identity-v3+json"
}
],
"id": "v3.6",
"links": [
{
"href": "https://identity.example.com/v3/",
"rel": "self"
}
]
},
{
"status": "stable",
"updated": "2014-04-17T00:00:00Z",
"media-types": [
{
"base": "application/json",
"type": "application/vnd.openstack.identity-v2.0+json"
}
],
"id": "v2.0",
"links": [
{
"href": "https://identity.example.com/v2.0/",
"rel": "self"
},
{
"href": "http://docs.openstack.org/",
"type": "text/html",
"rel": "describedby"
}
]
}
]
}
}
2018-03-25 12:30:28,605 keystoneauth.identity.v3.base Making authentication request to https://identity.example.com/v3/auth/tokens
2018-03-25 12:30:28,616 keystoneauth.identity.v3.base {"token": {"audit_ids": ["Rvn7eHkiSeOwucBIPaKdYA"], "catalog": [{"endpoints": [{"id": "32466f357f3545248c47471ca51b0d3a", "interface": "public", "region": "RegionOne", "url": "https://compute.example.com/v2.1/"}], "name": "nova", "type": "compute"}, {"endpoints": [{"id": "1e875ca2225b408bbf3520a1b8e1a537", "interface": "public", "region": "RegionOne", "url": "https://volume.example.com/v2/1c36b64c840a42cd9e9b931a369337f0"}], "name": "cinderv2", "type": "volumev2"}, {"endpoints": [{"id": "5a64de3c4a614d8d8f8d1ba3dee5f45f", "interface": "public", "region": "RegionOne", "url": "https://image.example.com"}], "name": "glance", "type": "image"}, {"endpoints": [{"id": "3d15fdfc7d424f3c8923324417e1a3d1", "interface": "public", "region": "RegionOne", "url": "https://volume.example.com/v1/1c36b64c840a42cd9e9b931a369337f0"}], "name": "cinder", "type": "volume"}, {"endpoints": [{"id": "4deb4d0504a044a395d4480741ba628c", "interface": "public", "region": "RegionOne", "url": "https://identity.example.com"}, {"id": "012322eeedcd459edabb4933021112bc", "interface": "admin", "region": "RegionOne", "url": "https://identity.example.com"}], "endpoints_links": [], "name": "keystone", "type": "identity"}, {"endpoints": [{"id": "4deb4d0504a044a395d4480741ba628d", "interface": "public", "region": "RegionOne", "url": "https://network.example.com"}], "endpoints_links": [], "name": "neutron", "type": "network"}, {"endpoints": [{"id": "4deb4d0504a044a395d4480741ba628e", "interface": "public", "region": "RegionOne", "url": "https://container-infra.example.com/v1"}], "endpoints_links": [], "name": "magnum", "type": "container-infra"}, {"endpoints": [{"id": "4deb4d0504a044a395d4480741ba628c", "interface": "public", "region": "RegionOne", "url": "https://object-store.example.com/v1/1c36b64c840a42cd9e9b931a369337f0"}], "endpoints_links": [], "name": "swift", "type": "object-store"}, {"endpoints": [{"id": "652f0612744042bfbb8a8bb2c777a16d", "interface": "public", "region": "RegionOne", "url": "https://bare-metal.example.com/"}], "endpoints_links": [], "name": "ironic", "type": "baremetal"}, {"endpoints": [{"id": "4deb4d0504a044a395d4480741ba628c", "interface": "public", "region": "RegionOne", "url": "https://orchestration.example.com/v1/1c36b64c840a42cd9e9b931a369337f0"}], "endpoints_links": [], "name": "heat", "type": "orchestration"}, {"endpoints": [{"id": "10c76ffd2b744a67950ed1365190d352", "interface": "public", "region": "RegionOne", "url": "https://dns.example.com"}], "endpoints_links": [], "name": "designate", "type": "dns"}], "expires_at": "9999-12-31T23:59:59Z", "issued_at": "2016-12-17T14:25:05.000000Z", "methods": ["password"], "project": {"domain": {"id": "default", "name": "default"}, "id": "1c36b64c840a42cd9e9b931a369337f0", "name": "Default Project"}, "roles": [{"id": "9fe2ff9ee4384b1894a90878d3e92bab", "name": "_member_"}, {"id": "37071fc082e14c2284c32a2761f71c63", "name": "swiftoperator"}], "user": {"domain": {"id": "default", "name": "default"}, "id": "c17534835f8f42bf98fc367e0bf35e09", "name": "mordred"}}}
2018-03-25 12:30:28,626 shade.task_manager Manager _test_cloud_:RegionOne running task network.GET.ports
2018-03-25 12:30:28,628 keystoneauth.session REQ: curl -g -i -X GET https://network.example.com/v2.0/ports.json -H "X-Auth-Token: {SHA1}002a0918280d7075ae94ea4d7ad15eda381b670c" -H "User-Agent: os-client-config/1.29.0 shade/1.26.0 keystoneauth1/3.4.0 python-requests/2.18.4 CPython/3.6.4"
2018-03-25 12:30:28,638 keystoneauth.session RESP: [200] content-type: application/json
RESP BODY: {"ports": [{"status": "ACTIVE", "binding:host_id": "devstack", "name": "first-port", "allowed_address_pairs": [], "admin_state_up": true, "network_id": "70c1db1f-b701-45bd-96e0-a313ee3430b3", "tenant_id": "", "extra_dhcp_opts": [], "binding:vif_details": {"port_filter": true, "ovs_hybrid_plug": true}, "binding:vif_type": "ovs", "device_owner": "network:router_gateway", "mac_address": "fa:16:3e:58:42:ed", "binding:profile": {}, "binding:vnic_type": "normal", "fixed_ips": [{"subnet_id": "008ba151-0b8c-4a67-98b5-0d2b87666062", "ip_address": "172.24.4.2"}], "id": "d80b1a3b-4fc1-49f3-952e-1e2ab7081d8b", "security_groups": [], "device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824"}, {"status": "ACTIVE", "binding:host_id": "devstack", "name": "", "allowed_address_pairs": [], "admin_state_up": true, "network_id": "f27aa545-cbdd-4907-b0c6-c9e8b039dcc2", "tenant_id": "d397de8a63f341818f198abb0966f6f3", "extra_dhcp_opts": [], "binding:vif_details": {"port_filter": true, "ovs_hybrid_plug": true}, "binding:vif_type": "ovs", "device_owner": "network:router_interface", "mac_address": "fa:16:3e:bb:3c:e4", "binding:profile": {}, "binding:vnic_type": "normal", "fixed_ips": [{"subnet_id": "288bf4a1-51ba-43b6-9d0a-520e9005db17", "ip_address": "10.0.0.1"}], "id": "f71a6703-d6de-4be1-a91a-a570ede1d159", "security_groups": [], "device_id": "9ae135f4-b6e0-4dad-9e91-3c223e385824"}]}
2018-03-25 12:30:28,640 shade.task_manager Manager _test_cloud_:RegionOne ran task network.GET.ports in 0.011822223663330078s
======
Totals
======
Ran: 801 tests in 13.0000 sec.
- Passed: 799
- Skipped: 0
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 2
Sum of execute time for each test: 83.4950 sec.
==============
Worker Balance
==============
- Worker 0 (101 tests) => 0:00:10.954599
- Worker 1 (100 tests) => 0:00:11.125576
- Worker 2 (100 tests) => 0:00:10.509808
- Worker 3 (100 tests) => 0:00:09.823608
- Worker 4 (100 tests) => 0:00:10.541605
- Worker 5 (100 tests) => 0:00:10.774531
- Worker 6 (100 tests) => 0:00:10.105300
- Worker 7 (100 tests) => 0:00:10.617186
==> ERROR: A failure occurred in check().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.