2026-11-29 11:42:35,033 - INFO - Domain Default found not creating 2026-11-29 11:42:35,215 - INFO - Project ctest-TestBasicPolicy-21866886 not found, creating it 2026-11-29 11:42:35,712 - INFO - Created Project:ctest-TestBasicPolicy-21866886, ID : ac1d4638-eed3-4715-b89f-31462758a215 2026-11-29 11:42:37,463 - INFO - ================================================================================ 2026-11-29 11:42:37,463 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-29 11:42:37,463 - 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 2026-11-29 11:42:37,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-11-29 11:42:37,720 - INFO - Initial checks done. Running the testcase now 2026-11-29 11:42:37,720 - INFO - 2026-11-29 11:42:38,336 - DEBUG - Response for create_network : {'network': {'id': '345f328f-3a10-47fb-a4db-312b74270ee6', 'name': 'ctest-vn-45785638', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'project_id': 'ac1d4638eed34715b89f31462758a215', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-vn-45785638'], 'port_security_enabled': True, 'description': ''}} 2026-11-29 11:42:38,553 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e398785c-8b16-4444-96ad-5ba00b7dd870', 'name': '', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'network_id': '345f328f-3a10-47fb-a4db-312b74270ee6', 'ip_version': 4, 'cidr': '199.90.238.128/26', 'allocation_pools': [{'start': '199.90.238.130', 'end': '199.90.238.190'}], 'gateway_ip': '199.90.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.90.238.130', 'tags': [], 'project_id': 'ac1d4638eed34715b89f31462758a215'}} 2026-11-29 11:42:38,570 - INFO - Created VN ctest-vn-45785638 2026-11-29 11:42:38,626 - DEBUG - VN ctest-vn-45785638 UUID is 345f328f-3a10-47fb-a4db-312b74270ee6 2026-11-29 11:42:38,929 - DEBUG - Response for create_network : {'network': {'id': 'a93bc81f-675b-43bc-9df9-e60a887b1950', 'name': 'ctest-vn-48621935', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'project_id': 'ac1d4638eed34715b89f31462758a215', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-vn-48621935'], 'port_security_enabled': True, 'description': ''}} 2026-11-29 11:42:39,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '934f742b-818c-4874-9776-6beae77680a0', 'name': '', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'network_id': 'a93bc81f-675b-43bc-9df9-e60a887b1950', 'ip_version': 4, 'cidr': '14.237.82.192/26', 'allocation_pools': [{'start': '14.237.82.194', 'end': '14.237.82.254'}], 'gateway_ip': '14.237.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.237.82.194', 'tags': [], 'project_id': 'ac1d4638eed34715b89f31462758a215'}} 2026-11-29 11:42:39,146 - INFO - Created VN ctest-vn-48621935 2026-11-29 11:42:39,198 - DEBUG - VN ctest-vn-48621935 UUID is a93bc81f-675b-43bc-9df9-e60a887b1950 2026-11-29 11:42:39,310 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-11-29 11:42:39,616 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '345f328f-3a10-47fb-a4db-312b74270ee6', 'name': 'ctest-vn-45785638', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'project_id': 'ac1d4638eed34715b89f31462758a215', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e398785c-8b16-4444-96ad-5ba00b7dd870'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-vn-45785638'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-policy-allow-all-31326302']], 'subnet_ipam': [{'subnet_cidr': '199.90.238.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-29 11:42:39,840 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a93bc81f-675b-43bc-9df9-e60a887b1950', 'name': 'ctest-vn-48621935', 'tenant_id': 'ac1d4638eed34715b89f31462758a215', 'project_id': 'ac1d4638eed34715b89f31462758a215', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['934f742b-818c-4874-9776-6beae77680a0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-vn-48621935'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-policy-allow-all-31326302']], 'subnet_ipam': [{'subnet_cidr': '14.237.82.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-29 11:42:40,014 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-29 11:42:40,390 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-29 11:42:40,418 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a86b2a40-de9e-4131-80d1-bb612881caf7 2026-11-29 11:42:40,429 - DEBUG - Requesting: http://10.0.0.161:8082/project/ac1d4638-eed3-4715-b89f-31462758a215 2026-11-29 11:42:40,509 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/345f328f-3a10-47fb-a4db-312b74270ee6 2026-11-29 11:42:40,529 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/345f328f-3a10-47fb-a4db-312b74270ee6 2026-11-29 11:42:40,538 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485 2026-11-29 11:42:40,546 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485 2026-11-29 11:42:40,553 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e5c113e5-ed4e-41b4-a5ce-f0922d9da350 2026-11-29 11:42:40,559 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-29 11:42:40,559 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/345f328f-3a10-47fb-a4db-312b74270ee6 2026-11-29 11:42:40,569 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485 2026-11-29 11:42:40,584 - INFO - Verified VN network id 12 for VN 345f328f-3a10-47fb-a4db-312b74270ee6 2026-11-29 11:42:40,584 - INFO - Verifications in API Server for VN ctest-vn-45785638 passed 2026-11-29 11:42:40,584 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/345f328f-3a10-47fb-a4db-312b74270ee6 2026-11-29 11:42:40,593 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485 2026-11-29 11:42:40,600 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485 2026-11-29 11:42:40,607 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e5c113e5-ed4e-41b4-a5ce-f0922d9da350 2026-11-29 11:42:40,622 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21866886', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3773790603495622651', 'uuid-lslong': '11879142504821886694'}, 'enable': 'true', 'created': '2026-11-29T11:42:38', 'last-modified': '2026-11-29T11:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.031662'} 2026-11-29 11:42:40,630 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-29 11:42:40,630 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45785638 passed 2026-11-29 11:42:40,630 - DEBUG - ====Verifying policy data for ctest-vn-45785638 in API_Server ====== 2026-11-29 11:42:40,630 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-29 11:42:40,636 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a86b2a40-de9e-4131-80d1-bb612881caf7 2026-11-29 11:42:40,648 - DEBUG - Requesting: http://10.0.0.161:8082/project/ac1d4638-eed3-4715-b89f-31462758a215 2026-11-29 11:42:40,720 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/345f328f-3a10-47fb-a4db-312b74270ee6 2026-11-29 11:42:40,729 - DEBUG - ==>Verifying data for policy with id: 732354b7-c237-4f9b-8c14-982273156065, fqn: ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-policy-allow-all-31326302'] 2026-11-29 11:42:40,729 - INFO - VN ctest-vn-45785638 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-29 11:42:40,730 - DEBUG - Verifying the vn in opserver 2026-11-29 11:42:40,730 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638 virtual network link through opserver 10.0.0.161 2026-11-29 11:42:40,730 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-29 11:42:41,103 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-29 11:42:41,156 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638?flat'} 2026-11-29 11:42:41,156 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638 is found in opserver 2026-11-29 11:42:41,165 - DEBUG - Do not have enough data to verify VN in agent 2026-11-29 11:42:41,170 - DEBUG - VRF ids for VN ctest-vn-45785638: {} 2026-11-29 11:42:41,170 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-29 11:42:41,175 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a86b2a40-de9e-4131-80d1-bb612881caf7 2026-11-29 11:42:41,185 - DEBUG - Requesting: http://10.0.0.161:8082/project/ac1d4638-eed3-4715-b89f-31462758a215 2026-11-29 11:42:41,261 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a93bc81f-675b-43bc-9df9-e60a887b1950 2026-11-29 11:42:41,273 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a93bc81f-675b-43bc-9df9-e60a887b1950 2026-11-29 11:42:41,284 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf 2026-11-29 11:42:41,291 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf 2026-11-29 11:42:41,299 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e6e978e0-03b7-4a2c-bade-f9930bdb3868 2026-11-29 11:42:41,306 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-29 11:42:41,306 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a93bc81f-675b-43bc-9df9-e60a887b1950 2026-11-29 11:42:41,315 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf 2026-11-29 11:42:41,331 - INFO - Verified VN network id 13 for VN a93bc81f-675b-43bc-9df9-e60a887b1950 2026-11-29 11:42:41,331 - INFO - Verifications in API Server for VN ctest-vn-48621935 passed 2026-11-29 11:42:41,331 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a93bc81f-675b-43bc-9df9-e60a887b1950 2026-11-29 11:42:41,342 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf 2026-11-29 11:42:41,358 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf 2026-11-29 11:42:41,365 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e6e978e0-03b7-4a2c-bade-f9930bdb3868 2026-11-29 11:42:41,379 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21866886', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12194560453239325628', 'uuid-lslong': '11383382466069469520'}, 'enable': 'true', 'created': '2026-11-29T11:42:38', 'last-modified': '2026-11-29T11:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.558411'} 2026-11-29 11:42:41,386 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-29 11:42:41,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48621935 passed 2026-11-29 11:42:41,387 - DEBUG - ====Verifying policy data for ctest-vn-48621935 in API_Server ====== 2026-11-29 11:42:41,387 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-29 11:42:41,393 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a86b2a40-de9e-4131-80d1-bb612881caf7 2026-11-29 11:42:41,404 - DEBUG - Requesting: http://10.0.0.161:8082/project/ac1d4638-eed3-4715-b89f-31462758a215 2026-11-29 11:42:41,479 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/a93bc81f-675b-43bc-9df9-e60a887b1950 2026-11-29 11:42:41,491 - DEBUG - ==>Verifying data for policy with id: 732354b7-c237-4f9b-8c14-982273156065, fqn: ['default-domain', 'ctest-TestBasicPolicy-21866886', 'ctest-policy-allow-all-31326302'] 2026-11-29 11:42:41,491 - INFO - VN ctest-vn-48621935 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-29 11:42:41,491 - DEBUG - Verifying the vn in opserver 2026-11-29 11:42:41,491 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935 virtual network link through opserver 10.0.0.161 2026-11-29 11:42:41,491 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-29 11:42:41,501 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935?flat'} 2026-11-29 11:42:41,501 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935 is found in opserver 2026-11-29 11:42:41,511 - DEBUG - Do not have enough data to verify VN in agent 2026-11-29 11:42:41,515 - DEBUG - VRF ids for VN ctest-vn-48621935: {} 2026-11-29 11:42:41,584 - DEBUG - Services list from nova: [, , ] 2026-11-29 11:42:42,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6519-1) 2026-11-29 11:42:42,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6519-1) 2026-11-29 11:42:42,436 - INFO - Waiting for VM ctest-TestBasicPolicy-21866886-33188864 to be up.. 2026-11-29 11:42:42,472 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:42:47,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:42:52,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:42:57,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:43:02,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:43:07,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:43:12,955 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-29 11:43:18,028 - DEBUG - VM is in ACTIVE state now 2026-11-29 11:43:18,028 - INFO - VM name : ctest-TestBasicPolicy-21866886-33188864 2026-11-29 11:43:18,102 - DEBUG - VM ctest-TestBasicPolicy-21866886-33188864 ID is af3b7847-126e-4b8b-92fc-b7b04d23bdc8 2026-11-29 11:43:18,122 - DEBUG - VM ctest-TestBasicPolicy-21866886-33188864 launched on Node cn-jenkins-deploy-platform-ansible-os-6519-1 2026-11-29 11:43:18,201 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/af3b7847-126e-4b8b-92fc-b7b04d23bdc8 2026-11-29 11:43:18,210 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/c3b07791-516f-4681-a75f-1a809cb5e50d 2026-11-29 11:43:21,455 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms') 2026-11-29 11:43:21,455 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21866886-33188864 failed! 2026-11-29 11:43:21,510 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-45785638 is 199.90.238.129 and allocation pool is NOT set 2026-11-29 11:43:25,580 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.51 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 5.506/5.506/5.506/0.000 ms') 2026-11-29 11:43:25,580 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21866886-33188864 passed 2026-11-29 11:43:25,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 11:43:25,730 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21866886-33188864, IP 199.90.238.131, Port 22 2026-11-29 11:43:25,896 - DEBUG - VM ctest-TestBasicPolicy-21866886-33188864 is ready for SSH connections 2026-11-29 11:43:25,896 - INFO - Waiting for VM ctest-TestBasicPolicy-21866886-60931817 to be up.. 2026-11-29 11:43:25,983 - DEBUG - VM is in ACTIVE state now 2026-11-29 11:43:25,983 - INFO - VM name : ctest-TestBasicPolicy-21866886-60931817 2026-11-29 11:43:26,069 - DEBUG - VM ctest-TestBasicPolicy-21866886-60931817 ID is 832b970a-81f2-4114-a303-7b4f7f8dede1 2026-11-29 11:43:26,069 - DEBUG - VM ctest-TestBasicPolicy-21866886-60931817 launched on Node cn-jenkins-deploy-platform-ansible-os-6519-1 2026-11-29 11:43:26,149 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/832b970a-81f2-4114-a303-7b4f7f8dede1 2026-11-29 11:43:26,160 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/aef85c34-57fd-44f9-b178-4ea521a48e4d 2026-11-29 11:43:29,417 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-11-29 11:43:29,417 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21866886-60931817 failed! 2026-11-29 11:43:29,470 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21866886:ctest-vn-48621935 is 14.237.82.193 and allocation pool is NOT set 2026-11-29 11:43:31,529 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.63 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.628/3.284/4.941/1.656 ms') 2026-11-29 11:43:31,529 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21866886-60931817 passed 2026-11-29 11:43:31,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 11:43:31,682 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21866886-60931817, IP 14.237.82.195, Port 22 2026-11-29 11:43:31,841 - DEBUG - VM ctest-TestBasicPolicy-21866886-60931817 is ready for SSH connections 2026-11-29 11:43:31,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 11:43:31,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.237.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-29 11:43:31,842 - DEBUG - ping -s 56 -c 3 -W 1 14.237.82.195 2026-11-29 11:43:35,858 - DEBUG - PING 14.237.82.195 (14.237.82.195): 56 data bytes 64 bytes from 14.237.82.195: seq=0 ttl=63 time=4.768 ms 64 bytes from 14.237.82.195: seq=1 ttl=63 time=1.218 ms 64 bytes from 14.237.82.195: seq=2 ttl=63 time=1.242 ms --- 14.237.82.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.218/2.409/4.768 ms 2026-11-29 11:43:35,858 - INFO - Ping to IP 14.237.82.195 from VM ctest-TestBasicPolicy-21866886-33188864 passed 2026-11-29 11:43:36,038 - DEBUG - Policy Update Response {"network-policy": {"uuid": "732354b7-c237-4f9b-8c14-982273156065", "href": "http://10.0.0.161:8082/network-policy/732354b7-c237-4f9b-8c14-982273156065"}} 2026-11-29 11:43:36,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-29 11:43:36,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.237.82.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-29 11:43:36,038 - DEBUG - ping -s 56 -c 3 -W 1 14.237.82.195 2026-11-29 11:43:39,176 - DEBUG - PING 14.237.82.195 (14.237.82.195): 56 data bytes 64 bytes from 14.237.82.195: seq=0 ttl=63 time=1.551 ms --- 14.237.82.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.551/1.551/1.551 ms 2026-11-29 11:43:39,177 - WARNING - Ping to IP 14.237.82.195 from VM ctest-TestBasicPolicy-21866886-33188864 failed 2026-11-29 11:43:39,177 - INFO - Deleting VM ctest-TestBasicPolicy-21866886-60931817 2026-11-29 11:43:39,257 - INFO - Deleting VM ctest-TestBasicPolicy-21866886-33188864 2026-11-29 11:43:39,664 - INFO - Deleted policy ctest-policy-allow-all-31326302 2026-11-29 11:43:39,664 - INFO - Deleting VN ctest-vn-48621935 2026-11-29 11:43:39,703 - DEBUG - VN a93bc81f-675b-43bc-9df9-e60a887b1950 still in use: Unable to complete operation on network a93bc81f-675b-43bc-9df9-e60a887b1950. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b78d5d2b-c16a-473d-8cec-1157b54718f0'] 2026-11-29 11:43:39,703 - WARNING - Deleting VN ctest-vn-48621935 failed..Will retry 2026-11-29 11:43:41,745 - DEBUG - VN a93bc81f-675b-43bc-9df9-e60a887b1950 still in use: Unable to complete operation on network a93bc81f-675b-43bc-9df9-e60a887b1950. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad319431-a6f8-4f58-bddf-2a868169f3a4'] 2026-11-29 11:43:41,745 - WARNING - Deleting VN ctest-vn-48621935 failed..Will retry 2026-11-29 11:43:43,861 - DEBUG - Response for deleting network () 2026-11-29 11:43:43,862 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/92233e31-d32f-4c70-b191-d5eb348272cf 2026-11-29 11:43:43,866 - DEBUG - Response Code: 404 2026-11-29 11:43:43,867 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-29 11:43:43,875 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a86b2a40-de9e-4131-80d1-bb612881caf7 2026-11-29 11:43:43,928 - DEBUG - Requesting: http://10.0.0.161:8082/project/ac1d4638-eed3-4715-b89f-31462758a215 2026-11-29 11:43:44,025 - INFO - Validated that VN ctest-vn-48621935 is not found in API Server 2026-11-29 11:43:44,038 - DEBUG - VN ctest-vn-48621935 is not present in Agent 10.0.0.161 2026-11-29 11:43:44,038 - INFO - Validated that VN ctest-vn-48621935 is not in any agent 2026-11-29 11:43:44,054 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48621935 info 2026-11-29 11:43:44,055 - INFO - Deleting VN ctest-vn-45785638 2026-11-29 11:43:44,176 - DEBUG - Response for deleting network () 2026-11-29 11:43:44,176 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f7dbe514-4e4e-4e2d-aa60-290a90b68485 2026-11-29 11:43:44,183 - DEBUG - Response Code: 404 2026-11-29 11:43:44,183 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-29 11:43:44,190 - DEBUG - Requesting: http://10.0.0.161:8082/domain/a86b2a40-de9e-4131-80d1-bb612881caf7 2026-11-29 11:43:44,242 - DEBUG - Requesting: http://10.0.0.161:8082/project/ac1d4638-eed3-4715-b89f-31462758a215 2026-11-29 11:43:44,313 - INFO - Validated that VN ctest-vn-45785638 is not found in API Server 2026-11-29 11:43:44,325 - DEBUG - VN ctest-vn-45785638 is not present in Agent 10.0.0.161 2026-11-29 11:43:44,325 - INFO - Validated that VN ctest-vn-45785638 is not in any agent 2026-11-29 11:43:44,344 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45785638 info 2026-11-29 11:43:44,605 - DEBUG - No XMPP flaps were noticed during the test
2026-11-29 11:43:44,605 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07]
2026-11-29 11:43:44,606 - INFO - -------------------------------------------------------------------------------- 2026-11-29 11:43:45,384 - INFO - Deleted project: ctest-TestBasicPolicy-21866886, ID : ac1d4638-eed3-4715-b89f-31462758a215