2025-07-30 17:11:28,014 - INFO - Domain Default found not creating 2025-07-30 17:11:28,260 - INFO - Project ctest-TestBasicPolicy-73865779 not found, creating it 2025-07-30 17:11:28,877 - INFO - Created Project:ctest-TestBasicPolicy-73865779, ID : 301c318b-0456-4947-a29f-e69e17bee522 2025-07-30 17:11:30,830 - INFO - ================================================================================ 2025-07-30 17:11:30,830 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-30 17:11:30,830 - 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-07-30 17:11:31,130 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-30 17:11:31,130 - INFO - Initial checks done. Running the testcase now 2025-07-30 17:11:31,130 - INFO - 2025-07-30 17:11:31,896 - DEBUG - Response for create_network : {'network': {'id': '695098df-6394-4c2c-acf2-4565a9835cd1', 'name': 'ctest-vn-67070861', 'tenant_id': '301c318b04564947a29fe69e17bee522', 'project_id': '301c318b04564947a29fe69e17bee522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73865779', 'ctest-vn-67070861'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 17:11:32,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '46add0ea-c70c-4bf4-8003-442730cb8395', 'name': '', 'tenant_id': '301c318b04564947a29fe69e17bee522', 'network_id': '695098df-6394-4c2c-acf2-4565a9835cd1', 'ip_version': 4, 'cidr': '123.246.88.192/26', 'allocation_pools': [{'start': '123.246.88.194', 'end': '123.246.88.254'}], 'gateway_ip': '123.246.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.246.88.194', 'tags': [], 'project_id': '301c318b04564947a29fe69e17bee522'}} 2025-07-30 17:11:32,120 - INFO - Created VN ctest-vn-67070861 2025-07-30 17:11:32,177 - DEBUG - VN ctest-vn-67070861 UUID is 695098df-6394-4c2c-acf2-4565a9835cd1 2025-07-30 17:11:32,742 - DEBUG - Response for create_network : {'network': {'id': '5723fb49-f0ae-4f91-8e1a-242c08531b2f', 'name': 'ctest-vn-09788288', 'tenant_id': '301c318b04564947a29fe69e17bee522', 'project_id': '301c318b04564947a29fe69e17bee522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73865779', 'ctest-vn-09788288'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 17:11:33,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '701ca6ae-94f7-4234-bb35-0ed9bfede91c', 'name': '', 'tenant_id': '301c318b04564947a29fe69e17bee522', 'network_id': '5723fb49-f0ae-4f91-8e1a-242c08531b2f', 'ip_version': 4, 'cidr': '191.116.150.192/26', 'allocation_pools': [{'start': '191.116.150.194', 'end': '191.116.150.254'}], 'gateway_ip': '191.116.150.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.116.150.194', 'tags': [], 'project_id': '301c318b04564947a29fe69e17bee522'}} 2025-07-30 17:11:33,089 - INFO - Created VN ctest-vn-09788288 2025-07-30 17:11:33,150 - DEBUG - VN ctest-vn-09788288 UUID is 5723fb49-f0ae-4f91-8e1a-242c08531b2f 2025-07-30 17:11:33,343 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-67070861, 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-73865779:ctest-vn-09788288, 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-07-30 17:11:33,806 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '695098df-6394-4c2c-acf2-4565a9835cd1', 'name': 'ctest-vn-67070861', 'tenant_id': '301c318b04564947a29fe69e17bee522', 'project_id': '301c318b04564947a29fe69e17bee522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['46add0ea-c70c-4bf4-8003-442730cb8395'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73865779', 'ctest-vn-67070861'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73865779', 'ctest-policy-allow-all-62437365']], 'subnet_ipam': [{'subnet_cidr': '123.246.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-30 17:11:34,191 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5723fb49-f0ae-4f91-8e1a-242c08531b2f', 'name': 'ctest-vn-09788288', 'tenant_id': '301c318b04564947a29fe69e17bee522', 'project_id': '301c318b04564947a29fe69e17bee522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['701ca6ae-94f7-4234-bb35-0ed9bfede91c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73865779', 'ctest-vn-09788288'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73865779', 'ctest-policy-allow-all-62437365']], 'subnet_ipam': [{'subnet_cidr': '191.116.150.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-30 17:11:34,384 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 17:11:34,700 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 17:11:34,753 - DEBUG - Requesting: http://10.0.0.254:8082/domain/729f7175-34a2-4828-8292-be3edcf84511 2025-07-30 17:11:34,780 - DEBUG - Requesting: http://10.0.0.254:8082/project/301c318b-0456-4947-a29f-e69e17bee522 2025-07-30 17:11:34,908 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/695098df-6394-4c2c-acf2-4565a9835cd1 2025-07-30 17:11:34,938 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/695098df-6394-4c2c-acf2-4565a9835cd1 2025-07-30 17:11:34,963 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bad5de6-c638-472a-8e38-a1c95fd882f8 2025-07-30 17:11:34,982 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bad5de6-c638-472a-8e38-a1c95fd882f8 2025-07-30 17:11:35,003 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/84fe26d0-76dd-4077-9d0a-4494732aff9c 2025-07-30 17:11:35,022 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-30 17:11:35,022 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/695098df-6394-4c2c-acf2-4565a9835cd1 2025-07-30 17:11:35,059 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bad5de6-c638-472a-8e38-a1c95fd882f8 2025-07-30 17:11:35,109 - INFO - Verified VN network id 11 for VN 695098df-6394-4c2c-acf2-4565a9835cd1 2025-07-30 17:11:35,109 - INFO - Verifications in API Server for VN ctest-vn-67070861 passed 2025-07-30 17:11:35,110 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/695098df-6394-4c2c-acf2-4565a9835cd1 2025-07-30 17:11:35,148 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bad5de6-c638-472a-8e38-a1c95fd882f8 2025-07-30 17:11:35,170 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bad5de6-c638-472a-8e38-a1c95fd882f8 2025-07-30 17:11:35,195 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/84fe26d0-76dd-4077-9d0a-4494732aff9c 2025-07-30 17:11:35,234 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-67070861', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73865779', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7588733457335077932', 'uuid-lslong': '12462099421825555665'}, 'enable': 'true', 'created': '2025-07-30T17:11:31', 'last-modified': '2025-07-30T17:11:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477606'} 2025-07-30 17:11:35,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-30 17:11:35,261 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67070861 passed 2025-07-30 17:11:35,262 - DEBUG - ====Verifying policy data for ctest-vn-67070861 in API_Server ====== 2025-07-30 17:11:35,262 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 17:11:35,279 - DEBUG - Requesting: http://10.0.0.254:8082/domain/729f7175-34a2-4828-8292-be3edcf84511 2025-07-30 17:11:35,318 - DEBUG - Requesting: http://10.0.0.254:8082/project/301c318b-0456-4947-a29f-e69e17bee522 2025-07-30 17:11:35,457 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/695098df-6394-4c2c-acf2-4565a9835cd1 2025-07-30 17:11:35,489 - DEBUG - ==>Verifying data for policy with id: 55aa0fde-4c60-4e16-9cbc-531b3797204b, fqn: ['default-domain', 'ctest-TestBasicPolicy-73865779', 'ctest-policy-allow-all-62437365'] 2025-07-30 17:11:35,489 - INFO - VN ctest-vn-67070861 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-30 17:11:35,490 - DEBUG - Verifying the vn in opserver 2025-07-30 17:11:35,490 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-67070861 virtual network link through opserver 10.0.0.254 2025-07-30 17:11:35,490 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-30 17:11:35,808 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-30 17:11:35,973 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-67070861', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-67070861?flat'} 2025-07-30 17:11:35,973 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-67070861 is found in opserver 2025-07-30 17:11:35,994 - DEBUG - Do not have enough data to verify VN in agent 2025-07-30 17:11:36,005 - DEBUG - VRF ids for VN ctest-vn-67070861: {} 2025-07-30 17:11:36,005 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 17:11:36,015 - DEBUG - Requesting: http://10.0.0.254:8082/domain/729f7175-34a2-4828-8292-be3edcf84511 2025-07-30 17:11:36,044 - DEBUG - Requesting: http://10.0.0.254:8082/project/301c318b-0456-4947-a29f-e69e17bee522 2025-07-30 17:11:36,184 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5723fb49-f0ae-4f91-8e1a-242c08531b2f 2025-07-30 17:11:36,208 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5723fb49-f0ae-4f91-8e1a-242c08531b2f 2025-07-30 17:11:36,226 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e3379d68-01d2-45a0-877a-ae9136ddf8dd 2025-07-30 17:11:36,240 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e3379d68-01d2-45a0-877a-ae9136ddf8dd 2025-07-30 17:11:36,252 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/cc49baf2-e35a-41a7-8de1-a2ebbecdb8d7 2025-07-30 17:11:36,267 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-30 17:11:36,267 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5723fb49-f0ae-4f91-8e1a-242c08531b2f 2025-07-30 17:11:36,290 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e3379d68-01d2-45a0-877a-ae9136ddf8dd 2025-07-30 17:11:36,318 - INFO - Verified VN network id 12 for VN 5723fb49-f0ae-4f91-8e1a-242c08531b2f 2025-07-30 17:11:36,318 - INFO - Verifications in API Server for VN ctest-vn-09788288 passed 2025-07-30 17:11:36,319 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5723fb49-f0ae-4f91-8e1a-242c08531b2f 2025-07-30 17:11:36,345 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e3379d68-01d2-45a0-877a-ae9136ddf8dd 2025-07-30 17:11:36,355 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e3379d68-01d2-45a0-877a-ae9136ddf8dd 2025-07-30 17:11:36,366 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/cc49baf2-e35a-41a7-8de1-a2ebbecdb8d7 2025-07-30 17:11:36,386 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-09788288', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73865779', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6279138600473743249', 'uuid-lslong': '10239536474317069103'}, 'enable': 'true', 'created': '2025-07-30T17:11:32', 'last-modified': '2025-07-30T17:11:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.261622'} 2025-07-30 17:11:36,399 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-30 17:11:36,399 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09788288 passed 2025-07-30 17:11:36,400 - DEBUG - ====Verifying policy data for ctest-vn-09788288 in API_Server ====== 2025-07-30 17:11:36,400 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 17:11:36,412 - DEBUG - Requesting: http://10.0.0.254:8082/domain/729f7175-34a2-4828-8292-be3edcf84511 2025-07-30 17:11:36,436 - DEBUG - Requesting: http://10.0.0.254:8082/project/301c318b-0456-4947-a29f-e69e17bee522 2025-07-30 17:11:36,536 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5723fb49-f0ae-4f91-8e1a-242c08531b2f 2025-07-30 17:11:36,560 - DEBUG - ==>Verifying data for policy with id: 55aa0fde-4c60-4e16-9cbc-531b3797204b, fqn: ['default-domain', 'ctest-TestBasicPolicy-73865779', 'ctest-policy-allow-all-62437365'] 2025-07-30 17:11:36,560 - INFO - VN ctest-vn-09788288 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-30 17:11:36,560 - DEBUG - Verifying the vn in opserver 2025-07-30 17:11:36,560 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-09788288 virtual network link through opserver 10.0.0.254 2025-07-30 17:11:36,560 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-30 17:11:36,580 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-09788288', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-09788288?flat'} 2025-07-30 17:11:36,580 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-09788288 is found in opserver 2025-07-30 17:11:36,613 - DEBUG - Do not have enough data to verify VN in agent 2025-07-30 17:11:36,622 - DEBUG - VRF ids for VN ctest-vn-09788288: {} 2025-07-30 17:11:36,732 - DEBUG - Services list from nova: [, , ] 2025-07-30 17:11:38,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3724-1) 2025-07-30 17:11:39,960 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3724-1) 2025-07-30 17:11:39,960 - INFO - Waiting for VM ctest-TestBasicPolicy-73865779-23615662 to be up.. 2025-07-30 17:11:40,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 17:11:45,222 - DEBUG - VM is in ACTIVE state now 2025-07-30 17:11:45,222 - INFO - VM name : ctest-TestBasicPolicy-73865779-23615662 2025-07-30 17:11:45,349 - DEBUG - VM ctest-TestBasicPolicy-73865779-23615662 ID is 17a87c8a-8678-4d9f-b154-e8c4d60e2a73 2025-07-30 17:11:45,382 - DEBUG - VM ctest-TestBasicPolicy-73865779-23615662 launched on Node cn-jenkins-deploy-platform-ansible-os-3724-1 2025-07-30 17:11:45,485 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/17a87c8a-8678-4d9f-b154-e8c4d60e2a73 2025-07-30 17:11:45,501 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/402caf92-17da-48c0-8a13-85ccc03be5dc 2025-07-30 17:11:48,821 - 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 1020ms') 2025-07-30 17:11:48,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73865779-23615662 failed! 2025-07-30 17:11:48,885 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73865779:ctest-vn-67070861 is 123.246.88.193 and allocation pool is NOT set 2025-07-30 17:11:50,962 - 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=15.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.05 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 = 3.050/9.146/15.242/6.096 ms') 2025-07-30 17:11:50,962 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73865779-23615662 passed 2025-07-30 17:11:51,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:11:51,153 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73865779-23615662, IP 123.246.88.195, Port 22 2025-07-30 17:11:51,335 - DEBUG - VM ctest-TestBasicPolicy-73865779-23615662 is ready for SSH connections 2025-07-30 17:11:51,335 - INFO - Waiting for VM ctest-TestBasicPolicy-73865779-59163708 to be up.. 2025-07-30 17:11:51,518 - DEBUG - VM is in ACTIVE state now 2025-07-30 17:11:51,518 - INFO - VM name : ctest-TestBasicPolicy-73865779-59163708 2025-07-30 17:11:51,663 - DEBUG - VM ctest-TestBasicPolicy-73865779-59163708 ID is f557eb96-cae3-4d89-9eb7-e13d93b0dbb8 2025-07-30 17:11:51,663 - DEBUG - VM ctest-TestBasicPolicy-73865779-59163708 launched on Node cn-jenkins-deploy-platform-ansible-os-3724-1 2025-07-30 17:11:51,761 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f557eb96-cae3-4d89-9eb7-e13d93b0dbb8 2025-07-30 17:11:51,775 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b79e5830-0ab0-449c-ad84-96f0a88dbb96 2025-07-30 17:11:53,046 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.84 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 = 2.844/3.316/3.789/0.472 ms') 2025-07-30 17:11:53,046 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73865779-59163708 passed 2025-07-30 17:11:53,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:11:53,229 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73865779-59163708, IP 191.116.150.195, Port 22 2025-07-30 17:11:53,430 - DEBUG - VM ctest-TestBasicPolicy-73865779-59163708 is ready for SSH connections 2025-07-30 17:11:53,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:11:53,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.116.150.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 17:11:53,431 - DEBUG - ping -s 56 -c 3 -W 1 191.116.150.195 2025-07-30 17:11:57,912 - DEBUG - PING 191.116.150.195 (191.116.150.195): 56 data bytes 64 bytes from 191.116.150.195: seq=0 ttl=63 time=3.765 ms 64 bytes from 191.116.150.195: seq=1 ttl=63 time=1.014 ms 64 bytes from 191.116.150.195: seq=2 ttl=63 time=2.010 ms --- 191.116.150.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.014/2.263/3.765 ms 2025-07-30 17:11:57,913 - INFO - Ping to IP 191.116.150.195 from VM ctest-TestBasicPolicy-73865779-23615662 passed 2025-07-30 17:11:58,184 - DEBUG - Policy Update Response {"network-policy": {"uuid": "55aa0fde-4c60-4e16-9cbc-531b3797204b", "href": "http://10.0.0.254:8082/network-policy/55aa0fde-4c60-4e16-9cbc-531b3797204b"}} 2025-07-30 17:11:58,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:11:58,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.116.150.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 17:11:58,185 - DEBUG - ping -s 56 -c 3 -W 1 191.116.150.195 2025-07-30 17:12:01,517 - DEBUG - PING 191.116.150.195 (191.116.150.195): 56 data bytes 64 bytes from 191.116.150.195: seq=0 ttl=63 time=2.185 ms --- 191.116.150.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.185/2.185/2.185 ms 2025-07-30 17:12:01,517 - WARNING - Ping to IP 191.116.150.195 from VM ctest-TestBasicPolicy-73865779-23615662 failed 2025-07-30 17:12:01,517 - INFO - Deleting VM ctest-TestBasicPolicy-73865779-59163708 2025-07-30 17:12:01,698 - INFO - Deleting VM ctest-TestBasicPolicy-73865779-23615662 2025-07-30 17:12:02,305 - INFO - Deleted policy ctest-policy-allow-all-62437365 2025-07-30 17:12:02,305 - INFO - Deleting VN ctest-vn-09788288 2025-07-30 17:12:02,348 - DEBUG - VN 5723fb49-f0ae-4f91-8e1a-242c08531b2f still in use: Unable to complete operation on network 5723fb49-f0ae-4f91-8e1a-242c08531b2f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb8e4ed0-d9b2-4387-8922-34f92b474552'] 2025-07-30 17:12:02,348 - WARNING - Deleting VN ctest-vn-09788288 failed..Will retry 2025-07-30 17:12:04,617 - DEBUG - Response for deleting network () 2025-07-30 17:12:04,617 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e3379d68-01d2-45a0-877a-ae9136ddf8dd 2025-07-30 17:12:04,631 - DEBUG - Response Code: 404 2025-07-30 17:12:04,631 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 17:12:04,643 - DEBUG - Requesting: http://10.0.0.254:8082/domain/729f7175-34a2-4828-8292-be3edcf84511 2025-07-30 17:12:04,666 - DEBUG - Requesting: http://10.0.0.254:8082/project/301c318b-0456-4947-a29f-e69e17bee522 2025-07-30 17:12:04,762 - INFO - Validated that VN ctest-vn-09788288 is not found in API Server 2025-07-30 17:12:04,791 - DEBUG - VN ctest-vn-09788288 is not present in Agent 10.0.0.254 2025-07-30 17:12:04,791 - INFO - Validated that VN ctest-vn-09788288 is not in any agent 2025-07-30 17:12:04,819 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09788288 info 2025-07-30 17:12:04,819 - INFO - Deleting VN ctest-vn-67070861 2025-07-30 17:12:04,986 - DEBUG - Response for deleting network () 2025-07-30 17:12:04,986 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2bad5de6-c638-472a-8e38-a1c95fd882f8 2025-07-30 17:12:04,994 - DEBUG - Response Code: 404 2025-07-30 17:12:04,994 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 17:12:05,006 - DEBUG - Requesting: http://10.0.0.254:8082/domain/729f7175-34a2-4828-8292-be3edcf84511 2025-07-30 17:12:05,068 - DEBUG - Requesting: http://10.0.0.254:8082/project/301c318b-0456-4947-a29f-e69e17bee522 2025-07-30 17:12:05,181 - INFO - Validated that VN ctest-vn-67070861 is not found in API Server 2025-07-30 17:12:05,210 - DEBUG - VN ctest-vn-67070861 is not present in Agent 10.0.0.254 2025-07-30 17:12:05,211 - INFO - Validated that VN ctest-vn-67070861 is not in any agent 2025-07-30 17:12:05,265 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67070861 info 2025-07-30 17:12:05,584 - DEBUG - No XMPP flaps were noticed during the test 2025-07-30 17:12:05,584 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-07-30 17:12:05,584 - INFO - -------------------------------------------------------------------------------- 2025-07-30 17:12:06,418 - INFO - Deleted project: ctest-TestBasicPolicy-73865779, ID : 301c318b-0456-4947-a29f-e69e17bee522