2026-03-19 02:27:14,239 - INFO - Domain Default found not creating 2026-03-19 02:27:14,404 - INFO - Project ctest-TestBasicPolicy-93441428 not found, creating it 2026-03-19 02:27:14,861 - INFO - Created Project:ctest-TestBasicPolicy-93441428, ID : ee857163-9657-42c0-9bfa-578f3d554d30 2026-03-19 02:27:16,414 - INFO - ================================================================================ 2026-03-19 02:27:16,414 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-19 02:27:16,414 - 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-19 02:27:16,671 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.192': '0'}} with 2026-03-19 02:27:16,671 - INFO - Initial checks done. Running the testcase now 2026-03-19 02:27:16,671 - INFO - 2026-03-19 02:27:17,236 - DEBUG - Response for create_network : {'network': {'id': 'd531fd93-120d-4529-b09f-70809c73548c', 'name': 'ctest-vn-72517496', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'project_id': 'ee857163965742c09bfa578f3d554d30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-vn-72517496'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:27:17,416 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0ca6a60-8d61-4df2-b04e-b57f69b37cfb', 'name': '', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'network_id': 'd531fd93-120d-4529-b09f-70809c73548c', 'ip_version': 4, 'cidr': '108.164.4.64/26', 'allocation_pools': [{'start': '108.164.4.66', 'end': '108.164.4.126'}], 'gateway_ip': '108.164.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.164.4.66', 'tags': [], 'project_id': 'ee857163965742c09bfa578f3d554d30'}} 2026-03-19 02:27:17,433 - INFO - Created VN ctest-vn-72517496 2026-03-19 02:27:17,485 - DEBUG - VN ctest-vn-72517496 UUID is d531fd93-120d-4529-b09f-70809c73548c 2026-03-19 02:27:17,808 - DEBUG - Response for create_network : {'network': {'id': '984e2cc9-a003-4740-b3a8-12f2171a65e1', 'name': 'ctest-vn-83105788', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'project_id': 'ee857163965742c09bfa578f3d554d30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-vn-83105788'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:27:17,991 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7da7eaa-16b0-47f4-a005-28e8adb3ecf6', 'name': '', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'network_id': '984e2cc9-a003-4740-b3a8-12f2171a65e1', 'ip_version': 4, 'cidr': '173.36.203.0/26', 'allocation_pools': [{'start': '173.36.203.2', 'end': '173.36.203.62'}], 'gateway_ip': '173.36.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.36.203.2', 'tags': [], 'project_id': 'ee857163965742c09bfa578f3d554d30'}} 2026-03-19 02:27:18,010 - INFO - Created VN ctest-vn-83105788 2026-03-19 02:27:18,065 - DEBUG - VN ctest-vn-83105788 UUID is 984e2cc9-a003-4740-b3a8-12f2171a65e1 2026-03-19 02:27:18,176 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496, 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-93441428:ctest-vn-83105788, 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-19 02:27:18,476 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd531fd93-120d-4529-b09f-70809c73548c', 'name': 'ctest-vn-72517496', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'project_id': 'ee857163965742c09bfa578f3d554d30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0ca6a60-8d61-4df2-b04e-b57f69b37cfb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-vn-72517496'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-policy-allow-all-59375244']], 'subnet_ipam': [{'subnet_cidr': '108.164.4.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:27:18,704 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '984e2cc9-a003-4740-b3a8-12f2171a65e1', 'name': 'ctest-vn-83105788', 'tenant_id': 'ee857163965742c09bfa578f3d554d30', 'project_id': 'ee857163965742c09bfa578f3d554d30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a7da7eaa-16b0-47f4-a005-28e8adb3ecf6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-vn-83105788'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-policy-allow-all-59375244']], 'subnet_ipam': [{'subnet_cidr': '173.36.203.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:27:18,853 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 02:27:19,157 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 02:27:19,192 - DEBUG - Requesting: http://10.0.0.249:8082/domain/278385c2-5a59-4b69-a7f2-aaeef32c54f8 2026-03-19 02:27:19,204 - DEBUG - Requesting: http://10.0.0.249:8082/project/ee857163-9657-42c0-9bfa-578f3d554d30 2026-03-19 02:27:19,274 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d531fd93-120d-4529-b09f-70809c73548c 2026-03-19 02:27:19,284 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d531fd93-120d-4529-b09f-70809c73548c 2026-03-19 02:27:19,292 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5 2026-03-19 02:27:19,298 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5 2026-03-19 02:27:19,304 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/186aeecc-edd3-47a0-a319-113f1be22491 2026-03-19 02:27:19,310 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:27:19,310 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d531fd93-120d-4529-b09f-70809c73548c 2026-03-19 02:27:19,319 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5 2026-03-19 02:27:19,332 - INFO - Verified VN network id 11 for VN d531fd93-120d-4529-b09f-70809c73548c 2026-03-19 02:27:19,332 - INFO - Verifications in API Server for VN ctest-vn-72517496 passed 2026-03-19 02:27:19,332 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d531fd93-120d-4529-b09f-70809c73548c 2026-03-19 02:27:19,341 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5 2026-03-19 02:27:19,346 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5 2026-03-19 02:27:19,352 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/186aeecc-edd3-47a0-a319-113f1be22491 2026-03-19 02:27:19,362 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93441428', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15362338612042351913', 'uuid-lslong': '12727014769655239820'}, 'enable': 'true', 'created': '2026-03-19T02:27:17', 'last-modified': '2026-03-19T02:27:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.909298'} 2026-03-19 02:27:19,368 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:27:19,368 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72517496 passed 2026-03-19 02:27:19,368 - DEBUG - ====Verifying policy data for ctest-vn-72517496 in API_Server ====== 2026-03-19 02:27:19,368 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 02:27:19,373 - DEBUG - Requesting: http://10.0.0.249:8082/domain/278385c2-5a59-4b69-a7f2-aaeef32c54f8 2026-03-19 02:27:19,386 - DEBUG - Requesting: http://10.0.0.249:8082/project/ee857163-9657-42c0-9bfa-578f3d554d30 2026-03-19 02:27:19,458 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d531fd93-120d-4529-b09f-70809c73548c 2026-03-19 02:27:19,468 - DEBUG - ==>Verifying data for policy with id: 709eeba8-5e11-453d-9c1c-47c657c2d873, fqn: ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-policy-allow-all-59375244'] 2026-03-19 02:27:19,468 - INFO - VN ctest-vn-72517496 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 02:27:19,468 - DEBUG - Verifying the vn in opserver 2026-03-19 02:27:19,468 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496 virtual network link through opserver 10.0.0.249 2026-03-19 02:27:19,468 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-19 02:27:19,765 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-19 02:27:19,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496?flat'} 2026-03-19 02:27:19,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496 is found in opserver 2026-03-19 02:27:19,838 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 02:27:19,844 - DEBUG - VRF ids for VN ctest-vn-72517496: {} 2026-03-19 02:27:19,844 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 02:27:19,850 - DEBUG - Requesting: http://10.0.0.249:8082/domain/278385c2-5a59-4b69-a7f2-aaeef32c54f8 2026-03-19 02:27:19,861 - DEBUG - Requesting: http://10.0.0.249:8082/project/ee857163-9657-42c0-9bfa-578f3d554d30 2026-03-19 02:27:19,933 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/984e2cc9-a003-4740-b3a8-12f2171a65e1 2026-03-19 02:27:19,945 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/984e2cc9-a003-4740-b3a8-12f2171a65e1 2026-03-19 02:27:19,955 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60 2026-03-19 02:27:19,962 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60 2026-03-19 02:27:19,969 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/28cfda4c-7b7e-4945-ba38-71b9d83b0110 2026-03-19 02:27:19,975 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:27:19,975 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/984e2cc9-a003-4740-b3a8-12f2171a65e1 2026-03-19 02:27:19,983 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60 2026-03-19 02:27:19,996 - INFO - Verified VN network id 12 for VN 984e2cc9-a003-4740-b3a8-12f2171a65e1 2026-03-19 02:27:19,996 - INFO - Verifications in API Server for VN ctest-vn-83105788 passed 2026-03-19 02:27:19,996 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/984e2cc9-a003-4740-b3a8-12f2171a65e1 2026-03-19 02:27:20,008 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60 2026-03-19 02:27:20,016 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60 2026-03-19 02:27:20,022 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/28cfda4c-7b7e-4945-ba38-71b9d83b0110 2026-03-19 02:27:20,035 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-83105788', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93441428', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10974758586433095488', 'uuid-lslong': '12945617959855482337'}, 'enable': 'true', 'created': '2026-03-19T02:27:17', 'last-modified': '2026-03-19T02:27:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352583'} 2026-03-19 02:27:20,040 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:27:20,040 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83105788 passed 2026-03-19 02:27:20,041 - DEBUG - ====Verifying policy data for ctest-vn-83105788 in API_Server ====== 2026-03-19 02:27:20,041 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 02:27:20,046 - DEBUG - Requesting: http://10.0.0.249:8082/domain/278385c2-5a59-4b69-a7f2-aaeef32c54f8 2026-03-19 02:27:20,058 - DEBUG - Requesting: http://10.0.0.249:8082/project/ee857163-9657-42c0-9bfa-578f3d554d30 2026-03-19 02:27:20,127 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/984e2cc9-a003-4740-b3a8-12f2171a65e1 2026-03-19 02:27:20,138 - DEBUG - ==>Verifying data for policy with id: 709eeba8-5e11-453d-9c1c-47c657c2d873, fqn: ['default-domain', 'ctest-TestBasicPolicy-93441428', 'ctest-policy-allow-all-59375244'] 2026-03-19 02:27:20,138 - INFO - VN ctest-vn-83105788 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 02:27:20,138 - DEBUG - Verifying the vn in opserver 2026-03-19 02:27:20,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-83105788 virtual network link through opserver 10.0.0.249 2026-03-19 02:27:20,138 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-19 02:27:20,148 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-83105788', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-83105788?flat'} 2026-03-19 02:27:20,148 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-83105788 is found in opserver 2026-03-19 02:27:20,158 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 02:27:20,162 - DEBUG - VRF ids for VN ctest-vn-83105788: {} 2026-03-19 02:27:20,224 - DEBUG - Services list from nova: [, , ] 2026-03-19 02:27:21,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5490-1) 2026-03-19 02:27:22,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5490-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5490-1) 2026-03-19 02:27:22,401 - INFO - Waiting for VM ctest-TestBasicPolicy-93441428-49171810 to be up.. 2026-03-19 02:27:22,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 02:27:27,593 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:27:27,593 - INFO - VM name : ctest-TestBasicPolicy-93441428-49171810 2026-03-19 02:27:27,675 - DEBUG - VM ctest-TestBasicPolicy-93441428-49171810 ID is 35fa357f-25fe-4f06-90b3-8438cd59d74f 2026-03-19 02:27:27,701 - DEBUG - VM ctest-TestBasicPolicy-93441428-49171810 launched on Node cn-jenkins-deploy-platform-ansible-os-5490-1 2026-03-19 02:27:27,788 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/35fa357f-25fe-4f06-90b3-8438cd59d74f 2026-03-19 02:27:27,797 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4d0d3a7c-b007-4e42-84ec-817243c57338 2026-03-19 02:27:31,014 - 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 1017ms') 2026-03-19 02:27:31,014 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93441428-49171810 failed! 2026-03-19 02:27:31,069 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93441428:ctest-vn-72517496 is 108.164.4.65 and allocation pool is NOT set 2026-03-19 02:27:33,135 - 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=11.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.580/6.183/11.786/5.603 ms') 2026-03-19 02:27:33,135 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93441428-49171810 passed 2026-03-19 02:27:33,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:27:33,285 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93441428-49171810, IP 108.164.4.67, Port 22 2026-03-19 02:27:33,444 - DEBUG - VM ctest-TestBasicPolicy-93441428-49171810 is ready for SSH connections 2026-03-19 02:27:33,444 - INFO - Waiting for VM ctest-TestBasicPolicy-93441428-85899112 to be up.. 2026-03-19 02:27:33,529 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:27:33,529 - INFO - VM name : ctest-TestBasicPolicy-93441428-85899112 2026-03-19 02:27:33,605 - DEBUG - VM ctest-TestBasicPolicy-93441428-85899112 ID is df9f13ab-c63c-482e-aa3b-b3443dbd9f35 2026-03-19 02:27:33,605 - DEBUG - VM ctest-TestBasicPolicy-93441428-85899112 launched on Node cn-jenkins-deploy-platform-ansible-os-5490-1 2026-03-19 02:27:33,687 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/df9f13ab-c63c-482e-aa3b-b3443dbd9f35 2026-03-19 02:27:33,703 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/374efb4f-4f50-4cec-b12b-7cbe9c017a8b 2026-03-19 02:27:34,937 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.907 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 = 0.907/3.643/6.379/2.736 ms') 2026-03-19 02:27:34,937 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93441428-85899112 passed 2026-03-19 02:27:35,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:27:35,093 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93441428-85899112, IP 173.36.203.3, Port 22 2026-03-19 02:27:35,253 - DEBUG - VM ctest-TestBasicPolicy-93441428-85899112 is ready for SSH connections 2026-03-19 02:27:35,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:27:35,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.36.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-19 02:27:35,254 - DEBUG - ping -s 56 -c 3 -W 1 173.36.203.3 2026-03-19 02:27:39,265 - DEBUG - PING 173.36.203.3 (173.36.203.3): 56 data bytes 64 bytes from 173.36.203.3: seq=0 ttl=63 time=3.490 ms 64 bytes from 173.36.203.3: seq=1 ttl=63 time=1.023 ms 64 bytes from 173.36.203.3: seq=2 ttl=63 time=0.881 ms --- 173.36.203.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/1.798/3.490 ms 2026-03-19 02:27:39,265 - INFO - Ping to IP 173.36.203.3 from VM ctest-TestBasicPolicy-93441428-49171810 passed 2026-03-19 02:27:39,440 - DEBUG - Policy Update Response {"network-policy": {"uuid": "709eeba8-5e11-453d-9c1c-47c657c2d873", "href": "http://10.0.0.249:8082/network-policy/709eeba8-5e11-453d-9c1c-47c657c2d873"}} 2026-03-19 02:27:39,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:27:39,441 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.36.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-19 02:27:39,441 - DEBUG - ping -s 56 -c 3 -W 1 173.36.203.3 2026-03-19 02:27:42,651 - DEBUG - PING 173.36.203.3 (173.36.203.3): 56 data bytes --- 173.36.203.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-19 02:27:42,651 - WARNING - Ping to IP 173.36.203.3 from VM ctest-TestBasicPolicy-93441428-49171810 failed 2026-03-19 02:27:42,651 - INFO - Deleting VM ctest-TestBasicPolicy-93441428-85899112 2026-03-19 02:27:42,720 - INFO - Deleting VM ctest-TestBasicPolicy-93441428-49171810 2026-03-19 02:27:43,079 - INFO - Deleted policy ctest-policy-allow-all-59375244 2026-03-19 02:27:43,079 - INFO - Deleting VN ctest-vn-83105788 2026-03-19 02:27:43,109 - DEBUG - VN 984e2cc9-a003-4740-b3a8-12f2171a65e1 still in use: Unable to complete operation on network 984e2cc9-a003-4740-b3a8-12f2171a65e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-629cfea5-e32e-46e7-a007-6365553281b4'] 2026-03-19 02:27:43,109 - WARNING - Deleting VN ctest-vn-83105788 failed..Will retry 2026-03-19 02:27:45,215 - DEBUG - Response for deleting network () 2026-03-19 02:27:45,216 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8ae964ce-a199-4943-bb0e-492251cb4d60 2026-03-19 02:27:45,220 - DEBUG - Response Code: 404 2026-03-19 02:27:45,220 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 02:27:45,227 - DEBUG - Requesting: http://10.0.0.249:8082/domain/278385c2-5a59-4b69-a7f2-aaeef32c54f8 2026-03-19 02:27:45,282 - DEBUG - Requesting: http://10.0.0.249:8082/project/ee857163-9657-42c0-9bfa-578f3d554d30 2026-03-19 02:27:45,352 - INFO - Validated that VN ctest-vn-83105788 is not found in API Server 2026-03-19 02:27:45,361 - DEBUG - VN ctest-vn-83105788 is not present in Agent 10.0.0.249 2026-03-19 02:27:45,361 - INFO - Validated that VN ctest-vn-83105788 is not in any agent 2026-03-19 02:27:45,373 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83105788 info 2026-03-19 02:27:45,373 - INFO - Deleting VN ctest-vn-72517496 2026-03-19 02:27:45,465 - DEBUG - Response for deleting network () 2026-03-19 02:27:45,465 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c663c931-f6a4-4514-bd6c-15057d34afd5 2026-03-19 02:27:45,472 - DEBUG - Response Code: 404 2026-03-19 02:27:45,472 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-19 02:27:45,477 - DEBUG - Requesting: http://10.0.0.249:8082/domain/278385c2-5a59-4b69-a7f2-aaeef32c54f8 2026-03-19 02:27:45,530 - DEBUG - Requesting: http://10.0.0.249:8082/project/ee857163-9657-42c0-9bfa-578f3d554d30 2026-03-19 02:27:45,596 - INFO - Validated that VN ctest-vn-72517496 is not found in API Server 2026-03-19 02:27:45,605 - DEBUG - VN ctest-vn-72517496 is not present in Agent 10.0.0.249 2026-03-19 02:27:45,605 - INFO - Validated that VN ctest-vn-72517496 is not in any agent 2026-03-19 02:27:45,619 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72517496 info 2026-03-19 02:27:45,874 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 02:27:45,874 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-19 02:27:45,874 - INFO - -------------------------------------------------------------------------------- 2026-03-19 02:27:46,617 - INFO - Deleted project: ctest-TestBasicPolicy-93441428, ID : ee857163-9657-42c0-9bfa-578f3d554d30