2026-03-19 02:24:45,918 - INFO - Domain Default found not creating 2026-03-19 02:24:46,091 - INFO - Project ctest-TestBasicPolicy-25958063 not found, creating it 2026-03-19 02:24:46,546 - INFO - Created Project:ctest-TestBasicPolicy-25958063, ID : bb299063-9143-4566-8055-27a3fe341925 2026-03-19 02:24:48,190 - INFO - ================================================================================ 2026-03-19 02:24:48,190 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-19 02:24:48,190 - 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:24:48,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-03-19 02:24:48,443 - INFO - Initial checks done. Running the testcase now 2026-03-19 02:24:48,443 - INFO - 2026-03-19 02:24:49,045 - DEBUG - Response for create_network : {'network': {'id': '320c1ac7-5c33-436b-8675-27ad4d87113d', 'name': 'ctest-vn-02711103', 'tenant_id': 'bb29906391434566805527a3fe341925', 'project_id': 'bb29906391434566805527a3fe341925', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25958063', 'ctest-vn-02711103'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:24:49,224 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c705267d-4240-4871-b9f6-28e8a27c0cc0', 'name': '', 'tenant_id': 'bb29906391434566805527a3fe341925', 'network_id': '320c1ac7-5c33-436b-8675-27ad4d87113d', 'ip_version': 4, 'cidr': '2.187.196.128/26', 'allocation_pools': [{'start': '2.187.196.130', 'end': '2.187.196.190'}], 'gateway_ip': '2.187.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.187.196.130', 'tags': [], 'project_id': 'bb29906391434566805527a3fe341925'}} 2026-03-19 02:24:49,241 - INFO - Created VN ctest-vn-02711103 2026-03-19 02:24:49,293 - DEBUG - VN ctest-vn-02711103 UUID is 320c1ac7-5c33-436b-8675-27ad4d87113d 2026-03-19 02:24:49,569 - DEBUG - Response for create_network : {'network': {'id': 'f11b16bb-2191-4222-b4e3-622f2205733b', 'name': 'ctest-vn-76417942', 'tenant_id': 'bb29906391434566805527a3fe341925', 'project_id': 'bb29906391434566805527a3fe341925', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25958063', 'ctest-vn-76417942'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:24:49,763 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e427bfdd-7ebe-4776-8dc6-b47c66f08ece', 'name': '', 'tenant_id': 'bb29906391434566805527a3fe341925', 'network_id': 'f11b16bb-2191-4222-b4e3-622f2205733b', 'ip_version': 4, 'cidr': '167.61.64.192/26', 'allocation_pools': [{'start': '167.61.64.194', 'end': '167.61.64.254'}], 'gateway_ip': '167.61.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.61.64.194', 'tags': [], 'project_id': 'bb29906391434566805527a3fe341925'}} 2026-03-19 02:24:49,781 - INFO - Created VN ctest-vn-76417942 2026-03-19 02:24:49,833 - DEBUG - VN ctest-vn-76417942 UUID is f11b16bb-2191-4222-b4e3-622f2205733b 2026-03-19 02:24:49,985 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-02711103, 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-25958063:ctest-vn-76417942, 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:24:50,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '320c1ac7-5c33-436b-8675-27ad4d87113d', 'name': 'ctest-vn-02711103', 'tenant_id': 'bb29906391434566805527a3fe341925', 'project_id': 'bb29906391434566805527a3fe341925', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c705267d-4240-4871-b9f6-28e8a27c0cc0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25958063', 'ctest-vn-02711103'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25958063', 'ctest-policy-allow-all-51909359']], 'subnet_ipam': [{'subnet_cidr': '2.187.196.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:24:50,520 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f11b16bb-2191-4222-b4e3-622f2205733b', 'name': 'ctest-vn-76417942', 'tenant_id': 'bb29906391434566805527a3fe341925', 'project_id': 'bb29906391434566805527a3fe341925', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e427bfdd-7ebe-4776-8dc6-b47c66f08ece'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25958063', 'ctest-vn-76417942'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25958063', 'ctest-policy-allow-all-51909359']], 'subnet_ipam': [{'subnet_cidr': '167.61.64.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:24:50,673 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 02:24:51,022 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 02:24:51,052 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da503e89-87c8-4ea8-9617-1d886df59aad 2026-03-19 02:24:51,064 - DEBUG - Requesting: http://10.0.0.141:8082/project/bb299063-9143-4566-8055-27a3fe341925 2026-03-19 02:24:51,137 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/320c1ac7-5c33-436b-8675-27ad4d87113d 2026-03-19 02:24:51,147 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/320c1ac7-5c33-436b-8675-27ad4d87113d 2026-03-19 02:24:51,157 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2add3531-50b5-4ff4-8843-adc16e43e688 2026-03-19 02:24:51,163 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2add3531-50b5-4ff4-8843-adc16e43e688 2026-03-19 02:24:51,169 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/2f39bab0-1dff-40c3-8eaa-ce53a8d59813 2026-03-19 02:24:51,174 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:24:51,174 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/320c1ac7-5c33-436b-8675-27ad4d87113d 2026-03-19 02:24:51,182 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2add3531-50b5-4ff4-8843-adc16e43e688 2026-03-19 02:24:51,195 - INFO - Verified VN network id 11 for VN 320c1ac7-5c33-436b-8675-27ad4d87113d 2026-03-19 02:24:51,195 - INFO - Verifications in API Server for VN ctest-vn-02711103 passed 2026-03-19 02:24:51,195 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/320c1ac7-5c33-436b-8675-27ad4d87113d 2026-03-19 02:24:51,205 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2add3531-50b5-4ff4-8843-adc16e43e688 2026-03-19 02:24:51,212 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2add3531-50b5-4ff4-8843-adc16e43e688 2026-03-19 02:24:51,219 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/2f39bab0-1dff-40c3-8eaa-ce53a8d59813 2026-03-19 02:24:51,230 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-02711103', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25958063', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3606286845164602219', 'uuid-lslong': '9688693798641013053'}, 'enable': 'true', 'created': '2026-03-19T02:24:49', 'last-modified': '2026-03-19T02:24:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.959989'} 2026-03-19 02:24:51,237 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:24:51,237 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02711103 passed 2026-03-19 02:24:51,237 - DEBUG - ====Verifying policy data for ctest-vn-02711103 in API_Server ====== 2026-03-19 02:24:51,237 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 02:24:51,243 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da503e89-87c8-4ea8-9617-1d886df59aad 2026-03-19 02:24:51,254 - DEBUG - Requesting: http://10.0.0.141:8082/project/bb299063-9143-4566-8055-27a3fe341925 2026-03-19 02:24:51,326 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/320c1ac7-5c33-436b-8675-27ad4d87113d 2026-03-19 02:24:51,336 - DEBUG - ==>Verifying data for policy with id: 3312bc3a-8a8d-4adf-9430-8f2f0c8bb7cc, fqn: ['default-domain', 'ctest-TestBasicPolicy-25958063', 'ctest-policy-allow-all-51909359'] 2026-03-19 02:24:51,336 - INFO - VN ctest-vn-02711103 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 02:24:51,336 - DEBUG - Verifying the vn in opserver 2026-03-19 02:24:51,337 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-02711103 virtual network link through opserver 10.0.0.141 2026-03-19 02:24:51,337 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-19 02:24:51,669 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-19 02:24:51,729 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-02711103', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-02711103?flat'} 2026-03-19 02:24:51,729 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-02711103 is found in opserver 2026-03-19 02:24:51,739 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 02:24:51,743 - DEBUG - VRF ids for VN ctest-vn-02711103: {} 2026-03-19 02:24:51,743 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 02:24:51,748 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da503e89-87c8-4ea8-9617-1d886df59aad 2026-03-19 02:24:51,759 - DEBUG - Requesting: http://10.0.0.141:8082/project/bb299063-9143-4566-8055-27a3fe341925 2026-03-19 02:24:51,826 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f11b16bb-2191-4222-b4e3-622f2205733b 2026-03-19 02:24:51,837 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f11b16bb-2191-4222-b4e3-622f2205733b 2026-03-19 02:24:51,847 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9036a7a0-a32c-40a7-8ddb-f2331cf0dc3f 2026-03-19 02:24:51,854 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9036a7a0-a32c-40a7-8ddb-f2331cf0dc3f 2026-03-19 02:24:51,860 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fcafaa10-22b0-4f59-ba9f-ba204160bcd6 2026-03-19 02:24:51,866 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:24:51,866 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f11b16bb-2191-4222-b4e3-622f2205733b 2026-03-19 02:24:51,879 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9036a7a0-a32c-40a7-8ddb-f2331cf0dc3f 2026-03-19 02:24:51,894 - INFO - Verified VN network id 12 for VN f11b16bb-2191-4222-b4e3-622f2205733b 2026-03-19 02:24:51,894 - INFO - Verifications in API Server for VN ctest-vn-76417942 passed 2026-03-19 02:24:51,894 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f11b16bb-2191-4222-b4e3-622f2205733b 2026-03-19 02:24:51,902 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9036a7a0-a32c-40a7-8ddb-f2331cf0dc3f 2026-03-19 02:24:51,909 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9036a7a0-a32c-40a7-8ddb-f2331cf0dc3f 2026-03-19 02:24:51,915 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fcafaa10-22b0-4f59-ba9f-ba204160bcd6 2026-03-19 02:24:51,927 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-76417942', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25958063', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17373504980489683490', 'uuid-lslong': '13034369701114114875'}, 'enable': 'true', 'created': '2026-03-19T02:24:49', 'last-modified': '2026-03-19T02:24:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.427094'} 2026-03-19 02:24:51,932 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:24:51,932 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76417942 passed 2026-03-19 02:24:51,933 - DEBUG - ====Verifying policy data for ctest-vn-76417942 in API_Server ====== 2026-03-19 02:24:51,933 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 02:24:51,938 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da503e89-87c8-4ea8-9617-1d886df59aad 2026-03-19 02:24:51,947 - DEBUG - Requesting: http://10.0.0.141:8082/project/bb299063-9143-4566-8055-27a3fe341925 2026-03-19 02:24:52,019 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/f11b16bb-2191-4222-b4e3-622f2205733b 2026-03-19 02:24:52,029 - DEBUG - ==>Verifying data for policy with id: 3312bc3a-8a8d-4adf-9430-8f2f0c8bb7cc, fqn: ['default-domain', 'ctest-TestBasicPolicy-25958063', 'ctest-policy-allow-all-51909359'] 2026-03-19 02:24:52,029 - INFO - VN ctest-vn-76417942 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 02:24:52,029 - DEBUG - Verifying the vn in opserver 2026-03-19 02:24:52,029 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-76417942 virtual network link through opserver 10.0.0.141 2026-03-19 02:24:52,029 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-19 02:24:52,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-76417942', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-76417942?flat'} 2026-03-19 02:24:52,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-76417942 is found in opserver 2026-03-19 02:24:52,047 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 02:24:52,051 - DEBUG - VRF ids for VN ctest-vn-76417942: {} 2026-03-19 02:24:52,109 - DEBUG - Services list from nova: [, , ] 2026-03-19 02:24:53,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5494-1) 2026-03-19 02:24:54,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5494-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5494-1) 2026-03-19 02:24:54,468 - INFO - Waiting for VM ctest-TestBasicPolicy-25958063-37504396 to be up.. 2026-03-19 02:24:54,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 02:24:59,637 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:24:59,637 - INFO - VM name : ctest-TestBasicPolicy-25958063-37504396 2026-03-19 02:24:59,712 - DEBUG - VM ctest-TestBasicPolicy-25958063-37504396 ID is 044127db-d26e-4faf-9135-e80d07b92a75 2026-03-19 02:24:59,731 - DEBUG - VM ctest-TestBasicPolicy-25958063-37504396 launched on Node cn-jenkins-deploy-platform-ansible-os-5494-1 2026-03-19 02:24:59,813 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/044127db-d26e-4faf-9135-e80d07b92a75 2026-03-19 02:24:59,821 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3387d6ee-7e33-4748-8e41-a5cc3eda8cb1 2026-03-19 02:25:03,074 - 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 1003ms') 2026-03-19 02:25:03,074 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25958063-37504396 failed! 2026-03-19 02:25:03,129 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25958063:ctest-vn-02711103 is 2.187.196.129 and allocation pool is NOT set 2026-03-19 02:25:05,188 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 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 = 2.355/6.274/10.193/3.919 ms') 2026-03-19 02:25:05,188 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25958063-37504396 passed 2026-03-19 02:25:05,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:05,341 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25958063-37504396, IP 2.187.196.131, Port 22 2026-03-19 02:25:05,515 - DEBUG - VM ctest-TestBasicPolicy-25958063-37504396 is ready for SSH connections 2026-03-19 02:25:05,515 - INFO - Waiting for VM ctest-TestBasicPolicy-25958063-04461766 to be up.. 2026-03-19 02:25:05,599 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:25:05,599 - INFO - VM name : ctest-TestBasicPolicy-25958063-04461766 2026-03-19 02:25:05,671 - DEBUG - VM ctest-TestBasicPolicy-25958063-04461766 ID is a984c8f4-fb47-47d4-af9c-7d9ddd905a3d 2026-03-19 02:25:05,671 - DEBUG - VM ctest-TestBasicPolicy-25958063-04461766 launched on Node cn-jenkins-deploy-platform-ansible-os-5494-1 2026-03-19 02:25:05,742 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a984c8f4-fb47-47d4-af9c-7d9ddd905a3d 2026-03-19 02:25:05,749 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/27e31163-d695-4a18-8143-5686a115dc4d 2026-03-19 02:25:06,991 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.986 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.986/2.706/4.427/1.720 ms') 2026-03-19 02:25:06,992 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25958063-04461766 passed 2026-03-19 02:25:07,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:07,145 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25958063-04461766, IP 167.61.64.195, Port 22 2026-03-19 02:25:07,300 - DEBUG - VM ctest-TestBasicPolicy-25958063-04461766 is ready for SSH connections 2026-03-19 02:25:07,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:07,300 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.61.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-19 02:25:07,301 - DEBUG - ping -s 56 -c 3 -W 1 167.61.64.195 2026-03-19 02:25:11,401 - DEBUG - PING 167.61.64.195 (167.61.64.195): 56 data bytes 64 bytes from 167.61.64.195: seq=0 ttl=63 time=3.680 ms 64 bytes from 167.61.64.195: seq=1 ttl=63 time=0.829 ms 64 bytes from 167.61.64.195: seq=2 ttl=63 time=0.820 ms --- 167.61.64.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/1.776/3.680 ms 2026-03-19 02:25:11,402 - INFO - Ping to IP 167.61.64.195 from VM ctest-TestBasicPolicy-25958063-37504396 passed 2026-03-19 02:25:11,577 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3312bc3a-8a8d-4adf-9430-8f2f0c8bb7cc", "href": "http://10.0.0.141:8082/network-policy/3312bc3a-8a8d-4adf-9430-8f2f0c8bb7cc"}} 2026-03-19 02:25:11,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:11,577 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.61.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-19 02:25:11,577 - DEBUG - ping -s 56 -c 3 -W 1 167.61.64.195 2026-03-19 02:25:14,803 - DEBUG - PING 167.61.64.195 (167.61.64.195): 56 data bytes --- 167.61.64.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-19 02:25:14,803 - WARNING - Ping to IP 167.61.64.195 from VM ctest-TestBasicPolicy-25958063-37504396 failed 2026-03-19 02:25:14,803 - INFO - Deleting VM ctest-TestBasicPolicy-25958063-04461766 2026-03-19 02:25:14,870 - INFO - Deleting VM ctest-TestBasicPolicy-25958063-37504396 2026-03-19 02:25:15,246 - INFO - Deleted policy ctest-policy-allow-all-51909359 2026-03-19 02:25:15,246 - INFO - Deleting VN ctest-vn-76417942 2026-03-19 02:25:15,287 - DEBUG - VN f11b16bb-2191-4222-b4e3-622f2205733b still in use: Unable to complete operation on network f11b16bb-2191-4222-b4e3-622f2205733b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86a382f7-eea7-4f35-beaf-75d67519c0b9'] 2026-03-19 02:25:15,287 - WARNING - Deleting VN ctest-vn-76417942 failed..Will retry 2026-03-19 02:25:17,388 - DEBUG - Response for deleting network () 2026-03-19 02:25:17,389 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9036a7a0-a32c-40a7-8ddb-f2331cf0dc3f 2026-03-19 02:25:17,393 - DEBUG - Response Code: 404 2026-03-19 02:25:17,393 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 02:25:17,398 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da503e89-87c8-4ea8-9617-1d886df59aad 2026-03-19 02:25:17,451 - DEBUG - Requesting: http://10.0.0.141:8082/project/bb299063-9143-4566-8055-27a3fe341925 2026-03-19 02:25:17,526 - INFO - Validated that VN ctest-vn-76417942 is not found in API Server 2026-03-19 02:25:17,535 - DEBUG - VN ctest-vn-76417942 is not present in Agent 10.0.0.141 2026-03-19 02:25:17,536 - INFO - Validated that VN ctest-vn-76417942 is not in any agent 2026-03-19 02:25:17,548 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76417942 info 2026-03-19 02:25:17,548 - INFO - Deleting VN ctest-vn-02711103 2026-03-19 02:25:17,648 - DEBUG - Response for deleting network () 2026-03-19 02:25:17,648 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2add3531-50b5-4ff4-8843-adc16e43e688 2026-03-19 02:25:17,655 - DEBUG - Response Code: 404 2026-03-19 02:25:17,655 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-19 02:25:17,660 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da503e89-87c8-4ea8-9617-1d886df59aad 2026-03-19 02:25:17,714 - DEBUG - Requesting: http://10.0.0.141:8082/project/bb299063-9143-4566-8055-27a3fe341925 2026-03-19 02:25:17,783 - INFO - Validated that VN ctest-vn-02711103 is not found in API Server 2026-03-19 02:25:17,795 - DEBUG - VN ctest-vn-02711103 is not present in Agent 10.0.0.141 2026-03-19 02:25:17,795 - INFO - Validated that VN ctest-vn-02711103 is not in any agent 2026-03-19 02:25:17,808 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02711103 info 2026-03-19 02:25:18,072 - DEBUG - No XMPP flaps were noticed during the test 2026-03-19 02:25:18,072 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-03-19 02:25:18,072 - INFO - -------------------------------------------------------------------------------- 2026-03-19 02:25:18,808 - INFO - Deleted project: ctest-TestBasicPolicy-25958063, ID : bb299063-9143-4566-8055-27a3fe341925