2026-03-27 11:17:43,912 - INFO - Domain Default found not creating 2026-03-27 11:17:44,088 - INFO - Project ctest-TestBasicPolicy-63717608 not found, creating it 2026-03-27 11:17:44,556 - INFO - Created Project:ctest-TestBasicPolicy-63717608, ID : 459d340a-85a2-4938-874d-4f7bca56ee77 2026-03-27 11:17:46,035 - INFO - ================================================================================ 2026-03-27 11:17:46,035 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-27 11:17:46,035 - 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-27 11:17:46,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2026-03-27 11:17:46,291 - INFO - Initial checks done. Running the testcase now 2026-03-27 11:17:46,291 - INFO - 2026-03-27 11:17:46,856 - DEBUG - Response for create_network : {'network': {'id': '08198def-f8e3-4b00-94a3-f0c767cbbf1f', 'name': 'ctest-vn-65096834', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'project_id': '459d340a85a24938874d4f7bca56ee77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-vn-65096834'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 11:17:47,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '79d479f4-2440-4886-a044-e8c4a80593d6', 'name': '', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'network_id': '08198def-f8e3-4b00-94a3-f0c767cbbf1f', 'ip_version': 4, 'cidr': '44.145.101.64/26', 'allocation_pools': [{'start': '44.145.101.66', 'end': '44.145.101.126'}], 'gateway_ip': '44.145.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.145.101.66', 'tags': [], 'project_id': '459d340a85a24938874d4f7bca56ee77'}} 2026-03-27 11:17:47,108 - INFO - Created VN ctest-vn-65096834 2026-03-27 11:17:47,161 - DEBUG - VN ctest-vn-65096834 UUID is 08198def-f8e3-4b00-94a3-f0c767cbbf1f 2026-03-27 11:17:47,457 - DEBUG - Response for create_network : {'network': {'id': '8cb01bd3-402e-4a7b-8e49-8b0b395c597c', 'name': 'ctest-vn-09023141', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'project_id': '459d340a85a24938874d4f7bca56ee77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-vn-09023141'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 11:17:47,672 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdb4187b-514b-42ff-8cdd-c575b6f9e613', 'name': '', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'network_id': '8cb01bd3-402e-4a7b-8e49-8b0b395c597c', 'ip_version': 4, 'cidr': '39.139.73.64/26', 'allocation_pools': [{'start': '39.139.73.66', 'end': '39.139.73.126'}], 'gateway_ip': '39.139.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.139.73.66', 'tags': [], 'project_id': '459d340a85a24938874d4f7bca56ee77'}} 2026-03-27 11:17:47,690 - INFO - Created VN ctest-vn-09023141 2026-03-27 11:17:47,741 - DEBUG - VN ctest-vn-09023141 UUID is 8cb01bd3-402e-4a7b-8e49-8b0b395c597c 2026-03-27 11:17:47,852 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834, 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-63717608:ctest-vn-09023141, 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-27 11:17:48,150 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '08198def-f8e3-4b00-94a3-f0c767cbbf1f', 'name': 'ctest-vn-65096834', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'project_id': '459d340a85a24938874d4f7bca56ee77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79d479f4-2440-4886-a044-e8c4a80593d6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-vn-65096834'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-policy-allow-all-79038625']], 'subnet_ipam': [{'subnet_cidr': '44.145.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-27 11:17:48,432 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8cb01bd3-402e-4a7b-8e49-8b0b395c597c', 'name': 'ctest-vn-09023141', 'tenant_id': '459d340a85a24938874d4f7bca56ee77', 'project_id': '459d340a85a24938874d4f7bca56ee77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cdb4187b-514b-42ff-8cdd-c575b6f9e613'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-vn-09023141'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-policy-allow-all-79038625']], 'subnet_ipam': [{'subnet_cidr': '39.139.73.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-27 11:17:48,589 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 11:17:48,890 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 11:17:48,921 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c9ed083c-1f0e-4461-ae22-5b9ca161886f 2026-03-27 11:17:48,933 - DEBUG - Requesting: http://10.0.0.22:8082/project/459d340a-85a2-4938-874d-4f7bca56ee77 2026-03-27 11:17:49,003 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/08198def-f8e3-4b00-94a3-f0c767cbbf1f 2026-03-27 11:17:49,013 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/08198def-f8e3-4b00-94a3-f0c767cbbf1f 2026-03-27 11:17:49,022 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41 2026-03-27 11:17:49,030 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41 2026-03-27 11:17:49,037 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/80007aad-153c-4c6c-af72-1f8e3cbb5c6b 2026-03-27 11:17:49,044 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-27 11:17:49,044 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/08198def-f8e3-4b00-94a3-f0c767cbbf1f 2026-03-27 11:17:49,053 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41 2026-03-27 11:17:49,068 - INFO - Verified VN network id 11 for VN 08198def-f8e3-4b00-94a3-f0c767cbbf1f 2026-03-27 11:17:49,068 - INFO - Verifications in API Server for VN ctest-vn-65096834 passed 2026-03-27 11:17:49,068 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/08198def-f8e3-4b00-94a3-f0c767cbbf1f 2026-03-27 11:17:49,077 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41 2026-03-27 11:17:49,084 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41 2026-03-27 11:17:49,091 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/80007aad-153c-4c6c-af72-1f8e3cbb5c6b 2026-03-27 11:17:49,105 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63717608', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '583653688533535488', 'uuid-lslong': '10710669078047735583'}, 'enable': 'true', 'created': '2026-03-27T11:17:46', 'last-modified': '2026-03-27T11:17:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974161'} 2026-03-27 11:17:49,112 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-27 11:17:49,113 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65096834 passed 2026-03-27 11:17:49,113 - DEBUG - ====Verifying policy data for ctest-vn-65096834 in API_Server ====== 2026-03-27 11:17:49,113 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 11:17:49,119 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c9ed083c-1f0e-4461-ae22-5b9ca161886f 2026-03-27 11:17:49,133 - DEBUG - Requesting: http://10.0.0.22:8082/project/459d340a-85a2-4938-874d-4f7bca56ee77 2026-03-27 11:17:49,202 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/08198def-f8e3-4b00-94a3-f0c767cbbf1f 2026-03-27 11:17:49,212 - DEBUG - ==>Verifying data for policy with id: 65a8a75f-51e6-46e3-bbee-332b623fbf24, fqn: ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-policy-allow-all-79038625'] 2026-03-27 11:17:49,212 - INFO - VN ctest-vn-65096834 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-27 11:17:49,212 - DEBUG - Verifying the vn in opserver 2026-03-27 11:17:49,212 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834 virtual network link through opserver 10.0.0.22 2026-03-27 11:17:49,212 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-27 11:17:49,504 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-27 11:17:49,568 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834?flat'} 2026-03-27 11:17:49,568 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834 is found in opserver 2026-03-27 11:17:49,578 - DEBUG - Do not have enough data to verify VN in agent 2026-03-27 11:17:49,583 - DEBUG - VRF ids for VN ctest-vn-65096834: {} 2026-03-27 11:17:49,583 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 11:17:49,589 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c9ed083c-1f0e-4461-ae22-5b9ca161886f 2026-03-27 11:17:49,601 - DEBUG - Requesting: http://10.0.0.22:8082/project/459d340a-85a2-4938-874d-4f7bca56ee77 2026-03-27 11:17:49,669 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8cb01bd3-402e-4a7b-8e49-8b0b395c597c 2026-03-27 11:17:49,680 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8cb01bd3-402e-4a7b-8e49-8b0b395c597c 2026-03-27 11:17:49,689 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777 2026-03-27 11:17:49,697 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777 2026-03-27 11:17:49,704 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/100d7294-438c-4d2a-a79f-a01a3ba4edbe 2026-03-27 11:17:49,711 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-27 11:17:49,711 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8cb01bd3-402e-4a7b-8e49-8b0b395c597c 2026-03-27 11:17:49,720 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777 2026-03-27 11:17:49,736 - INFO - Verified VN network id 12 for VN 8cb01bd3-402e-4a7b-8e49-8b0b395c597c 2026-03-27 11:17:49,736 - INFO - Verifications in API Server for VN ctest-vn-09023141 passed 2026-03-27 11:17:49,736 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8cb01bd3-402e-4a7b-8e49-8b0b395c597c 2026-03-27 11:17:49,746 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777 2026-03-27 11:17:49,754 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777 2026-03-27 11:17:49,762 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/100d7294-438c-4d2a-a79f-a01a3ba4edbe 2026-03-27 11:17:49,778 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-09023141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63717608', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10137633355339811451', 'uuid-lslong': '10252878907008899452'}, 'enable': 'true', 'created': '2026-03-27T11:17:47', 'last-modified': '2026-03-27T11:17:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.418276'} 2026-03-27 11:17:49,785 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-27 11:17:49,786 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09023141 passed 2026-03-27 11:17:49,786 - DEBUG - ====Verifying policy data for ctest-vn-09023141 in API_Server ====== 2026-03-27 11:17:49,786 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 11:17:49,792 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c9ed083c-1f0e-4461-ae22-5b9ca161886f 2026-03-27 11:17:49,804 - DEBUG - Requesting: http://10.0.0.22:8082/project/459d340a-85a2-4938-874d-4f7bca56ee77 2026-03-27 11:17:49,879 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8cb01bd3-402e-4a7b-8e49-8b0b395c597c 2026-03-27 11:17:49,888 - DEBUG - ==>Verifying data for policy with id: 65a8a75f-51e6-46e3-bbee-332b623fbf24, fqn: ['default-domain', 'ctest-TestBasicPolicy-63717608', 'ctest-policy-allow-all-79038625'] 2026-03-27 11:17:49,888 - INFO - VN ctest-vn-09023141 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-27 11:17:49,889 - DEBUG - Verifying the vn in opserver 2026-03-27 11:17:49,889 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-09023141 virtual network link through opserver 10.0.0.22 2026-03-27 11:17:49,889 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-03-27 11:17:49,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-09023141', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-09023141?flat'} 2026-03-27 11:17:49,899 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-09023141 is found in opserver 2026-03-27 11:17:49,908 - DEBUG - Do not have enough data to verify VN in agent 2026-03-27 11:17:49,913 - DEBUG - VRF ids for VN ctest-vn-09023141: {} 2026-03-27 11:17:49,975 - DEBUG - Services list from nova: [, , ] 2026-03-27 11:17:51,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5550-1) 2026-03-27 11:17:52,189 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5550-1) 2026-03-27 11:17:52,190 - INFO - Waiting for VM ctest-TestBasicPolicy-63717608-41932405 to be up.. 2026-03-27 11:17:52,276 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-27 11:17:57,359 - DEBUG - VM is in ACTIVE state now 2026-03-27 11:17:57,359 - INFO - VM name : ctest-TestBasicPolicy-63717608-41932405 2026-03-27 11:17:57,439 - DEBUG - VM ctest-TestBasicPolicy-63717608-41932405 ID is 7f60d3b2-332e-4a31-a1a7-9f29805cf0fb 2026-03-27 11:17:57,460 - DEBUG - VM ctest-TestBasicPolicy-63717608-41932405 launched on Node cn-jenkins-deploy-platform-ansible-os-5550-1 2026-03-27 11:17:57,542 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7f60d3b2-332e-4a31-a1a7-9f29805cf0fb 2026-03-27 11:17:57,550 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7186e9bc-27ad-4839-b895-3df7afb53aa5 2026-03-27 11:18:00,792 - 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 1006ms') 2026-03-27 11:18:00,792 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63717608-41932405 failed! 2026-03-27 11:18:00,849 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63717608:ctest-vn-65096834 is 44.145.101.65 and allocation pool is NOT set 2026-03-27 11:18:02,908 - 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=5.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/2.772/5.096/2.323 ms') 2026-03-27 11:18:02,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63717608-41932405 passed 2026-03-27 11:18:03,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 11:18:03,057 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63717608-41932405, IP 44.145.101.67, Port 22 2026-03-27 11:18:03,212 - DEBUG - VM ctest-TestBasicPolicy-63717608-41932405 is ready for SSH connections 2026-03-27 11:18:03,213 - INFO - Waiting for VM ctest-TestBasicPolicy-63717608-29352688 to be up.. 2026-03-27 11:18:03,291 - DEBUG - VM is in ACTIVE state now 2026-03-27 11:18:03,291 - INFO - VM name : ctest-TestBasicPolicy-63717608-29352688 2026-03-27 11:18:03,368 - DEBUG - VM ctest-TestBasicPolicy-63717608-29352688 ID is f752208e-58f8-4742-b48b-594e7849aa43 2026-03-27 11:18:03,368 - DEBUG - VM ctest-TestBasicPolicy-63717608-29352688 launched on Node cn-jenkins-deploy-platform-ansible-os-5550-1 2026-03-27 11:18:03,446 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f752208e-58f8-4742-b48b-594e7849aa43 2026-03-27 11:18:03,454 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b520942f-2005-47e2-a1b1-615864dd6a41 2026-03-27 11:18:04,698 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.15 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 = 1.153/2.912/4.672/1.759 ms') 2026-03-27 11:18:04,698 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63717608-29352688 passed 2026-03-27 11:18:04,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 11:18:04,849 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63717608-29352688, IP 39.139.73.67, Port 22 2026-03-27 11:18:05,008 - DEBUG - VM ctest-TestBasicPolicy-63717608-29352688 is ready for SSH connections 2026-03-27 11:18:05,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 11:18:05,008 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.139.73.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-27 11:18:05,009 - DEBUG - ping -s 56 -c 3 -W 1 39.139.73.67 2026-03-27 11:18:09,050 - DEBUG - PING 39.139.73.67 (39.139.73.67): 56 data bytes 64 bytes from 39.139.73.67: seq=0 ttl=63 time=5.825 ms 64 bytes from 39.139.73.67: seq=1 ttl=63 time=1.078 ms 64 bytes from 39.139.73.67: seq=2 ttl=63 time=0.885 ms --- 39.139.73.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.885/2.596/5.825 ms 2026-03-27 11:18:09,051 - INFO - Ping to IP 39.139.73.67 from VM ctest-TestBasicPolicy-63717608-41932405 passed 2026-03-27 11:18:09,225 - DEBUG - Policy Update Response {"network-policy": {"uuid": "65a8a75f-51e6-46e3-bbee-332b623fbf24", "href": "http://10.0.0.22:8082/network-policy/65a8a75f-51e6-46e3-bbee-332b623fbf24"}} 2026-03-27 11:18:09,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 11:18:09,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.139.73.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-27 11:18:09,225 - DEBUG - ping -s 56 -c 3 -W 1 39.139.73.67 2026-03-27 11:18:12,444 - DEBUG - PING 39.139.73.67 (39.139.73.67): 56 data bytes --- 39.139.73.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-27 11:18:12,444 - WARNING - Ping to IP 39.139.73.67 from VM ctest-TestBasicPolicy-63717608-41932405 failed 2026-03-27 11:18:12,444 - INFO - Deleting VM ctest-TestBasicPolicy-63717608-29352688 2026-03-27 11:18:12,518 - INFO - Deleting VM ctest-TestBasicPolicy-63717608-41932405 2026-03-27 11:18:12,917 - INFO - Deleted policy ctest-policy-allow-all-79038625 2026-03-27 11:18:12,918 - INFO - Deleting VN ctest-vn-09023141 2026-03-27 11:18:12,960 - DEBUG - VN 8cb01bd3-402e-4a7b-8e49-8b0b395c597c still in use: Unable to complete operation on network 8cb01bd3-402e-4a7b-8e49-8b0b395c597c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-474fdfbc-84c5-4775-87a3-2cfbc7605fce'] 2026-03-27 11:18:12,960 - WARNING - Deleting VN ctest-vn-09023141 failed..Will retry 2026-03-27 11:18:15,059 - DEBUG - Response for deleting network () 2026-03-27 11:18:15,059 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc72a261-fd6f-4603-823f-fa68e261b777 2026-03-27 11:18:15,064 - DEBUG - Response Code: 404 2026-03-27 11:18:15,064 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 11:18:15,073 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c9ed083c-1f0e-4461-ae22-5b9ca161886f 2026-03-27 11:18:15,136 - DEBUG - Requesting: http://10.0.0.22:8082/project/459d340a-85a2-4938-874d-4f7bca56ee77 2026-03-27 11:18:15,206 - INFO - Validated that VN ctest-vn-09023141 is not found in API Server 2026-03-27 11:18:15,215 - DEBUG - VN ctest-vn-09023141 is not present in Agent 10.0.0.22 2026-03-27 11:18:15,215 - INFO - Validated that VN ctest-vn-09023141 is not in any agent 2026-03-27 11:18:15,231 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09023141 info 2026-03-27 11:18:15,231 - INFO - Deleting VN ctest-vn-65096834 2026-03-27 11:18:15,330 - DEBUG - Response for deleting network () 2026-03-27 11:18:15,330 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fb59ca64-2b10-44b1-bd0b-87aec3f38b41 2026-03-27 11:18:15,338 - DEBUG - Response Code: 404 2026-03-27 11:18:15,338 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-03-27 11:18:15,343 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c9ed083c-1f0e-4461-ae22-5b9ca161886f 2026-03-27 11:18:15,398 - DEBUG - Requesting: http://10.0.0.22:8082/project/459d340a-85a2-4938-874d-4f7bca56ee77 2026-03-27 11:18:15,470 - INFO - Validated that VN ctest-vn-65096834 is not found in API Server 2026-03-27 11:18:15,480 - DEBUG - VN ctest-vn-65096834 is not present in Agent 10.0.0.22 2026-03-27 11:18:15,481 - INFO - Validated that VN ctest-vn-65096834 is not in any agent 2026-03-27 11:18:15,496 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65096834 info 2026-03-27 11:18:15,753 - DEBUG - No XMPP flaps were noticed during the test
2026-03-27 11:18:15,753 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-27 11:18:15,753 - INFO - -------------------------------------------------------------------------------- 2026-03-27 11:18:16,426 - INFO - Deleted project: ctest-TestBasicPolicy-63717608, ID : 459d340a-85a2-4938-874d-4f7bca56ee77