2025-09-23 12:15:58,137 - INFO - Domain Default found not creating 2025-09-23 12:15:58,637 - INFO - Project ctest-TestBasicPolicy-64193970 not found, creating it 2025-09-23 12:15:59,088 - INFO - Created Project:ctest-TestBasicPolicy-64193970, ID : 6bf61bd6-9387-4ee3-9657-c7f7661d346f 2025-09-23 12:16:00,579 - INFO - ================================================================================ 2025-09-23 12:16:00,579 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-23 12:16:00,579 - 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-09-23 12:16:00,854 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-23 12:16:00,854 - INFO - Initial checks done. Running the testcase now 2025-09-23 12:16:00,854 - INFO - 2025-09-23 12:16:01,438 - DEBUG - Response for create_network : {'network': {'id': 'da8426c0-9783-4c18-bdde-e3e69cf5b1b3', 'name': 'ctest-vn-58927101', 'tenant_id': '6bf61bd693874ee39657c7f7661d346f', 'project_id': '6bf61bd693874ee39657c7f7661d346f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64193970', 'ctest-vn-58927101'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:16:01,613 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c8790cb-e909-4c32-bda0-89f940d9cc6c', 'name': '', 'tenant_id': '6bf61bd693874ee39657c7f7661d346f', 'network_id': 'da8426c0-9783-4c18-bdde-e3e69cf5b1b3', 'ip_version': 4, 'cidr': '34.135.90.128/26', 'allocation_pools': [{'start': '34.135.90.130', 'end': '34.135.90.190'}], 'gateway_ip': '34.135.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.135.90.130', 'tags': [], 'project_id': '6bf61bd693874ee39657c7f7661d346f'}} 2025-09-23 12:16:01,634 - INFO - Created VN ctest-vn-58927101 2025-09-23 12:16:01,688 - DEBUG - VN ctest-vn-58927101 UUID is da8426c0-9783-4c18-bdde-e3e69cf5b1b3 2025-09-23 12:16:01,987 - DEBUG - Response for create_network : {'network': {'id': 'abb28329-eb02-4fc5-a237-5fd0295990b2', 'name': 'ctest-vn-57833330', 'tenant_id': '6bf61bd693874ee39657c7f7661d346f', 'project_id': '6bf61bd693874ee39657c7f7661d346f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64193970', 'ctest-vn-57833330'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:16:02,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fed48fd-dc10-4393-aed8-7f6d7e10885f', 'name': '', 'tenant_id': '6bf61bd693874ee39657c7f7661d346f', 'network_id': 'abb28329-eb02-4fc5-a237-5fd0295990b2', 'ip_version': 4, 'cidr': '133.106.86.0/26', 'allocation_pools': [{'start': '133.106.86.2', 'end': '133.106.86.62'}], 'gateway_ip': '133.106.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.106.86.2', 'tags': [], 'project_id': '6bf61bd693874ee39657c7f7661d346f'}} 2025-09-23 12:16:02,243 - INFO - Created VN ctest-vn-57833330 2025-09-23 12:16:02,300 - DEBUG - VN ctest-vn-57833330 UUID is abb28329-eb02-4fc5-a237-5fd0295990b2 2025-09-23 12:16:02,420 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-58927101, 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-64193970:ctest-vn-57833330, 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-09-23 12:16:02,722 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da8426c0-9783-4c18-bdde-e3e69cf5b1b3', 'name': 'ctest-vn-58927101', 'tenant_id': '6bf61bd693874ee39657c7f7661d346f', 'project_id': '6bf61bd693874ee39657c7f7661d346f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3c8790cb-e909-4c32-bda0-89f940d9cc6c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64193970', 'ctest-vn-58927101'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64193970', 'ctest-policy-allow-all-00172592']], 'subnet_ipam': [{'subnet_cidr': '34.135.90.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:16:03,018 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abb28329-eb02-4fc5-a237-5fd0295990b2', 'name': 'ctest-vn-57833330', 'tenant_id': '6bf61bd693874ee39657c7f7661d346f', 'project_id': '6bf61bd693874ee39657c7f7661d346f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8fed48fd-dc10-4393-aed8-7f6d7e10885f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64193970', 'ctest-vn-57833330'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64193970', 'ctest-policy-allow-all-00172592']], 'subnet_ipam': [{'subnet_cidr': '133.106.86.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:16:03,176 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-23 12:16:03,483 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-23 12:16:03,513 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bc7aaff-2766-45ed-ac21-d4ece8f95b67 2025-09-23 12:16:03,527 - DEBUG - Requesting: http://10.0.0.50:8082/project/6bf61bd6-9387-4ee3-9657-c7f7661d346f 2025-09-23 12:16:03,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/da8426c0-9783-4c18-bdde-e3e69cf5b1b3 2025-09-23 12:16:03,614 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/da8426c0-9783-4c18-bdde-e3e69cf5b1b3 2025-09-23 12:16:03,624 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25549385-e842-45ba-ab1c-4ea811b6466d 2025-09-23 12:16:03,632 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25549385-e842-45ba-ab1c-4ea811b6466d 2025-09-23 12:16:03,640 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/622b7995-a657-45f0-9680-75b873eb2573 2025-09-23 12:16:03,647 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 12:16:03,647 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/da8426c0-9783-4c18-bdde-e3e69cf5b1b3 2025-09-23 12:16:03,656 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25549385-e842-45ba-ab1c-4ea811b6466d 2025-09-23 12:16:03,672 - INFO - Verified VN network id 12 for VN da8426c0-9783-4c18-bdde-e3e69cf5b1b3 2025-09-23 12:16:03,672 - INFO - Verifications in API Server for VN ctest-vn-58927101 passed 2025-09-23 12:16:03,672 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/da8426c0-9783-4c18-bdde-e3e69cf5b1b3 2025-09-23 12:16:03,682 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25549385-e842-45ba-ab1c-4ea811b6466d 2025-09-23 12:16:03,688 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25549385-e842-45ba-ab1c-4ea811b6466d 2025-09-23 12:16:03,695 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/622b7995-a657-45f0-9680-75b873eb2573 2025-09-23 12:16:03,707 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-58927101', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64193970', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15745752805811637272', 'uuid-lslong': '13681623297613476275'}, 'enable': 'true', 'created': '2025-09-23T12:16:01', 'last-modified': '2025-09-23T12:16:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003442'} 2025-09-23 12:16:03,713 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 12:16:03,713 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58927101 passed 2025-09-23 12:16:03,713 - DEBUG - ====Verifying policy data for ctest-vn-58927101 in API_Server ====== 2025-09-23 12:16:03,713 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-23 12:16:03,719 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bc7aaff-2766-45ed-ac21-d4ece8f95b67 2025-09-23 12:16:03,730 - DEBUG - Requesting: http://10.0.0.50:8082/project/6bf61bd6-9387-4ee3-9657-c7f7661d346f 2025-09-23 12:16:03,802 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/da8426c0-9783-4c18-bdde-e3e69cf5b1b3 2025-09-23 12:16:03,811 - DEBUG - ==>Verifying data for policy with id: ffb2bf26-4a57-4eeb-ae4b-8c50a8604389, fqn: ['default-domain', 'ctest-TestBasicPolicy-64193970', 'ctest-policy-allow-all-00172592'] 2025-09-23 12:16:03,811 - INFO - VN ctest-vn-58927101 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 12:16:03,811 - DEBUG - Verifying the vn in opserver 2025-09-23 12:16:03,811 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-58927101 virtual network link through opserver 10.0.0.50 2025-09-23 12:16:03,811 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-23 12:16:04,106 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-23 12:16:04,165 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-58927101', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-58927101?flat'} 2025-09-23 12:16:04,165 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-58927101 is found in opserver 2025-09-23 12:16:04,176 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 12:16:04,182 - DEBUG - VRF ids for VN ctest-vn-58927101: {} 2025-09-23 12:16:04,182 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-23 12:16:04,188 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bc7aaff-2766-45ed-ac21-d4ece8f95b67 2025-09-23 12:16:04,201 - DEBUG - Requesting: http://10.0.0.50:8082/project/6bf61bd6-9387-4ee3-9657-c7f7661d346f 2025-09-23 12:16:04,274 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/abb28329-eb02-4fc5-a237-5fd0295990b2 2025-09-23 12:16:04,286 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/abb28329-eb02-4fc5-a237-5fd0295990b2 2025-09-23 12:16:04,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/27f1d115-7136-4e57-9c63-d72d100c921f 2025-09-23 12:16:04,303 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/27f1d115-7136-4e57-9c63-d72d100c921f 2025-09-23 12:16:04,310 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7ac46402-d563-4e1b-9424-e7b32412b0d8 2025-09-23 12:16:04,318 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 12:16:04,318 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/abb28329-eb02-4fc5-a237-5fd0295990b2 2025-09-23 12:16:04,328 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/27f1d115-7136-4e57-9c63-d72d100c921f 2025-09-23 12:16:04,345 - INFO - Verified VN network id 13 for VN abb28329-eb02-4fc5-a237-5fd0295990b2 2025-09-23 12:16:04,345 - INFO - Verifications in API Server for VN ctest-vn-57833330 passed 2025-09-23 12:16:04,345 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/abb28329-eb02-4fc5-a237-5fd0295990b2 2025-09-23 12:16:04,355 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/27f1d115-7136-4e57-9c63-d72d100c921f 2025-09-23 12:16:04,364 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/27f1d115-7136-4e57-9c63-d72d100c921f 2025-09-23 12:16:04,372 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7ac46402-d563-4e1b-9424-e7b32412b0d8 2025-09-23 12:16:04,387 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-57833330', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64193970', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12372095342399868869', 'uuid-lslong': '11688916705514983602'}, 'enable': 'true', 'created': '2025-09-23T12:16:01', 'last-modified': '2025-09-23T12:16:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.440887'} 2025-09-23 12:16:04,394 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 12:16:04,394 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57833330 passed 2025-09-23 12:16:04,395 - DEBUG - ====Verifying policy data for ctest-vn-57833330 in API_Server ====== 2025-09-23 12:16:04,395 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-23 12:16:04,402 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bc7aaff-2766-45ed-ac21-d4ece8f95b67 2025-09-23 12:16:04,418 - DEBUG - Requesting: http://10.0.0.50:8082/project/6bf61bd6-9387-4ee3-9657-c7f7661d346f 2025-09-23 12:16:04,495 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/abb28329-eb02-4fc5-a237-5fd0295990b2 2025-09-23 12:16:04,506 - DEBUG - ==>Verifying data for policy with id: ffb2bf26-4a57-4eeb-ae4b-8c50a8604389, fqn: ['default-domain', 'ctest-TestBasicPolicy-64193970', 'ctest-policy-allow-all-00172592'] 2025-09-23 12:16:04,506 - INFO - VN ctest-vn-57833330 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 12:16:04,506 - DEBUG - Verifying the vn in opserver 2025-09-23 12:16:04,507 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-57833330 virtual network link through opserver 10.0.0.50 2025-09-23 12:16:04,507 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-23 12:16:04,517 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-57833330', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-57833330?flat'} 2025-09-23 12:16:04,517 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-57833330 is found in opserver 2025-09-23 12:16:04,527 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 12:16:04,532 - DEBUG - VRF ids for VN ctest-vn-57833330: {} 2025-09-23 12:16:04,604 - DEBUG - Services list from nova: [, , ] 2025-09-23 12:16:05,750 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4174-1) 2025-09-23 12:16:07,012 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4174-1) 2025-09-23 12:16:07,012 - INFO - Waiting for VM ctest-TestBasicPolicy-64193970-36863526 to be up.. 2025-09-23 12:16:07,179 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 12:16:12,278 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:16:12,278 - INFO - VM name : ctest-TestBasicPolicy-64193970-36863526 2025-09-23 12:16:12,391 - DEBUG - VM ctest-TestBasicPolicy-64193970-36863526 ID is b179c08a-90cd-4925-b527-56e36c74f6d1 2025-09-23 12:16:12,422 - DEBUG - VM ctest-TestBasicPolicy-64193970-36863526 launched on Node cn-jenkins-deploy-platform-ansible-os-4174-1 2025-09-23 12:16:12,522 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b179c08a-90cd-4925-b527-56e36c74f6d1 2025-09-23 12:16:12,532 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/42b6ec14-e038-4e47-8cfd-cbb700c7be5e 2025-09-23 12:16:15,817 - 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 1019ms') 2025-09-23 12:16:15,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64193970-36863526 failed! 2025-09-23 12:16:15,885 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64193970:ctest-vn-58927101 is 34.135.90.129 and allocation pool is NOT set 2025-09-23 12:16:19,971 - 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=2 ttl=63 time=4.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1026ms\r\nrtt min/avg/max/mdev = 4.346/4.346/4.346/0.000 ms') 2025-09-23 12:16:19,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64193970-36863526 passed 2025-09-23 12:16:20,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:16:20,120 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64193970-36863526, IP 34.135.90.131, Port 22 2025-09-23 12:16:20,287 - DEBUG - VM ctest-TestBasicPolicy-64193970-36863526 is ready for SSH connections 2025-09-23 12:16:20,287 - INFO - Waiting for VM ctest-TestBasicPolicy-64193970-02355580 to be up.. 2025-09-23 12:16:20,379 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:16:20,379 - INFO - VM name : ctest-TestBasicPolicy-64193970-02355580 2025-09-23 12:16:20,484 - DEBUG - VM ctest-TestBasicPolicy-64193970-02355580 ID is 9c2db081-c9fd-4721-8c29-199fc7fcb483 2025-09-23 12:16:20,484 - DEBUG - VM ctest-TestBasicPolicy-64193970-02355580 launched on Node cn-jenkins-deploy-platform-ansible-os-4174-1 2025-09-23 12:16:20,589 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9c2db081-c9fd-4721-8c29-199fc7fcb483 2025-09-23 12:16:20,606 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/19b11d18-101f-4944-a5d0-13e29a796d20 2025-09-23 12:16:21,863 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.623 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.623/1.930/3.238/1.307 ms') 2025-09-23 12:16:21,863 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64193970-02355580 passed 2025-09-23 12:16:22,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:16:22,012 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64193970-02355580, IP 133.106.86.3, Port 22 2025-09-23 12:16:22,183 - DEBUG - VM ctest-TestBasicPolicy-64193970-02355580 is ready for SSH connections 2025-09-23 12:16:22,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:16:22,183 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.106.86.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-23 12:16:22,183 - DEBUG - ping -s 56 -c 3 -W 1 133.106.86.3 2025-09-23 12:16:26,261 - DEBUG - PING 133.106.86.3 (133.106.86.3): 56 data bytes 64 bytes from 133.106.86.3: seq=0 ttl=63 time=4.736 ms 64 bytes from 133.106.86.3: seq=1 ttl=63 time=1.334 ms 64 bytes from 133.106.86.3: seq=2 ttl=63 time=1.168 ms --- 133.106.86.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.168/2.412/4.736 ms 2025-09-23 12:16:26,262 - INFO - Ping to IP 133.106.86.3 from VM ctest-TestBasicPolicy-64193970-36863526 passed 2025-09-23 12:16:26,452 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ffb2bf26-4a57-4eeb-ae4b-8c50a8604389", "href": "http://10.0.0.50:8082/network-policy/ffb2bf26-4a57-4eeb-ae4b-8c50a8604389"}} 2025-09-23 12:16:26,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:16:26,452 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.106.86.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-23 12:16:26,453 - DEBUG - ping -s 56 -c 3 -W 1 133.106.86.3 2025-09-23 12:16:29,666 - DEBUG - PING 133.106.86.3 (133.106.86.3): 56 data bytes --- 133.106.86.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 12:16:29,666 - WARNING - Ping to IP 133.106.86.3 from VM ctest-TestBasicPolicy-64193970-36863526 failed 2025-09-23 12:16:29,666 - INFO - Deleting VM ctest-TestBasicPolicy-64193970-02355580 2025-09-23 12:16:29,778 - INFO - Deleting VM ctest-TestBasicPolicy-64193970-36863526 2025-09-23 12:16:30,222 - INFO - Deleted policy ctest-policy-allow-all-00172592 2025-09-23 12:16:30,222 - INFO - Deleting VN ctest-vn-57833330 2025-09-23 12:16:30,274 - DEBUG - VN abb28329-eb02-4fc5-a237-5fd0295990b2 still in use: Unable to complete operation on network abb28329-eb02-4fc5-a237-5fd0295990b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17e36ea6-9d03-43dd-a983-52adad4b2f6d'] 2025-09-23 12:16:30,274 - WARNING - Deleting VN ctest-vn-57833330 failed..Will retry 2025-09-23 12:16:32,380 - DEBUG - Response for deleting network () 2025-09-23 12:16:32,380 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/27f1d115-7136-4e57-9c63-d72d100c921f 2025-09-23 12:16:32,387 - DEBUG - Response Code: 404 2025-09-23 12:16:32,387 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-23 12:16:32,393 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bc7aaff-2766-45ed-ac21-d4ece8f95b67 2025-09-23 12:16:32,445 - DEBUG - Requesting: http://10.0.0.50:8082/project/6bf61bd6-9387-4ee3-9657-c7f7661d346f 2025-09-23 12:16:32,512 - INFO - Validated that VN ctest-vn-57833330 is not found in API Server 2025-09-23 12:16:32,522 - DEBUG - VN ctest-vn-57833330 is not present in Agent 10.0.0.50 2025-09-23 12:16:32,522 - INFO - Validated that VN ctest-vn-57833330 is not in any agent 2025-09-23 12:16:32,535 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57833330 info 2025-09-23 12:16:32,535 - INFO - Deleting VN ctest-vn-58927101 2025-09-23 12:16:32,644 - DEBUG - Response for deleting network () 2025-09-23 12:16:32,644 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25549385-e842-45ba-ab1c-4ea811b6466d 2025-09-23 12:16:32,651 - DEBUG - Response Code: 404 2025-09-23 12:16:32,651 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-23 12:16:32,659 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8bc7aaff-2766-45ed-ac21-d4ece8f95b67 2025-09-23 12:16:32,716 - DEBUG - Requesting: http://10.0.0.50:8082/project/6bf61bd6-9387-4ee3-9657-c7f7661d346f 2025-09-23 12:16:32,795 - INFO - Validated that VN ctest-vn-58927101 is not found in API Server 2025-09-23 12:16:32,805 - DEBUG - VN ctest-vn-58927101 is not present in Agent 10.0.0.50 2025-09-23 12:16:32,805 - INFO - Validated that VN ctest-vn-58927101 is not in any agent 2025-09-23 12:16:32,819 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58927101 info 2025-09-23 12:16:33,078 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 12:16:33,078 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-09-23 12:16:33,078 - INFO - -------------------------------------------------------------------------------- 2025-09-23 12:16:33,753 - INFO - Deleted project: ctest-TestBasicPolicy-64193970, ID : 6bf61bd6-9387-4ee3-9657-c7f7661d346f