2025-10-17 06:27:16,460 - INFO - Domain Default found not creating 2025-10-17 06:27:16,634 - INFO - Project ctest-TestBasicPolicyIpv4v6-77326637 not found, creating it 2025-10-17 06:27:17,087 - INFO - Created Project:ctest-TestBasicPolicyIpv4v6-77326637, ID : 11b493a2-420d-46a0-ac97-8dc5b931a785 2025-10-17 06:27:18,527 - INFO - ================================================================================ 2025-10-17 06:27:18,528 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-17 06:27:18,528 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-17 06:27:18,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-17 06:27:18,786 - INFO - Initial checks done. Running the testcase now 2025-10-17 06:27:18,787 - INFO - 2025-10-17 06:27:19,346 - DEBUG - Response for create_network : {'network': {'id': '88e5f56b-2e2b-41b6-814f-5595cfeb533f', 'name': 'ctest-vn-46490462', 'tenant_id': '11b493a2420d46a0ac978dc5b931a785', 'project_id': '11b493a2420d46a0ac978dc5b931a785', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicyIpv4v6-77326637', 'ctest-vn-46490462'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 06:27:19,547 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a13f209-0927-4c4e-aa76-58706e0d8179', 'name': '', 'tenant_id': '11b493a2420d46a0ac978dc5b931a785', 'network_id': '88e5f56b-2e2b-41b6-814f-5595cfeb533f', 'ip_version': 4, 'cidr': '49.191.152.192/26', 'allocation_pools': [{'start': '49.191.152.194', 'end': '49.191.152.254'}], 'gateway_ip': '49.191.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.191.152.194', 'tags': [], 'project_id': '11b493a2420d46a0ac978dc5b931a785'}} 2025-10-17 06:27:19,765 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c912e29f-f6bf-4635-8cb9-9b24395e119e', 'name': '', 'tenant_id': '11b493a2420d46a0ac978dc5b931a785', 'network_id': '88e5f56b-2e2b-41b6-814f-5595cfeb533f', 'ip_version': 6, 'cidr': '21b6:5f7e:1fa5:5480:3567:7532::/96', 'allocation_pools': [{'start': '21b6:5f7e:1fa5:5480:3567:7532:0:2', 'end': '21b6:5f7e:1fa5:5480:3567:7532:ffff:fffe'}], 'gateway_ip': '21b6:5f7e:1fa5:5480:3567:7532:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21b6:5f7e:1fa5:5480:3567:7532:0:2', 'tags': [], 'project_id': '11b493a2420d46a0ac978dc5b931a785'}} 2025-10-17 06:27:19,788 - INFO - Created VN ctest-vn-46490462 2025-10-17 06:27:19,841 - DEBUG - VN ctest-vn-46490462 UUID is 88e5f56b-2e2b-41b6-814f-5595cfeb533f 2025-10-17 06:27:20,077 - ERROR - Some exception while doing Neutron net-list Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 276, in get_vn_obj_if_present net_rsp = self.obj.list_networks(**query_dict)['networks'] File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 817, in list_networks return self.list('networks', self.networks_path, retrieve_all, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 369, in list for r in self._pagination(collection, path, **params): File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination res = self.get(path, params=params) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get return self.retry_request("GET", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request return self.do_request(method, action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63'] 2025-10-17 06:27:20,077 - ERROR - Got exception as "The server has either erred or is incapable of performing the requested operation.

\n\n\n\nNeutron server returns request_ids: ['req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63']" while creating ctest-vn-04975838 Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 276, in get_vn_obj_if_present net_rsp = self.obj.list_networks(**query_dict)['networks'] File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 817, in list_networks return self.list('networks', self.networks_path, retrieve_all, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 369, in list for r in self._pagination(collection, path, **params): File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination res = self.get(path, params=params) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get return self.retry_request("GET", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request return self.do_request(method, action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63'] During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/contrail-test/fixtures/vn_test.py", line 295, in _create_vn_orch self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name, File "/contrail-test/fixtures/openstack.py", line 184, in get_vn_obj_if_present return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs) File "/contrail-test/fixtures/quantum_test.py", line 282, in get_vn_obj_if_present raise NetworkClientException(message=str(e)) quantum_test.NetworkClientException: "The server has either erred or is incapable of performing the requested operation.

