2026-02-19 18:20:43,307 - INFO - Domain Default found not creating 2026-02-19 18:20:43,473 - INFO - Project ctest-TestBasicPolicy-94129511 not found, creating it 2026-02-19 18:20:43,912 - INFO - Created Project:ctest-TestBasicPolicy-94129511, ID : 339fe5ca-7418-4ffa-a37d-7c7d09d5f1c7 2026-02-19 18:20:45,353 - INFO - ================================================================================ 2026-02-19 18:20:45,353 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-19 18:20:45,353 - 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-19 18:20:45,611 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2026-02-19 18:20:45,611 - INFO - Initial checks done. Running the testcase now 2026-02-19 18:20:45,611 - INFO - 2026-02-19 18:20:46,149 - DEBUG - Response for create_network : {'network': {'id': '7a658ff5-afb7-461c-8c42-90060feb0c44', 'name': 'ctest-vn-66851557', 'tenant_id': '339fe5ca74184ffaa37d7c7d09d5f1c7', 'project_id': '339fe5ca74184ffaa37d7c7d09d5f1c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94129511', 'ctest-vn-66851557'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 18:20:46,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '65e7afb8-0149-44eb-bb0e-6f58d8af107d', 'name': '', 'tenant_id': '339fe5ca74184ffaa37d7c7d09d5f1c7', 'network_id': '7a658ff5-afb7-461c-8c42-90060feb0c44', 'ip_version': 4, 'cidr': '104.212.67.192/26', 'allocation_pools': [{'start': '104.212.67.194', 'end': '104.212.67.254'}], 'gateway_ip': '104.212.67.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.212.67.194', 'tags': [], 'project_id': '339fe5ca74184ffaa37d7c7d09d5f1c7'}} 2026-02-19 18:20:46,308 - INFO - Created VN ctest-vn-66851557 2026-02-19 18:20:46,357 - DEBUG - VN ctest-vn-66851557 UUID is 7a658ff5-afb7-461c-8c42-90060feb0c44 2026-02-19 18:20:46,680 - DEBUG - Response for create_network : {'network': {'id': '8d969425-6c96-4ee8-a3cd-e47de5a760f5', 'name': 'ctest-vn-00970883', 'tenant_id': '339fe5ca74184ffaa37d7c7d09d5f1c7', 'project_id': '339fe5ca74184ffaa37d7c7d09d5f1c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94129511', 'ctest-vn-00970883'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 18:20:46,898 - DEBUG - Response for create_subnet : {'subnet': {'id': '004138ed-71fc-48f1-b3bf-0032e471c1c1', 'name': '', 'tenant_id': '339fe5ca74184ffaa37d7c7d09d5f1c7', 'network_id': '8d969425-6c96-4ee8-a3cd-e47de5a760f5', 'ip_version': 4, 'cidr': '84.149.213.0/26', 'allocation_pools': [{'start': '84.149.213.2', 'end': '84.149.213.62'}], 'gateway_ip': '84.149.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.149.213.2', 'tags': [], 'project_id': '339fe5ca74184ffaa37d7c7d09d5f1c7'}} 2026-02-19 18:20:46,915 - INFO - Created VN ctest-vn-00970883 2026-02-19 18:20:46,965 - DEBUG - VN ctest-vn-00970883 UUID is 8d969425-6c96-4ee8-a3cd-e47de5a760f5 2026-02-19 18:20:47,113 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-66851557, 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-94129511:ctest-vn-00970883, 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-19 18:20:47,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a658ff5-afb7-461c-8c42-90060feb0c44', 'name': 'ctest-vn-66851557', 'tenant_id': '339fe5ca74184ffaa37d7c7d09d5f1c7', 'project_id': '339fe5ca74184ffaa37d7c7d09d5f1c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65e7afb8-0149-44eb-bb0e-6f58d8af107d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94129511', 'ctest-vn-66851557'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94129511', 'ctest-policy-allow-all-47926272']], 'subnet_ipam': [{'subnet_cidr': '104.212.67.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 18:20:47,636 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8d969425-6c96-4ee8-a3cd-e47de5a760f5', 'name': 'ctest-vn-00970883', 'tenant_id': '339fe5ca74184ffaa37d7c7d09d5f1c7', 'project_id': '339fe5ca74184ffaa37d7c7d09d5f1c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['004138ed-71fc-48f1-b3bf-0032e471c1c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94129511', 'ctest-vn-00970883'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94129511', 'ctest-policy-allow-all-47926272']], 'subnet_ipam': [{'subnet_cidr': '84.149.213.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 18:20:47,797 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 18:20:48,097 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 18:20:48,128 - DEBUG - Requesting: http://10.0.0.129:8082/domain/8074bd5b-8762-48a2-ac4f-36de6b3909b9 2026-02-19 18:20:48,138 - DEBUG - Requesting: http://10.0.0.129:8082/project/339fe5ca-7418-4ffa-a37d-7c7d09d5f1c7 2026-02-19 18:20:48,210 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7a658ff5-afb7-461c-8c42-90060feb0c44 2026-02-19 18:20:48,220 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7a658ff5-afb7-461c-8c42-90060feb0c44 2026-02-19 18:20:48,227 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b4743292-29c7-4a77-935b-4aa805bf7326 2026-02-19 18:20:48,234 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b4743292-29c7-4a77-935b-4aa805bf7326 2026-02-19 18:20:48,240 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/4870b1de-0daa-4b23-8a55-a5cf4103ea11 2026-02-19 18:20:48,245 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 18:20:48,245 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7a658ff5-afb7-461c-8c42-90060feb0c44 2026-02-19 18:20:48,253 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b4743292-29c7-4a77-935b-4aa805bf7326 2026-02-19 18:20:48,265 - INFO - Verified VN network id 11 for VN 7a658ff5-afb7-461c-8c42-90060feb0c44 2026-02-19 18:20:48,265 - INFO - Verifications in API Server for VN ctest-vn-66851557 passed 2026-02-19 18:20:48,265 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7a658ff5-afb7-461c-8c42-90060feb0c44 2026-02-19 18:20:48,274 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b4743292-29c7-4a77-935b-4aa805bf7326 2026-02-19 18:20:48,281 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b4743292-29c7-4a77-935b-4aa805bf7326 2026-02-19 18:20:48,286 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/4870b1de-0daa-4b23-8a55-a5cf4103ea11 2026-02-19 18:20:48,295 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-66851557', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94129511', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8819613730652767772', 'uuid-lslong': '10106798869484080196'}, 'enable': 'true', 'created': '2026-02-19T18:20:46', 'last-modified': '2026-02-19T18:20:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.902994'} 2026-02-19 18:20:48,300 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 18:20:48,300 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66851557 passed 2026-02-19 18:20:48,300 - DEBUG - ====Verifying policy data for ctest-vn-66851557 in API_Server ====== 2026-02-19 18:20:48,300 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 18:20:48,306 - DEBUG - Requesting: http://10.0.0.129:8082/domain/8074bd5b-8762-48a2-ac4f-36de6b3909b9 2026-02-19 18:20:48,316 - DEBUG - Requesting: http://10.0.0.129:8082/project/339fe5ca-7418-4ffa-a37d-7c7d09d5f1c7 2026-02-19 18:20:48,392 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7a658ff5-afb7-461c-8c42-90060feb0c44 2026-02-19 18:20:48,401 - DEBUG - ==>Verifying data for policy with id: 864c3f43-920b-48a1-be9b-980d04ef0f56, fqn: ['default-domain', 'ctest-TestBasicPolicy-94129511', 'ctest-policy-allow-all-47926272'] 2026-02-19 18:20:48,401 - INFO - VN ctest-vn-66851557 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 18:20:48,401 - DEBUG - Verifying the vn in opserver 2026-02-19 18:20:48,401 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-66851557 virtual network link through opserver 10.0.0.129 2026-02-19 18:20:48,401 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-19 18:20:48,701 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-19 18:20:48,760 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-66851557', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-66851557?flat'} 2026-02-19 18:20:48,760 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-66851557 is found in opserver 2026-02-19 18:20:48,770 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 18:20:48,773 - DEBUG - VRF ids for VN ctest-vn-66851557: {} 2026-02-19 18:20:48,773 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 18:20:48,778 - DEBUG - Requesting: http://10.0.0.129:8082/domain/8074bd5b-8762-48a2-ac4f-36de6b3909b9 2026-02-19 18:20:48,787 - DEBUG - Requesting: http://10.0.0.129:8082/project/339fe5ca-7418-4ffa-a37d-7c7d09d5f1c7 2026-02-19 18:20:48,853 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8d969425-6c96-4ee8-a3cd-e47de5a760f5 2026-02-19 18:20:48,863 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8d969425-6c96-4ee8-a3cd-e47de5a760f5 2026-02-19 18:20:48,872 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/7fd77840-3f3c-4d95-86e2-2592864f9e1a 2026-02-19 18:20:48,879 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/7fd77840-3f3c-4d95-86e2-2592864f9e1a 2026-02-19 18:20:48,885 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/3c9cb6fb-2dea-4c4e-b3dd-24126795e10d 2026-02-19 18:20:48,891 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 18:20:48,891 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8d969425-6c96-4ee8-a3cd-e47de5a760f5 2026-02-19 18:20:48,901 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/7fd77840-3f3c-4d95-86e2-2592864f9e1a 2026-02-19 18:20:48,916 - INFO - Verified VN network id 12 for VN 8d969425-6c96-4ee8-a3cd-e47de5a760f5 2026-02-19 18:20:48,916 - INFO - Verifications in API Server for VN ctest-vn-00970883 passed 2026-02-19 18:20:48,916 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8d969425-6c96-4ee8-a3cd-e47de5a760f5 2026-02-19 18:20:48,925 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/7fd77840-3f3c-4d95-86e2-2592864f9e1a 2026-02-19 18:20:48,932 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/7fd77840-3f3c-4d95-86e2-2592864f9e1a 2026-02-19 18:20:48,938 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/3c9cb6fb-2dea-4c4e-b3dd-24126795e10d 2026-02-19 18:20:48,950 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-00970883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94129511', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10202504894310928104', 'uuid-lslong': '11803341427782934773'}, 'enable': 'true', 'created': '2026-02-19T18:20:46', 'last-modified': '2026-02-19T18:20:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.336340'} 2026-02-19 18:20:48,957 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 18:20:48,957 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00970883 passed 2026-02-19 18:20:48,957 - DEBUG - ====Verifying policy data for ctest-vn-00970883 in API_Server ====== 2026-02-19 18:20:48,957 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 18:20:48,962 - DEBUG - Requesting: http://10.0.0.129:8082/domain/8074bd5b-8762-48a2-ac4f-36de6b3909b9 2026-02-19 18:20:48,972 - DEBUG - Requesting: http://10.0.0.129:8082/project/339fe5ca-7418-4ffa-a37d-7c7d09d5f1c7 2026-02-19 18:20:49,042 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8d969425-6c96-4ee8-a3cd-e47de5a760f5 2026-02-19 18:20:49,050 - DEBUG - ==>Verifying data for policy with id: 864c3f43-920b-48a1-be9b-980d04ef0f56, fqn: ['default-domain', 'ctest-TestBasicPolicy-94129511', 'ctest-policy-allow-all-47926272'] 2026-02-19 18:20:49,050 - INFO - VN ctest-vn-00970883 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 18:20:49,051 - DEBUG - Verifying the vn in opserver 2026-02-19 18:20:49,051 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-00970883 virtual network link through opserver 10.0.0.129 2026-02-19 18:20:49,051 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-19 18:20:49,060 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-00970883', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-00970883?flat'} 2026-02-19 18:20:49,060 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-00970883 is found in opserver 2026-02-19 18:20:49,069 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 18:20:49,074 - DEBUG - VRF ids for VN ctest-vn-00970883: {} 2026-02-19 18:20:49,127 - DEBUG - Services list from nova: [, , ] 2026-02-19 18:20:50,175 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5361-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5361-1) 2026-02-19 18:20:51,310 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5361-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5361-1) 2026-02-19 18:20:51,310 - INFO - Waiting for VM ctest-TestBasicPolicy-94129511-47403437 to be up.. 2026-02-19 18:20:51,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 18:20:56,457 - DEBUG - VM is in ACTIVE state now 2026-02-19 18:20:56,457 - INFO - VM name : ctest-TestBasicPolicy-94129511-47403437 2026-02-19 18:20:56,535 - DEBUG - VM ctest-TestBasicPolicy-94129511-47403437 ID is 28737755-e5ea-4094-8d07-5b4f6d0e6747 2026-02-19 18:20:56,555 - DEBUG - VM ctest-TestBasicPolicy-94129511-47403437 launched on Node cn-jenkins-deploy-platform-ansible-os-5361-1 2026-02-19 18:20:56,628 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/28737755-e5ea-4094-8d07-5b4f6d0e6747 2026-02-19 18:20:56,638 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/299e4240-a2bd-455e-b0fd-814b313506af 2026-02-19 18:20:59,887 - 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-02-19 18:20:59,887 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94129511-47403437 failed! 2026-02-19 18:20:59,945 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94129511:ctest-vn-66851557 is 104.212.67.193 and allocation pool is NOT set 2026-02-19 18:21:02,011 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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.450/1.572/2.695/1.122 ms') 2026-02-19 18:21:02,011 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94129511-47403437 passed 2026-02-19 18:21:02,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 18:21:02,161 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94129511-47403437, IP 104.212.67.195, Port 22 2026-02-19 18:21:02,326 - DEBUG - VM ctest-TestBasicPolicy-94129511-47403437 is ready for SSH connections 2026-02-19 18:21:02,326 - INFO - Waiting for VM ctest-TestBasicPolicy-94129511-37676154 to be up.. 2026-02-19 18:21:02,397 - DEBUG - VM is in ACTIVE state now 2026-02-19 18:21:02,397 - INFO - VM name : ctest-TestBasicPolicy-94129511-37676154 2026-02-19 18:21:02,497 - DEBUG - VM ctest-TestBasicPolicy-94129511-37676154 ID is e196a414-eca6-48f7-b9ab-551b4a1b5763 2026-02-19 18:21:02,497 - DEBUG - VM ctest-TestBasicPolicy-94129511-37676154 launched on Node cn-jenkins-deploy-platform-ansible-os-5361-1 2026-02-19 18:21:02,570 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/e196a414-eca6-48f7-b9ab-551b4a1b5763 2026-02-19 18:21:02,578 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/ab3e9a2a-416b-4be3-85bc-09d8768f23c8 2026-02-19 18:21:03,814 - 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=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.638/2.852/1.214 ms') 2026-02-19 18:21:03,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94129511-37676154 passed 2026-02-19 18:21:03,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 18:21:03,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94129511-37676154, IP 84.149.213.3, Port 22 2026-02-19 18:21:04,116 - DEBUG - VM ctest-TestBasicPolicy-94129511-37676154 is ready for SSH connections 2026-02-19 18:21:04,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 18:21:04,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.149.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-19 18:21:04,116 - DEBUG - ping -s 56 -c 3 -W 1 84.149.213.3 2026-02-19 18:21:08,132 - DEBUG - PING 84.149.213.3 (84.149.213.3): 56 data bytes 64 bytes from 84.149.213.3: seq=0 ttl=63 time=3.544 ms 64 bytes from 84.149.213.3: seq=1 ttl=63 time=0.836 ms 64 bytes from 84.149.213.3: seq=2 ttl=63 time=0.826 ms --- 84.149.213.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.735/3.544 ms 2026-02-19 18:21:08,133 - INFO - Ping to IP 84.149.213.3 from VM ctest-TestBasicPolicy-94129511-47403437 passed 2026-02-19 18:21:08,309 - DEBUG - Policy Update Response {"network-policy": {"uuid": "864c3f43-920b-48a1-be9b-980d04ef0f56", "href": "http://10.0.0.129:8082/network-policy/864c3f43-920b-48a1-be9b-980d04ef0f56"}} 2026-02-19 18:21:08,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 18:21:08,309 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.149.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-19 18:21:08,309 - DEBUG - ping -s 56 -c 3 -W 1 84.149.213.3 2026-02-19 18:21:11,519 - DEBUG - PING 84.149.213.3 (84.149.213.3): 56 data bytes --- 84.149.213.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-19 18:21:11,519 - WARNING - Ping to IP 84.149.213.3 from VM ctest-TestBasicPolicy-94129511-47403437 failed 2026-02-19 18:21:11,519 - INFO - Deleting VM ctest-TestBasicPolicy-94129511-37676154 2026-02-19 18:21:11,591 - INFO - Deleting VM ctest-TestBasicPolicy-94129511-47403437 2026-02-19 18:21:12,021 - INFO - Deleted policy ctest-policy-allow-all-47926272 2026-02-19 18:21:12,022 - INFO - Deleting VN ctest-vn-00970883 2026-02-19 18:21:12,068 - DEBUG - VN 8d969425-6c96-4ee8-a3cd-e47de5a760f5 still in use: Unable to complete operation on network 8d969425-6c96-4ee8-a3cd-e47de5a760f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-78acd2d6-2a7d-4e33-9ff5-c1bea1c19b5a'] 2026-02-19 18:21:12,068 - WARNING - Deleting VN ctest-vn-00970883 failed..Will retry 2026-02-19 18:21:14,158 - DEBUG - Response for deleting network () 2026-02-19 18:21:14,158 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/7fd77840-3f3c-4d95-86e2-2592864f9e1a 2026-02-19 18:21:14,163 - DEBUG - Response Code: 404 2026-02-19 18:21:14,163 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 18:21:14,167 - DEBUG - Requesting: http://10.0.0.129:8082/domain/8074bd5b-8762-48a2-ac4f-36de6b3909b9 2026-02-19 18:21:14,218 - DEBUG - Requesting: http://10.0.0.129:8082/project/339fe5ca-7418-4ffa-a37d-7c7d09d5f1c7 2026-02-19 18:21:14,283 - INFO - Validated that VN ctest-vn-00970883 is not found in API Server 2026-02-19 18:21:14,292 - DEBUG - VN ctest-vn-00970883 is not present in Agent 10.0.0.129 2026-02-19 18:21:14,292 - INFO - Validated that VN ctest-vn-00970883 is not in any agent 2026-02-19 18:21:14,304 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00970883 info 2026-02-19 18:21:14,304 - INFO - Deleting VN ctest-vn-66851557 2026-02-19 18:21:14,395 - DEBUG - Response for deleting network () 2026-02-19 18:21:14,395 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/b4743292-29c7-4a77-935b-4aa805bf7326 2026-02-19 18:21:14,399 - DEBUG - Response Code: 404 2026-02-19 18:21:14,399 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-19 18:21:14,412 - DEBUG - Requesting: http://10.0.0.129:8082/domain/8074bd5b-8762-48a2-ac4f-36de6b3909b9 2026-02-19 18:21:14,465 - DEBUG - Requesting: http://10.0.0.129:8082/project/339fe5ca-7418-4ffa-a37d-7c7d09d5f1c7 2026-02-19 18:21:14,535 - INFO - Validated that VN ctest-vn-66851557 is not found in API Server 2026-02-19 18:21:14,544 - DEBUG - VN ctest-vn-66851557 is not present in Agent 10.0.0.129 2026-02-19 18:21:14,545 - INFO - Validated that VN ctest-vn-66851557 is not in any agent 2026-02-19 18:21:14,557 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66851557 info 2026-02-19 18:21:14,812 - DEBUG - No XMPP flaps were noticed during the test 2026-02-19 18:21:14,812 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-02-19 18:21:14,812 - INFO - -------------------------------------------------------------------------------- 2026-02-19 18:21:15,505 - INFO - Deleted project: ctest-TestBasicPolicy-94129511, ID : 339fe5ca-7418-4ffa-a37d-7c7d09d5f1c7