2025-10-31 02:32:44,268 - INFO - Domain Default found not creating 2025-10-31 02:32:44,441 - INFO - Project ctest-TestBasicPolicy-92679836 not found, creating it 2025-10-31 02:32:44,911 - INFO - Created Project:ctest-TestBasicPolicy-92679836, ID : 8fb923e7-11ef-48da-98fa-7dd15d8da155 2025-10-31 02:32:47,007 - INFO - ================================================================================ 2025-10-31 02:32:47,007 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 02:32:47,007 - 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-10-31 02:32:47,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with 2025-10-31 02:32:47,265 - INFO - Initial checks done. Running the testcase now 2025-10-31 02:32:47,265 - INFO - 2025-10-31 02:32:47,806 - DEBUG - Response for create_network : {'network': {'id': '4617059d-d9ed-4d1b-b2fe-f8f90dbdeccf', 'name': 'ctest-vn-25109708', 'tenant_id': '8fb923e711ef48da98fa7dd15d8da155', 'project_id': '8fb923e711ef48da98fa7dd15d8da155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92679836', 'ctest-vn-25109708'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 02:32:48,041 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6a181e2-831d-4fc2-81e1-a73771982eae', 'name': '', 'tenant_id': '8fb923e711ef48da98fa7dd15d8da155', 'network_id': '4617059d-d9ed-4d1b-b2fe-f8f90dbdeccf', 'ip_version': 4, 'cidr': '158.87.192.192/26', 'allocation_pools': [{'start': '158.87.192.194', 'end': '158.87.192.254'}], 'gateway_ip': '158.87.192.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.87.192.194', 'tags': [], 'project_id': '8fb923e711ef48da98fa7dd15d8da155'}} 2025-10-31 02:32:48,060 - INFO - Created VN ctest-vn-25109708 2025-10-31 02:32:48,110 - DEBUG - VN ctest-vn-25109708 UUID is 4617059d-d9ed-4d1b-b2fe-f8f90dbdeccf 2025-10-31 02:32:48,396 - DEBUG - Response for create_network : {'network': {'id': '120a7824-230e-431a-8174-99b7dbb421cf', 'name': 'ctest-vn-00130185', 'tenant_id': '8fb923e711ef48da98fa7dd15d8da155', 'project_id': '8fb923e711ef48da98fa7dd15d8da155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92679836', 'ctest-vn-00130185'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 02:32:48,637 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a3994bb-516f-4327-beb2-61716f48832e', 'name': '', 'tenant_id': '8fb923e711ef48da98fa7dd15d8da155', 'network_id': '120a7824-230e-431a-8174-99b7dbb421cf', 'ip_version': 4, 'cidr': '196.131.128.192/26', 'allocation_pools': [{'start': '196.131.128.194', 'end': '196.131.128.254'}], 'gateway_ip': '196.131.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.131.128.194', 'tags': [], 'project_id': '8fb923e711ef48da98fa7dd15d8da155'}} 2025-10-31 02:32:48,659 - INFO - Created VN ctest-vn-00130185 2025-10-31 02:32:48,715 - DEBUG - VN ctest-vn-00130185 UUID is 120a7824-230e-431a-8174-99b7dbb421cf 2025-10-31 02:32:48,828 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-25109708, 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-92679836:ctest-vn-00130185, 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-10-31 02:32:49,122 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4617059d-d9ed-4d1b-b2fe-f8f90dbdeccf', 'name': 'ctest-vn-25109708', 'tenant_id': '8fb923e711ef48da98fa7dd15d8da155', 'project_id': '8fb923e711ef48da98fa7dd15d8da155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a6a181e2-831d-4fc2-81e1-a73771982eae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92679836', 'ctest-vn-25109708'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92679836', 'ctest-policy-allow-all-94987200']], 'subnet_ipam': [{'subnet_cidr': '158.87.192.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 02:32:49,342 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '120a7824-230e-431a-8174-99b7dbb421cf', 'name': 'ctest-vn-00130185', 'tenant_id': '8fb923e711ef48da98fa7dd15d8da155', 'project_id': '8fb923e711ef48da98fa7dd15d8da155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2a3994bb-516f-4327-beb2-61716f48832e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92679836', 'ctest-vn-00130185'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92679836', 'ctest-policy-allow-all-94987200']], 'subnet_ipam': [{'subnet_cidr': '196.131.128.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 02:32:49,495 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 02:32:49,801 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 02:32:49,832 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f20c8f27-e4ee-40d7-847d-cb256a7ec21c 2025-10-31 02:32:49,843 - DEBUG - Requesting: http://10.0.0.137:8082/project/8fb923e7-11ef-48da-98fa-7dd15d8da155 2025-10-31 02:32:49,917 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/4617059d-d9ed-4d1b-b2fe-f8f90dbdeccf 2025-10-31 02:32:49,928 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/4617059d-d9ed-4d1b-b2fe-f8f90dbdeccf 2025-10-31 02:32:49,936 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/bfd54b7c-2036-4334-a7e0-8a45454b152b 2025-10-31 02:32:49,943 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/bfd54b7c-2036-4334-a7e0-8a45454b152b 2025-10-31 02:32:49,949 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/66d07ea9-a29e-463d-b65e-0531a3a67e78 2025-10-31 02:32:49,956 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 02:32:49,956 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/4617059d-d9ed-4d1b-b2fe-f8f90dbdeccf 2025-10-31 02:32:49,964 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/bfd54b7c-2036-4334-a7e0-8a45454b152b 2025-10-31 02:32:49,978 - INFO - Verified VN network id 11 for VN 4617059d-d9ed-4d1b-b2fe-f8f90dbdeccf 2025-10-31 02:32:49,978 - INFO - Verifications in API Server for VN ctest-vn-25109708 passed 2025-10-31 02:32:49,978 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/4617059d-d9ed-4d1b-b2fe-f8f90dbdeccf 2025-10-31 02:32:49,986 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/bfd54b7c-2036-4334-a7e0-8a45454b152b 2025-10-31 02:32:49,992 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/bfd54b7c-2036-4334-a7e0-8a45454b152b 2025-10-31 02:32:49,998 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/66d07ea9-a29e-463d-b65e-0531a3a67e78 2025-10-31 02:32:50,009 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-25109708', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92679836', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5050511682643512603', 'uuid-lslong': '12898020131396775119'}, 'enable': 'true', 'created': '2025-10-31T02:32:47', 'last-modified': '2025-10-31T02:32:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907199'} 2025-10-31 02:32:50,016 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 02:32:50,016 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25109708 passed 2025-10-31 02:32:50,016 - DEBUG - ====Verifying policy data for ctest-vn-25109708 in API_Server ====== 2025-10-31 02:32:50,016 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 02:32:50,021 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f20c8f27-e4ee-40d7-847d-cb256a7ec21c 2025-10-31 02:32:50,031 - DEBUG - Requesting: http://10.0.0.137:8082/project/8fb923e7-11ef-48da-98fa-7dd15d8da155 2025-10-31 02:32:50,099 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/4617059d-d9ed-4d1b-b2fe-f8f90dbdeccf 2025-10-31 02:32:50,108 - DEBUG - ==>Verifying data for policy with id: 8a3d98ff-c6ed-4709-8d52-aaf2d3bfe97c, fqn: ['default-domain', 'ctest-TestBasicPolicy-92679836', 'ctest-policy-allow-all-94987200'] 2025-10-31 02:32:50,108 - INFO - VN ctest-vn-25109708 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 02:32:50,108 - DEBUG - Verifying the vn in opserver 2025-10-31 02:32:50,108 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-25109708 virtual network link through opserver 10.0.0.137 2025-10-31 02:32:50,108 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-31 02:32:50,405 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-31 02:32:50,460 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-25109708', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-25109708?flat'} 2025-10-31 02:32:50,460 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-25109708 is found in opserver 2025-10-31 02:32:50,470 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 02:32:50,474 - DEBUG - VRF ids for VN ctest-vn-25109708: {} 2025-10-31 02:32:50,475 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 02:32:50,480 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f20c8f27-e4ee-40d7-847d-cb256a7ec21c 2025-10-31 02:32:50,491 - DEBUG - Requesting: http://10.0.0.137:8082/project/8fb923e7-11ef-48da-98fa-7dd15d8da155 2025-10-31 02:32:50,561 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/120a7824-230e-431a-8174-99b7dbb421cf 2025-10-31 02:32:50,573 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/120a7824-230e-431a-8174-99b7dbb421cf 2025-10-31 02:32:50,582 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/172eebeb-cf73-4bca-8fff-18a71df1391c 2025-10-31 02:32:50,589 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/172eebeb-cf73-4bca-8fff-18a71df1391c 2025-10-31 02:32:50,594 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/e483ac96-40d6-45f6-b251-4fe811f238a0 2025-10-31 02:32:50,601 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 02:32:50,601 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/120a7824-230e-431a-8174-99b7dbb421cf 2025-10-31 02:32:50,609 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/172eebeb-cf73-4bca-8fff-18a71df1391c 2025-10-31 02:32:50,620 - INFO - Verified VN network id 12 for VN 120a7824-230e-431a-8174-99b7dbb421cf 2025-10-31 02:32:50,620 - INFO - Verifications in API Server for VN ctest-vn-00130185 passed 2025-10-31 02:32:50,620 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/120a7824-230e-431a-8174-99b7dbb421cf 2025-10-31 02:32:50,628 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/172eebeb-cf73-4bca-8fff-18a71df1391c 2025-10-31 02:32:50,634 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/172eebeb-cf73-4bca-8fff-18a71df1391c 2025-10-31 02:32:50,639 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/e483ac96-40d6-45f6-b251-4fe811f238a0 2025-10-31 02:32:50,650 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-00130185', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92679836', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1299983539052102426', 'uuid-lslong': '9328249743135220175'}, 'enable': 'true', 'created': '2025-10-31T02:32:48', 'last-modified': '2025-10-31T02:32:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.327057'} 2025-10-31 02:32:50,656 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 02:32:50,656 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00130185 passed 2025-10-31 02:32:50,656 - DEBUG - ====Verifying policy data for ctest-vn-00130185 in API_Server ====== 2025-10-31 02:32:50,656 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 02:32:50,660 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f20c8f27-e4ee-40d7-847d-cb256a7ec21c 2025-10-31 02:32:50,669 - DEBUG - Requesting: http://10.0.0.137:8082/project/8fb923e7-11ef-48da-98fa-7dd15d8da155 2025-10-31 02:32:50,745 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/120a7824-230e-431a-8174-99b7dbb421cf 2025-10-31 02:32:50,754 - DEBUG - ==>Verifying data for policy with id: 8a3d98ff-c6ed-4709-8d52-aaf2d3bfe97c, fqn: ['default-domain', 'ctest-TestBasicPolicy-92679836', 'ctest-policy-allow-all-94987200'] 2025-10-31 02:32:50,754 - INFO - VN ctest-vn-00130185 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 02:32:50,754 - DEBUG - Verifying the vn in opserver 2025-10-31 02:32:50,754 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-00130185 virtual network link through opserver 10.0.0.137 2025-10-31 02:32:50,754 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-31 02:32:50,763 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-00130185', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-00130185?flat'} 2025-10-31 02:32:50,763 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-00130185 is found in opserver 2025-10-31 02:32:50,772 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 02:32:50,776 - DEBUG - VRF ids for VN ctest-vn-00130185: {} 2025-10-31 02:32:50,831 - DEBUG - Services list from nova: [, , ] 2025-10-31 02:32:51,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4567-1) 2025-10-31 02:32:53,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4567-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4567-1) 2025-10-31 02:32:53,031 - INFO - Waiting for VM ctest-TestBasicPolicy-92679836-20593018 to be up.. 2025-10-31 02:32:53,117 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 02:32:58,209 - DEBUG - VM is in ACTIVE state now 2025-10-31 02:32:58,209 - INFO - VM name : ctest-TestBasicPolicy-92679836-20593018 2025-10-31 02:32:58,289 - DEBUG - VM ctest-TestBasicPolicy-92679836-20593018 ID is 369d0fe8-9167-4a95-b139-9f700c0db714 2025-10-31 02:32:58,311 - DEBUG - VM ctest-TestBasicPolicy-92679836-20593018 launched on Node cn-jenkins-deploy-platform-ansible-os-4567-1 2025-10-31 02:32:58,404 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/369d0fe8-9167-4a95-b139-9f700c0db714 2025-10-31 02:32:58,412 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/5046be76-c748-4b4d-9bcf-3ab7174fd708 2025-10-31 02:33:01,682 - 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 1021ms') 2025-10-31 02:33:01,682 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92679836-20593018 failed! 2025-10-31 02:33:01,739 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92679836:ctest-vn-25109708 is 158.87.192.193 and allocation pool is NOT set 2025-10-31 02:33:03,809 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.475 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 = 0.475/4.453/8.431/3.978 ms') 2025-10-31 02:33:03,810 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92679836-20593018 passed 2025-10-31 02:33:03,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:33:03,967 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92679836-20593018, IP 158.87.192.195, Port 22 2025-10-31 02:33:04,123 - DEBUG - VM ctest-TestBasicPolicy-92679836-20593018 is ready for SSH connections 2025-10-31 02:33:04,123 - INFO - Waiting for VM ctest-TestBasicPolicy-92679836-26451859 to be up.. 2025-10-31 02:33:04,208 - DEBUG - VM is in ACTIVE state now 2025-10-31 02:33:04,208 - INFO - VM name : ctest-TestBasicPolicy-92679836-26451859 2025-10-31 02:33:04,299 - DEBUG - VM ctest-TestBasicPolicy-92679836-26451859 ID is 40ff39d4-3b47-417b-9681-330a3f22e620 2025-10-31 02:33:04,299 - DEBUG - VM ctest-TestBasicPolicy-92679836-26451859 launched on Node cn-jenkins-deploy-platform-ansible-os-4567-1 2025-10-31 02:33:04,380 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/40ff39d4-3b47-417b-9681-330a3f22e620 2025-10-31 02:33:04,393 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/35d57198-65a5-48d8-8225-eeecdc7ad0aa 2025-10-31 02:33:05,639 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.978 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.978/2.732/4.487/1.754 ms') 2025-10-31 02:33:05,639 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92679836-26451859 passed 2025-10-31 02:33:05,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:33:05,803 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92679836-26451859, IP 196.131.128.195, Port 22 2025-10-31 02:33:05,976 - DEBUG - VM ctest-TestBasicPolicy-92679836-26451859 is ready for SSH connections 2025-10-31 02:33:05,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:33:05,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.131.128.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 02:33:05,977 - DEBUG - ping -s 56 -c 3 -W 1 196.131.128.195 2025-10-31 02:33:10,064 - DEBUG - PING 196.131.128.195 (196.131.128.195): 56 data bytes 64 bytes from 196.131.128.195: seq=0 ttl=63 time=4.757 ms 64 bytes from 196.131.128.195: seq=1 ttl=63 time=1.351 ms 64 bytes from 196.131.128.195: seq=2 ttl=63 time=1.453 ms --- 196.131.128.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.351/2.520/4.757 ms 2025-10-31 02:33:10,064 - INFO - Ping to IP 196.131.128.195 from VM ctest-TestBasicPolicy-92679836-20593018 passed 2025-10-31 02:33:10,254 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8a3d98ff-c6ed-4709-8d52-aaf2d3bfe97c", "href": "http://10.0.0.137:8082/network-policy/8a3d98ff-c6ed-4709-8d52-aaf2d3bfe97c"}} 2025-10-31 02:33:10,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 02:33:10,254 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.131.128.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 02:33:10,255 - DEBUG - ping -s 56 -c 3 -W 1 196.131.128.195 2025-10-31 02:33:13,465 - DEBUG - PING 196.131.128.195 (196.131.128.195): 56 data bytes --- 196.131.128.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 02:33:13,465 - WARNING - Ping to IP 196.131.128.195 from VM ctest-TestBasicPolicy-92679836-20593018 failed 2025-10-31 02:33:13,466 - INFO - Deleting VM ctest-TestBasicPolicy-92679836-26451859 2025-10-31 02:33:13,558 - INFO - Deleting VM ctest-TestBasicPolicy-92679836-20593018 2025-10-31 02:33:13,981 - INFO - Deleted policy ctest-policy-allow-all-94987200 2025-10-31 02:33:13,981 - INFO - Deleting VN ctest-vn-00130185 2025-10-31 02:33:14,016 - DEBUG - VN 120a7824-230e-431a-8174-99b7dbb421cf still in use: Unable to complete operation on network 120a7824-230e-431a-8174-99b7dbb421cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf584961-e07e-4e86-86ea-77df2157344c'] 2025-10-31 02:33:14,016 - WARNING - Deleting VN ctest-vn-00130185 failed..Will retry 2025-10-31 02:33:16,125 - DEBUG - Response for deleting network () 2025-10-31 02:33:16,125 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/172eebeb-cf73-4bca-8fff-18a71df1391c 2025-10-31 02:33:16,132 - DEBUG - Response Code: 404 2025-10-31 02:33:16,132 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 02:33:16,138 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f20c8f27-e4ee-40d7-847d-cb256a7ec21c 2025-10-31 02:33:16,191 - DEBUG - Requesting: http://10.0.0.137:8082/project/8fb923e7-11ef-48da-98fa-7dd15d8da155 2025-10-31 02:33:16,264 - INFO - Validated that VN ctest-vn-00130185 is not found in API Server 2025-10-31 02:33:16,273 - DEBUG - VN ctest-vn-00130185 is not present in Agent 10.0.0.137 2025-10-31 02:33:16,273 - INFO - Validated that VN ctest-vn-00130185 is not in any agent 2025-10-31 02:33:16,286 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00130185 info 2025-10-31 02:33:16,286 - INFO - Deleting VN ctest-vn-25109708 2025-10-31 02:33:16,391 - DEBUG - Response for deleting network () 2025-10-31 02:33:16,391 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/bfd54b7c-2036-4334-a7e0-8a45454b152b 2025-10-31 02:33:16,396 - DEBUG - Response Code: 404 2025-10-31 02:33:16,397 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 02:33:16,401 - DEBUG - Requesting: http://10.0.0.137:8082/domain/f20c8f27-e4ee-40d7-847d-cb256a7ec21c 2025-10-31 02:33:16,456 - DEBUG - Requesting: http://10.0.0.137:8082/project/8fb923e7-11ef-48da-98fa-7dd15d8da155 2025-10-31 02:33:16,529 - INFO - Validated that VN ctest-vn-25109708 is not found in API Server 2025-10-31 02:33:16,539 - DEBUG - VN ctest-vn-25109708 is not present in Agent 10.0.0.137 2025-10-31 02:33:16,539 - INFO - Validated that VN ctest-vn-25109708 is not in any agent 2025-10-31 02:33:16,554 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25109708 info 2025-10-31 02:33:16,807 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 02:33:16,807 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-31 02:33:16,807 - INFO - -------------------------------------------------------------------------------- 2025-10-31 02:33:17,497 - INFO - Deleted project: ctest-TestBasicPolicy-92679836, ID : 8fb923e7-11ef-48da-98fa-7dd15d8da155