grenade job failure

Bug #1692388 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
High
YAMAMOTO Takashi

Bug Description

test_associate_floating_ip_with_port_from_another_tenant is failing on target.

eg. http://logs.openstack.org/45/459545/4/check/gate-grenade-dsvm-networking-midonet-ubuntu-xenial-nv/9ad81db/logs/testr_results.html.gz

ft1.1: neutron.tests.tempest.api.admin.test_floating_ips_admin_actions.FloatingIPAdminTestJSON.test_associate_floating_ip_with_port_from_another_tenant[id-11116ee9-4e99-5b15-b8e1-aa7df92ca589,negative]_StringException: pythonlogging:'': {{{
2017-05-22 01:23:02,556 17344 INFO [tempest.lib.common.rest_client] Request (FloatingIPAdminTestJSON:test_associate_floating_ip_with_port_from_another_tenant): 201 POST http://10.38.149.123/identity/v3/auth/tokens
2017-05-22 01:23:02,557 17344 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
        Body: <omitted>
    Response - Headers: {u'x-subject-token': '<omitted>', u'x-openstack-request-id': 'req-b65227c2-97de-47d2-a010-ac5ce31ef69b', u'connection': 'close', u'content-type': 'application/json', u'vary': 'X-Auth-Token', u'content-length': '4165', u'server': 'Apache/2.4.18 (Ubuntu)', 'status': '201', u'date': 'Mon, 22 May 2017 01:23:02 GMT', 'content-location': 'http://10.38.149.123/identity/v3/auth/tokens'}
        Body: {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "318766670ebd4c3ba132b2c7665527b7", "name": "admin"}, {"id": "a349b1a418e04b2b82603d622c5db86d", "name": "Member"}], "expires_at": "2017-05-22T02:23:02.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "1cdcae269bf04525aef0e44e307e6c82", "name": "tempest-FloatingIPAdminTestJSON-220453251"}, "catalog": [{"endpoints": [{"url": "http://10.38.149.123:8774/v2.1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "11c166d557074bdb9bc3e3b6cb04f983"}, {"url": "http://10.38.149.123:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7ddfa21d2278486dac4b5438083765ec"}, {"url": "http://10.38.149.123:8774/v2.1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "af544a5488c8488fb74b727deab2619e"}], "type": "compute", "id": "522dc419e1034f6894cd3a4a5b316c56", "name": "nova"}, {"endpoints": [{"url": "http://10.38.149.123:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3190c810b22a41fd9a67e8c31649bd22"}, {"url": "http://10.38.149.123:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a11975327a6e4b268d0abf4f53b88d11"}, {"url": "http://10.38.149.123:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "a79bbf74dee14f3096dab5b88d4c2e78"}], "type": "image", "id": "6791a75dc1e84f1b8024c314c3294813", "name": "glance"}, {"endpoints": [{"url": "http://10.38.149.123:8774/v2/1cdcae269bf04525aef0e44e307e6c82", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "2b6167dbc60e4b1f9649eff6a144e9f0"}, {"url": "http://10.38.149.123:8774/v2/1cdcae269bf04525aef0e44e307e6c82", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "f08dac3ffbdb4d66815f19b7a6116afb"}, {"url": "http://10.38.149.123:8774/v2/1cdcae269bf04525aef0e44e307e6c82", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "ff1af98c5dd94aa3aefcc4fa6551200c"}], "type": "compute_legacy", "id": "67d4660cfdc44ac98b914564ad3f5f80", "name": "nova_legacy"}, {"endpoints": [{"url": "http://10.38.149.123/placement", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "7a23a885013f4446a9373f3f6d00ca13"}, {"url": "http://10.38.149.123/placement", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "8ebcc2f2e10f4ceab67655bb7797b24e"}, {"url": "http://10.38.149.123/placement", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f134bff2850f453ea906187f1679ecaf"}], "type": "placement", "id": "78377884d6c44eb8973c7ab96c39e3f7", "name": "placement"}, {"endpoints": [{"url": "http://10.38.149.123:9696/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "59ea6ed62b784ecca7d1638cb343c9cd"}, {"url": "http://10.38.149.123:9696/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "6d3df5d4a4294661b632ec4109b0c7b5"}, {"url": "http://10.38.149.123:9696/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "bd695380f0b743bc9deeb67e3bd675ec"}], "type": "network", "id": "84090d902faf4114bbac1b533866d457", "name": "neutron"}, {"endpoints": [{"url": "http://10.38.149.123/identity", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "73fcbc6a19c4429ea0340f2314b4eeaf"}, {"url": "http://10.38.149.123/identity", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "92025c0550a246e185f83ed213d32d42"}, {"url": "http://10.38.149.123/identity_admin", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "d99c344964b1454baab091258dea5db1"}], "type": "identity", "id": "c2473a43b8e440aea2da952937ed2529", "name": "keystone"}], "user": {"password_expires_at": null, "domain": {"id": "default", "name": "Default"}, "id": "ba130aab8fb940f9ab69ba43b5e884fd", "name": "tempest-FloatingIPAdminTestJSON-220453251"}, "audit_ids": ["V
2017-05-22 01:23:03,969 17344 INFO [tempest.lib.common.rest_client] Request (FloatingIPAdminTestJSON:test_associate_floating_ip_with_port_from_another_tenant): 201 POST http://10.38.149.123:9696/v2.0/floatingips 1.412s
2017-05-22 01:23:03,969 17344 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: {"floatingip": {"floating_network_id": "e3d7bb27-2431-485f-b1e9-67e3ea25c731"}}
    Response - Headers: {u'content-length': '460', 'status': '201', u'x-openstack-request-id': 'req-ec9c711a-4063-4b29-a0ce-e9ae0df81941', u'date': 'Mon, 22 May 2017 01:23:03 GMT', u'connection': 'close', u'content-type': 'application/json', 'content-location': 'http://10.38.149.123:9696/v2.0/floatingips'}
        Body: {"floatingip": {"router_id": null, "status": "ACTIVE", "description": "", "updated_at": "2017-05-22T01:23:03Z", "floating_network_id": "e3d7bb27-2431-485f-b1e9-67e3ea25c731", "fixed_ip_address": null, "floating_ip_address": "172.24.5.4", "revision_number": 1, "port_id": null, "id": "22c37f29-8a10-426d-a367-1ec2a624b477", "tenant_id": "1cdcae269bf04525aef0e44e307e6c82", "created_at": "2017-05-22T01:23:03Z", "project_id": "1cdcae269bf04525aef0e44e307e6c82"}}
2017-05-22 01:23:04,007 17344 INFO [tempest.lib.common.rest_client] Request (FloatingIPAdminTestJSON:test_associate_floating_ip_with_port_from_another_tenant): 200 POST http://10.38.149.123/identity_admin/v2.0/tenants 0.037s
2017-05-22 01:23:04,007 17344 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: {"tenant": {"description": "tempest-desc_-922078215", "name": "tempest-test_tenant_-27216731"}}
    Response - Headers: {u'x-openstack-request-id': 'req-963a4235-9f57-4b18-9216-8ddab4b34fa2', u'connection': 'close', u'content-type': 'application/json', u'vary': 'X-Auth-Token', u'content-length': '154', u'server': 'Apache/2.4.18 (Ubuntu)', 'status': '200', u'date': 'Mon, 22 May 2017 01:23:03 GMT', 'content-location': 'http://10.38.149.123/identity_admin/v2.0/tenants'}
        Body: {"tenant": {"description": "tempest-desc_-922078215", "enabled": true, "id": "dba46752cc3348feabc292faabe18071", "name": "tempest-test_tenant_-27216731"}}
2017-05-22 01:23:04,827 17344 INFO [tempest.lib.common.rest_client] Request (FloatingIPAdminTestJSON:test_associate_floating_ip_with_port_from_another_tenant): 201 POST http://10.38.149.123:9696/v2.0/ports 0.819s
2017-05-22 01:23:04,827 17344 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: {"port": {"tenant_id": "dba46752cc3348feabc292faabe18071", "network_id": "2461766d-2e8d-466a-b82e-379671e6b189"}}
    Response - Headers: {u'content-length': '787', 'status': '201', u'x-openstack-request-id': 'req-36deab75-2546-4f29-88a2-cc15a89b251c', u'date': 'Mon, 22 May 2017 01:23:04 GMT', u'connection': 'close', u'content-type': 'application/json', 'content-location': 'http://10.38.149.123:9696/v2.0/ports'}
        Body: {"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2017-05-22T01:23:04Z","device_owner":"","revision_number":6,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"172d74e6-63b2-481b-b3e5-39c3093c8293","ip_address":"10.1.0.3"}],"id":"a9de5780-46ea-4974-a010-e9a2497c1af7","security_groups":["acaee4e2-a876-4a99-bc9b-d7f0049ba530"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:c8:e1:3f","project_id":"dba46752cc3348feabc292faabe18071","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"2461766d-2e8d-466a-b82e-379671e6b189","tenant_id":"dba46752cc3348feabc292faabe18071","created_at":"2017-05-22T01:23:04Z","binding:vnic_type":"normal"}}
