2026-02-20 12:15:25,238 - INFO - Domain Default found not creating 2026-02-20 12:15:25,428 - INFO - Project ctest-TestBasicPolicy-33449166 not found, creating it 2026-02-20 12:15:25,927 - INFO - Created Project:ctest-TestBasicPolicy-33449166, ID : 6539fbc2-955b-41a6-ade5-10cb4fa25aab 2026-02-20 12:15:27,691 - INFO - ================================================================================ 2026-02-20 12:15:27,691 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-20 12:15:27,691 - 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-02-20 12:15:27,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2026-02-20 12:15:27,957 - INFO - Initial checks done. Running the testcase now 2026-02-20 12:15:27,957 - INFO - 2026-02-20 12:15:28,577 - DEBUG - Response for create_network : {'network': {'id': '17ce3226-6760-468d-bd2e-aeaffe353673', 'name': 'ctest-vn-03274258', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'project_id': '6539fbc2955b41a6ade510cb4fa25aab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-vn-03274258'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 12:15:28,767 - DEBUG - Response for create_subnet : {'subnet': {'id': '98f9c9b5-7ac9-442a-9899-7f80524f5073', 'name': '', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'network_id': '17ce3226-6760-468d-bd2e-aeaffe353673', 'ip_version': 4, 'cidr': '73.19.25.192/26', 'allocation_pools': [{'start': '73.19.25.194', 'end': '73.19.25.254'}], 'gateway_ip': '73.19.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.19.25.194', 'tags': [], 'project_id': '6539fbc2955b41a6ade510cb4fa25aab'}} 2026-02-20 12:15:28,788 - INFO - Created VN ctest-vn-03274258 2026-02-20 12:15:28,841 - DEBUG - VN ctest-vn-03274258 UUID is 17ce3226-6760-468d-bd2e-aeaffe353673 2026-02-20 12:15:29,143 - DEBUG - Response for create_network : {'network': {'id': 'd8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a', 'name': 'ctest-vn-78442766', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'project_id': '6539fbc2955b41a6ade510cb4fa25aab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-vn-78442766'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 12:15:29,314 - DEBUG - Response for create_subnet : {'subnet': {'id': '91a05637-7fd6-41dc-8e77-8f802da2b6da', 'name': '', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'network_id': 'd8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a', 'ip_version': 4, 'cidr': '39.1.170.64/26', 'allocation_pools': [{'start': '39.1.170.66', 'end': '39.1.170.126'}], 'gateway_ip': '39.1.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.1.170.66', 'tags': [], 'project_id': '6539fbc2955b41a6ade510cb4fa25aab'}} 2026-02-20 12:15:29,336 - INFO - Created VN ctest-vn-78442766 2026-02-20 12:15:29,393 - DEBUG - VN ctest-vn-78442766 UUID is d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a 2026-02-20 12:15:29,521 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258, 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-33449166:ctest-vn-78442766, 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-02-20 12:15:29,840 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17ce3226-6760-468d-bd2e-aeaffe353673', 'name': 'ctest-vn-03274258', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'project_id': '6539fbc2955b41a6ade510cb4fa25aab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['98f9c9b5-7ac9-442a-9899-7f80524f5073'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-vn-03274258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-policy-allow-all-13268141']], 'subnet_ipam': [{'subnet_cidr': '73.19.25.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 12:15:30,093 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a', 'name': 'ctest-vn-78442766', 'tenant_id': '6539fbc2955b41a6ade510cb4fa25aab', 'project_id': '6539fbc2955b41a6ade510cb4fa25aab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['91a05637-7fd6-41dc-8e77-8f802da2b6da'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-vn-78442766'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-policy-allow-all-13268141']], 'subnet_ipam': [{'subnet_cidr': '39.1.170.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 12:15:30,220 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 12:15:30,581 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 12:15:30,614 - DEBUG - Requesting: http://10.0.0.241:8082/domain/82491e38-2c1c-4e4b-b59d-72612b9d69c5 2026-02-20 12:15:30,630 - DEBUG - Requesting: http://10.0.0.241:8082/project/6539fbc2-955b-41a6-ade5-10cb4fa25aab 2026-02-20 12:15:30,707 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/17ce3226-6760-468d-bd2e-aeaffe353673 2026-02-20 12:15:30,717 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/17ce3226-6760-468d-bd2e-aeaffe353673 2026-02-20 12:15:30,726 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699 2026-02-20 12:15:30,734 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699 2026-02-20 12:15:30,741 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/886b4afd-42c9-4689-af1d-ff7b90c3fd2f 2026-02-20 12:15:30,748 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 12:15:30,748 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/17ce3226-6760-468d-bd2e-aeaffe353673 2026-02-20 12:15:30,757 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699 2026-02-20 12:15:30,772 - INFO - Verified VN network id 11 for VN 17ce3226-6760-468d-bd2e-aeaffe353673 2026-02-20 12:15:30,772 - INFO - Verifications in API Server for VN ctest-vn-03274258 passed 2026-02-20 12:15:30,772 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/17ce3226-6760-468d-bd2e-aeaffe353673 2026-02-20 12:15:30,781 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699 2026-02-20 12:15:30,789 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699 2026-02-20 12:15:30,796 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/886b4afd-42c9-4689-af1d-ff7b90c3fd2f 2026-02-20 12:15:30,808 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33449166', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1715363648599246477', 'uuid-lslong': '13632025193004480115'}, 'enable': 'true', 'created': '2026-02-20T12:15:28', 'last-modified': '2026-02-20T12:15:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001098'} 2026-02-20 12:15:30,815 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 12:15:30,815 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03274258 passed 2026-02-20 12:15:30,816 - DEBUG - ====Verifying policy data for ctest-vn-03274258 in API_Server ====== 2026-02-20 12:15:30,816 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 12:15:30,822 - DEBUG - Requesting: http://10.0.0.241:8082/domain/82491e38-2c1c-4e4b-b59d-72612b9d69c5 2026-02-20 12:15:30,836 - DEBUG - Requesting: http://10.0.0.241:8082/project/6539fbc2-955b-41a6-ade5-10cb4fa25aab 2026-02-20 12:15:30,903 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/17ce3226-6760-468d-bd2e-aeaffe353673 2026-02-20 12:15:30,914 - DEBUG - ==>Verifying data for policy with id: ae5a9590-1cff-4977-b5c5-580bbfb0f528, fqn: ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-policy-allow-all-13268141'] 2026-02-20 12:15:30,914 - INFO - VN ctest-vn-03274258 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 12:15:30,914 - DEBUG - Verifying the vn in opserver 2026-02-20 12:15:30,915 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258 virtual network link through opserver 10.0.0.241 2026-02-20 12:15:30,915 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-20 12:15:31,250 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-20 12:15:31,320 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258?flat'} 2026-02-20 12:15:31,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258 is found in opserver 2026-02-20 12:15:31,331 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 12:15:31,336 - DEBUG - VRF ids for VN ctest-vn-03274258: {} 2026-02-20 12:15:31,337 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 12:15:31,342 - DEBUG - Requesting: http://10.0.0.241:8082/domain/82491e38-2c1c-4e4b-b59d-72612b9d69c5 2026-02-20 12:15:31,356 - DEBUG - Requesting: http://10.0.0.241:8082/project/6539fbc2-955b-41a6-ade5-10cb4fa25aab 2026-02-20 12:15:31,434 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a 2026-02-20 12:15:31,447 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a 2026-02-20 12:15:31,458 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db 2026-02-20 12:15:31,467 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db 2026-02-20 12:15:31,475 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/94096403-6a57-4ca3-b950-2ec35040a850 2026-02-20 12:15:31,483 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 12:15:31,483 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a 2026-02-20 12:15:31,494 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db 2026-02-20 12:15:31,508 - INFO - Verified VN network id 12 for VN d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a 2026-02-20 12:15:31,508 - INFO - Verifications in API Server for VN ctest-vn-78442766 passed 2026-02-20 12:15:31,508 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a 2026-02-20 12:15:31,517 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db 2026-02-20 12:15:31,525 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db 2026-02-20 12:15:31,535 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/94096403-6a57-4ca3-b950-2ec35040a850 2026-02-20 12:15:31,549 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-78442766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33449166', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15626864412011678622', 'uuid-lslong': '13245359646242044538'}, 'enable': 'true', 'created': '2026-02-20T12:15:29', 'last-modified': '2026-02-20T12:15:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477210'} 2026-02-20 12:15:31,554 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 12:15:31,555 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78442766 passed 2026-02-20 12:15:31,555 - DEBUG - ====Verifying policy data for ctest-vn-78442766 in API_Server ====== 2026-02-20 12:15:31,555 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 12:15:31,561 - DEBUG - Requesting: http://10.0.0.241:8082/domain/82491e38-2c1c-4e4b-b59d-72612b9d69c5 2026-02-20 12:15:31,572 - DEBUG - Requesting: http://10.0.0.241:8082/project/6539fbc2-955b-41a6-ade5-10cb4fa25aab 2026-02-20 12:15:31,643 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a 2026-02-20 12:15:31,651 - DEBUG - ==>Verifying data for policy with id: ae5a9590-1cff-4977-b5c5-580bbfb0f528, fqn: ['default-domain', 'ctest-TestBasicPolicy-33449166', 'ctest-policy-allow-all-13268141'] 2026-02-20 12:15:31,652 - INFO - VN ctest-vn-78442766 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 12:15:31,652 - DEBUG - Verifying the vn in opserver 2026-02-20 12:15:31,652 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-78442766 virtual network link through opserver 10.0.0.241 2026-02-20 12:15:31,652 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-20 12:15:31,661 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-78442766', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-78442766?flat'} 2026-02-20 12:15:31,661 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-78442766 is found in opserver 2026-02-20 12:15:31,671 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 12:15:31,676 - DEBUG - VRF ids for VN ctest-vn-78442766: {} 2026-02-20 12:15:31,738 - DEBUG - Services list from nova: [, , ] 2026-02-20 12:15:32,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5372-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5372-1) 2026-02-20 12:15:34,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5372-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5372-1) 2026-02-20 12:15:34,161 - INFO - Waiting for VM ctest-TestBasicPolicy-33449166-77394150 to be up.. 2026-02-20 12:15:34,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 12:15:39,364 - DEBUG - VM is in ACTIVE state now 2026-02-20 12:15:39,365 - INFO - VM name : ctest-TestBasicPolicy-33449166-77394150 2026-02-20 12:15:39,466 - DEBUG - VM ctest-TestBasicPolicy-33449166-77394150 ID is 52da3357-60b1-4d60-9bfa-c88d7fd83598 2026-02-20 12:15:39,497 - DEBUG - VM ctest-TestBasicPolicy-33449166-77394150 launched on Node cn-jenkins-deploy-platform-ansible-os-5372-1 2026-02-20 12:15:39,612 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/52da3357-60b1-4d60-9bfa-c88d7fd83598 2026-02-20 12:15:39,622 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f52a8a79-4484-4c76-8088-be969da91cfe 2026-02-20 12:15:42,891 - 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 1008ms') 2026-02-20 12:15:42,891 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33449166-77394150 failed! 2026-02-20 12:15:42,949 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33449166:ctest-vn-03274258 is 73.19.25.193 and allocation pool is NOT set 2026-02-20 12:15:47,028 - 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=8.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.354/8.354/8.354/0.000 ms') 2026-02-20 12:15:47,028 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33449166-77394150 passed 2026-02-20 12:15:47,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 12:15:47,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33449166-77394150, IP 73.19.25.195, Port 22 2026-02-20 12:15:47,340 - DEBUG - VM ctest-TestBasicPolicy-33449166-77394150 is ready for SSH connections 2026-02-20 12:15:47,340 - INFO - Waiting for VM ctest-TestBasicPolicy-33449166-13658018 to be up.. 2026-02-20 12:15:47,428 - DEBUG - VM is in ACTIVE state now 2026-02-20 12:15:47,428 - INFO - VM name : ctest-TestBasicPolicy-33449166-13658018 2026-02-20 12:15:47,510 - DEBUG - VM ctest-TestBasicPolicy-33449166-13658018 ID is b4505969-93c2-4b72-b57a-cfc27702de83 2026-02-20 12:15:47,510 - DEBUG - VM ctest-TestBasicPolicy-33449166-13658018 launched on Node cn-jenkins-deploy-platform-ansible-os-5372-1 2026-02-20 12:15:47,597 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/b4505969-93c2-4b72-b57a-cfc27702de83 2026-02-20 12:15:47,605 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/2aa32148-130c-4a3d-a3aa-8b11c5ac9429 2026-02-20 12:15:48,844 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.05 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.051/3.810/6.569/2.759 ms') 2026-02-20 12:15:48,844 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33449166-13658018 passed 2026-02-20 12:15:48,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 12:15:48,997 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33449166-13658018, IP 39.1.170.67, Port 22 2026-02-20 12:15:49,160 - DEBUG - VM ctest-TestBasicPolicy-33449166-13658018 is ready for SSH connections 2026-02-20 12:15:49,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 12:15:49,160 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.1.170.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-20 12:15:49,160 - DEBUG - ping -s 56 -c 3 -W 1 39.1.170.67 2026-02-20 12:15:53,289 - DEBUG - PING 39.1.170.67 (39.1.170.67): 56 data bytes 64 bytes from 39.1.170.67: seq=0 ttl=63 time=4.095 ms 64 bytes from 39.1.170.67: seq=1 ttl=63 time=0.974 ms 64 bytes from 39.1.170.67: seq=2 ttl=63 time=0.883 ms --- 39.1.170.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/1.984/4.095 ms 2026-02-20 12:15:53,289 - INFO - Ping to IP 39.1.170.67 from VM ctest-TestBasicPolicy-33449166-77394150 passed 2026-02-20 12:15:53,472 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ae5a9590-1cff-4977-b5c5-580bbfb0f528", "href": "http://10.0.0.241:8082/network-policy/ae5a9590-1cff-4977-b5c5-580bbfb0f528"}} 2026-02-20 12:15:53,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 12:15:53,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.1.170.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-20 12:15:53,473 - DEBUG - ping -s 56 -c 3 -W 1 39.1.170.67 2026-02-20 12:15:56,751 - DEBUG - PING 39.1.170.67 (39.1.170.67): 56 data bytes --- 39.1.170.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-20 12:15:56,751 - WARNING - Ping to IP 39.1.170.67 from VM ctest-TestBasicPolicy-33449166-77394150 failed 2026-02-20 12:15:56,751 - INFO - Deleting VM ctest-TestBasicPolicy-33449166-13658018 2026-02-20 12:15:56,835 - INFO - Deleting VM ctest-TestBasicPolicy-33449166-77394150 2026-02-20 12:15:57,289 - INFO - Deleted policy ctest-policy-allow-all-13268141 2026-02-20 12:15:57,289 - INFO - Deleting VN ctest-vn-78442766 2026-02-20 12:15:57,333 - DEBUG - VN d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a still in use: Unable to complete operation on network d8ddc663-5726-4b9e-b7d0-f86bdc8cfa7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1386749-07a6-448b-beff-876d32d706d2'] 2026-02-20 12:15:57,333 - WARNING - Deleting VN ctest-vn-78442766 failed..Will retry 2026-02-20 12:15:59,440 - DEBUG - Response for deleting network () 2026-02-20 12:15:59,440 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/05707a6a-7238-4916-809d-9563c06543db 2026-02-20 12:15:59,447 - DEBUG - Response Code: 404 2026-02-20 12:15:59,447 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 12:15:59,454 - DEBUG - Requesting: http://10.0.0.241:8082/domain/82491e38-2c1c-4e4b-b59d-72612b9d69c5 2026-02-20 12:15:59,513 - DEBUG - Requesting: http://10.0.0.241:8082/project/6539fbc2-955b-41a6-ade5-10cb4fa25aab 2026-02-20 12:15:59,591 - INFO - Validated that VN ctest-vn-78442766 is not found in API Server 2026-02-20 12:15:59,603 - DEBUG - VN ctest-vn-78442766 is not present in Agent 10.0.0.241 2026-02-20 12:15:59,603 - INFO - Validated that VN ctest-vn-78442766 is not in any agent 2026-02-20 12:15:59,618 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78442766 info 2026-02-20 12:15:59,619 - INFO - Deleting VN ctest-vn-03274258 2026-02-20 12:15:59,735 - DEBUG - Response for deleting network () 2026-02-20 12:15:59,735 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4afd74fb-559b-408c-8b32-1f7aad088699 2026-02-20 12:15:59,742 - DEBUG - Response Code: 404 2026-02-20 12:15:59,742 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 12:15:59,749 - DEBUG - Requesting: http://10.0.0.241:8082/domain/82491e38-2c1c-4e4b-b59d-72612b9d69c5 2026-02-20 12:15:59,802 - DEBUG - Requesting: http://10.0.0.241:8082/project/6539fbc2-955b-41a6-ade5-10cb4fa25aab 2026-02-20 12:15:59,876 - INFO - Validated that VN ctest-vn-03274258 is not found in API Server 2026-02-20 12:15:59,890 - DEBUG - VN ctest-vn-03274258 is not present in Agent 10.0.0.241 2026-02-20 12:15:59,890 - INFO - Validated that VN ctest-vn-03274258 is not in any agent 2026-02-20 12:15:59,912 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03274258 info 2026-02-20 12:16:00,166 - DEBUG - No XMPP flaps were noticed during the test 2026-02-20 12:16:00,166 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2026-02-20 12:16:00,166 - INFO - -------------------------------------------------------------------------------- 2026-02-20 12:16:00,946 - INFO - Deleted project: ctest-TestBasicPolicy-33449166, ID : 6539fbc2-955b-41a6-ade5-10cb4fa25aab