Description
Tempest test: test_create_update_port_with_dns_domain failed.
Traceback:
2022-09-21 15:03:32,837 183447 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: {"port": {"network_id": "78677eaf-101d-4226-9d03-4e814a61ef67", "dns_name": "d1", "dns_domain": "test.org."}}
Response - Headers: {'content-type': 'application/json', 'content-length': '885', 'x-openstack-request-id': 'req-9abfaa44-e7f1-4c00-8003-a24a988939ee', 'date': 'Wed, 21 Sep 2022 15:03:32 GMT', 'connection': 'close', 'status': '201', 'content-location': 'http://192.168.24.3:9696/v2.0/ports'}
Body: b'{"port":{"id":"1cbb7c1e-e764-43c0-b172-e2a8b89005ee","name":"","network_id":"78677eaf-101d-4226-9d03-4e814a61ef67","tenant_id":"2a13c5ec235e456fa6263d48c97c7eba","mac_address":"fa:16:3e:0e:3a:0c","admin_state_up":true,"status":"DOWN","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"11b92ce6-1eaa-495d-9899-e06f817e864d","ip_address":"10.100.0.44"}],"project_id":"2a13c5ec235e456fa6263d48c97c7eba","qos_policy_id":null,"port_security_enabled":true,"security_groups":["22659cde-cc48-437d-b829-9b6832992822"],"binding:vnic_type":"normal","allowed_address_pairs":[],"extra_dhcp_opts":[],"description":"","qos_network_policy_id":null,"dns_name":"d1","dns_assignment":[{"ip_address":"10.100.0.44","hostname":"d1","fqdn":"d1.openstackgate.local."}],"ip_allocation":"immediate","tags":[],"created_at":"2022-09-21T15:03:32Z","updated_at":"2022-09-21T15:03:32Z","revision_number":1}}'
}}}
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/tempest/common/utils/__init__.py", line 89, in wrapper
return func(*func_args, **func_kwargs)
File "/usr/lib/python3.9/site-packages/neutron_tempest_plugin/api/test_ports.py", line 119, in test_create_update_port_with_dns_domain
self.assertEqual('test.org.', body['dns_domain'])
KeyError: 'dns_domain'
Logs:
- https://logserver.rdoproject.org/65/41465/12/check/periodic-tripleo-ci-centos-9-standalone-full-tempest-api-network-wallaby/eaaf445/logs/undercloud/var/log/tempest/stestr_results.html.gz
- https://logserver.rdoproject.org/openstack-component-network/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-9-standalone-full-tempest-api-network-wallaby/d2ff917/logs/undercloud/var/log/tempest/stestr_results.html.gz
- https://logserver.rdoproject.org/65/41465/13/check/periodic-tripleo-ci-centos-9-standalone-full-tempest-api-network-wallaby/4bb1839/logs/undercloud/var/log/tempest/stestr_results.html.gz
The failure is triggered by https:/ /review. opendev. org/c/openstack /neutron/ +/857791 as before that patch the test used to be skipped:- neutron_ tempest_ plugin. api.test_ ports.PortsTest JSON.test_ create_ update_ port_with_ dns_domain ... SKIPPED: Skipped because network extension: dns-domain-ports is not enabled
"dns_domain" is not in Body: b'{"port" :{"id": "1cbb7c1e- e764-43c0- b172-e2a8b89005 ee","name" :"","network_ id":"78677eaf- 101d-4226- 9d03-4e814a61ef 67","tenant_ id":"2a13c5ec23 5e456fa6263d48c 97c7eba" ,"mac_address" :"fa:16: 3e:0e:3a: 0c","admin_ state_up" :true," status" :"DOWN" ,"device_ id":"", "device_ owner": "","fixed_ ips":[{ "subnet_ id":"11b92ce6- 1eaa-495d- 9899-e06f817e86 4d","ip_ address" :"10.100. 0.44"}] ,"project_ id":"2a13c5ec23 5e456fa6263d48c 97c7eba" ,"qos_policy_ id":null, "port_security_ enabled" :true," security_ groups" :["22659cde- cc48-437d- b829-9b68329928 22"],"binding: vnic_type" :"normal" ,"allowed_ address_ pairs": [],"extra_ dhcp_opts" :[],"descriptio n":""," qos_network_ policy_ id":null, "dns_name" :"d1"," dns_assignment" :[{"ip_ address" :"10.100. 0.44"," hostname" :"d1"," fqdn":" d1.openstackgat e.local. "}],"ip_ allocation" :"immediate" ,"tags" :[],"created_ at":"2022- 09-21T15: 03:32Z" ,"updated_ at":"2022- 09-21T15: 03:32Z" ,"revision_ number" :1}}'
The test not got tested in neutron CI with OVN so likely we missing patch to support that extenstion with OVN or tests might need update. Till it's figured out we can skip the failing test in wallaby jobs(both component/ integration ones) as it used to be.