2026-03-07 14:22:09,134 - INFO - Domain Default found not creating 2026-03-07 14:22:09,313 - INFO - Project ctest-TestBasicPolicy-65233973 not found, creating it 2026-03-07 14:22:09,776 - INFO - Created Project:ctest-TestBasicPolicy-65233973, ID : 8fa708bb-976c-4ab7-8266-c40e5cd65de1 2026-03-07 14:22:11,361 - INFO - ================================================================================ 2026-03-07 14:22:11,361 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-07 14:22:11,361 - 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-03-07 14:22:11,616 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-03-07 14:22:11,616 - INFO - Initial checks done. Running the testcase now 2026-03-07 14:22:11,617 - INFO - 2026-03-07 14:22:12,184 - DEBUG - Response for create_network : {'network': {'id': 'ea6ec0c6-4d0d-45b7-8048-1a20be9189bd', 'name': 'ctest-vn-54605172', 'tenant_id': '8fa708bb976c4ab78266c40e5cd65de1', 'project_id': '8fa708bb976c4ab78266c40e5cd65de1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65233973', 'ctest-vn-54605172'], 'port_security_enabled': True, 'description': ''}} 2026-03-07 14:22:12,330 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fcbd298-66ae-42b4-864c-2dfb89f78c73', 'name': '', 'tenant_id': '8fa708bb976c4ab78266c40e5cd65de1', 'network_id': 'ea6ec0c6-4d0d-45b7-8048-1a20be9189bd', 'ip_version': 4, 'cidr': '43.90.1.0/26', 'allocation_pools': [{'start': '43.90.1.2', 'end': '43.90.1.62'}], 'gateway_ip': '43.90.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.90.1.2', 'tags': [], 'project_id': '8fa708bb976c4ab78266c40e5cd65de1'}} 2026-03-07 14:22:12,348 - INFO - Created VN ctest-vn-54605172 2026-03-07 14:22:12,403 - DEBUG - VN ctest-vn-54605172 UUID is ea6ec0c6-4d0d-45b7-8048-1a20be9189bd 2026-03-07 14:22:12,744 - DEBUG - Response for create_network : {'network': {'id': '52d6ad3d-95be-4342-89ab-9ccb625acf60', 'name': 'ctest-vn-87254835', 'tenant_id': '8fa708bb976c4ab78266c40e5cd65de1', 'project_id': '8fa708bb976c4ab78266c40e5cd65de1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65233973', 'ctest-vn-87254835'], 'port_security_enabled': True, 'description': ''}} 2026-03-07 14:22:12,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f49cd301-be23-46a0-a403-8fa09a5b0408', 'name': '', 'tenant_id': '8fa708bb976c4ab78266c40e5cd65de1', 'network_id': '52d6ad3d-95be-4342-89ab-9ccb625acf60', 'ip_version': 4, 'cidr': '116.140.237.0/26', 'allocation_pools': [{'start': '116.140.237.2', 'end': '116.140.237.62'}], 'gateway_ip': '116.140.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.140.237.2', 'tags': [], 'project_id': '8fa708bb976c4ab78266c40e5cd65de1'}} 2026-03-07 14:22:12,967 - INFO - Created VN ctest-vn-87254835 2026-03-07 14:22:13,019 - DEBUG - VN ctest-vn-87254835 UUID is 52d6ad3d-95be-4342-89ab-9ccb625acf60 2026-03-07 14:22:13,132 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-54605172, 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-65233973:ctest-vn-87254835, 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-03-07 14:22:13,421 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea6ec0c6-4d0d-45b7-8048-1a20be9189bd', 'name': 'ctest-vn-54605172', 'tenant_id': '8fa708bb976c4ab78266c40e5cd65de1', 'project_id': '8fa708bb976c4ab78266c40e5cd65de1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3fcbd298-66ae-42b4-864c-2dfb89f78c73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65233973', 'ctest-vn-54605172'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65233973', 'ctest-policy-allow-all-68577857']], 'subnet_ipam': [{'subnet_cidr': '43.90.1.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-07 14:22:13,687 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '52d6ad3d-95be-4342-89ab-9ccb625acf60', 'name': 'ctest-vn-87254835', 'tenant_id': '8fa708bb976c4ab78266c40e5cd65de1', 'project_id': '8fa708bb976c4ab78266c40e5cd65de1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f49cd301-be23-46a0-a403-8fa09a5b0408'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65233973', 'ctest-vn-87254835'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65233973', 'ctest-policy-allow-all-68577857']], 'subnet_ipam': [{'subnet_cidr': '116.140.237.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-07 14:22:13,835 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-07 14:22:14,133 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-07 14:22:14,163 - DEBUG - Requesting: http://10.0.0.249:8082/domain/991ed670-fe57-45d1-99a9-d46fe2afb2c2 2026-03-07 14:22:14,174 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fa708bb-976c-4ab7-8266-c40e5cd65de1 2026-03-07 14:22:14,243 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ea6ec0c6-4d0d-45b7-8048-1a20be9189bd 2026-03-07 14:22:14,252 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ea6ec0c6-4d0d-45b7-8048-1a20be9189bd 2026-03-07 14:22:14,261 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1cb81a26-2d09-4338-a115-d8235be2ccbd 2026-03-07 14:22:14,267 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1cb81a26-2d09-4338-a115-d8235be2ccbd 2026-03-07 14:22:14,274 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/67149aa1-1bae-42a8-ab22-ad2fc4cf9204 2026-03-07 14:22:14,280 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-07 14:22:14,280 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ea6ec0c6-4d0d-45b7-8048-1a20be9189bd 2026-03-07 14:22:14,288 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1cb81a26-2d09-4338-a115-d8235be2ccbd 2026-03-07 14:22:14,302 - INFO - Verified VN network id 11 for VN ea6ec0c6-4d0d-45b7-8048-1a20be9189bd 2026-03-07 14:22:14,302 - INFO - Verifications in API Server for VN ctest-vn-54605172 passed 2026-03-07 14:22:14,302 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ea6ec0c6-4d0d-45b7-8048-1a20be9189bd 2026-03-07 14:22:14,315 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1cb81a26-2d09-4338-a115-d8235be2ccbd 2026-03-07 14:22:14,326 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1cb81a26-2d09-4338-a115-d8235be2ccbd 2026-03-07 14:22:14,332 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/67149aa1-1bae-42a8-ab22-ad2fc4cf9204 2026-03-07 14:22:14,345 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-54605172', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65233973', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16892651210242082231', 'uuid-lslong': '9243666963116427709'}, 'enable': 'true', 'created': '2026-03-07T14:22:12', 'last-modified': '2026-03-07T14:22:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938425'} 2026-03-07 14:22:14,351 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-07 14:22:14,351 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54605172 passed 2026-03-07 14:22:14,351 - DEBUG - ====Verifying policy data for ctest-vn-54605172 in API_Server ====== 2026-03-07 14:22:14,351 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-07 14:22:14,356 - DEBUG - Requesting: http://10.0.0.249:8082/domain/991ed670-fe57-45d1-99a9-d46fe2afb2c2 2026-03-07 14:22:14,367 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fa708bb-976c-4ab7-8266-c40e5cd65de1 2026-03-07 14:22:14,436 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ea6ec0c6-4d0d-45b7-8048-1a20be9189bd 2026-03-07 14:22:14,444 - DEBUG - ==>Verifying data for policy with id: 2511d1a5-f665-4058-8ea2-fd6330cd38ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-65233973', 'ctest-policy-allow-all-68577857'] 2026-03-07 14:22:14,444 - INFO - VN ctest-vn-54605172 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-07 14:22:14,444 - DEBUG - Verifying the vn in opserver 2026-03-07 14:22:14,444 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-54605172 virtual network link through opserver 10.0.0.249 2026-03-07 14:22:14,444 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-07 14:22:14,737 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-07 14:22:14,805 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-54605172', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-54605172?flat'} 2026-03-07 14:22:14,805 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-54605172 is found in opserver 2026-03-07 14:22:14,816 - DEBUG - Do not have enough data to verify VN in agent 2026-03-07 14:22:14,820 - DEBUG - VRF ids for VN ctest-vn-54605172: {} 2026-03-07 14:22:14,820 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-07 14:22:14,826 - DEBUG - Requesting: http://10.0.0.249:8082/domain/991ed670-fe57-45d1-99a9-d46fe2afb2c2 2026-03-07 14:22:14,838 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fa708bb-976c-4ab7-8266-c40e5cd65de1 2026-03-07 14:22:14,910 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/52d6ad3d-95be-4342-89ab-9ccb625acf60 2026-03-07 14:22:14,922 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/52d6ad3d-95be-4342-89ab-9ccb625acf60 2026-03-07 14:22:14,931 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/152e7d8b-33eb-466d-8edb-ec9c14b57cdd 2026-03-07 14:22:14,937 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/152e7d8b-33eb-466d-8edb-ec9c14b57cdd 2026-03-07 14:22:14,944 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/5999cc94-24b1-476a-a7e5-20930fc70788 2026-03-07 14:22:14,950 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-07 14:22:14,950 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/52d6ad3d-95be-4342-89ab-9ccb625acf60 2026-03-07 14:22:14,959 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/152e7d8b-33eb-466d-8edb-ec9c14b57cdd 2026-03-07 14:22:14,973 - INFO - Verified VN network id 12 for VN 52d6ad3d-95be-4342-89ab-9ccb625acf60 2026-03-07 14:22:14,973 - INFO - Verifications in API Server for VN ctest-vn-87254835 passed 2026-03-07 14:22:14,973 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/52d6ad3d-95be-4342-89ab-9ccb625acf60 2026-03-07 14:22:14,982 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/152e7d8b-33eb-466d-8edb-ec9c14b57cdd 2026-03-07 14:22:14,989 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/152e7d8b-33eb-466d-8edb-ec9c14b57cdd 2026-03-07 14:22:14,996 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/5999cc94-24b1-476a-a7e5-20930fc70788 2026-03-07 14:22:15,009 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-87254835', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65233973', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5969148836143055682', 'uuid-lslong': '9920195001556062048'}, 'enable': 'true', 'created': '2026-03-07T14:22:12', 'last-modified': '2026-03-07T14:22:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.382992'} 2026-03-07 14:22:15,014 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-07 14:22:15,014 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87254835 passed 2026-03-07 14:22:15,014 - DEBUG - ====Verifying policy data for ctest-vn-87254835 in API_Server ====== 2026-03-07 14:22:15,014 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-07 14:22:15,021 - DEBUG - Requesting: http://10.0.0.249:8082/domain/991ed670-fe57-45d1-99a9-d46fe2afb2c2 2026-03-07 14:22:15,032 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fa708bb-976c-4ab7-8266-c40e5cd65de1 2026-03-07 14:22:15,099 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/52d6ad3d-95be-4342-89ab-9ccb625acf60 2026-03-07 14:22:15,108 - DEBUG - ==>Verifying data for policy with id: 2511d1a5-f665-4058-8ea2-fd6330cd38ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-65233973', 'ctest-policy-allow-all-68577857'] 2026-03-07 14:22:15,108 - INFO - VN ctest-vn-87254835 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-07 14:22:15,108 - DEBUG - Verifying the vn in opserver 2026-03-07 14:22:15,108 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-87254835 virtual network link through opserver 10.0.0.249 2026-03-07 14:22:15,108 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-07 14:22:15,118 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-87254835', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-87254835?flat'} 2026-03-07 14:22:15,119 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-87254835 is found in opserver 2026-03-07 14:22:15,128 - DEBUG - Do not have enough data to verify VN in agent 2026-03-07 14:22:15,133 - DEBUG - VRF ids for VN ctest-vn-87254835: {} 2026-03-07 14:22:15,189 - DEBUG - Services list from nova: [, , ] 2026-03-07 14:22:16,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5450-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5450-1) 2026-03-07 14:22:17,360 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5450-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5450-1) 2026-03-07 14:22:17,360 - INFO - Waiting for VM ctest-TestBasicPolicy-65233973-35757588 to be up.. 2026-03-07 14:22:17,445 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-07 14:22:22,542 - DEBUG - VM is in ACTIVE state now 2026-03-07 14:22:22,542 - INFO - VM name : ctest-TestBasicPolicy-65233973-35757588 2026-03-07 14:22:22,620 - DEBUG - VM ctest-TestBasicPolicy-65233973-35757588 ID is 571c632c-28fa-4fc5-a820-10e77d73b2e9 2026-03-07 14:22:22,639 - DEBUG - VM ctest-TestBasicPolicy-65233973-35757588 launched on Node cn-jenkins-deploy-platform-ansible-os-5450-1 2026-03-07 14:22:22,713 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/571c632c-28fa-4fc5-a820-10e77d73b2e9 2026-03-07 14:22:22,720 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c8cb0ed6-9292-408a-80cd-3b5eb7f1dc62 2026-03-07 14:22:25,989 - 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 1031ms') 2026-03-07 14:22:25,989 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65233973-35757588 failed! 2026-03-07 14:22:26,043 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65233973:ctest-vn-54605172 is 43.90.1.1 and allocation pool is NOT set 2026-03-07 14:22:28,112 - 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=1 ttl=63 time=8.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.879 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.879/4.555/8.231/3.676 ms') 2026-03-07 14:22:28,113 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65233973-35757588 passed 2026-03-07 14:22:28,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-07 14:22:28,263 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65233973-35757588, IP 43.90.1.3, Port 22 2026-03-07 14:22:28,429 - DEBUG - VM ctest-TestBasicPolicy-65233973-35757588 is ready for SSH connections 2026-03-07 14:22:28,430 - INFO - Waiting for VM ctest-TestBasicPolicy-65233973-74355457 to be up.. 2026-03-07 14:22:28,515 - DEBUG - VM is in ACTIVE state now 2026-03-07 14:22:28,515 - INFO - VM name : ctest-TestBasicPolicy-65233973-74355457 2026-03-07 14:22:28,589 - DEBUG - VM ctest-TestBasicPolicy-65233973-74355457 ID is ec1b0071-f297-441f-96f1-4a650b326d60 2026-03-07 14:22:28,589 - DEBUG - VM ctest-TestBasicPolicy-65233973-74355457 launched on Node cn-jenkins-deploy-platform-ansible-os-5450-1 2026-03-07 14:22:28,659 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ec1b0071-f297-441f-96f1-4a650b326d60 2026-03-07 14:22:28,667 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bd6cba8e-1605-4fb3-bc4a-dd621bed27fa 2026-03-07 14:22:29,902 - 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=2.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.478/1.670/2.863/1.192 ms') 2026-03-07 14:22:29,902 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65233973-74355457 passed 2026-03-07 14:22:30,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-07 14:22:30,051 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65233973-74355457, IP 116.140.237.3, Port 22 2026-03-07 14:22:30,217 - DEBUG - VM ctest-TestBasicPolicy-65233973-74355457 is ready for SSH connections 2026-03-07 14:22:30,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-07 14:22:30,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.140.237.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-07 14:22:30,218 - DEBUG - ping -s 56 -c 3 -W 1 116.140.237.3 2026-03-07 14:22:34,289 - DEBUG - PING 116.140.237.3 (116.140.237.3): 56 data bytes 64 bytes from 116.140.237.3: seq=0 ttl=63 time=3.844 ms 64 bytes from 116.140.237.3: seq=1 ttl=63 time=0.980 ms 64 bytes from 116.140.237.3: seq=2 ttl=63 time=0.771 ms --- 116.140.237.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.771/1.865/3.844 ms 2026-03-07 14:22:34,289 - INFO - Ping to IP 116.140.237.3 from VM ctest-TestBasicPolicy-65233973-35757588 passed 2026-03-07 14:22:34,463 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2511d1a5-f665-4058-8ea2-fd6330cd38ba", "href": "http://10.0.0.249:8082/network-policy/2511d1a5-f665-4058-8ea2-fd6330cd38ba"}} 2026-03-07 14:22:34,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-07 14:22:34,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.140.237.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-07 14:22:34,463 - DEBUG - ping -s 56 -c 3 -W 1 116.140.237.3 2026-03-07 14:22:37,676 - DEBUG - PING 116.140.237.3 (116.140.237.3): 56 data bytes --- 116.140.237.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-07 14:22:37,676 - WARNING - Ping to IP 116.140.237.3 from VM ctest-TestBasicPolicy-65233973-35757588 failed 2026-03-07 14:22:37,677 - INFO - Deleting VM ctest-TestBasicPolicy-65233973-74355457 2026-03-07 14:22:37,747 - INFO - Deleting VM ctest-TestBasicPolicy-65233973-35757588 2026-03-07 14:22:38,154 - INFO - Deleted policy ctest-policy-allow-all-68577857 2026-03-07 14:22:38,155 - INFO - Deleting VN ctest-vn-87254835 2026-03-07 14:22:38,201 - DEBUG - VN 52d6ad3d-95be-4342-89ab-9ccb625acf60 still in use: Unable to complete operation on network 52d6ad3d-95be-4342-89ab-9ccb625acf60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c1fbe4b5-9743-4ba5-9707-082341065c17'] 2026-03-07 14:22:38,201 - WARNING - Deleting VN ctest-vn-87254835 failed..Will retry 2026-03-07 14:22:40,303 - DEBUG - Response for deleting network () 2026-03-07 14:22:40,303 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/152e7d8b-33eb-466d-8edb-ec9c14b57cdd 2026-03-07 14:22:40,310 - DEBUG - Response Code: 404 2026-03-07 14:22:40,310 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-07 14:22:40,316 - DEBUG - Requesting: http://10.0.0.249:8082/domain/991ed670-fe57-45d1-99a9-d46fe2afb2c2 2026-03-07 14:22:40,369 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fa708bb-976c-4ab7-8266-c40e5cd65de1 2026-03-07 14:22:40,438 - INFO - Validated that VN ctest-vn-87254835 is not found in API Server 2026-03-07 14:22:40,448 - DEBUG - VN ctest-vn-87254835 is not present in Agent 10.0.0.249 2026-03-07 14:22:40,448 - INFO - Validated that VN ctest-vn-87254835 is not in any agent 2026-03-07 14:22:40,462 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87254835 info 2026-03-07 14:22:40,463 - INFO - Deleting VN ctest-vn-54605172 2026-03-07 14:22:40,567 - DEBUG - Response for deleting network () 2026-03-07 14:22:40,567 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/1cb81a26-2d09-4338-a115-d8235be2ccbd 2026-03-07 14:22:40,577 - DEBUG - Response Code: 404 2026-03-07 14:22:40,577 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-07 14:22:40,583 - DEBUG - Requesting: http://10.0.0.249:8082/domain/991ed670-fe57-45d1-99a9-d46fe2afb2c2 2026-03-07 14:22:40,636 - DEBUG - Requesting: http://10.0.0.249:8082/project/8fa708bb-976c-4ab7-8266-c40e5cd65de1 2026-03-07 14:22:40,713 - INFO - Validated that VN ctest-vn-54605172 is not found in API Server 2026-03-07 14:22:40,723 - DEBUG - VN ctest-vn-54605172 is not present in Agent 10.0.0.249 2026-03-07 14:22:40,723 - INFO - Validated that VN ctest-vn-54605172 is not in any agent 2026-03-07 14:22:40,737 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54605172 info 2026-03-07 14:22:40,993 - DEBUG - No XMPP flaps were noticed during the test
2026-03-07 14:22:40,993 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-07 14:22:40,993 - INFO - -------------------------------------------------------------------------------- 2026-03-07 14:22:41,694 - INFO - Deleted project: ctest-TestBasicPolicy-65233973, ID : 8fa708bb-976c-4ab7-8266-c40e5cd65de1