undercloud tempest test_create_delete_subnet_with_host_routes_and_dns_nameservers fails, network could not be found

Bug #1781629 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Critical
chandan kumar

Bug Description

ft1.7: tempest.api.network.test_networks.NetworksIpV6Test.test_create_delete_subnet_with_host_routes_and_dns_nameservers[id-d830de0a-be47-468f-8f02-1fd996118289]_StringException: pythonlogging:'': {{{
2018-07-13 15:02:34,722 68 INFO [tempest.lib.common.rest_client] Request (NetworksIpV6Test:test_create_delete_subnet_with_host_routes_and_dns_nameservers): 201 POST https://192.168.24.2:13696/v2.0/networks 0.395s
2018-07-13 15:02:34,723 68 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: {"network": {"name": "tempest-NetworksIpV6Test-test-network-886677299"}}
    Response - Headers: {'status': '201', u'content-length': '604', 'content-location': 'https://192.168.24.2:13696/v2.0/networks', u'date': 'Fri, 13 Jul 2018 15:02:34 GMT', u'content-type': 'application/json', u'connection': 'close', u'x-openstack-request-id': 'req-c628d527-4b05-436d-9b22-e92ab7dc094d'}
        Body: {"network":{"ipv6_address_scope":null,"revision_number":1,"port_security_enabled":true,"id":"1eeffa71-fa1e-4e45-8c22-adb55ae4694e","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"d4d949a4ba23474498870ef6613f88a8","l2_adjacency":true,"status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-07-13T15:02:34Z","is_default":false,"name":"tempest-NetworksIpV6Test-test-network-886677299","admin_state_up":true,"tenant_id":"d4d949a4ba23474498870ef6613f88a8","created_at":"2018-07-13T15:02:34Z","mtu":1500}}
2018-07-13 15:02:36,101 68 INFO [tempest.lib.common.rest_client] Request (NetworksIpV6Test:test_create_delete_subnet_with_host_routes_and_dns_nameservers): 201 POST https://192.168.24.2:13696/v2.0/subnets 1.378s
2018-07-13 15:02:36,102 68 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: {"subnet": {"network_id": "1eeffa71-fa1e-4e45-8c22-adb55ae4694e", "dns_nameservers": ["2001:4860:4860::8844", "2001:4860:4860::8888"], "host_routes": [{"nexthop": "2003::1", "destination": "2001::/64"}], "ip_version": 6, "gateway_ip": null, "cidr": "2003::/64"}}
    Response - Headers: {'status': '201', u'content-length': '693', 'content-location': 'https://192.168.24.2:13696/v2.0/subnets', u'date': 'Fri, 13 Jul 2018 15:02:36 GMT', u'content-type': 'application/json', u'connection': 'close', u'x-openstack-request-id': 'req-cc457ad7-2cba-44e2-8bf5-10581d96c939'}
        Body: {"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"1eeffa71-fa1e-4e45-8c22-adb55ae4694e","tenant_id":"d4d949a4ba23474498870ef6613f88a8","created_at":"2018-07-13T15:02:35Z","dns_nameservers":["2001:4860:4860::8844","2001:4860:4860::8888"],"updated_at":"2018-07-13T15:02:35Z","gateway_ip":null,"ipv6_ra_mode":null,"allocation_pools":[{"start":"2003::1","end":"2003::ffff:ffff:ffff:ffff"}],"host_routes":[{"destination":"2001::/64","nexthop":"2003::1"}],"revision_number":0,"ip_version":6,"ipv6_address_mode":null,"cidr":"2003::/64","project_id":"d4d949a4ba23474498870ef6613f88a8","id":"572c0099-840c-40c8-8b10-a7ea87e22e10","subnetpool_id":null,"name":""}}
2018-07-13 15:03:36,174 68 WARNING [urllib3.connectionpool] Retrying (Retry(total=9, connect=None, read=None, redirect=5, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='192.168.24.2', port=13696): Read timed out. (read timeout=60)",)': /v2.0/networks/1eeffa71-fa1e-4e45-8c22-adb55ae4694e
2018-07-13 15:04:02,105 68 INFO [tempest.lib.common.rest_client] Request (NetworksIpV6Test:test_create_delete_subnet_with_host_routes_and_dns_nameservers): 404 DELETE https://192.168.24.2:13696/v2.0/networks/1eeffa71-fa1e-4e45-8c22-adb55ae4694e 86.002s
2018-07-13 15:04:02,105 68 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '404', u'content-length': '138', 'content-location': 'https://192.168.24.2:13696/v2.0/networks/1eeffa71-fa1e-4e45-8c22-adb55ae4694e', u'date': 'Fri, 13 Jul 2018 15:04:02 GMT', u'content-type': 'application/json', u'connection': 'close', u'x-openstack-request-id': 'req-5e93e517-f092-4910-977e-82a6400509b7'}
        Body: {"NeutronError": {"message": "Network 1eeffa71-fa1e-4e45-8c22-adb55ae4694e could not be found.", "type": "NetworkNotFound", "detail": ""}}
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/api/network/test_networks.py", line 307, in test_create_delete_subnet_with_host_routes_and_dns_nameservers
    **self.subnet_dict(['host_routes', 'dns_nameservers']))
  File "/usr/lib/python2.7/site-packages/tempest/api/network/test_networks.py", line 125, in _create_verify_delete_subnet
    self.networks_client.delete_network(net_id)
  File "/usr/lib/python2.7/site-packages/tempest/lib/services/network/networks_client.py", line 52, in delete_network
    return self.delete_resource(uri)
  File "/usr/lib/python2.7/site-packages/tempest/lib/services/network/base.py", line 41, in delete_resource
    resp, body = self.delete(req_uri)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 310, in delete
    return self.request('DELETE', url, extra_headers, headers, body)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 668, in request
    self._error_checker(resp, resp_body)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 774, in _error_checker
    raise exceptions.NotFound(resp_body, resp=resp)
tempest.lib.exceptions.NotFound: Object not found
Details: {u'message': u'Network 1eeffa71-fa1e-4e45-8c22-adb55ae4694e could not be found.', u'type': u'NetworkNotFound', u'detail': u''}

http://logs.openstack.org/55/579755/12/gate/tripleo-ci-centos-7-undercloud-containers/2ed80b0/logs/tempest.html.gz

Tags: tempest
wes hayutin (weshayutin)
Changed in tripleo:
milestone: none → rocky-3
Revision history for this message
chandan kumar (chkumar246) wrote :

I am not seeing these failures in the gates http://zuul.openstack.org/builds.html?job_name=tripleo-ci-centos-7-undercloud-containers It might be a generic timed out issue, Do we close this bug?

Revision history for this message
chandan kumar (chkumar246) wrote :

marking as invalid as https://review.openstack.org/#/c/579755/ under which tests are timeout are not coming.

Changed in tripleo:
status: Triaged → Invalid
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.