http://logs.openstack.org/71/568271/2/check/tempest-full-py3/7142c54/testr_results.html.gz
ft1.2: tempest.api.compute.admin.test_services.ServicesAdminTestJSON.test_get_service_by_service_and_host_name[id-39397f6f-37b8-4234-8671-281e44c74025]testtools.testresult.real._StringException: pythonlogging:'': {{{ 2018-05-17 08:26:51,821 28427 INFO [tempest.lib.common.rest_client] Request (ServicesAdminTestJSON:test_get_service_by_service_and_host_name): 200 GET https://10.208.194.113/compute/v2.1/os-services 0.051s 2018-05-17 08:26:51,822 28427 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} Body: None Response - Headers: {'content-location': 'https://10.208.194.113/compute/v2.1/os-services', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'connection': 'close', 'date': 'Thu, 17 May 2018 08:26:51 GMT', 'content-type': 'application/json', 'status': '200', 'x-openstack-request-id': 'req-328531e8-4cee-4a2d-a8b0-5079f5337a67', 'server': 'Apache/2.4.18 (Ubuntu)', 'content-length': '1050', 'x-compute-request-id': 'req-328531e8-4cee-4a2d-a8b0-5079f5337a67'} Body: b'{"services": [{"updated_at": "2018-05-17T08:26:46.000000", "binary": "nova-conductor", "zone": "internal", "state": "up", "id": 1, "status": "enabled", "disabled_reason": null, "host": "ubuntu-xenial-rax-iad-0004065631"}, {"updated_at": "2018-05-17T08:26:51.000000", "binary": "nova-compute", "zone": "nova", "state": "up", "id": 2, "status": "enabled", "disabled_reason": null, "host": "ubuntu-xenial-rax-iad-0004065631"}, {"updated_at": "2018-05-17T08:26:51.000000", "binary": "nova-scheduler", "zone": "internal", "state": "up", "id": 2, "status": "enabled", "disabled_reason": null, "host": "ubuntu-xenial-rax-iad-0004065631"}, {"updated_at": "2018-05-17T08:26:42.000000", "binary": "nova-consoleauth", "zone": "internal", "state": "up", "id": 5, "status": "enabled", "disabled_reason": null, "host": "ubuntu-xenial-rax-iad-0004065631"}, {"updated_at": "2018-05-17T08:26:45.000000", "binary": "nova-conductor", "zone": "internal", "state": "up", "id": 6, "status": "enabled", "disabled_reason": null, "host": "ubuntu-xenial-rax-iad-0004065631"}]}' 2018-05-17 08:26:51,913 28427 INFO [tempest.lib.common.rest_client] Request (ServicesAdminTestJSON:test_get_service_by_service_and_host_name): 200 GET https://10.208.194.113/compute/v2.1/os-services?binary=nova-conductor&host=ubuntu-xenial-rax-iad-0004065631 0.088s 2018-05-17 08:26:51,913 28427 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} Body: None Response - Headers: {'content-location': 'https://10.208.194.113/compute/v2.1/os-services?binary=nova-conductor&host=ubuntu-xenial-rax-iad-0004065631', 'openstack-api-version': 'compute 2.1', 'x-openstack-nova-api-version': '2.1', 'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 'connection': 'close', 'date': 'Thu, 17 May 2018 08:26:51 GMT', 'content-type': 'application/json', 'status': '200', 'x-openstack-request-id': 'req-bc7977e2-c7a1-4a3d-8df1-5288af56b435', 'server': 'Apache/2.4.18 (Ubuntu)', 'content-length': '430', 'x-compute-request-id': 'req-bc7977e2-c7a1-4a3d-8df1-5288af56b435'} Body: b'{"services": [{"updated_at": "2018-05-17T08:26:46.000000", "binary": "nova-conductor", "zone": "internal", "state": "up", "id": 1, "status": "enabled", "disabled_reason": null, "host": "ubuntu-xenial-rax-iad-0004065631"}, {"updated_at": "2018-05-17T08:26:45.000000", "binary": "nova-conductor", "zone": "internal", "state": "up", "id": 6, "status": "enabled", "disabled_reason": null, "host": "ubuntu-xenial-rax-iad-0004065631"}]}' }}}
Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/compute/admin/test_services.py", line 68, in test_get_service_by_service_and_host_name self.assertEqual(1, len(services)) File "/opt/stack/tempest/.tox/tempest/lib/python3.5/site-packages/testtools/testcase.py", line 411, in assertEqual self.assertThat(observed, matcher, message) File "/opt/stack/tempest/.tox/tempest/lib/python3.5/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: 1 != 2
http:// logs.openstack. org/71/ 568271/ 2/check/ tempest- full-py3/ 7142c54/ testr_results. html.gz
ft1.2: tempest. api.compute. admin.test_ services. ServicesAdminTe stJSON. test_get_ service_ by_service_ and_host_ name[id- 39397f6f- 37b8-4234- 8671-281e44c740 25]testtools. testresult. real._StringExc eption: pythonlogging:'': {{{ lib.common. rest_client] Request (ServicesAdminT estJSON: test_get_ service_ by_service_ and_host_ name): 200 GET https:/ /10.208. 194.113/ compute/ v2.1/os- services 0.051s lib.common. rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} location' : 'https:/ /10.208. 194.113/ compute/ v2.1/os- services', 'openstack- api-version' : 'compute 2.1', 'x-openstack- nova-api- version' : '2.1', 'vary': 'OpenStack- API-Version, X-OpenStack- Nova-API- Version' , 'connection': 'close', 'date': 'Thu, 17 May 2018 08:26:51 GMT', 'content-type': 'application/json', 'status': '200', 'x-openstack- request- id': 'req-328531e8- 4cee-4a2d- a8b0-5079f5337a 67', 'server': 'Apache/2.4.18 (Ubuntu)', 'content-length': '1050', 'x-compute- request- id': 'req-328531e8- 4cee-4a2d- a8b0-5079f5337a 67'} 17T08:26: 46.000000" , "binary": "nova-conductor", "zone": "internal", "state": "up", "id": 1, "status": "enabled", "disabled_reason": null, "host": "ubuntu- xenial- rax-iad- 0004065631" }, {"updated_at": "2018-05- 17T08:26: 51.000000" , "binary": "nova-compute", "zone": "nova", "state": "up", "id": 2, "status": "enabled", "disabled_reason": null, "host": "ubuntu- xenial- rax-iad- 0004065631" }, {"updated_at": "2018-05- 17T08:26: 51.000000" , "binary": "nova-scheduler", "zone": "internal", "state": "up", "id": 2, "status": "enabled", "disabled_reason": null, "host": "ubuntu- xenial- rax-iad- 0004065631" }, {"updated_at": "2018-05- 17T08:26: 42.000000" , "binary": "nova-consoleauth", "zone": "internal", "state": "up", "id": 5, "status": "enabled", "disabled_reason": null, "host": "ubuntu- xenial- rax-iad- 0004065631" }, {"updated_at": "2018-05- 17T08:26: 45.000000" , "binary": "nova-conductor", "zone": "internal", "state": "up", "id": 6, "status": "enabled", "disabled_reason": null, "host": "ubuntu- xenial- rax-iad- 0004065631" }]}' lib.common. rest_client] Request (ServicesAdminT estJSON: test_get_ service_ by_service_ and_host_ name): 200 GET https:/ /10.208. 194.113/ compute/ v2.1/os- services? binary= nova-conductor& host=ubuntu- xenial- rax-iad- 0004065631 0.088s lib.common. rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} location' : 'https:/ /10.208. 194.113/ compute/ v2.1/os- services? binary= nova-conductor& host=ubuntu- xenial- rax-iad- 0004065631', 'openstack- api-version' : 'compute 2.1', 'x-openstack- nova-api- version' : '2.1', 'vary': 'OpenStack- API-Version, X-OpenStack- Nova-API- Version' , 'connection': 'close', 'date': 'Thu, 17 May 2018 08:26:51 GMT', 'content-type': 'application/json', 'status': '200', 'x-openstack- request- id': 'req-bc7977e2- c7a1-4a3d- 8df1-5288af56b4 35', 'server': 'Apache/2.4.18 (Ubuntu)', 'content-length': '430', 'x-compute- request- id': 'req-bc7977e2- c7a1-4a3d- 8df1-5288af56b4 35'} 17T08:26: 46.000000" , "binary": "nova-conductor", "zone": "internal", "state": "up", "id": 1, "status": "enabled", "disabled_reason": null, "host": "ubuntu- xenial- rax-iad- 0004065631" }, {"updated_at": "2018-05- 17T08:26: 45.000000" , "binary": "nova-conductor", "zone": "internal", "state": "up", "id": 6, "status": "enabled", "disabled_reason": null, "host": "ubuntu- xenial- rax-iad- 0004065631" }]}'
2018-05-17 08:26:51,821 28427 INFO [tempest.
2018-05-17 08:26:51,822 28427 DEBUG [tempest.
Body: None
Response - Headers: {'content-
Body: b'{"services": [{"updated_at": "2018-05-
2018-05-17 08:26:51,913 28427 INFO [tempest.
2018-05-17 08:26:51,913 28427 DEBUG [tempest.
Body: None
Response - Headers: {'content-
Body: b'{"services": [{"updated_at": "2018-05-
}}}
Traceback (most recent call last): tempest/ tempest/ api/compute/ admin/test_ services. py", line 68, in test_get_ service_ by_service_ and_host_ name assertEqual( 1, len(services)) tempest/ .tox/tempest/ lib/python3. 5/site- packages/ testtools/ testcase. py", line 411, in assertEqual assertThat( observed, matcher, message) tempest/ .tox/tempest/ lib/python3. 5/site- packages/ testtools/ testcase. py", line 498, in assertThat matchers. _impl.MismatchE rror: 1 != 2
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
raise mismatch_error
testtools.