2025-11-20 17:51:41,107 - INFO - Domain Default found not creating 2025-11-20 17:51:41,296 - INFO - Project ctest-TestBasicPolicy-30732624 not found, creating it 2025-11-20 17:51:41,802 - INFO - Created Project:ctest-TestBasicPolicy-30732624, ID : 26d98814-6ccb-4fc4-a38c-03c719c39742 2025-11-20 17:51:43,365 - INFO - ================================================================================ 2025-11-20 17:51:43,365 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-20 17:51:43,365 - 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 2025-11-20 17:51:43,628 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.5': '0'}} with 2025-11-20 17:51:43,629 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:51:43,629 - INFO - 2025-11-20 17:51:44,201 - DEBUG - Response for create_network : {'network': {'id': '725400d9-61d0-4342-8610-6230c11fbe96', 'name': 'ctest-vn-34238309', 'tenant_id': '26d988146ccb4fc4a38c03c719c39742', 'project_id': '26d988146ccb4fc4a38c03c719c39742', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30732624', 'ctest-vn-34238309'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:51:44,377 - DEBUG - Response for create_subnet : {'subnet': {'id': '952cee7f-eb27-4047-8bf9-c02246d13659', 'name': '', 'tenant_id': '26d988146ccb4fc4a38c03c719c39742', 'network_id': '725400d9-61d0-4342-8610-6230c11fbe96', 'ip_version': 4, 'cidr': '194.145.180.192/26', 'allocation_pools': [{'start': '194.145.180.194', 'end': '194.145.180.254'}], 'gateway_ip': '194.145.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.145.180.194', 'tags': [], 'project_id': '26d988146ccb4fc4a38c03c719c39742'}} 2025-11-20 17:51:44,397 - INFO - Created VN ctest-vn-34238309 2025-11-20 17:51:44,449 - DEBUG - VN ctest-vn-34238309 UUID is 725400d9-61d0-4342-8610-6230c11fbe96 2025-11-20 17:51:44,732 - DEBUG - Response for create_network : {'network': {'id': '6cc0e1db-a853-4bf5-b41b-5080d01dff63', 'name': 'ctest-vn-74912096', 'tenant_id': '26d988146ccb4fc4a38c03c719c39742', 'project_id': '26d988146ccb4fc4a38c03c719c39742', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30732624', 'ctest-vn-74912096'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:51:44,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '32b307b5-a2a6-4985-a4a1-5ce242797d22', 'name': '', 'tenant_id': '26d988146ccb4fc4a38c03c719c39742', 'network_id': '6cc0e1db-a853-4bf5-b41b-5080d01dff63', 'ip_version': 4, 'cidr': '124.204.144.0/26', 'allocation_pools': [{'start': '124.204.144.2', 'end': '124.204.144.62'}], 'gateway_ip': '124.204.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.204.144.2', 'tags': [], 'project_id': '26d988146ccb4fc4a38c03c719c39742'}} 2025-11-20 17:51:44,956 - INFO - Created VN ctest-vn-74912096 2025-11-20 17:51:45,009 - DEBUG - VN ctest-vn-74912096 UUID is 6cc0e1db-a853-4bf5-b41b-5080d01dff63 2025-11-20 17:51:45,129 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-34238309, 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-30732624:ctest-vn-74912096, 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] 2025-11-20 17:51:45,444 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '725400d9-61d0-4342-8610-6230c11fbe96', 'name': 'ctest-vn-34238309', 'tenant_id': '26d988146ccb4fc4a38c03c719c39742', 'project_id': '26d988146ccb4fc4a38c03c719c39742', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['952cee7f-eb27-4047-8bf9-c02246d13659'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30732624', 'ctest-vn-34238309'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30732624', 'ctest-policy-allow-all-58275475']], 'subnet_ipam': [{'subnet_cidr': '194.145.180.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:51:45,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6cc0e1db-a853-4bf5-b41b-5080d01dff63', 'name': 'ctest-vn-74912096', 'tenant_id': '26d988146ccb4fc4a38c03c719c39742', 'project_id': '26d988146ccb4fc4a38c03c719c39742', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32b307b5-a2a6-4985-a4a1-5ce242797d22'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30732624', 'ctest-vn-74912096'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30732624', 'ctest-policy-allow-all-58275475']], 'subnet_ipam': [{'subnet_cidr': '124.204.144.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:51:45,841 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-20 17:51:46,151 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-20 17:51:46,189 - DEBUG - Requesting: http://10.0.0.50:8082/domain/da0d12c2-a7a9-4639-99b8-df809370f14c 2025-11-20 17:51:46,201 - DEBUG - Requesting: http://10.0.0.50:8082/project/26d98814-6ccb-4fc4-a38c-03c719c39742 2025-11-20 17:51:46,278 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/725400d9-61d0-4342-8610-6230c11fbe96 2025-11-20 17:51:46,290 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/725400d9-61d0-4342-8610-6230c11fbe96 2025-11-20 17:51:46,300 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a006284-049c-4dfc-855f-9826a01c9c59 2025-11-20 17:51:46,307 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a006284-049c-4dfc-855f-9826a01c9c59 2025-11-20 17:51:46,313 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ce039649-0e7f-41e1-a920-9d6ef579a726 2025-11-20 17:51:46,321 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 17:51:46,321 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/725400d9-61d0-4342-8610-6230c11fbe96 2025-11-20 17:51:46,331 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a006284-049c-4dfc-855f-9826a01c9c59 2025-11-20 17:51:46,346 - INFO - Verified VN network id 11 for VN 725400d9-61d0-4342-8610-6230c11fbe96 2025-11-20 17:51:46,346 - INFO - Verifications in API Server for VN ctest-vn-34238309 passed 2025-11-20 17:51:46,346 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/725400d9-61d0-4342-8610-6230c11fbe96 2025-11-20 17:51:46,356 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a006284-049c-4dfc-855f-9826a01c9c59 2025-11-20 17:51:46,363 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a006284-049c-4dfc-855f-9826a01c9c59 2025-11-20 17:51:46,370 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ce039649-0e7f-41e1-a920-9d6ef579a726 2025-11-20 17:51:46,382 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-34238309', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30732624', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8238210552016421698', 'uuid-lslong': '9660329162247749270'}, 'enable': 'true', 'created': '2025-11-20T17:51:44', 'last-modified': '2025-11-20T17:51:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.966465'} 2025-11-20 17:51:46,390 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 17:51:46,390 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34238309 passed 2025-11-20 17:51:46,390 - DEBUG - ====Verifying policy data for ctest-vn-34238309 in API_Server ====== 2025-11-20 17:51:46,390 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-20 17:51:46,396 - DEBUG - Requesting: http://10.0.0.50:8082/domain/da0d12c2-a7a9-4639-99b8-df809370f14c 2025-11-20 17:51:46,406 - DEBUG - Requesting: http://10.0.0.50:8082/project/26d98814-6ccb-4fc4-a38c-03c719c39742 2025-11-20 17:51:46,479 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/725400d9-61d0-4342-8610-6230c11fbe96 2025-11-20 17:51:46,487 - DEBUG - ==>Verifying data for policy with id: f4e9da80-ea2d-45b2-a1f7-203feeaa5c86, fqn: ['default-domain', 'ctest-TestBasicPolicy-30732624', 'ctest-policy-allow-all-58275475'] 2025-11-20 17:51:46,487 - INFO - VN ctest-vn-34238309 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 17:51:46,487 - DEBUG - Verifying the vn in opserver 2025-11-20 17:51:46,487 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-34238309 virtual network link through opserver 10.0.0.50 2025-11-20 17:51:46,488 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-20 17:51:46,792 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-20 17:51:46,854 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-34238309', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-34238309?flat'} 2025-11-20 17:51:46,854 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-34238309 is found in opserver 2025-11-20 17:51:46,865 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 17:51:46,869 - DEBUG - VRF ids for VN ctest-vn-34238309: {} 2025-11-20 17:51:46,870 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-20 17:51:46,874 - DEBUG - Requesting: http://10.0.0.50:8082/domain/da0d12c2-a7a9-4639-99b8-df809370f14c 2025-11-20 17:51:46,884 - DEBUG - Requesting: http://10.0.0.50:8082/project/26d98814-6ccb-4fc4-a38c-03c719c39742 2025-11-20 17:51:46,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6cc0e1db-a853-4bf5-b41b-5080d01dff63 2025-11-20 17:51:46,968 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6cc0e1db-a853-4bf5-b41b-5080d01dff63 2025-11-20 17:51:46,978 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cd9f9bf2-5d8f-4e92-aacc-00a4a463b064 2025-11-20 17:51:46,987 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cd9f9bf2-5d8f-4e92-aacc-00a4a463b064 2025-11-20 17:51:46,993 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/dcb89cbe-85f4-4283-b9ed-760341393d00 2025-11-20 17:51:46,999 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 17:51:46,999 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6cc0e1db-a853-4bf5-b41b-5080d01dff63 2025-11-20 17:51:47,009 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cd9f9bf2-5d8f-4e92-aacc-00a4a463b064 2025-11-20 17:51:47,023 - INFO - Verified VN network id 12 for VN 6cc0e1db-a853-4bf5-b41b-5080d01dff63 2025-11-20 17:51:47,023 - INFO - Verifications in API Server for VN ctest-vn-74912096 passed 2025-11-20 17:51:47,023 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6cc0e1db-a853-4bf5-b41b-5080d01dff63 2025-11-20 17:51:47,032 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cd9f9bf2-5d8f-4e92-aacc-00a4a463b064 2025-11-20 17:51:47,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cd9f9bf2-5d8f-4e92-aacc-00a4a463b064 2025-11-20 17:51:47,046 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/dcb89cbe-85f4-4283-b9ed-760341393d00 2025-11-20 17:51:47,057 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-74912096', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30732624', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7836511685162781685', 'uuid-lslong': '12978055265375879011'}, 'enable': 'true', 'created': '2025-11-20T17:51:44', 'last-modified': '2025-11-20T17:51:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.403088'} 2025-11-20 17:51:47,063 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 17:51:47,063 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74912096 passed 2025-11-20 17:51:47,063 - DEBUG - ====Verifying policy data for ctest-vn-74912096 in API_Server ====== 2025-11-20 17:51:47,063 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-20 17:51:47,069 - DEBUG - Requesting: http://10.0.0.50:8082/domain/da0d12c2-a7a9-4639-99b8-df809370f14c 2025-11-20 17:51:47,079 - DEBUG - Requesting: http://10.0.0.50:8082/project/26d98814-6ccb-4fc4-a38c-03c719c39742 2025-11-20 17:51:47,154 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6cc0e1db-a853-4bf5-b41b-5080d01dff63 2025-11-20 17:51:47,164 - DEBUG - ==>Verifying data for policy with id: f4e9da80-ea2d-45b2-a1f7-203feeaa5c86, fqn: ['default-domain', 'ctest-TestBasicPolicy-30732624', 'ctest-policy-allow-all-58275475'] 2025-11-20 17:51:47,164 - INFO - VN ctest-vn-74912096 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 17:51:47,164 - DEBUG - Verifying the vn in opserver 2025-11-20 17:51:47,164 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-74912096 virtual network link through opserver 10.0.0.50 2025-11-20 17:51:47,164 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-20 17:51:47,174 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-74912096', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-74912096?flat'} 2025-11-20 17:51:47,174 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-74912096 is found in opserver 2025-11-20 17:51:47,184 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 17:51:47,188 - DEBUG - VRF ids for VN ctest-vn-74912096: {} 2025-11-20 17:51:47,254 - DEBUG - Services list from nova: [, , ] 2025-11-20 17:51:48,311 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4783-1) 2025-11-20 17:51:49,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4783-1) 2025-11-20 17:51:49,526 - INFO - Waiting for VM ctest-TestBasicPolicy-30732624-01951809 to be up.. 2025-11-20 17:51:49,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 17:51:54,695 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:51:54,695 - INFO - VM name : ctest-TestBasicPolicy-30732624-01951809 2025-11-20 17:51:54,775 - DEBUG - VM ctest-TestBasicPolicy-30732624-01951809 ID is 79fd7889-a218-4d7b-8777-a22bfd84fe7b 2025-11-20 17:51:54,802 - DEBUG - VM ctest-TestBasicPolicy-30732624-01951809 launched on Node cn-jenkins-deploy-platform-ansible-os-4783-1 2025-11-20 17:51:54,883 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/79fd7889-a218-4d7b-8777-a22bfd84fe7b 2025-11-20 17:51:54,892 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/502a7ad8-46ee-43c9-9dda-e235cfe35937 2025-11-20 17:51:58,155 - 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 1026ms') 2025-11-20 17:51:58,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30732624-01951809 failed! 2025-11-20 17:51:58,209 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30732624:ctest-vn-34238309 is 194.145.180.193 and allocation pool is NOT set 2025-11-20 17:52:00,273 - 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=8.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.835 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.835/4.745/8.656/3.910 ms') 2025-11-20 17:52:00,273 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30732624-01951809 passed 2025-11-20 17:52:00,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:52:00,421 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30732624-01951809, IP 194.145.180.195, Port 22 2025-11-20 17:52:00,576 - DEBUG - VM ctest-TestBasicPolicy-30732624-01951809 is ready for SSH connections 2025-11-20 17:52:00,576 - INFO - Waiting for VM ctest-TestBasicPolicy-30732624-42014319 to be up.. 2025-11-20 17:52:00,664 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:52:00,664 - INFO - VM name : ctest-TestBasicPolicy-30732624-42014319 2025-11-20 17:52:00,741 - DEBUG - VM ctest-TestBasicPolicy-30732624-42014319 ID is 4c96c856-df8a-4082-9528-037d6b09f8e4 2025-11-20 17:52:00,742 - DEBUG - VM ctest-TestBasicPolicy-30732624-42014319 launched on Node cn-jenkins-deploy-platform-ansible-os-4783-1 2025-11-20 17:52:00,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4c96c856-df8a-4082-9528-037d6b09f8e4 2025-11-20 17:52:00,846 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3934c505-1bd6-4099-b083-04be4f615470 2025-11-20 17:52:02,097 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.557 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.557/2.593/4.629/2.036 ms') 2025-11-20 17:52:02,097 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30732624-42014319 passed 2025-11-20 17:52:02,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:52:02,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30732624-42014319, IP 124.204.144.3, Port 22 2025-11-20 17:52:02,404 - DEBUG - VM ctest-TestBasicPolicy-30732624-42014319 is ready for SSH connections 2025-11-20 17:52:02,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:52:02,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.204.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-20 17:52:02,405 - DEBUG - ping -s 56 -c 3 -W 1 124.204.144.3 2025-11-20 17:52:06,449 - DEBUG - PING 124.204.144.3 (124.204.144.3): 56 data bytes 64 bytes from 124.204.144.3: seq=0 ttl=63 time=4.585 ms 64 bytes from 124.204.144.3: seq=1 ttl=63 time=1.066 ms 64 bytes from 124.204.144.3: seq=2 ttl=63 time=1.047 ms --- 124.204.144.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.047/2.232/4.585 ms 2025-11-20 17:52:06,449 - INFO - Ping to IP 124.204.144.3 from VM ctest-TestBasicPolicy-30732624-01951809 passed 2025-11-20 17:52:06,625 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f4e9da80-ea2d-45b2-a1f7-203feeaa5c86", "href": "http://10.0.0.50:8082/network-policy/f4e9da80-ea2d-45b2-a1f7-203feeaa5c86"}} 2025-11-20 17:52:06,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:52:06,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.204.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-20 17:52:06,625 - DEBUG - ping -s 56 -c 3 -W 1 124.204.144.3 2025-11-20 17:52:09,847 - DEBUG - PING 124.204.144.3 (124.204.144.3): 56 data bytes --- 124.204.144.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 17:52:09,848 - WARNING - Ping to IP 124.204.144.3 from VM ctest-TestBasicPolicy-30732624-01951809 failed 2025-11-20 17:52:09,848 - INFO - Deleting VM ctest-TestBasicPolicy-30732624-42014319 2025-11-20 17:52:09,936 - INFO - Deleting VM ctest-TestBasicPolicy-30732624-01951809 2025-11-20 17:52:10,443 - INFO - Deleted policy ctest-policy-allow-all-58275475 2025-11-20 17:52:10,443 - INFO - Deleting VN ctest-vn-74912096 2025-11-20 17:52:10,490 - DEBUG - VN 6cc0e1db-a853-4bf5-b41b-5080d01dff63 still in use: Unable to complete operation on network 6cc0e1db-a853-4bf5-b41b-5080d01dff63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-521ed6a5-1b34-4470-b5d1-49afbc0cf956'] 2025-11-20 17:52:10,490 - WARNING - Deleting VN ctest-vn-74912096 failed..Will retry 2025-11-20 17:52:12,611 - DEBUG - Response for deleting network () 2025-11-20 17:52:12,611 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cd9f9bf2-5d8f-4e92-aacc-00a4a463b064 2025-11-20 17:52:12,621 - DEBUG - Response Code: 404 2025-11-20 17:52:12,621 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-20 17:52:12,628 - DEBUG - Requesting: http://10.0.0.50:8082/domain/da0d12c2-a7a9-4639-99b8-df809370f14c 2025-11-20 17:52:12,687 - DEBUG - Requesting: http://10.0.0.50:8082/project/26d98814-6ccb-4fc4-a38c-03c719c39742 2025-11-20 17:52:12,763 - INFO - Validated that VN ctest-vn-74912096 is not found in API Server 2025-11-20 17:52:12,773 - DEBUG - VN ctest-vn-74912096 is not present in Agent 10.0.0.50 2025-11-20 17:52:12,773 - INFO - Validated that VN ctest-vn-74912096 is not in any agent 2025-11-20 17:52:12,790 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74912096 info 2025-11-20 17:52:12,790 - INFO - Deleting VN ctest-vn-34238309 2025-11-20 17:52:12,911 - DEBUG - Response for deleting network () 2025-11-20 17:52:12,911 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6a006284-049c-4dfc-855f-9826a01c9c59 2025-11-20 17:52:12,917 - DEBUG - Response Code: 404 2025-11-20 17:52:12,917 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-20 17:52:12,923 - DEBUG - Requesting: http://10.0.0.50:8082/domain/da0d12c2-a7a9-4639-99b8-df809370f14c 2025-11-20 17:52:12,977 - DEBUG - Requesting: http://10.0.0.50:8082/project/26d98814-6ccb-4fc4-a38c-03c719c39742 2025-11-20 17:52:13,049 - INFO - Validated that VN ctest-vn-34238309 is not found in API Server 2025-11-20 17:52:13,059 - DEBUG - VN ctest-vn-34238309 is not present in Agent 10.0.0.50 2025-11-20 17:52:13,059 - INFO - Validated that VN ctest-vn-34238309 is not in any agent 2025-11-20 17:52:13,073 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34238309 info 2025-11-20 17:52:13,337 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 17:52:13,337 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-20 17:52:13,337 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:52:14,044 - INFO - Deleted project: ctest-TestBasicPolicy-30732624, ID : 26d98814-6ccb-4fc4-a38c-03c719c39742