2026-04-29 22:26:51,792 - INFO - Domain Default found not creating 2026-04-29 22:26:51,966 - INFO - Project ctest-TestBasicPolicy-91459545 not found, creating it 2026-04-29 22:26:52,460 - INFO - Created Project:ctest-TestBasicPolicy-91459545, ID : 63d0126a-f984-4de0-8d42-9ad6729166f8 2026-04-29 22:26:54,055 - INFO - ================================================================================ 2026-04-29 22:26:54,055 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 22:26:54,055 - 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-04-29 22:26:54,323 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-04-29 22:26:54,323 - INFO - Initial checks done. Running the testcase now 2026-04-29 22:26:54,323 - INFO - 2026-04-29 22:26:54,866 - DEBUG - Response for create_network : {'network': {'id': 'a7af3add-c947-4cfb-b72f-417dd637f682', 'name': 'ctest-vn-08269268', 'tenant_id': '63d0126af9844de08d429ad6729166f8', 'project_id': '63d0126af9844de08d429ad6729166f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91459545', 'ctest-vn-08269268'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 22:26:55,028 - DEBUG - Response for create_subnet : {'subnet': {'id': '78bb7ef2-977d-42f2-bbe1-69f0132bc5e2', 'name': '', 'tenant_id': '63d0126af9844de08d429ad6729166f8', 'network_id': 'a7af3add-c947-4cfb-b72f-417dd637f682', 'ip_version': 4, 'cidr': '35.31.53.128/26', 'allocation_pools': [{'start': '35.31.53.130', 'end': '35.31.53.190'}], 'gateway_ip': '35.31.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.31.53.130', 'tags': [], 'project_id': '63d0126af9844de08d429ad6729166f8'}} 2026-04-29 22:26:55,048 - INFO - Created VN ctest-vn-08269268 2026-04-29 22:26:55,102 - DEBUG - VN ctest-vn-08269268 UUID is a7af3add-c947-4cfb-b72f-417dd637f682 2026-04-29 22:26:55,423 - DEBUG - Response for create_network : {'network': {'id': '1b31eaaf-8fdc-480e-99a9-b948f0d99589', 'name': 'ctest-vn-30425018', 'tenant_id': '63d0126af9844de08d429ad6729166f8', 'project_id': '63d0126af9844de08d429ad6729166f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91459545', 'ctest-vn-30425018'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 22:26:55,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '410f3076-04e8-4de5-86e9-38a34ac4df3a', 'name': '', 'tenant_id': '63d0126af9844de08d429ad6729166f8', 'network_id': '1b31eaaf-8fdc-480e-99a9-b948f0d99589', 'ip_version': 4, 'cidr': '211.50.48.192/26', 'allocation_pools': [{'start': '211.50.48.194', 'end': '211.50.48.254'}], 'gateway_ip': '211.50.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.50.48.194', 'tags': [], 'project_id': '63d0126af9844de08d429ad6729166f8'}} 2026-04-29 22:26:55,644 - INFO - Created VN ctest-vn-30425018 2026-04-29 22:26:55,694 - DEBUG - VN ctest-vn-30425018 UUID is 1b31eaaf-8fdc-480e-99a9-b948f0d99589 2026-04-29 22:26:55,846 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-08269268, 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-91459545:ctest-vn-30425018, 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-04-29 22:26:56,131 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a7af3add-c947-4cfb-b72f-417dd637f682', 'name': 'ctest-vn-08269268', 'tenant_id': '63d0126af9844de08d429ad6729166f8', 'project_id': '63d0126af9844de08d429ad6729166f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['78bb7ef2-977d-42f2-bbe1-69f0132bc5e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91459545', 'ctest-vn-08269268'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91459545', 'ctest-policy-allow-all-40019228']], 'subnet_ipam': [{'subnet_cidr': '35.31.53.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 22:26:56,359 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1b31eaaf-8fdc-480e-99a9-b948f0d99589', 'name': 'ctest-vn-30425018', 'tenant_id': '63d0126af9844de08d429ad6729166f8', 'project_id': '63d0126af9844de08d429ad6729166f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['410f3076-04e8-4de5-86e9-38a34ac4df3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91459545', 'ctest-vn-30425018'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91459545', 'ctest-policy-allow-all-40019228']], 'subnet_ipam': [{'subnet_cidr': '211.50.48.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 22:26:56,518 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-29 22:26:56,822 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-29 22:26:56,858 - DEBUG - Requesting: http://10.0.0.22:8082/domain/33a53e9a-2315-4dbf-9ea0-9b80c8a83950 2026-04-29 22:26:56,870 - DEBUG - Requesting: http://10.0.0.22:8082/project/63d0126a-f984-4de0-8d42-9ad6729166f8 2026-04-29 22:26:56,939 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a7af3add-c947-4cfb-b72f-417dd637f682 2026-04-29 22:26:56,950 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a7af3add-c947-4cfb-b72f-417dd637f682 2026-04-29 22:26:56,959 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/28a4a1c3-a59d-40c4-be8e-4814262e43ff 2026-04-29 22:26:56,966 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/28a4a1c3-a59d-40c4-be8e-4814262e43ff 2026-04-29 22:26:56,972 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/80e798f1-a8ad-4083-8520-d57f9f4db033 2026-04-29 22:26:56,977 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 22:26:56,977 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a7af3add-c947-4cfb-b72f-417dd637f682 2026-04-29 22:26:56,985 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/28a4a1c3-a59d-40c4-be8e-4814262e43ff 2026-04-29 22:26:57,000 - INFO - Verified VN network id 9 for VN a7af3add-c947-4cfb-b72f-417dd637f682 2026-04-29 22:26:57,000 - INFO - Verifications in API Server for VN ctest-vn-08269268 passed 2026-04-29 22:26:57,000 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a7af3add-c947-4cfb-b72f-417dd637f682 2026-04-29 22:26:57,008 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/28a4a1c3-a59d-40c4-be8e-4814262e43ff 2026-04-29 22:26:57,013 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/28a4a1c3-a59d-40c4-be8e-4814262e43ff 2026-04-29 22:26:57,019 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/80e798f1-a8ad-4083-8520-d57f9f4db033 2026-04-29 22:26:57,029 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-08269268', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91459545', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12082941049497406715', 'uuid-lslong': '13199841041566922370'}, 'enable': 'true', 'created': '2026-04-29T22:26:54', 'last-modified': '2026-04-29T22:26:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.919744'} 2026-04-29 22:26:57,035 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 22:26:57,035 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08269268 passed 2026-04-29 22:26:57,037 - DEBUG - ====Verifying policy data for ctest-vn-08269268 in API_Server ====== 2026-04-29 22:26:57,038 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-29 22:26:57,043 - DEBUG - Requesting: http://10.0.0.22:8082/domain/33a53e9a-2315-4dbf-9ea0-9b80c8a83950 2026-04-29 22:26:57,053 - DEBUG - Requesting: http://10.0.0.22:8082/project/63d0126a-f984-4de0-8d42-9ad6729166f8 2026-04-29 22:26:57,125 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/a7af3add-c947-4cfb-b72f-417dd637f682 2026-04-29 22:26:57,133 - DEBUG - ==>Verifying data for policy with id: 9d7f6db4-9a8f-4c4f-89d6-809b0625222e, fqn: ['default-domain', 'ctest-TestBasicPolicy-91459545', 'ctest-policy-allow-all-40019228'] 2026-04-29 22:26:57,133 - INFO - VN ctest-vn-08269268 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 22:26:57,134 - DEBUG - Verifying the vn in opserver 2026-04-29 22:26:57,134 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-08269268 virtual network link through opserver 10.0.0.22 2026-04-29 22:26:57,134 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-29 22:26:57,428 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-29 22:26:57,493 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-08269268', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-08269268?flat'} 2026-04-29 22:26:57,493 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-08269268 is found in opserver 2026-04-29 22:26:57,502 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 22:26:57,507 - DEBUG - VRF ids for VN ctest-vn-08269268: {} 2026-04-29 22:26:57,507 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-29 22:26:57,511 - DEBUG - Requesting: http://10.0.0.22:8082/domain/33a53e9a-2315-4dbf-9ea0-9b80c8a83950 2026-04-29 22:26:57,522 - DEBUG - Requesting: http://10.0.0.22:8082/project/63d0126a-f984-4de0-8d42-9ad6729166f8 2026-04-29 22:26:57,594 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1b31eaaf-8fdc-480e-99a9-b948f0d99589 2026-04-29 22:26:57,604 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1b31eaaf-8fdc-480e-99a9-b948f0d99589 2026-04-29 22:26:57,613 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/87bdcf40-e48d-40f6-8097-b9352c91388d 2026-04-29 22:26:57,619 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/87bdcf40-e48d-40f6-8097-b9352c91388d 2026-04-29 22:26:57,624 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3da91f2e-9ebf-4fa8-819f-37996166a7fd 2026-04-29 22:26:57,631 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 22:26:57,631 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1b31eaaf-8fdc-480e-99a9-b948f0d99589 2026-04-29 22:26:57,640 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/87bdcf40-e48d-40f6-8097-b9352c91388d 2026-04-29 22:26:57,652 - INFO - Verified VN network id 10 for VN 1b31eaaf-8fdc-480e-99a9-b948f0d99589 2026-04-29 22:26:57,652 - INFO - Verifications in API Server for VN ctest-vn-30425018 passed 2026-04-29 22:26:57,652 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1b31eaaf-8fdc-480e-99a9-b948f0d99589 2026-04-29 22:26:57,660 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/87bdcf40-e48d-40f6-8097-b9352c91388d 2026-04-29 22:26:57,667 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/87bdcf40-e48d-40f6-8097-b9352c91388d 2026-04-29 22:26:57,672 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3da91f2e-9ebf-4fa8-819f-37996166a7fd 2026-04-29 22:26:57,683 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-30425018', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91459545', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1959605352636631054', 'uuid-lslong': '11072584881796650377'}, 'enable': 'true', 'created': '2026-04-29T22:26:55', 'last-modified': '2026-04-29T22:26:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350686'} 2026-04-29 22:26:57,688 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 22:26:57,688 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30425018 passed 2026-04-29 22:26:57,688 - DEBUG - ====Verifying policy data for ctest-vn-30425018 in API_Server ====== 2026-04-29 22:26:57,688 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-29 22:26:57,694 - DEBUG - Requesting: http://10.0.0.22:8082/domain/33a53e9a-2315-4dbf-9ea0-9b80c8a83950 2026-04-29 22:26:57,704 - DEBUG - Requesting: http://10.0.0.22:8082/project/63d0126a-f984-4de0-8d42-9ad6729166f8 2026-04-29 22:26:57,770 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1b31eaaf-8fdc-480e-99a9-b948f0d99589 2026-04-29 22:26:57,780 - DEBUG - ==>Verifying data for policy with id: 9d7f6db4-9a8f-4c4f-89d6-809b0625222e, fqn: ['default-domain', 'ctest-TestBasicPolicy-91459545', 'ctest-policy-allow-all-40019228'] 2026-04-29 22:26:57,780 - INFO - VN ctest-vn-30425018 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 22:26:57,780 - DEBUG - Verifying the vn in opserver 2026-04-29 22:26:57,780 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-30425018 virtual network link through opserver 10.0.0.22 2026-04-29 22:26:57,780 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-29 22:26:57,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-30425018', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-30425018?flat'} 2026-04-29 22:26:57,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-30425018 is found in opserver 2026-04-29 22:26:57,798 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 22:26:57,803 - DEBUG - VRF ids for VN ctest-vn-30425018: {} 2026-04-29 22:26:57,859 - DEBUG - Services list from nova: [, , ] 2026-04-29 22:26:58,899 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5719-1) 2026-04-29 22:27:00,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5719-1) 2026-04-29 22:27:00,097 - INFO - Waiting for VM ctest-TestBasicPolicy-91459545-03778802 to be up.. 2026-04-29 22:27:00,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 22:27:05,278 - DEBUG - VM is in ACTIVE state now 2026-04-29 22:27:05,279 - INFO - VM name : ctest-TestBasicPolicy-91459545-03778802 2026-04-29 22:27:05,355 - DEBUG - VM ctest-TestBasicPolicy-91459545-03778802 ID is 96264cc3-49a6-4b55-9555-c6b3afe38a4e 2026-04-29 22:27:05,378 - DEBUG - VM ctest-TestBasicPolicy-91459545-03778802 launched on Node cn-jenkins-deploy-platform-ansible-os-5719-1 2026-04-29 22:27:05,457 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/96264cc3-49a6-4b55-9555-c6b3afe38a4e 2026-04-29 22:27:05,465 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6e92bd54-62c6-47ae-af41-29635a78c361 2026-04-29 22:27:08,722 - 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-04-29 22:27:08,722 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91459545-03778802 failed! 2026-04-29 22:27:08,774 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91459545:ctest-vn-08269268 is 35.31.53.129 and allocation pool is NOT set 2026-04-29 22:27:10,835 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/2.834/5.222/2.388 ms') 2026-04-29 22:27:10,835 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91459545-03778802 passed 2026-04-29 22:27:10,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 22:27:10,990 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91459545-03778802, IP 35.31.53.131, Port 22 2026-04-29 22:27:11,146 - DEBUG - VM ctest-TestBasicPolicy-91459545-03778802 is ready for SSH connections 2026-04-29 22:27:11,146 - INFO - Waiting for VM ctest-TestBasicPolicy-91459545-57946579 to be up.. 2026-04-29 22:27:11,233 - DEBUG - VM is in ACTIVE state now 2026-04-29 22:27:11,233 - INFO - VM name : ctest-TestBasicPolicy-91459545-57946579 2026-04-29 22:27:11,305 - DEBUG - VM ctest-TestBasicPolicy-91459545-57946579 ID is bc133d1b-1011-47c1-8d9f-76b254c16ac6 2026-04-29 22:27:11,305 - DEBUG - VM ctest-TestBasicPolicy-91459545-57946579 launched on Node cn-jenkins-deploy-platform-ansible-os-5719-1 2026-04-29 22:27:11,378 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bc133d1b-1011-47c1-8d9f-76b254c16ac6 2026-04-29 22:27:11,388 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b8d531db-bc01-475e-9211-3ad5770b2179 2026-04-29 22:27:12,633 - 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=3.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.51 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.506/2.336/3.166/0.830 ms') 2026-04-29 22:27:12,633 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91459545-57946579 passed 2026-04-29 22:27:12,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 22:27:12,782 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91459545-57946579, IP 211.50.48.195, Port 22 2026-04-29 22:27:12,942 - DEBUG - VM ctest-TestBasicPolicy-91459545-57946579 is ready for SSH connections 2026-04-29 22:27:12,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 22:27:12,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.50.48.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-29 22:27:12,942 - DEBUG - ping -s 56 -c 3 -W 1 211.50.48.195 2026-04-29 22:27:16,954 - DEBUG - PING 211.50.48.195 (211.50.48.195): 56 data bytes 64 bytes from 211.50.48.195: seq=0 ttl=63 time=4.229 ms 64 bytes from 211.50.48.195: seq=1 ttl=63 time=0.913 ms 64 bytes from 211.50.48.195: seq=2 ttl=63 time=0.973 ms --- 211.50.48.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/2.038/4.229 ms 2026-04-29 22:27:16,954 - INFO - Ping to IP 211.50.48.195 from VM ctest-TestBasicPolicy-91459545-03778802 passed 2026-04-29 22:27:17,130 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9d7f6db4-9a8f-4c4f-89d6-809b0625222e", "href": "http://10.0.0.22:8082/network-policy/9d7f6db4-9a8f-4c4f-89d6-809b0625222e"}} 2026-04-29 22:27:17,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 22:27:17,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.50.48.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-29 22:27:17,130 - DEBUG - ping -s 56 -c 3 -W 1 211.50.48.195 2026-04-29 22:27:20,355 - DEBUG - PING 211.50.48.195 (211.50.48.195): 56 data bytes --- 211.50.48.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 22:27:20,355 - WARNING - Ping to IP 211.50.48.195 from VM ctest-TestBasicPolicy-91459545-03778802 failed 2026-04-29 22:27:20,355 - INFO - Deleting VM ctest-TestBasicPolicy-91459545-57946579 2026-04-29 22:27:20,424 - INFO - Deleting VM ctest-TestBasicPolicy-91459545-03778802 2026-04-29 22:27:20,804 - INFO - Deleted policy ctest-policy-allow-all-40019228 2026-04-29 22:27:20,807 - INFO - Deleting VN ctest-vn-30425018 2026-04-29 22:27:20,846 - DEBUG - VN 1b31eaaf-8fdc-480e-99a9-b948f0d99589 still in use: Unable to complete operation on network 1b31eaaf-8fdc-480e-99a9-b948f0d99589. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5d42e08-b908-4c56-977b-75a4954ed5c5'] 2026-04-29 22:27:20,846 - WARNING - Deleting VN ctest-vn-30425018 failed..Will retry 2026-04-29 22:27:22,958 - DEBUG - Response for deleting network () 2026-04-29 22:27:22,958 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/87bdcf40-e48d-40f6-8097-b9352c91388d 2026-04-29 22:27:22,966 - DEBUG - Response Code: 404 2026-04-29 22:27:22,967 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-29 22:27:22,972 - DEBUG - Requesting: http://10.0.0.22:8082/domain/33a53e9a-2315-4dbf-9ea0-9b80c8a83950 2026-04-29 22:27:23,023 - DEBUG - Requesting: http://10.0.0.22:8082/project/63d0126a-f984-4de0-8d42-9ad6729166f8 2026-04-29 22:27:23,109 - INFO - Validated that VN ctest-vn-30425018 is not found in API Server 2026-04-29 22:27:23,118 - DEBUG - VN ctest-vn-30425018 is not present in Agent 10.0.0.22 2026-04-29 22:27:23,119 - INFO - Validated that VN ctest-vn-30425018 is not in any agent 2026-04-29 22:27:23,132 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30425018 info 2026-04-29 22:27:23,133 - INFO - Deleting VN ctest-vn-08269268 2026-04-29 22:27:23,240 - DEBUG - Response for deleting network () 2026-04-29 22:27:23,240 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/28a4a1c3-a59d-40c4-be8e-4814262e43ff 2026-04-29 22:27:23,250 - DEBUG - Response Code: 404 2026-04-29 22:27:23,250 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-29 22:27:23,256 - DEBUG - Requesting: http://10.0.0.22:8082/domain/33a53e9a-2315-4dbf-9ea0-9b80c8a83950 2026-04-29 22:27:23,311 - DEBUG - Requesting: http://10.0.0.22:8082/project/63d0126a-f984-4de0-8d42-9ad6729166f8 2026-04-29 22:27:23,379 - INFO - Validated that VN ctest-vn-08269268 is not found in API Server 2026-04-29 22:27:23,388 - DEBUG - VN ctest-vn-08269268 is not present in Agent 10.0.0.22 2026-04-29 22:27:23,388 - INFO - Validated that VN ctest-vn-08269268 is not in any agent 2026-04-29 22:27:23,402 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08269268 info 2026-04-29 22:27:23,655 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 22:27:23,655 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-29 22:27:23,656 - INFO - -------------------------------------------------------------------------------- 2026-04-29 22:27:24,349 - INFO - Deleted project: ctest-TestBasicPolicy-91459545, ID : 63d0126a-f984-4de0-8d42-9ad6729166f8