yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #78684
[Bug 1831048] Re: nova api tests fail when running in parallel with neutron api tests
This isn't really a nova bug that I can tell, it sounds more like a test
execution bug in tempest.
** Also affects: tempest
Importance: Undecided
Status: New
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1831048
Title:
nova api tests fail when running in parallel with neutron api tests
Status in OpenStack Compute (nova):
Invalid
Status in tempest:
New
Bug description:
neutron_tempest_plugin.api.admin.test_shared_network_extension.SharedNetworksTest.test_filtering_shared_networks
creates a shared network and there are tests in nova api that don't
specify a network when creating instance. It leads to this code in
nova:
https://opendev.org/openstack/nova/src/commit/7cdec00676e86786fdb3eedcaf0a69a052085ec2/nova/network/neutronv2/api.py#L413
and in case there exists a tenant network there are returned 2
networks, the tenant and the shared one. Later nova checks for
available networks and fails if it sees more than one:
https://opendev.org/openstack/nova/src/commit/7cdec00676e86786fdb3eedcaf0a69a052085ec2/nova/network/neutronv2/api.py#L872
This makes some tests failed e.g.:
test_create_server_specify_multibyte_character_name[id-defbaca5-d611-49f5-ae21-56ee25d2db49]
test_create_server_with_admin_password[id-b92d5ec7-b1dd-44a2-87e4-45e888c46ef0]
test_create_server_with_ipv6_addr_only[id-38fb1d02-c3c5-41de-91d3-9bc2025a75eb]
test_create_specify_keypair[id-f9e15296-d7f9-4e62-b53f-a04e89160833]
test_create_with_existing_server_name[id-8fea6be7-065e-47cf-89b8-496e6f96c699]
test_update_access_server_address[id-89b90870-bc13-4b73-96af-f9d4f2b70077]
test_update_server_name[id-5e6ccff8-349d-4852-a8b3-055df7988dd2]
Link to example: http://logs.openstack.org/24/658924/1/gate/networking-ovn-tempest-dsvm-ovs-release/39e4dd4/testr_results.html.gz
Example of provided trace for others searching purposes:
Traceback (most recent call last):
File "/opt/stack/tempest/tempest/lib/decorators.py", line 112, in wrapper
raise exc
File "/opt/stack/tempest/tempest/lib/decorators.py", line 104, in wrapper
return f(*func_args, **func_kwargs)
File "/opt/stack/tempest/tempest/api/compute/servers/test_servers.py", line 151, in test_create_server_specify_multibyte_character_name
self.create_test_server(name=utf8_name, wait_until='ACTIVE')
File "/opt/stack/tempest/tempest/api/compute/base.py", line 246, in create_test_server
**kwargs)
File "/opt/stack/tempest/tempest/common/compute.py", line 198, in create_test_server
**kwargs)
File "/opt/stack/tempest/tempest/lib/services/compute/servers_client.py", line 101, in create_server
resp, body = self.post('servers', post_body)
File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 283, in post
return self.request('POST', url, extra_headers, headers, body, chunked)
File "/opt/stack/tempest/tempest/lib/services/compute/base_compute_client.py", line 48, in request
method, url, extra_headers, headers, body, chunked)
File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 679, in request
self._error_checker(resp, resp_body)
File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 800, in _error_checker
raise exceptions.Conflict(resp_body, resp=resp)
tempest.lib.exceptions.Conflict: Conflict with state of target resource
Details: {'code': 409, 'message': 'Multiple possible networks found, use a Network ID to be more specific.'}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1831048/+subscriptions
References