\n\n\n\nNeutron server returns request_ids: ['req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63']" 2025-10-17 06:27:20,079 - INFO - Deleting VN ctest-vn-46490462 2025-10-17 06:27:20,198 - DEBUG - Response for deleting network () 2025-10-17 06:27:20,445 - ERROR - NetworkClientException Python 3.9.21: /usr/bin/python3 Fri Oct 17 06:27:20 2025 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/policy/test_policy_basic.py in test_basic_policy_allow_deny(self=) 94 ''' 95 vn1_fixture = self.create_vn() 96 vn2_fixture = self.create_vn() 97 # vn1_name = get_random_name('vn1') 98 # vn1_subnets = ['192.168.10.0/24'] vn2_fixture undefined self = self.create_vn = > /contrail-test/common/base.py in create_vn(self=, vn_name=None, vn_subnets=None, cleanup=True, **kwargs={}) 189 190 def create_vn(self, vn_name=None, vn_subnets=None, cleanup=True, **kwargs): 191 vn_fixture = self.create_only_vn(vn_name=vn_name, 192 vn_subnets=vn_subnets, 193 **kwargs) vn_fixture undefined self = self.create_only_vn = > vn_name = None vn_subnets = None kwargs = {} /contrail-test/common/base.py in create_only_vn(cls=, vn_name='ctest-vn-04975838', vn_subnets=None, **kwargs={}) 184 subnets=vn_subnets, 185 **kwargs) 186 vn_fixture.setUp() 187 return vn_fixture 188 # end create_only_vn vn_fixture = vn_fixture.setUp = > /contrail-test/fixtures/vn_test.py in setUp(self=) 437 def setUp(self): 438 super(VNFixture, self).setUp() 439 self.create() 440 441 def create(self): self = self.create = > /contrail-test/fixtures/vn_test.py in create(self=) 450 self._create_vn_api(self.vn_name, self.project_obj) 451 else: 452 self._create_vn_orch() 453 if not self.obj: 454 self.logger.debug('VN %s not present' % (self.vn_name)) self = self._create_vn_orch = > /contrail-test/fixtures/vn_test.py in _create_vn_orch(self=) 335 if '503' in str(e) or '504' in str(e): 336 return False 337 raise NetworkClientException(message=str(e)) 338 339 def get_vn_list_in_project(self, project_uuid): global NetworkClientException = message undefined builtinstr = e undefined NetworkClientException: '"The server has either erred or is incapable of performing the requested operation.

\\n\\n\\n\\nNeutron server returns request_ids: [\'req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63\']"' __cause__ = None __class__ = __context__ = NetworkClientException() __delattr__ = __dict__ = {'_error_string': '"The server has either erred or is incapable of ...ds: [\'req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63\']"', 'message': '"The server has either erred or is incapable of ...ds: [\'req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63\']"', 'request_ids': None, 'status_code': 0} __dir__ = __doc__ = None __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'quantum_test' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None _error_string = '"The server has either erred or is incapable of ...ds: [\'req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63\']"' args = () message = '"The server has either erred or is incapable of ...ds: [\'req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63\']"' req_ids_msg = 'Neutron server returns request_ids: %s' request_ids = None status_code = 0 with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 276, in get_vn_obj_if_present net_rsp = self.obj.list_networks(**query_dict)['networks'] File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 817, in list_networks return self.list('networks', self.networks_path, retrieve_all, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 369, in list for r in self._pagination(collection, path, **params): File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination res = self.get(path, params=params) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get return self.retry_request("GET", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request return self.do_request(method, action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63'] During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/contrail-test/fixtures/vn_test.py", line 295, in _create_vn_orch self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name, File "/contrail-test/fixtures/openstack.py", line 184, in get_vn_obj_if_present return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs) File "/contrail-test/fixtures/quantum_test.py", line 282, in get_vn_obj_if_present raise NetworkClientException(message=str(e)) quantum_test.NetworkClientException: "The server has either erred or is incapable of performing the requested operation.

\n\n\n\nNeutron server returns request_ids: ['req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63']" During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/policy/test_policy_basic.py", line 96, in test_basic_policy_allow_deny vn2_fixture = self.create_vn() File "/contrail-test/common/base.py", line 191, in create_vn vn_fixture = self.create_only_vn(vn_name=vn_name, File "/contrail-test/common/base.py", line 186, in create_only_vn vn_fixture.setUp() File "/contrail-test/fixtures/vn_test.py", line 439, in setUp self.create() File "/contrail-test/fixtures/vn_test.py", line 452, in create self._create_vn_orch() File "/contrail-test/fixtures/vn_test.py", line 337, in _create_vn_orch raise NetworkClientException(message=str(e)) quantum_test.NetworkClientException: '"The server has either erred or is incapable of performing the requested operation.

\\n\\n\\n\\nNeutron server returns request_ids: [\'req-3e6554b3-c8b9-4490-98d0-60ac9fc66f63\']"' 2025-10-17 06:27:20,451 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 06:27:20,451 - INFO - 2025-10-17 06:27:20,451 - INFO - END TEST : test_basic_policy_allow_deny : FAILED[0:00:02] 2025-10-17 06:27:20,451 - INFO - -------------------------------------------------------------------------------- 2025-10-17 06:27:21,149 - INFO - Deleted project: ctest-TestBasicPolicyIpv4v6-77326637, ID : 11b493a2-420d-46a0-ac97-8dc5b931a785