2017-05-22 01:23:05,075 17344 INFO [tempest.lib.common.rest_client] Request (FloatingIPAdminTestJSON:test_associate_floating_ip_with_port_from_another_tenant): 200 PUT http://10.38.149.123:9696/v2.0/floatingips/22c37f29-8a10-426d-a367-1ec2a624b477 0.247s
2017-05-22 01:23:05,076 17344 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: {"floatingip": {"port_id": "a9de5780-46ea-4974-a010-e9a2497c1af7"}}
    Response - Headers: {u'content-length': '534', 'status': '200', u'x-openstack-request-id': 'req-09a525e4-4e37-467b-8e94-b3640aa97243', u'date': 'Mon, 22 May 2017 01:23:05 GMT', u'connection': 'close', u'content-type': 'application/json', 'content-location': 'http://10.38.149.123:9696/v2.0/floatingips/22c37f29-8a10-426d-a367-1ec2a624b477'}
        Body: {"floatingip": {"router_id": "1db2ebb3-4ed5-4cf8-acf0-d5e5b3eff586", "status": "ACTIVE", "description": "", "updated_at": "2017-05-22T01:23:05Z", "floating_network_id": "e3d7bb27-2431-485f-b1e9-67e3ea25c731", "fixed_ip_address": "10.1.0.3", "floating_ip_address": "172.24.5.4", "revision_number": 2, "port_id": "a9de5780-46ea-4974-a010-e9a2497c1af7", "id": "22c37f29-8a10-426d-a367-1ec2a624b477", "tenant_id": "1cdcae269bf04525aef0e44e307e6c82", "created_at": "2017-05-22T01:23:03Z", "project_id": "1cdcae269bf04525aef0e44e307e6c82"}}
