2026-02-20 09:33:19,260 - INFO - Domain Default found not creating 2026-02-20 09:33:19,441 - INFO - Project ctest-TestBasicPolicy-45423111 not found, creating it 2026-02-20 09:33:19,935 - INFO - Created Project:ctest-TestBasicPolicy-45423111, ID : a6f1f6b7-bbf1-44ca-8469-02a2e704fc05 2026-02-20 09:33:21,479 - INFO - ================================================================================ 2026-02-20 09:33:21,479 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-20 09:33:21,480 - 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 09:33:21,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2026-02-20 09:33:21,735 - INFO - Initial checks done. Running the testcase now 2026-02-20 09:33:21,736 - INFO - 2026-02-20 09:33:22,302 - DEBUG - Response for create_network : {'network': {'id': 'a281041c-f792-4d6c-990a-d17b2bba60f4', 'name': 'ctest-vn-78067466', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-vn-78067466'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 09:33:22,537 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a87a3b3c-ce8d-4333-b29f-090a645b2af9', 'name': '', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'network_id': 'a281041c-f792-4d6c-990a-d17b2bba60f4', 'ip_version': 4, 'cidr': '3.20.24.0/26', 'allocation_pools': [{'start': '3.20.24.2', 'end': '3.20.24.62'}], 'gateway_ip': '3.20.24.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.20.24.2', 'tags': [], 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05'}} 2026-02-20 09:33:22,557 - INFO - Created VN ctest-vn-78067466 2026-02-20 09:33:22,609 - DEBUG - VN ctest-vn-78067466 UUID is a281041c-f792-4d6c-990a-d17b2bba60f4 2026-02-20 09:33:22,908 - DEBUG - Response for create_network : {'network': {'id': '41352ea6-c32d-4605-8b90-428599fc6f9d', 'name': 'ctest-vn-92741610', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-vn-92741610'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 09:33:23,138 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c5ecf8a-aae6-469c-bbbb-cffaec924922', 'name': '', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'network_id': '41352ea6-c32d-4605-8b90-428599fc6f9d', 'ip_version': 4, 'cidr': '51.173.66.128/26', 'allocation_pools': [{'start': '51.173.66.130', 'end': '51.173.66.190'}], 'gateway_ip': '51.173.66.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.173.66.130', 'tags': [], 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05'}} 2026-02-20 09:33:23,158 - INFO - Created VN ctest-vn-92741610 2026-02-20 09:33:23,213 - DEBUG - VN ctest-vn-92741610 UUID is 41352ea6-c32d-4605-8b90-428599fc6f9d 2026-02-20 09:33:23,326 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466, 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-45423111:ctest-vn-92741610, 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 09:33:23,621 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a281041c-f792-4d6c-990a-d17b2bba60f4', 'name': 'ctest-vn-78067466', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a87a3b3c-ce8d-4333-b29f-090a645b2af9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-vn-78067466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-policy-allow-all-94289145']], 'subnet_ipam': [{'subnet_cidr': '3.20.24.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 09:33:23,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41352ea6-c32d-4605-8b90-428599fc6f9d', 'name': 'ctest-vn-92741610', 'tenant_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'project_id': 'a6f1f6b7bbf144ca846902a2e704fc05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c5ecf8a-aae6-469c-bbbb-cffaec924922'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-vn-92741610'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-policy-allow-all-94289145']], 'subnet_ipam': [{'subnet_cidr': '51.173.66.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 09:33:23,997 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-20 09:33:24,298 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-20 09:33:24,334 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9c20daa2-f050-4b90-9348-6482f27d9eaf 2026-02-20 09:33:24,350 - DEBUG - Requesting: http://10.0.0.242:8082/project/a6f1f6b7-bbf1-44ca-8469-02a2e704fc05 2026-02-20 09:33:24,425 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a281041c-f792-4d6c-990a-d17b2bba60f4 2026-02-20 09:33:24,437 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a281041c-f792-4d6c-990a-d17b2bba60f4 2026-02-20 09:33:24,446 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea 2026-02-20 09:33:24,454 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea 2026-02-20 09:33:24,461 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2b9a901e-bbe5-4fcb-b8b1-e6ce9fde5afb 2026-02-20 09:33:24,469 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 09:33:24,469 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a281041c-f792-4d6c-990a-d17b2bba60f4 2026-02-20 09:33:24,478 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea 2026-02-20 09:33:24,492 - INFO - Verified VN network id 12 for VN a281041c-f792-4d6c-990a-d17b2bba60f4 2026-02-20 09:33:24,492 - INFO - Verifications in API Server for VN ctest-vn-78067466 passed 2026-02-20 09:33:24,492 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a281041c-f792-4d6c-990a-d17b2bba60f4 2026-02-20 09:33:24,502 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea 2026-02-20 09:33:24,509 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea 2026-02-20 09:33:24,517 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2b9a901e-bbe5-4fcb-b8b1-e6ce9fde5afb 2026-02-20 09:33:24,531 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45423111', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11709645028599156076', 'uuid-lslong': '11027856964514898164'}, 'enable': 'true', 'created': '2026-02-20T09:33:22', 'last-modified': '2026-02-20T09:33:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933765'} 2026-02-20 09:33:24,539 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 09:33:24,539 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78067466 passed 2026-02-20 09:33:24,539 - DEBUG - ====Verifying policy data for ctest-vn-78067466 in API_Server ====== 2026-02-20 09:33:24,540 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-20 09:33:24,546 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9c20daa2-f050-4b90-9348-6482f27d9eaf 2026-02-20 09:33:24,557 - DEBUG - Requesting: http://10.0.0.242:8082/project/a6f1f6b7-bbf1-44ca-8469-02a2e704fc05 2026-02-20 09:33:24,627 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a281041c-f792-4d6c-990a-d17b2bba60f4 2026-02-20 09:33:24,638 - DEBUG - ==>Verifying data for policy with id: 17b49ff3-c960-4fa9-b5ee-a6b06ac03a32, fqn: ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-policy-allow-all-94289145'] 2026-02-20 09:33:24,638 - INFO - VN ctest-vn-78067466 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 09:33:24,638 - DEBUG - Verifying the vn in opserver 2026-02-20 09:33:24,638 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466 virtual network link through opserver 10.0.0.242 2026-02-20 09:33:24,638 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-20 09:33:24,939 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-20 09:33:25,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466?flat'} 2026-02-20 09:33:25,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466 is found in opserver 2026-02-20 09:33:25,026 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 09:33:25,031 - DEBUG - VRF ids for VN ctest-vn-78067466: {} 2026-02-20 09:33:25,031 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-20 09:33:25,037 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9c20daa2-f050-4b90-9348-6482f27d9eaf 2026-02-20 09:33:25,051 - DEBUG - Requesting: http://10.0.0.242:8082/project/a6f1f6b7-bbf1-44ca-8469-02a2e704fc05 2026-02-20 09:33:25,124 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/41352ea6-c32d-4605-8b90-428599fc6f9d 2026-02-20 09:33:25,136 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/41352ea6-c32d-4605-8b90-428599fc6f9d 2026-02-20 09:33:25,146 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a 2026-02-20 09:33:25,153 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a 2026-02-20 09:33:25,160 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4f9d1fb4-4274-42ff-9ec4-52794c23a5c2 2026-02-20 09:33:25,168 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 09:33:25,168 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/41352ea6-c32d-4605-8b90-428599fc6f9d 2026-02-20 09:33:25,177 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a 2026-02-20 09:33:25,190 - INFO - Verified VN network id 13 for VN 41352ea6-c32d-4605-8b90-428599fc6f9d 2026-02-20 09:33:25,190 - INFO - Verifications in API Server for VN ctest-vn-92741610 passed 2026-02-20 09:33:25,190 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/41352ea6-c32d-4605-8b90-428599fc6f9d 2026-02-20 09:33:25,198 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a 2026-02-20 09:33:25,205 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a 2026-02-20 09:33:25,212 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4f9d1fb4-4274-42ff-9ec4-52794c23a5c2 2026-02-20 09:33:25,224 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-92741610', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45423111', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4698713080004953605', 'uuid-lslong': '10056611109499858845'}, 'enable': 'true', 'created': '2026-02-20T09:33:22', 'last-modified': '2026-02-20T09:33:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396995'} 2026-02-20 09:33:25,232 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 09:33:25,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92741610 passed 2026-02-20 09:33:25,233 - DEBUG - ====Verifying policy data for ctest-vn-92741610 in API_Server ====== 2026-02-20 09:33:25,233 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-20 09:33:25,239 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9c20daa2-f050-4b90-9348-6482f27d9eaf 2026-02-20 09:33:25,250 - DEBUG - Requesting: http://10.0.0.242:8082/project/a6f1f6b7-bbf1-44ca-8469-02a2e704fc05 2026-02-20 09:33:25,321 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/41352ea6-c32d-4605-8b90-428599fc6f9d 2026-02-20 09:33:25,330 - DEBUG - ==>Verifying data for policy with id: 17b49ff3-c960-4fa9-b5ee-a6b06ac03a32, fqn: ['default-domain', 'ctest-TestBasicPolicy-45423111', 'ctest-policy-allow-all-94289145'] 2026-02-20 09:33:25,330 - INFO - VN ctest-vn-92741610 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 09:33:25,330 - DEBUG - Verifying the vn in opserver 2026-02-20 09:33:25,330 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-92741610 virtual network link through opserver 10.0.0.242 2026-02-20 09:33:25,330 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-20 09:33:25,340 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-92741610', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-92741610?flat'} 2026-02-20 09:33:25,340 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-92741610 is found in opserver 2026-02-20 09:33:25,351 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 09:33:25,355 - DEBUG - VRF ids for VN ctest-vn-92741610: {} 2026-02-20 09:33:25,414 - DEBUG - Services list from nova: [, , ] 2026-02-20 09:33:26,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5370-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5370-1) 2026-02-20 09:33:27,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5370-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5370-1) 2026-02-20 09:33:27,682 - INFO - Waiting for VM ctest-TestBasicPolicy-45423111-22008785 to be up.. 2026-02-20 09:33:27,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 09:33:32,856 - DEBUG - VM is in ACTIVE state now 2026-02-20 09:33:32,856 - INFO - VM name : ctest-TestBasicPolicy-45423111-22008785 2026-02-20 09:33:32,946 - DEBUG - VM ctest-TestBasicPolicy-45423111-22008785 ID is 9527ea15-0b7f-4b60-9e07-67f3371fa7d1 2026-02-20 09:33:32,972 - DEBUG - VM ctest-TestBasicPolicy-45423111-22008785 launched on Node cn-jenkins-deploy-platform-ansible-os-5370-1 2026-02-20 09:33:33,068 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9527ea15-0b7f-4b60-9e07-67f3371fa7d1 2026-02-20 09:33:33,078 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ff9c2922-18c7-459d-bbf9-b71b1ab356b2 2026-02-20 09:33:36,332 - 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 1019ms') 2026-02-20 09:33:36,332 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45423111-22008785 failed! 2026-02-20 09:33:36,385 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45423111:ctest-vn-78067466 is 3.20.24.1 and allocation pool is NOT set 2026-02-20 09:33:38,443 - 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=7.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/3.995/7.568/3.573 ms') 2026-02-20 09:33:38,443 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45423111-22008785 passed 2026-02-20 09:33:38,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 09:33:38,597 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45423111-22008785, IP 3.20.24.3, Port 22 2026-02-20 09:33:38,768 - DEBUG - VM ctest-TestBasicPolicy-45423111-22008785 is ready for SSH connections 2026-02-20 09:33:38,768 - INFO - Waiting for VM ctest-TestBasicPolicy-45423111-34562951 to be up.. 2026-02-20 09:33:38,854 - DEBUG - VM is in ACTIVE state now 2026-02-20 09:33:38,854 - INFO - VM name : ctest-TestBasicPolicy-45423111-34562951 2026-02-20 09:33:38,949 - DEBUG - VM ctest-TestBasicPolicy-45423111-34562951 ID is 725660cd-d6bd-4f24-9587-66244a26ec59 2026-02-20 09:33:38,949 - DEBUG - VM ctest-TestBasicPolicy-45423111-34562951 launched on Node cn-jenkins-deploy-platform-ansible-os-5370-1 2026-02-20 09:33:39,054 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/725660cd-d6bd-4f24-9587-66244a26ec59 2026-02-20 09:33:39,067 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/17fc9790-03ee-42b4-aa4e-f81dc9aba3f5 2026-02-20 09:33:40,331 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.739 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.739/2.633/4.527/1.894 ms') 2026-02-20 09:33:40,332 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45423111-34562951 passed 2026-02-20 09:33:40,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 09:33:40,494 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45423111-34562951, IP 51.173.66.131, Port 22 2026-02-20 09:33:40,653 - DEBUG - VM ctest-TestBasicPolicy-45423111-34562951 is ready for SSH connections 2026-02-20 09:33:40,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 09:33:40,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.173.66.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-20 09:33:40,653 - DEBUG - ping -s 56 -c 3 -W 1 51.173.66.131 2026-02-20 09:33:44,775 - DEBUG - PING 51.173.66.131 (51.173.66.131): 56 data bytes 64 bytes from 51.173.66.131: seq=0 ttl=63 time=5.820 ms 64 bytes from 51.173.66.131: seq=1 ttl=63 time=1.138 ms 64 bytes from 51.173.66.131: seq=2 ttl=63 time=1.095 ms --- 51.173.66.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.095/2.684/5.820 ms 2026-02-20 09:33:44,775 - INFO - Ping to IP 51.173.66.131 from VM ctest-TestBasicPolicy-45423111-22008785 passed 2026-02-20 09:33:44,953 - DEBUG - Policy Update Response {"network-policy": {"uuid": "17b49ff3-c960-4fa9-b5ee-a6b06ac03a32", "href": "http://10.0.0.242:8082/network-policy/17b49ff3-c960-4fa9-b5ee-a6b06ac03a32"}} 2026-02-20 09:33:44,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 09:33:44,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.173.66.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-20 09:33:44,953 - DEBUG - ping -s 56 -c 3 -W 1 51.173.66.131 2026-02-20 09:33:48,182 - DEBUG - PING 51.173.66.131 (51.173.66.131): 56 data bytes --- 51.173.66.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-20 09:33:48,182 - WARNING - Ping to IP 51.173.66.131 from VM ctest-TestBasicPolicy-45423111-22008785 failed 2026-02-20 09:33:48,183 - INFO - Deleting VM ctest-TestBasicPolicy-45423111-34562951 2026-02-20 09:33:48,264 - INFO - Deleting VM ctest-TestBasicPolicy-45423111-22008785 2026-02-20 09:33:48,650 - INFO - Deleted policy ctest-policy-allow-all-94289145 2026-02-20 09:33:48,650 - INFO - Deleting VN ctest-vn-92741610 2026-02-20 09:33:48,694 - DEBUG - VN 41352ea6-c32d-4605-8b90-428599fc6f9d still in use: Unable to complete operation on network 41352ea6-c32d-4605-8b90-428599fc6f9d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa0fe4c8-eace-4560-90dd-174dbe9a5577'] 2026-02-20 09:33:48,694 - WARNING - Deleting VN ctest-vn-92741610 failed..Will retry 2026-02-20 09:33:50,803 - DEBUG - Response for deleting network () 2026-02-20 09:33:50,804 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7b7f8f6e-a099-494d-b66a-c3488bc1853a 2026-02-20 09:33:50,810 - DEBUG - Response Code: 404 2026-02-20 09:33:50,810 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-20 09:33:50,816 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9c20daa2-f050-4b90-9348-6482f27d9eaf 2026-02-20 09:33:50,871 - DEBUG - Requesting: http://10.0.0.242:8082/project/a6f1f6b7-bbf1-44ca-8469-02a2e704fc05 2026-02-20 09:33:50,944 - INFO - Validated that VN ctest-vn-92741610 is not found in API Server 2026-02-20 09:33:50,954 - DEBUG - VN ctest-vn-92741610 is not present in Agent 10.0.0.242 2026-02-20 09:33:50,954 - INFO - Validated that VN ctest-vn-92741610 is not in any agent 2026-02-20 09:33:50,968 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92741610 info 2026-02-20 09:33:50,968 - INFO - Deleting VN ctest-vn-78067466 2026-02-20 09:33:51,075 - DEBUG - Response for deleting network () 2026-02-20 09:33:51,075 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f6b86581-1fde-45aa-9bcb-a894c983e9ea 2026-02-20 09:33:51,083 - DEBUG - Response Code: 404 2026-02-20 09:33:51,083 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-20 09:33:51,089 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9c20daa2-f050-4b90-9348-6482f27d9eaf 2026-02-20 09:33:51,146 - DEBUG - Requesting: http://10.0.0.242:8082/project/a6f1f6b7-bbf1-44ca-8469-02a2e704fc05 2026-02-20 09:33:51,213 - INFO - Validated that VN ctest-vn-78067466 is not found in API Server 2026-02-20 09:33:51,223 - DEBUG - VN ctest-vn-78067466 is not present in Agent 10.0.0.242 2026-02-20 09:33:51,223 - INFO - Validated that VN ctest-vn-78067466 is not in any agent 2026-02-20 09:33:51,238 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78067466 info 2026-02-20 09:33:51,494 - DEBUG - No XMPP flaps were noticed during the test 2026-02-20 09:33:51,494 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-02-20 09:33:51,494 - INFO - -------------------------------------------------------------------------------- 2026-02-20 09:33:52,207 - INFO - Deleted project: ctest-TestBasicPolicy-45423111, ID : a6f1f6b7-bbf1-44ca-8469-02a2e704fc05