2026-02-19 14:06:25,930 - INFO - Domain Default found not creating 2026-02-19 14:06:26,093 - INFO - Project ctest-TestBasicPolicy-25120103 not found, creating it 2026-02-19 14:06:26,550 - INFO - Created Project:ctest-TestBasicPolicy-25120103, ID : 7d4aaa6a-66a6-41e9-84a7-9a34049daf65 2026-02-19 14:06:28,073 - INFO - ================================================================================ 2026-02-19 14:06:28,073 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-19 14:06:28,073 - 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 14:06:28,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2026-02-19 14:06:28,331 - INFO - Initial checks done. Running the testcase now 2026-02-19 14:06:28,331 - INFO - 2026-02-19 14:06:28,880 - DEBUG - Response for create_network : {'network': {'id': '869d1291-6ef9-4657-9047-c176d91a1e29', 'name': 'ctest-vn-26370949', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'project_id': '7d4aaa6a66a641e984a79a34049daf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-vn-26370949'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 14:06:29,094 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7e5e789-45d8-4073-84b7-5d2b99c5a04b', 'name': '', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'network_id': '869d1291-6ef9-4657-9047-c176d91a1e29', 'ip_version': 4, 'cidr': '166.210.119.64/26', 'allocation_pools': [{'start': '166.210.119.66', 'end': '166.210.119.126'}], 'gateway_ip': '166.210.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.210.119.66', 'tags': [], 'project_id': '7d4aaa6a66a641e984a79a34049daf65'}} 2026-02-19 14:06:29,112 - INFO - Created VN ctest-vn-26370949 2026-02-19 14:06:29,164 - DEBUG - VN ctest-vn-26370949 UUID is 869d1291-6ef9-4657-9047-c176d91a1e29 2026-02-19 14:06:29,489 - DEBUG - Response for create_network : {'network': {'id': '8ac19c5e-7df6-49d4-b5db-492ea1ae8029', 'name': 'ctest-vn-92557315', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'project_id': '7d4aaa6a66a641e984a79a34049daf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-vn-92557315'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 14:06:29,664 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c891921b-718e-4080-bb8b-afb17f56c301', 'name': '', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'network_id': '8ac19c5e-7df6-49d4-b5db-492ea1ae8029', 'ip_version': 4, 'cidr': '44.16.158.192/26', 'allocation_pools': [{'start': '44.16.158.194', 'end': '44.16.158.254'}], 'gateway_ip': '44.16.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.16.158.194', 'tags': [], 'project_id': '7d4aaa6a66a641e984a79a34049daf65'}} 2026-02-19 14:06:29,683 - INFO - Created VN ctest-vn-92557315 2026-02-19 14:06:29,736 - DEBUG - VN ctest-vn-92557315 UUID is 8ac19c5e-7df6-49d4-b5db-492ea1ae8029 2026-02-19 14:06:29,888 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949, 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-25120103:ctest-vn-92557315, 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 14:06:30,186 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '869d1291-6ef9-4657-9047-c176d91a1e29', 'name': 'ctest-vn-26370949', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'project_id': '7d4aaa6a66a641e984a79a34049daf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7e5e789-45d8-4073-84b7-5d2b99c5a04b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-vn-26370949'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-policy-allow-all-12395470']], 'subnet_ipam': [{'subnet_cidr': '166.210.119.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 14:06:30,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ac19c5e-7df6-49d4-b5db-492ea1ae8029', 'name': 'ctest-vn-92557315', 'tenant_id': '7d4aaa6a66a641e984a79a34049daf65', 'project_id': '7d4aaa6a66a641e984a79a34049daf65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c891921b-718e-4080-bb8b-afb17f56c301'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-vn-92557315'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-policy-allow-all-12395470']], 'subnet_ipam': [{'subnet_cidr': '44.16.158.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 14:06:30,536 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-19 14:06:30,853 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-19 14:06:30,886 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3abc0499-5fed-454b-bc40-4924a8f6c5a5 2026-02-19 14:06:30,897 - DEBUG - Requesting: http://10.0.0.27:8082/project/7d4aaa6a-66a6-41e9-84a7-9a34049daf65 2026-02-19 14:06:30,972 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/869d1291-6ef9-4657-9047-c176d91a1e29 2026-02-19 14:06:30,985 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/869d1291-6ef9-4657-9047-c176d91a1e29 2026-02-19 14:06:30,998 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe 2026-02-19 14:06:31,008 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe 2026-02-19 14:06:31,017 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/407c674c-0c03-43dd-8378-6922cc1e2c2b 2026-02-19 14:06:31,024 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 14:06:31,024 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/869d1291-6ef9-4657-9047-c176d91a1e29 2026-02-19 14:06:31,035 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe 2026-02-19 14:06:31,051 - INFO - Verified VN network id 12 for VN 869d1291-6ef9-4657-9047-c176d91a1e29 2026-02-19 14:06:31,051 - INFO - Verifications in API Server for VN ctest-vn-26370949 passed 2026-02-19 14:06:31,051 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/869d1291-6ef9-4657-9047-c176d91a1e29 2026-02-19 14:06:31,060 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe 2026-02-19 14:06:31,066 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe 2026-02-19 14:06:31,074 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/407c674c-0c03-43dd-8378-6922cc1e2c2b 2026-02-19 14:06:31,087 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25120103', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9699929588267304535', 'uuid-lslong': '10396490981000748585'}, 'enable': 'true', 'created': '2026-02-19T14:06:28', 'last-modified': '2026-02-19T14:06:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921996'} 2026-02-19 14:06:31,093 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 14:06:31,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26370949 passed 2026-02-19 14:06:31,093 - DEBUG - ====Verifying policy data for ctest-vn-26370949 in API_Server ====== 2026-02-19 14:06:31,093 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-19 14:06:31,099 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3abc0499-5fed-454b-bc40-4924a8f6c5a5 2026-02-19 14:06:31,112 - DEBUG - Requesting: http://10.0.0.27:8082/project/7d4aaa6a-66a6-41e9-84a7-9a34049daf65 2026-02-19 14:06:31,180 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/869d1291-6ef9-4657-9047-c176d91a1e29 2026-02-19 14:06:31,190 - DEBUG - ==>Verifying data for policy with id: be41ad31-2582-4eff-8f02-fee1f4ae9054, fqn: ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-policy-allow-all-12395470'] 2026-02-19 14:06:31,190 - INFO - VN ctest-vn-26370949 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 14:06:31,191 - DEBUG - Verifying the vn in opserver 2026-02-19 14:06:31,191 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949 virtual network link through opserver 10.0.0.27 2026-02-19 14:06:31,191 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-19 14:06:31,489 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-19 14:06:31,555 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949?flat'} 2026-02-19 14:06:31,555 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949 is found in opserver 2026-02-19 14:06:31,567 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 14:06:31,573 - DEBUG - VRF ids for VN ctest-vn-26370949: {} 2026-02-19 14:06:31,573 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-19 14:06:31,578 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3abc0499-5fed-454b-bc40-4924a8f6c5a5 2026-02-19 14:06:31,590 - DEBUG - Requesting: http://10.0.0.27:8082/project/7d4aaa6a-66a6-41e9-84a7-9a34049daf65 2026-02-19 14:06:31,663 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8ac19c5e-7df6-49d4-b5db-492ea1ae8029 2026-02-19 14:06:31,675 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8ac19c5e-7df6-49d4-b5db-492ea1ae8029 2026-02-19 14:06:31,686 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2 2026-02-19 14:06:31,694 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2 2026-02-19 14:06:31,701 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/fc57bb1b-34e9-42cb-bb59-f9104593e0cc 2026-02-19 14:06:31,708 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 14:06:31,708 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8ac19c5e-7df6-49d4-b5db-492ea1ae8029 2026-02-19 14:06:31,717 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2 2026-02-19 14:06:31,731 - INFO - Verified VN network id 13 for VN 8ac19c5e-7df6-49d4-b5db-492ea1ae8029 2026-02-19 14:06:31,732 - INFO - Verifications in API Server for VN ctest-vn-92557315 passed 2026-02-19 14:06:31,732 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8ac19c5e-7df6-49d4-b5db-492ea1ae8029 2026-02-19 14:06:31,741 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2 2026-02-19 14:06:31,747 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2 2026-02-19 14:06:31,754 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/fc57bb1b-34e9-42cb-bb59-f9104593e0cc 2026-02-19 14:06:31,766 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-92557315', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25120103', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9998444577393363412', 'uuid-lslong': '13104148005394481193'}, 'enable': 'true', 'created': '2026-02-19T14:06:29', 'last-modified': '2026-02-19T14:06:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.417185'} 2026-02-19 14:06:31,773 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 14:06:31,773 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92557315 passed 2026-02-19 14:06:31,773 - DEBUG - ====Verifying policy data for ctest-vn-92557315 in API_Server ====== 2026-02-19 14:06:31,773 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-19 14:06:31,779 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3abc0499-5fed-454b-bc40-4924a8f6c5a5 2026-02-19 14:06:31,791 - DEBUG - Requesting: http://10.0.0.27:8082/project/7d4aaa6a-66a6-41e9-84a7-9a34049daf65 2026-02-19 14:06:31,867 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/8ac19c5e-7df6-49d4-b5db-492ea1ae8029 2026-02-19 14:06:31,876 - DEBUG - ==>Verifying data for policy with id: be41ad31-2582-4eff-8f02-fee1f4ae9054, fqn: ['default-domain', 'ctest-TestBasicPolicy-25120103', 'ctest-policy-allow-all-12395470'] 2026-02-19 14:06:31,876 - INFO - VN ctest-vn-92557315 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 14:06:31,876 - DEBUG - Verifying the vn in opserver 2026-02-19 14:06:31,876 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-92557315 virtual network link through opserver 10.0.0.27 2026-02-19 14:06:31,876 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-19 14:06:31,886 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-92557315', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-92557315?flat'} 2026-02-19 14:06:31,886 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-92557315 is found in opserver 2026-02-19 14:06:31,896 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 14:06:31,900 - DEBUG - VRF ids for VN ctest-vn-92557315: {} 2026-02-19 14:06:31,989 - DEBUG - Services list from nova: [, , ] 2026-02-19 14:06:33,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5355-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5355-1) 2026-02-19 14:06:34,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5355-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5355-1) 2026-02-19 14:06:34,397 - INFO - Waiting for VM ctest-TestBasicPolicy-25120103-34678413 to be up.. 2026-02-19 14:06:34,489 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 14:06:39,565 - DEBUG - VM is in ACTIVE state now 2026-02-19 14:06:39,565 - INFO - VM name : ctest-TestBasicPolicy-25120103-34678413 2026-02-19 14:06:39,640 - DEBUG - VM ctest-TestBasicPolicy-25120103-34678413 ID is baff02e4-659a-49ed-a5de-fa866e062f7c 2026-02-19 14:06:39,658 - DEBUG - VM ctest-TestBasicPolicy-25120103-34678413 launched on Node cn-jenkins-deploy-platform-ansible-os-5355-1 2026-02-19 14:06:39,736 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/baff02e4-659a-49ed-a5de-fa866e062f7c 2026-02-19 14:06:39,745 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/af4ed0cc-0e8c-4447-aa9e-2b4df3387aed 2026-02-19 14:06:42,987 - 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 14:06:42,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25120103-34678413 failed! 2026-02-19 14:06:43,040 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25120103:ctest-vn-26370949 is 166.210.119.65 and allocation pool is NOT set 2026-02-19 14:06:45,104 - 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=6.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.32 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 = 1.323/3.918/6.514/2.595 ms') 2026-02-19 14:06:45,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25120103-34678413 passed 2026-02-19 14:06:45,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 14:06:45,252 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25120103-34678413, IP 166.210.119.67, Port 22 2026-02-19 14:06:45,407 - DEBUG - VM ctest-TestBasicPolicy-25120103-34678413 is ready for SSH connections 2026-02-19 14:06:45,407 - INFO - Waiting for VM ctest-TestBasicPolicy-25120103-18821094 to be up.. 2026-02-19 14:06:45,487 - DEBUG - VM is in ACTIVE state now 2026-02-19 14:06:45,487 - INFO - VM name : ctest-TestBasicPolicy-25120103-18821094 2026-02-19 14:06:45,566 - DEBUG - VM ctest-TestBasicPolicy-25120103-18821094 ID is 6fbf0ae9-a3ca-40c6-8c8d-2c9b90256785 2026-02-19 14:06:45,566 - DEBUG - VM ctest-TestBasicPolicy-25120103-18821094 launched on Node cn-jenkins-deploy-platform-ansible-os-5355-1 2026-02-19 14:06:45,649 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6fbf0ae9-a3ca-40c6-8c8d-2c9b90256785 2026-02-19 14:06:45,657 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/961c0b32-10ad-4fe0-9ba3-81dd5ed38de4 2026-02-19 14:06:46,893 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.902/3.308/1.406 ms') 2026-02-19 14:06:46,893 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25120103-18821094 passed 2026-02-19 14:06:47,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 14:06:47,044 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25120103-18821094, IP 44.16.158.195, Port 22 2026-02-19 14:06:47,110 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-19 14:06:47,202 - DEBUG - VM ctest-TestBasicPolicy-25120103-18821094 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 14:06:52,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 14:06:52,204 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25120103-18821094, IP 44.16.158.195, Port 22 2026-02-19 14:06:52,359 - DEBUG - VM ctest-TestBasicPolicy-25120103-18821094 is ready for SSH connections 2026-02-19 14:06:52,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 14:06:52,360 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.16.158.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-19 14:06:52,360 - DEBUG - ping -s 56 -c 3 -W 1 44.16.158.195 2026-02-19 14:06:56,456 - DEBUG - PING 44.16.158.195 (44.16.158.195): 56 data bytes 64 bytes from 44.16.158.195: seq=0 ttl=63 time=4.244 ms 64 bytes from 44.16.158.195: seq=1 ttl=63 time=1.033 ms 64 bytes from 44.16.158.195: seq=2 ttl=63 time=0.984 ms --- 44.16.158.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.984/2.087/4.244 ms 2026-02-19 14:06:56,456 - INFO - Ping to IP 44.16.158.195 from VM ctest-TestBasicPolicy-25120103-34678413 passed 2026-02-19 14:06:56,628 - DEBUG - Policy Update Response {"network-policy": {"uuid": "be41ad31-2582-4eff-8f02-fee1f4ae9054", "href": "http://10.0.0.27:8082/network-policy/be41ad31-2582-4eff-8f02-fee1f4ae9054"}} 2026-02-19 14:06:56,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 14:06:56,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.16.158.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-19 14:06:56,628 - DEBUG - ping -s 56 -c 3 -W 1 44.16.158.195 2026-02-19 14:06:59,848 - DEBUG - PING 44.16.158.195 (44.16.158.195): 56 data bytes --- 44.16.158.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-19 14:06:59,848 - WARNING - Ping to IP 44.16.158.195 from VM ctest-TestBasicPolicy-25120103-34678413 failed 2026-02-19 14:06:59,848 - INFO - Deleting VM ctest-TestBasicPolicy-25120103-18821094 2026-02-19 14:06:59,923 - INFO - Deleting VM ctest-TestBasicPolicy-25120103-34678413 2026-02-19 14:07:00,290 - INFO - Deleted policy ctest-policy-allow-all-12395470 2026-02-19 14:07:00,291 - INFO - Deleting VN ctest-vn-92557315 2026-02-19 14:07:00,333 - DEBUG - VN 8ac19c5e-7df6-49d4-b5db-492ea1ae8029 still in use: Unable to complete operation on network 8ac19c5e-7df6-49d4-b5db-492ea1ae8029. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4a9fa88c-c2b5-449a-acfe-8f1a2fe1dd3e'] 2026-02-19 14:07:00,333 - WARNING - Deleting VN ctest-vn-92557315 failed..Will retry 2026-02-19 14:07:02,440 - DEBUG - Response for deleting network () 2026-02-19 14:07:02,440 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/38aab107-3047-415d-83e2-0c4f08f462b2 2026-02-19 14:07:02,445 - DEBUG - Response Code: 404 2026-02-19 14:07:02,445 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-19 14:07:02,450 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3abc0499-5fed-454b-bc40-4924a8f6c5a5 2026-02-19 14:07:02,510 - DEBUG - Requesting: http://10.0.0.27:8082/project/7d4aaa6a-66a6-41e9-84a7-9a34049daf65 2026-02-19 14:07:02,582 - INFO - Validated that VN ctest-vn-92557315 is not found in API Server 2026-02-19 14:07:02,592 - DEBUG - VN ctest-vn-92557315 is not present in Agent 10.0.0.27 2026-02-19 14:07:02,592 - INFO - Validated that VN ctest-vn-92557315 is not in any agent 2026-02-19 14:07:02,607 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92557315 info 2026-02-19 14:07:02,607 - INFO - Deleting VN ctest-vn-26370949 2026-02-19 14:07:02,725 - DEBUG - Response for deleting network () 2026-02-19 14:07:02,725 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/58b1d40f-4866-46a4-b033-8572bb1b00fe 2026-02-19 14:07:02,730 - DEBUG - Response Code: 404 2026-02-19 14:07:02,731 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-19 14:07:02,736 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3abc0499-5fed-454b-bc40-4924a8f6c5a5 2026-02-19 14:07:02,789 - DEBUG - Requesting: http://10.0.0.27:8082/project/7d4aaa6a-66a6-41e9-84a7-9a34049daf65 2026-02-19 14:07:02,862 - INFO - Validated that VN ctest-vn-26370949 is not found in API Server 2026-02-19 14:07:02,871 - DEBUG - VN ctest-vn-26370949 is not present in Agent 10.0.0.27 2026-02-19 14:07:02,871 - INFO - Validated that VN ctest-vn-26370949 is not in any agent 2026-02-19 14:07:02,886 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26370949 info 2026-02-19 14:07:03,141 - DEBUG - No XMPP flaps were noticed during the test 2026-02-19 14:07:03,141 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-02-19 14:07:03,141 - INFO - -------------------------------------------------------------------------------- 2026-02-19 14:07:03,846 - INFO - Deleted project: ctest-TestBasicPolicy-25120103, ID : 7d4aaa6a-66a6-41e9-84a7-9a34049daf65