2025-10-13 10:36:47,347 - INFO - Domain Default found not creating 2025-10-13 10:36:47,486 - INFO - Project ctest-TestBasicPolicy-43639243 not found, creating it 2025-10-13 10:36:47,917 - INFO - Created Project:ctest-TestBasicPolicy-43639243, ID : deaa0e40-e5b3-4251-b4f2-7027d4476025 2025-10-13 10:36:49,951 - INFO - ================================================================================ 2025-10-13 10:36:49,951 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-13 10:36:49,951 - 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-13 10:36:50,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with 2025-10-13 10:36:50,209 - INFO - Initial checks done. Running the testcase now 2025-10-13 10:36:50,209 - INFO - 2025-10-13 10:36:50,708 - DEBUG - Response for create_network : {'network': {'id': '5ca77d31-7576-447d-b770-079403b0d642', 'name': 'ctest-vn-40975531', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'project_id': 'deaa0e40e5b34251b4f27027d4476025', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-vn-40975531'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 10:36:50,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c8652f4-db38-4df6-b14f-8c46de6f7de1', 'name': '', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'network_id': '5ca77d31-7576-447d-b770-079403b0d642', 'ip_version': 4, 'cidr': '56.213.93.0/26', 'allocation_pools': [{'start': '56.213.93.2', 'end': '56.213.93.62'}], 'gateway_ip': '56.213.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.213.93.2', 'tags': [], 'project_id': 'deaa0e40e5b34251b4f27027d4476025'}} 2025-10-13 10:36:50,890 - INFO - Created VN ctest-vn-40975531 2025-10-13 10:36:50,944 - DEBUG - VN ctest-vn-40975531 UUID is 5ca77d31-7576-447d-b770-079403b0d642 2025-10-13 10:36:51,266 - DEBUG - Response for create_network : {'network': {'id': '0f7c5eba-f6db-4b6f-ac5b-ab17f3370323', 'name': 'ctest-vn-57704430', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'project_id': 'deaa0e40e5b34251b4f27027d4476025', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-vn-57704430'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 10:36:51,415 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e334bd40-f230-4ee1-8dff-01ca97f3a155', 'name': '', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'network_id': '0f7c5eba-f6db-4b6f-ac5b-ab17f3370323', 'ip_version': 4, 'cidr': '43.144.142.128/26', 'allocation_pools': [{'start': '43.144.142.130', 'end': '43.144.142.190'}], 'gateway_ip': '43.144.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.144.142.130', 'tags': [], 'project_id': 'deaa0e40e5b34251b4f27027d4476025'}} 2025-10-13 10:36:51,431 - INFO - Created VN ctest-vn-57704430 2025-10-13 10:36:51,484 - DEBUG - VN ctest-vn-57704430 UUID is 0f7c5eba-f6db-4b6f-ac5b-ab17f3370323 2025-10-13 10:36:51,644 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531, 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-43639243:ctest-vn-57704430, 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-13 10:36:51,932 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ca77d31-7576-447d-b770-079403b0d642', 'name': 'ctest-vn-40975531', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'project_id': 'deaa0e40e5b34251b4f27027d4476025', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c8652f4-db38-4df6-b14f-8c46de6f7de1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-vn-40975531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-policy-allow-all-11726276']], 'subnet_ipam': [{'subnet_cidr': '56.213.93.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 10:36:52,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0f7c5eba-f6db-4b6f-ac5b-ab17f3370323', 'name': 'ctest-vn-57704430', 'tenant_id': 'deaa0e40e5b34251b4f27027d4476025', 'project_id': 'deaa0e40e5b34251b4f27027d4476025', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e334bd40-f230-4ee1-8dff-01ca97f3a155'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-vn-57704430'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-policy-allow-all-11726276']], 'subnet_ipam': [{'subnet_cidr': '43.144.142.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 10:36:52,308 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-13 10:36:52,618 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-13 10:36:52,649 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e53470ee-4feb-45b3-8b39-199457173631 2025-10-13 10:36:52,660 - DEBUG - Requesting: http://10.0.0.130:8082/project/deaa0e40-e5b3-4251-b4f2-7027d4476025 2025-10-13 10:36:52,731 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ca77d31-7576-447d-b770-079403b0d642 2025-10-13 10:36:52,742 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ca77d31-7576-447d-b770-079403b0d642 2025-10-13 10:36:52,753 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0 2025-10-13 10:36:52,763 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0 2025-10-13 10:36:52,772 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/1bc9e6f8-fb29-4261-828a-8729bcebce50 2025-10-13 10:36:52,779 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 10:36:52,779 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ca77d31-7576-447d-b770-079403b0d642 2025-10-13 10:36:52,792 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0 2025-10-13 10:36:52,806 - INFO - Verified VN network id 11 for VN 5ca77d31-7576-447d-b770-079403b0d642 2025-10-13 10:36:52,806 - INFO - Verifications in API Server for VN ctest-vn-40975531 passed 2025-10-13 10:36:52,806 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ca77d31-7576-447d-b770-079403b0d642 2025-10-13 10:36:52,816 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0 2025-10-13 10:36:52,823 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0 2025-10-13 10:36:52,829 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/1bc9e6f8-fb29-4261-828a-8729bcebce50 2025-10-13 10:36:52,840 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43639243', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6676442623977604221', 'uuid-lslong': '13218073238630880834'}, 'enable': 'true', 'created': '2025-10-13T10:36:50', 'last-modified': '2025-10-13T10:36:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931403'} 2025-10-13 10:36:52,847 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 10:36:52,847 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40975531 passed 2025-10-13 10:36:52,847 - DEBUG - ====Verifying policy data for ctest-vn-40975531 in API_Server ====== 2025-10-13 10:36:52,847 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-13 10:36:52,858 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e53470ee-4feb-45b3-8b39-199457173631 2025-10-13 10:36:52,869 - DEBUG - Requesting: http://10.0.0.130:8082/project/deaa0e40-e5b3-4251-b4f2-7027d4476025 2025-10-13 10:36:52,941 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ca77d31-7576-447d-b770-079403b0d642 2025-10-13 10:36:52,949 - DEBUG - ==>Verifying data for policy with id: 15344145-c5bc-453c-8f71-01586eaa260f, fqn: ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-policy-allow-all-11726276'] 2025-10-13 10:36:52,949 - INFO - VN ctest-vn-40975531 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 10:36:52,949 - DEBUG - Verifying the vn in opserver 2025-10-13 10:36:52,949 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531 virtual network link through opserver 10.0.0.130 2025-10-13 10:36:52,949 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-13 10:36:53,240 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-13 10:36:53,291 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531?flat'} 2025-10-13 10:36:53,292 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531 is found in opserver 2025-10-13 10:36:53,303 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 10:36:53,308 - DEBUG - VRF ids for VN ctest-vn-40975531: {} 2025-10-13 10:36:53,308 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-13 10:36:53,314 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e53470ee-4feb-45b3-8b39-199457173631 2025-10-13 10:36:53,325 - DEBUG - Requesting: http://10.0.0.130:8082/project/deaa0e40-e5b3-4251-b4f2-7027d4476025 2025-10-13 10:36:53,402 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0f7c5eba-f6db-4b6f-ac5b-ab17f3370323 2025-10-13 10:36:53,418 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0f7c5eba-f6db-4b6f-ac5b-ab17f3370323 2025-10-13 10:36:53,429 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1 2025-10-13 10:36:53,437 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1 2025-10-13 10:36:53,443 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/e1fdfb0c-84ab-43fe-bbb5-0d489c0b53ac 2025-10-13 10:36:53,450 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 10:36:53,450 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0f7c5eba-f6db-4b6f-ac5b-ab17f3370323 2025-10-13 10:36:53,458 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1 2025-10-13 10:36:53,471 - INFO - Verified VN network id 12 for VN 0f7c5eba-f6db-4b6f-ac5b-ab17f3370323 2025-10-13 10:36:53,471 - INFO - Verifications in API Server for VN ctest-vn-57704430 passed 2025-10-13 10:36:53,471 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0f7c5eba-f6db-4b6f-ac5b-ab17f3370323 2025-10-13 10:36:53,479 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1 2025-10-13 10:36:53,485 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1 2025-10-13 10:36:53,490 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/e1fdfb0c-84ab-43fe-bbb5-0d489c0b53ac 2025-10-13 10:36:53,501 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-57704430', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43639243', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1115870964779535215', 'uuid-lslong': '12419708516757340963'}, 'enable': 'true', 'created': '2025-10-13T10:36:51', 'last-modified': '2025-10-13T10:36:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.362122'} 2025-10-13 10:36:53,506 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 10:36:53,506 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57704430 passed 2025-10-13 10:36:53,506 - DEBUG - ====Verifying policy data for ctest-vn-57704430 in API_Server ====== 2025-10-13 10:36:53,506 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-13 10:36:53,511 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e53470ee-4feb-45b3-8b39-199457173631 2025-10-13 10:36:53,521 - DEBUG - Requesting: http://10.0.0.130:8082/project/deaa0e40-e5b3-4251-b4f2-7027d4476025 2025-10-13 10:36:53,589 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0f7c5eba-f6db-4b6f-ac5b-ab17f3370323 2025-10-13 10:36:53,597 - DEBUG - ==>Verifying data for policy with id: 15344145-c5bc-453c-8f71-01586eaa260f, fqn: ['default-domain', 'ctest-TestBasicPolicy-43639243', 'ctest-policy-allow-all-11726276'] 2025-10-13 10:36:53,598 - INFO - VN ctest-vn-57704430 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 10:36:53,598 - DEBUG - Verifying the vn in opserver 2025-10-13 10:36:53,598 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-57704430 virtual network link through opserver 10.0.0.130 2025-10-13 10:36:53,598 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-13 10:36:53,607 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-57704430', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-57704430?flat'} 2025-10-13 10:36:53,607 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-57704430 is found in opserver 2025-10-13 10:36:53,618 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 10:36:53,623 - DEBUG - VRF ids for VN ctest-vn-57704430: {} 2025-10-13 10:36:53,682 - DEBUG - Services list from nova: [, , ] 2025-10-13 10:36:54,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4298-1) 2025-10-13 10:36:55,866 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4298-1) 2025-10-13 10:36:55,866 - INFO - Waiting for VM ctest-TestBasicPolicy-43639243-74304102 to be up.. 2025-10-13 10:36:55,945 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 10:37:01,023 - DEBUG - VM is in ACTIVE state now 2025-10-13 10:37:01,023 - INFO - VM name : ctest-TestBasicPolicy-43639243-74304102 2025-10-13 10:37:01,099 - DEBUG - VM ctest-TestBasicPolicy-43639243-74304102 ID is c2267b5e-5088-4977-8856-335a57a0d8f2 2025-10-13 10:37:01,119 - DEBUG - VM ctest-TestBasicPolicy-43639243-74304102 launched on Node cn-jenkins-deploy-platform-ansible-os-4298-1 2025-10-13 10:37:01,195 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c2267b5e-5088-4977-8856-335a57a0d8f2 2025-10-13 10:37:01,203 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/e6186991-8873-4cdb-84c2-48ce6295708a 2025-10-13 10:37:04,447 - 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 1013ms') 2025-10-13 10:37:04,447 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43639243-74304102 failed! 2025-10-13 10:37:04,500 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43639243:ctest-vn-40975531 is 56.213.93.1 and allocation pool is NOT set 2025-10-13 10:37:06,564 - 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=7.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.255 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.255/4.099/7.944/3.844 ms') 2025-10-13 10:37:06,564 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43639243-74304102 passed 2025-10-13 10:37:06,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:37:06,712 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43639243-74304102, IP 56.213.93.3, Port 22 2025-10-13 10:37:06,878 - DEBUG - VM ctest-TestBasicPolicy-43639243-74304102 is ready for SSH connections 2025-10-13 10:37:06,878 - INFO - Waiting for VM ctest-TestBasicPolicy-43639243-95836304 to be up.. 2025-10-13 10:37:06,951 - DEBUG - VM is in ACTIVE state now 2025-10-13 10:37:06,952 - INFO - VM name : ctest-TestBasicPolicy-43639243-95836304 2025-10-13 10:37:07,024 - DEBUG - VM ctest-TestBasicPolicy-43639243-95836304 ID is 07a25891-d204-48f7-b9e9-b6f3465e7a8d 2025-10-13 10:37:07,025 - DEBUG - VM ctest-TestBasicPolicy-43639243-95836304 launched on Node cn-jenkins-deploy-platform-ansible-os-4298-1 2025-10-13 10:37:07,102 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/07a25891-d204-48f7-b9e9-b6f3465e7a8d 2025-10-13 10:37:07,109 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/981d89c8-0094-40a2-992c-28cd4d5d84f2 2025-10-13 10:37:08,344 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.01 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 = 2.005/3.164/4.324/1.159 ms') 2025-10-13 10:37:08,344 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43639243-95836304 passed 2025-10-13 10:37:08,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:37:08,492 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43639243-95836304, IP 43.144.142.131, Port 22 2025-10-13 10:37:08,647 - DEBUG - VM ctest-TestBasicPolicy-43639243-95836304 is ready for SSH connections 2025-10-13 10:37:08,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:37:08,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.144.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-13 10:37:08,647 - DEBUG - ping -s 56 -c 3 -W 1 43.144.142.131 2025-10-13 10:37:12,693 - DEBUG - PING 43.144.142.131 (43.144.142.131): 56 data bytes 64 bytes from 43.144.142.131: seq=0 ttl=63 time=3.287 ms 64 bytes from 43.144.142.131: seq=1 ttl=63 time=0.862 ms 64 bytes from 43.144.142.131: seq=2 ttl=63 time=0.749 ms --- 43.144.142.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.632/3.287 ms 2025-10-13 10:37:12,693 - INFO - Ping to IP 43.144.142.131 from VM ctest-TestBasicPolicy-43639243-74304102 passed 2025-10-13 10:37:12,864 - DEBUG - Policy Update Response {"network-policy": {"uuid": "15344145-c5bc-453c-8f71-01586eaa260f", "href": "http://10.0.0.130:8082/network-policy/15344145-c5bc-453c-8f71-01586eaa260f"}} 2025-10-13 10:37:12,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:37:12,864 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.144.142.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-13 10:37:12,864 - DEBUG - ping -s 56 -c 3 -W 1 43.144.142.131 2025-10-13 10:37:16,087 - DEBUG - PING 43.144.142.131 (43.144.142.131): 56 data bytes --- 43.144.142.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 10:37:16,087 - WARNING - Ping to IP 43.144.142.131 from VM ctest-TestBasicPolicy-43639243-74304102 failed 2025-10-13 10:37:16,087 - INFO - Deleting VM ctest-TestBasicPolicy-43639243-95836304 2025-10-13 10:37:16,163 - INFO - Deleting VM ctest-TestBasicPolicy-43639243-74304102 2025-10-13 10:37:16,508 - INFO - Deleted policy ctest-policy-allow-all-11726276 2025-10-13 10:37:16,508 - INFO - Deleting VN ctest-vn-57704430 2025-10-13 10:37:16,553 - DEBUG - VN 0f7c5eba-f6db-4b6f-ac5b-ab17f3370323 still in use: Unable to complete operation on network 0f7c5eba-f6db-4b6f-ac5b-ab17f3370323. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b126790-edd4-4c27-8e43-d7cd7f864c84'] 2025-10-13 10:37:16,553 - WARNING - Deleting VN ctest-vn-57704430 failed..Will retry 2025-10-13 10:37:18,647 - DEBUG - Response for deleting network () 2025-10-13 10:37:18,647 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/7b3ffb03-b8df-49fd-ab60-67e7780b38a1 2025-10-13 10:37:18,652 - DEBUG - Response Code: 404 2025-10-13 10:37:18,652 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-13 10:37:18,659 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e53470ee-4feb-45b3-8b39-199457173631 2025-10-13 10:37:18,713 - DEBUG - Requesting: http://10.0.0.130:8082/project/deaa0e40-e5b3-4251-b4f2-7027d4476025 2025-10-13 10:37:18,779 - INFO - Validated that VN ctest-vn-57704430 is not found in API Server 2025-10-13 10:37:18,788 - DEBUG - VN ctest-vn-57704430 is not present in Agent 10.0.0.130 2025-10-13 10:37:18,788 - INFO - Validated that VN ctest-vn-57704430 is not in any agent 2025-10-13 10:37:18,800 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57704430 info 2025-10-13 10:37:18,800 - INFO - Deleting VN ctest-vn-40975531 2025-10-13 10:37:18,900 - DEBUG - Response for deleting network () 2025-10-13 10:37:18,900 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/92049e18-e6a1-478b-8e41-55208b12e8f0 2025-10-13 10:37:18,906 - DEBUG - Response Code: 404 2025-10-13 10:37:18,906 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-13 10:37:18,911 - DEBUG - Requesting: http://10.0.0.130:8082/domain/e53470ee-4feb-45b3-8b39-199457173631 2025-10-13 10:37:18,965 - DEBUG - Requesting: http://10.0.0.130:8082/project/deaa0e40-e5b3-4251-b4f2-7027d4476025 2025-10-13 10:37:19,040 - INFO - Validated that VN ctest-vn-40975531 is not found in API Server 2025-10-13 10:37:19,049 - DEBUG - VN ctest-vn-40975531 is not present in Agent 10.0.0.130 2025-10-13 10:37:19,049 - INFO - Validated that VN ctest-vn-40975531 is not in any agent 2025-10-13 10:37:19,061 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40975531 info 2025-10-13 10:37:19,316 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 10:37:19,316 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-13 10:37:19,316 - INFO - -------------------------------------------------------------------------------- 2025-10-13 10:37:19,968 - INFO - Deleted project: ctest-TestBasicPolicy-43639243, ID : deaa0e40-e5b3-4251-b4f2-7027d4476025