2026-05-12 13:21:08,646 - INFO - Domain Default found not creating 2026-05-12 13:21:08,891 - INFO - Project ctest-TestBasicPolicy-33611964 not found, creating it 2026-05-12 13:21:09,393 - INFO - Created Project:ctest-TestBasicPolicy-33611964, ID : 4b86c690-6de6-4e36-bcd6-28a6b5f09375 2026-05-12 13:21:11,180 - INFO - ================================================================================ 2026-05-12 13:21:11,181 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-12 13:21:11,181 - 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-05-12 13:21:11,456 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-05-12 13:21:11,457 - INFO - Initial checks done. Running the testcase now 2026-05-12 13:21:11,457 - INFO - 2026-05-12 13:21:12,433 - DEBUG - Response for create_network : {'network': {'id': '0c920cdf-3aa8-4c91-b048-bc8d6cf73f8d', 'name': 'ctest-vn-76984502', 'tenant_id': '4b86c6906de64e36bcd628a6b5f09375', 'project_id': '4b86c6906de64e36bcd628a6b5f09375', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33611964', 'ctest-vn-76984502'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 13:21:12,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bcb1466-4e7e-497e-bad2-5717b0cb9565', 'name': '', 'tenant_id': '4b86c6906de64e36bcd628a6b5f09375', 'network_id': '0c920cdf-3aa8-4c91-b048-bc8d6cf73f8d', 'ip_version': 4, 'cidr': '99.31.15.0/26', 'allocation_pools': [{'start': '99.31.15.2', 'end': '99.31.15.62'}], 'gateway_ip': '99.31.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.31.15.2', 'tags': [], 'project_id': '4b86c6906de64e36bcd628a6b5f09375'}} 2026-05-12 13:21:12,662 - INFO - Created VN ctest-vn-76984502 2026-05-12 13:21:12,714 - DEBUG - VN ctest-vn-76984502 UUID is 0c920cdf-3aa8-4c91-b048-bc8d6cf73f8d 2026-05-12 13:21:13,060 - DEBUG - Response for create_network : {'network': {'id': '3af274e5-aea2-4c08-a79f-c93402fcaa30', 'name': 'ctest-vn-97202185', 'tenant_id': '4b86c6906de64e36bcd628a6b5f09375', 'project_id': '4b86c6906de64e36bcd628a6b5f09375', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33611964', 'ctest-vn-97202185'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 13:21:13,278 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd44e28ab-911e-45a6-9f33-b558f68c248b', 'name': '', 'tenant_id': '4b86c6906de64e36bcd628a6b5f09375', 'network_id': '3af274e5-aea2-4c08-a79f-c93402fcaa30', 'ip_version': 4, 'cidr': '198.252.55.0/26', 'allocation_pools': [{'start': '198.252.55.2', 'end': '198.252.55.62'}], 'gateway_ip': '198.252.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.252.55.2', 'tags': [], 'project_id': '4b86c6906de64e36bcd628a6b5f09375'}} 2026-05-12 13:21:13,302 - INFO - Created VN ctest-vn-97202185 2026-05-12 13:21:13,358 - DEBUG - VN ctest-vn-97202185 UUID is 3af274e5-aea2-4c08-a79f-c93402fcaa30 2026-05-12 13:21:13,490 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-76984502, 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-33611964:ctest-vn-97202185, 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-05-12 13:21:13,839 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c920cdf-3aa8-4c91-b048-bc8d6cf73f8d', 'name': 'ctest-vn-76984502', 'tenant_id': '4b86c6906de64e36bcd628a6b5f09375', 'project_id': '4b86c6906de64e36bcd628a6b5f09375', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2bcb1466-4e7e-497e-bad2-5717b0cb9565'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33611964', 'ctest-vn-76984502'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33611964', 'ctest-policy-allow-all-95816604']], 'subnet_ipam': [{'subnet_cidr': '99.31.15.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-12 13:21:14,134 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3af274e5-aea2-4c08-a79f-c93402fcaa30', 'name': 'ctest-vn-97202185', 'tenant_id': '4b86c6906de64e36bcd628a6b5f09375', 'project_id': '4b86c6906de64e36bcd628a6b5f09375', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d44e28ab-911e-45a6-9f33-b558f68c248b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33611964', 'ctest-vn-97202185'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33611964', 'ctest-policy-allow-all-95816604']], 'subnet_ipam': [{'subnet_cidr': '198.252.55.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-12 13:21:14,318 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 13:21:14,636 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 13:21:14,683 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a645f060-b705-4e79-b438-276cfc593347 2026-05-12 13:21:14,700 - DEBUG - Requesting: http://10.0.0.22:8082/project/4b86c690-6de6-4e36-bcd6-28a6b5f09375 2026-05-12 13:21:14,784 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0c920cdf-3aa8-4c91-b048-bc8d6cf73f8d 2026-05-12 13:21:14,800 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0c920cdf-3aa8-4c91-b048-bc8d6cf73f8d 2026-05-12 13:21:14,812 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9294a611-572d-4e83-a891-6f9126cabc02 2026-05-12 13:21:14,824 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9294a611-572d-4e83-a891-6f9126cabc02 2026-05-12 13:21:14,835 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/b8170aa9-bc8a-40d3-b370-c0bcb03127f8 2026-05-12 13:21:14,844 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-12 13:21:14,844 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0c920cdf-3aa8-4c91-b048-bc8d6cf73f8d 2026-05-12 13:21:14,857 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9294a611-572d-4e83-a891-6f9126cabc02 2026-05-12 13:21:14,881 - INFO - Verified VN network id 11 for VN 0c920cdf-3aa8-4c91-b048-bc8d6cf73f8d 2026-05-12 13:21:14,882 - INFO - Verifications in API Server for VN ctest-vn-76984502 passed 2026-05-12 13:21:14,882 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0c920cdf-3aa8-4c91-b048-bc8d6cf73f8d 2026-05-12 13:21:14,896 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9294a611-572d-4e83-a891-6f9126cabc02 2026-05-12 13:21:14,907 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9294a611-572d-4e83-a891-6f9126cabc02 2026-05-12 13:21:14,916 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/b8170aa9-bc8a-40d3-b370-c0bcb03127f8 2026-05-12 13:21:14,930 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-76984502', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33611964', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '905800627956239505', 'uuid-lslong': '12702610064603037581'}, 'enable': 'true', 'created': '2026-05-12T13:21:12', 'last-modified': '2026-05-12T13:21:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.129103'} 2026-05-12 13:21:14,938 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-12 13:21:14,938 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76984502 passed 2026-05-12 13:21:14,938 - DEBUG - ====Verifying policy data for ctest-vn-76984502 in API_Server ====== 2026-05-12 13:21:14,938 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 13:21:14,946 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a645f060-b705-4e79-b438-276cfc593347 2026-05-12 13:21:14,959 - DEBUG - Requesting: http://10.0.0.22:8082/project/4b86c690-6de6-4e36-bcd6-28a6b5f09375 2026-05-12 13:21:15,045 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/0c920cdf-3aa8-4c91-b048-bc8d6cf73f8d 2026-05-12 13:21:15,059 - DEBUG - ==>Verifying data for policy with id: 9e34c0c3-044d-4cb5-8617-bbed1dacb4b8, fqn: ['default-domain', 'ctest-TestBasicPolicy-33611964', 'ctest-policy-allow-all-95816604'] 2026-05-12 13:21:15,059 - INFO - VN ctest-vn-76984502 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-12 13:21:15,059 - DEBUG - Verifying the vn in opserver 2026-05-12 13:21:15,059 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-76984502 virtual network link through opserver 10.0.0.22 2026-05-12 13:21:15,059 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-12 13:21:15,382 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-12 13:21:15,476 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-76984502', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-76984502?flat'} 2026-05-12 13:21:15,476 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-76984502 is found in opserver 2026-05-12 13:21:15,490 - DEBUG - Do not have enough data to verify VN in agent 2026-05-12 13:21:15,497 - DEBUG - VRF ids for VN ctest-vn-76984502: {} 2026-05-12 13:21:15,497 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 13:21:15,505 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a645f060-b705-4e79-b438-276cfc593347 2026-05-12 13:21:15,522 - DEBUG - Requesting: http://10.0.0.22:8082/project/4b86c690-6de6-4e36-bcd6-28a6b5f09375 2026-05-12 13:21:15,605 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3af274e5-aea2-4c08-a79f-c93402fcaa30 2026-05-12 13:21:15,621 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3af274e5-aea2-4c08-a79f-c93402fcaa30 2026-05-12 13:21:15,633 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0bbd9c0-e801-4382-bfdc-880024a7c208 2026-05-12 13:21:15,645 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0bbd9c0-e801-4382-bfdc-880024a7c208 2026-05-12 13:21:15,655 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/829b193f-7666-4d87-9146-08d3c27fbdbe 2026-05-12 13:21:15,665 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-12 13:21:15,665 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3af274e5-aea2-4c08-a79f-c93402fcaa30 2026-05-12 13:21:15,679 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0bbd9c0-e801-4382-bfdc-880024a7c208 2026-05-12 13:21:15,700 - INFO - Verified VN network id 12 for VN 3af274e5-aea2-4c08-a79f-c93402fcaa30 2026-05-12 13:21:15,700 - INFO - Verifications in API Server for VN ctest-vn-97202185 passed 2026-05-12 13:21:15,701 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3af274e5-aea2-4c08-a79f-c93402fcaa30 2026-05-12 13:21:15,715 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0bbd9c0-e801-4382-bfdc-880024a7c208 2026-05-12 13:21:15,725 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0bbd9c0-e801-4382-bfdc-880024a7c208 2026-05-12 13:21:15,736 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/829b193f-7666-4d87-9146-08d3c27fbdbe 2026-05-12 13:21:15,752 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-97202185', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33611964', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4247585928390003720', 'uuid-lslong': '12078593950856555056'}, 'enable': 'true', 'created': '2026-05-12T13:21:13', 'last-modified': '2026-05-12T13:21:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.658358'} 2026-05-12 13:21:15,760 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-12 13:21:15,760 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97202185 passed 2026-05-12 13:21:15,760 - DEBUG - ====Verifying policy data for ctest-vn-97202185 in API_Server ====== 2026-05-12 13:21:15,761 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 13:21:15,769 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a645f060-b705-4e79-b438-276cfc593347 2026-05-12 13:21:15,784 - DEBUG - Requesting: http://10.0.0.22:8082/project/4b86c690-6de6-4e36-bcd6-28a6b5f09375 2026-05-12 13:21:15,862 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3af274e5-aea2-4c08-a79f-c93402fcaa30 2026-05-12 13:21:15,875 - DEBUG - ==>Verifying data for policy with id: 9e34c0c3-044d-4cb5-8617-bbed1dacb4b8, fqn: ['default-domain', 'ctest-TestBasicPolicy-33611964', 'ctest-policy-allow-all-95816604'] 2026-05-12 13:21:15,875 - INFO - VN ctest-vn-97202185 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-12 13:21:15,876 - DEBUG - Verifying the vn in opserver 2026-05-12 13:21:15,876 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-97202185 virtual network link through opserver 10.0.0.22 2026-05-12 13:21:15,876 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-12 13:21:15,890 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-97202185', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-97202185?flat'} 2026-05-12 13:21:15,890 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-97202185 is found in opserver 2026-05-12 13:21:15,904 - DEBUG - Do not have enough data to verify VN in agent 2026-05-12 13:21:15,910 - DEBUG - VRF ids for VN ctest-vn-97202185: {} 2026-05-12 13:21:15,993 - DEBUG - Services list from nova: [, , ] 2026-05-12 13:21:17,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5771-1) 2026-05-12 13:21:18,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5771-1) 2026-05-12 13:21:18,669 - INFO - Waiting for VM ctest-TestBasicPolicy-33611964-46605919 to be up.. 2026-05-12 13:21:18,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-12 13:21:23,909 - DEBUG - VM is in ACTIVE state now 2026-05-12 13:21:23,909 - INFO - VM name : ctest-TestBasicPolicy-33611964-46605919 2026-05-12 13:21:24,037 - DEBUG - VM ctest-TestBasicPolicy-33611964-46605919 ID is 9de62116-295f-45ad-8ed2-1c1ac89bfda7 2026-05-12 13:21:24,069 - DEBUG - VM ctest-TestBasicPolicy-33611964-46605919 launched on Node cn-jenkins-deploy-platform-ansible-os-5771-1 2026-05-12 13:21:24,196 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9de62116-295f-45ad-8ed2-1c1ac89bfda7 2026-05-12 13:21:24,208 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4174fb81-0bd9-461a-9431-604ee96c0579 2026-05-12 13:21:27,483 - 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 1011ms') 2026-05-12 13:21:27,484 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33611964-46605919 failed! 2026-05-12 13:21:27,542 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33611964:ctest-vn-76984502 is 99.31.15.1 and allocation pool is NOT set 2026-05-12 13:21:31,616 - 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=7.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 7.000/7.000/7.000/0.000 ms') 2026-05-12 13:21:31,617 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33611964-46605919 passed 2026-05-12 13:21:31,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 13:21:31,778 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33611964-46605919, IP 99.31.15.3, Port 22 2026-05-12 13:21:31,949 - DEBUG - VM ctest-TestBasicPolicy-33611964-46605919 is ready for SSH connections 2026-05-12 13:21:31,949 - INFO - Waiting for VM ctest-TestBasicPolicy-33611964-26217857 to be up.. 2026-05-12 13:21:32,066 - DEBUG - VM is in ACTIVE state now 2026-05-12 13:21:32,066 - INFO - VM name : ctest-TestBasicPolicy-33611964-26217857 2026-05-12 13:21:32,178 - DEBUG - VM ctest-TestBasicPolicy-33611964-26217857 ID is 69e8929a-16a4-4d55-9853-44d6387874ac 2026-05-12 13:21:32,178 - DEBUG - VM ctest-TestBasicPolicy-33611964-26217857 launched on Node cn-jenkins-deploy-platform-ansible-os-5771-1 2026-05-12 13:21:32,292 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/69e8929a-16a4-4d55-9853-44d6387874ac 2026-05-12 13:21:32,304 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/02ae3f8d-39d5-42cc-b4c3-2810cdddba8b 2026-05-12 13:21:33,570 - 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=6.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.631 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 = 0.631/3.760/6.889/3.129 ms') 2026-05-12 13:21:33,570 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33611964-26217857 passed 2026-05-12 13:21:33,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 13:21:33,730 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33611964-26217857, IP 198.252.55.3, Port 22 2026-05-12 13:21:33,896 - DEBUG - VM ctest-TestBasicPolicy-33611964-26217857 is ready for SSH connections 2026-05-12 13:21:33,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 13:21:33,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.252.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-12 13:21:33,897 - DEBUG - ping -s 56 -c 3 -W 1 198.252.55.3 2026-05-12 13:21:38,199 - DEBUG - PING 198.252.55.3 (198.252.55.3): 56 data bytes 64 bytes from 198.252.55.3: seq=0 ttl=63 time=4.785 ms 64 bytes from 198.252.55.3: seq=1 ttl=63 time=1.133 ms 64 bytes from 198.252.55.3: seq=2 ttl=63 time=1.014 ms --- 198.252.55.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.014/2.310/4.785 ms 2026-05-12 13:21:38,199 - INFO - Ping to IP 198.252.55.3 from VM ctest-TestBasicPolicy-33611964-46605919 passed 2026-05-12 13:21:38,398 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9e34c0c3-044d-4cb5-8617-bbed1dacb4b8", "href": "http://10.0.0.22:8082/network-policy/9e34c0c3-044d-4cb5-8617-bbed1dacb4b8"}} 2026-05-12 13:21:38,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 13:21:38,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.252.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-12 13:21:38,398 - DEBUG - ping -s 56 -c 3 -W 1 198.252.55.3 2026-05-12 13:21:41,686 - DEBUG - PING 198.252.55.3 (198.252.55.3): 56 data bytes --- 198.252.55.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-12 13:21:41,686 - WARNING - Ping to IP 198.252.55.3 from VM ctest-TestBasicPolicy-33611964-46605919 failed 2026-05-12 13:21:41,686 - INFO - Deleting VM ctest-TestBasicPolicy-33611964-26217857 2026-05-12 13:21:41,785 - INFO - Deleting VM ctest-TestBasicPolicy-33611964-46605919 2026-05-12 13:21:42,274 - INFO - Deleted policy ctest-policy-allow-all-95816604 2026-05-12 13:21:42,275 - INFO - Deleting VN ctest-vn-97202185 2026-05-12 13:21:42,332 - DEBUG - VN 3af274e5-aea2-4c08-a79f-c93402fcaa30 still in use: Unable to complete operation on network 3af274e5-aea2-4c08-a79f-c93402fcaa30. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d0726e41-8e49-4ba8-9965-c2aa2d736639'] 2026-05-12 13:21:42,332 - WARNING - Deleting VN ctest-vn-97202185 failed..Will retry 2026-05-12 13:21:44,486 - DEBUG - Response for deleting network () 2026-05-12 13:21:44,486 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a0bbd9c0-e801-4382-bfdc-880024a7c208 2026-05-12 13:21:44,496 - DEBUG - Response Code: 404 2026-05-12 13:21:44,496 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 13:21:44,504 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a645f060-b705-4e79-b438-276cfc593347 2026-05-12 13:21:44,560 - DEBUG - Requesting: http://10.0.0.22:8082/project/4b86c690-6de6-4e36-bcd6-28a6b5f09375 2026-05-12 13:21:44,644 - INFO - Validated that VN ctest-vn-97202185 is not found in API Server 2026-05-12 13:21:44,658 - DEBUG - VN ctest-vn-97202185 is not present in Agent 10.0.0.22 2026-05-12 13:21:44,658 - INFO - Validated that VN ctest-vn-97202185 is not in any agent 2026-05-12 13:21:44,677 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97202185 info 2026-05-12 13:21:44,677 - INFO - Deleting VN ctest-vn-76984502 2026-05-12 13:21:44,803 - DEBUG - Response for deleting network () 2026-05-12 13:21:44,803 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9294a611-572d-4e83-a891-6f9126cabc02 2026-05-12 13:21:44,811 - DEBUG - Response Code: 404 2026-05-12 13:21:44,811 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 13:21:44,819 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a645f060-b705-4e79-b438-276cfc593347 2026-05-12 13:21:44,876 - DEBUG - Requesting: http://10.0.0.22:8082/project/4b86c690-6de6-4e36-bcd6-28a6b5f09375 2026-05-12 13:21:44,959 - INFO - Validated that VN ctest-vn-76984502 is not found in API Server 2026-05-12 13:21:44,970 - DEBUG - VN ctest-vn-76984502 is not present in Agent 10.0.0.22 2026-05-12 13:21:44,970 - INFO - Validated that VN ctest-vn-76984502 is not in any agent 2026-05-12 13:21:44,990 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76984502 info 2026-05-12 13:21:45,256 - DEBUG - No XMPP flaps were noticed during the test 2026-05-12 13:21:45,256 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-05-12 13:21:45,257 - INFO - -------------------------------------------------------------------------------- 2026-05-12 13:21:45,989 - INFO - Deleted project: ctest-TestBasicPolicy-33611964, ID : 4b86c690-6de6-4e36-bcd6-28a6b5f09375