2017-05-22 01:23:05,747 17344 INFO [tempest.lib.common.rest_client] Request (FloatingIPAdminTestJSON:_run_cleanups): 204 DELETE http://10.38.149.123:9696/v2.0/ports/a9de5780-46ea-4974-a010-e9a2497c1af7 0.669s
2017-05-22 01:23:05,748 17344 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {u'content-length': '0', 'status': '204', u'x-openstack-request-id': 'req-ee48e33a-56c4-447b-ae09-ee329b09e26b', u'date': 'Mon, 22 May 2017 01:23:05 GMT', u'connection': 'close', 'content-location': 'http://10.38.149.123:9696/v2.0/ports/a9de5780-46ea-4974-a010-e9a2497c1af7'}
        Body:
2017-05-22 01:23:05,804 17344 INFO [tempest.lib.common.rest_client] Request (FloatingIPAdminTestJSON:_run_cleanups): 204 DELETE http://10.38.149.123/identity_admin/v2.0/tenants/dba46752cc3348feabc292faabe18071 0.055s
2017-05-22 01:23:05,804 17344 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {u'server': 'Apache/2.4.18 (Ubuntu)', 'status': '204', u'x-openstack-request-id': 'req-ec3449af-dc1f-4833-90fc-621b8381f638', u'date': 'Mon, 22 May 2017 01:23:05 GMT', u'connection': 'close', 'content-location': 'http://10.38.149.123/identity_admin/v2.0/tenants/dba46752cc3348feabc292faabe18071', u'vary': 'X-Auth-Token'}
        Body:
}}}

Traceback (most recent call last):
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/admin/test_floating_ips_admin_actions.py", line 66, in test_associate_floating_ip_with_port_from_another_tenant
    floating_ip['id'], port_id=port['port']['id'])
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 485, in assertRaises
    self.assertThat(our_callable, matcher)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: <function _update at 0x7fa2838fb050> returned {u'floatingip': {u'project_id': u'1cdcae269bf04525aef0e44e307e6c82', u'port_id': u'a9de5780-46ea-4974-a010-e9a2497c1af7', u'id': u'22c37f29-8a10-426d-a367-1ec2a624b477', u'floating_ip_address': u'172.24.5.4', u'fixed_ip_address': u'10.1.0.3', u'created_at': u'2017-05-22T01:23:03Z', u'status': u'ACTIVE', u'router_id': u'1db2ebb3-4ed5-4cf8-acf0-d5e5b3eff586', u'tenant_id': u'1cdcae269bf04525aef0e44e307e6c82', u'description': u'', u'updated_at': u'2017-05-22T01:23:05Z', u'floating_network_id': u'e3d7bb27-2431-485f-b1e9-67e3ea25c731', u'revision_number': 2}}

Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
importance: Undecided → High
milestone: none → 5.0.0
status: New → In Progress
tags: added: gate-failure midokura-jira-tracked
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-midonet (master)

Fix proposed to branch: master
Review: https://review.openstack.org/466619

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/466619
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=0da98edb3e4b6dadf1364c097ad0f113b4c29a9c
Submitter: Jenkins
Branch: master

commit 0da98edb3e4b6dadf1364c097ad0f113b4c29a9c
Author: YAMAMOTO Takashi <email address hidden>
Date: Mon May 22 16:41:06 2017 +0900

    grenade: Configure tempest identity_feature_enabled.api_v2_admin

    Closes-Bug: #1692388
    Related-Bug: #1687544
    Change-Id: I9497f54e39bbac54eecc4af452447d67ca98c3a4

Changed in networking-midonet:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-midonet 5.0.0.0b2

This issue was fixed in the openstack/networking-midonet 5.0.0.0b2 development milestone.

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.