2025-02-05 15:45:32,333 - INFO - Domain Default found not creating 2025-02-05 15:45:32,509 - INFO - Project ctest-TestBasicPolicy-23554610 not found, creating it 2025-02-05 15:45:32,977 - INFO - Created Project:ctest-TestBasicPolicy-23554610, ID : cfa75337-ee95-49ac-a99f-d2333a29b9cb 2025-02-05 15:45:34,490 - INFO - ================================================================================ 2025-02-05 15:45:34,490 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-05 15:45:34,490 - 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-02-05 15:45:34,744 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-02-05 15:45:34,744 - INFO - Initial checks done. Running the testcase now 2025-02-05 15:45:34,744 - INFO - 2025-02-05 15:45:35,326 - DEBUG - Response for create_network : {'network': {'id': '1b180e78-05bc-4974-968e-ad2e52a885ff', 'name': 'ctest-vn-78331241', 'tenant_id': 'cfa75337ee9549aca99fd2333a29b9cb', 'project_id': 'cfa75337ee9549aca99fd2333a29b9cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23554610', 'ctest-vn-78331241'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 15:45:35,561 - DEBUG - Response for create_subnet : {'subnet': {'id': '56accbb8-caae-4602-8937-ffa8664b23c4', 'name': '', 'tenant_id': 'cfa75337ee9549aca99fd2333a29b9cb', 'network_id': '1b180e78-05bc-4974-968e-ad2e52a885ff', 'ip_version': 4, 'cidr': '177.195.13.192/26', 'allocation_pools': [{'start': '177.195.13.194', 'end': '177.195.13.254'}], 'gateway_ip': '177.195.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.195.13.194', 'tags': [], 'project_id': 'cfa75337ee9549aca99fd2333a29b9cb'}} 2025-02-05 15:45:35,580 - INFO - Created VN ctest-vn-78331241 2025-02-05 15:45:35,637 - DEBUG - VN ctest-vn-78331241 UUID is 1b180e78-05bc-4974-968e-ad2e52a885ff 2025-02-05 15:45:35,942 - DEBUG - Response for create_network : {'network': {'id': 'adc0e308-d9da-4cb4-a614-bff8f9f095b9', 'name': 'ctest-vn-88686954', 'tenant_id': 'cfa75337ee9549aca99fd2333a29b9cb', 'project_id': 'cfa75337ee9549aca99fd2333a29b9cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23554610', 'ctest-vn-88686954'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 15:45:36,150 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9ec8ff5-b991-4292-8fe5-3bc7ce9aa015', 'name': '', 'tenant_id': 'cfa75337ee9549aca99fd2333a29b9cb', 'network_id': 'adc0e308-d9da-4cb4-a614-bff8f9f095b9', 'ip_version': 4, 'cidr': '43.55.159.0/26', 'allocation_pools': [{'start': '43.55.159.2', 'end': '43.55.159.62'}], 'gateway_ip': '43.55.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.55.159.2', 'tags': [], 'project_id': 'cfa75337ee9549aca99fd2333a29b9cb'}} 2025-02-05 15:45:36,169 - INFO - Created VN ctest-vn-88686954 2025-02-05 15:45:36,221 - DEBUG - VN ctest-vn-88686954 UUID is adc0e308-d9da-4cb4-a614-bff8f9f095b9 2025-02-05 15:45:36,340 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-78331241, 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-23554610:ctest-vn-88686954, 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-02-05 15:45:36,673 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1b180e78-05bc-4974-968e-ad2e52a885ff', 'name': 'ctest-vn-78331241', 'tenant_id': 'cfa75337ee9549aca99fd2333a29b9cb', 'project_id': 'cfa75337ee9549aca99fd2333a29b9cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56accbb8-caae-4602-8937-ffa8664b23c4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23554610', 'ctest-vn-78331241'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23554610', 'ctest-policy-allow-all-13416016']], 'subnet_ipam': [{'subnet_cidr': '177.195.13.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-05 15:45:36,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'adc0e308-d9da-4cb4-a614-bff8f9f095b9', 'name': 'ctest-vn-88686954', 'tenant_id': 'cfa75337ee9549aca99fd2333a29b9cb', 'project_id': 'cfa75337ee9549aca99fd2333a29b9cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9ec8ff5-b991-4292-8fe5-3bc7ce9aa015'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23554610', 'ctest-vn-88686954'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23554610', 'ctest-policy-allow-all-13416016']], 'subnet_ipam': [{'subnet_cidr': '43.55.159.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-05 15:45:37,078 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 15:45:37,402 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 15:45:37,447 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c10826ae-6f15-4fbe-ba12-c723de102a6c 2025-02-05 15:45:37,463 - DEBUG - Requesting: http://10.0.0.27:8082/project/cfa75337-ee95-49ac-a99f-d2333a29b9cb 2025-02-05 15:45:37,544 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/1b180e78-05bc-4974-968e-ad2e52a885ff 2025-02-05 15:45:37,557 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/1b180e78-05bc-4974-968e-ad2e52a885ff 2025-02-05 15:45:37,569 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/93db7f33-0747-4220-929a-e81b1cf9ad4f 2025-02-05 15:45:37,579 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/93db7f33-0747-4220-929a-e81b1cf9ad4f 2025-02-05 15:45:37,589 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/34208479-851e-4fa1-82f9-b59e4a88a528 2025-02-05 15:45:37,598 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-05 15:45:37,598 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/1b180e78-05bc-4974-968e-ad2e52a885ff 2025-02-05 15:45:37,611 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/93db7f33-0747-4220-929a-e81b1cf9ad4f 2025-02-05 15:45:37,628 - INFO - Verified VN network id 8 for VN 1b180e78-05bc-4974-968e-ad2e52a885ff 2025-02-05 15:45:37,628 - INFO - Verifications in API Server for VN ctest-vn-78331241 passed 2025-02-05 15:45:37,628 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/1b180e78-05bc-4974-968e-ad2e52a885ff 2025-02-05 15:45:37,640 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/93db7f33-0747-4220-929a-e81b1cf9ad4f 2025-02-05 15:45:37,649 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/93db7f33-0747-4220-929a-e81b1cf9ad4f 2025-02-05 15:45:37,658 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/34208479-851e-4fa1-82f9-b59e4a88a528 2025-02-05 15:45:37,674 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-78331241', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23554610', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1952326347120200052', 'uuid-lslong': '10848798966848980479'}, 'enable': 'true', 'created': '2025-02-05T15:45:35', 'last-modified': '2025-02-05T15:45:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.034130'} 2025-02-05 15:45:37,684 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-05 15:45:37,684 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78331241 passed 2025-02-05 15:45:37,685 - DEBUG - ====Verifying policy data for ctest-vn-78331241 in API_Server ====== 2025-02-05 15:45:37,685 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 15:45:37,694 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c10826ae-6f15-4fbe-ba12-c723de102a6c 2025-02-05 15:45:37,711 - DEBUG - Requesting: http://10.0.0.27:8082/project/cfa75337-ee95-49ac-a99f-d2333a29b9cb 2025-02-05 15:45:37,785 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/1b180e78-05bc-4974-968e-ad2e52a885ff 2025-02-05 15:45:37,797 - DEBUG - ==>Verifying data for policy with id: 880d8c8a-6a4e-493d-89fe-86b07696188f, fqn: ['default-domain', 'ctest-TestBasicPolicy-23554610', 'ctest-policy-allow-all-13416016'] 2025-02-05 15:45:37,797 - INFO - VN ctest-vn-78331241 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-05 15:45:37,797 - DEBUG - Verifying the vn in opserver 2025-02-05 15:45:37,797 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-78331241 virtual network link through opserver 10.0.0.27 2025-02-05 15:45:37,797 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-05 15:45:38,090 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-05 15:45:38,152 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-78331241', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-78331241?flat'} 2025-02-05 15:45:38,152 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-78331241 is found in opserver 2025-02-05 15:45:38,167 - DEBUG - Do not have enough data to verify VN in agent 2025-02-05 15:45:38,174 - DEBUG - VRF ids for VN ctest-vn-78331241: {} 2025-02-05 15:45:38,174 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 15:45:38,180 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c10826ae-6f15-4fbe-ba12-c723de102a6c 2025-02-05 15:45:38,194 - DEBUG - Requesting: http://10.0.0.27:8082/project/cfa75337-ee95-49ac-a99f-d2333a29b9cb 2025-02-05 15:45:38,263 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/adc0e308-d9da-4cb4-a614-bff8f9f095b9 2025-02-05 15:45:38,275 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/adc0e308-d9da-4cb4-a614-bff8f9f095b9 2025-02-05 15:45:38,288 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/398dcd8f-27b8-43c3-a846-c2664e1d385e 2025-02-05 15:45:38,299 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/398dcd8f-27b8-43c3-a846-c2664e1d385e 2025-02-05 15:45:38,308 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/7ddf3a2d-8717-48c1-9d2f-9a24ea75622c 2025-02-05 15:45:38,317 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-05 15:45:38,317 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/adc0e308-d9da-4cb4-a614-bff8f9f095b9 2025-02-05 15:45:38,329 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/398dcd8f-27b8-43c3-a846-c2664e1d385e 2025-02-05 15:45:38,347 - INFO - Verified VN network id 9 for VN adc0e308-d9da-4cb4-a614-bff8f9f095b9 2025-02-05 15:45:38,347 - INFO - Verifications in API Server for VN ctest-vn-88686954 passed 2025-02-05 15:45:38,347 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/adc0e308-d9da-4cb4-a614-bff8f9f095b9 2025-02-05 15:45:38,359 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/398dcd8f-27b8-43c3-a846-c2664e1d385e 2025-02-05 15:45:38,367 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/398dcd8f-27b8-43c3-a846-c2664e1d385e 2025-02-05 15:45:38,374 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/7ddf3a2d-8717-48c1-9d2f-9a24ea75622c 2025-02-05 15:45:38,389 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-88686954', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23554610', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12520256591244184756', 'uuid-lslong': '11967401185896338873'}, 'enable': 'true', 'created': '2025-02-05T15:45:35', 'last-modified': '2025-02-05T15:45:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.506105'} 2025-02-05 15:45:38,396 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-05 15:45:38,396 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88686954 passed 2025-02-05 15:45:38,396 - DEBUG - ====Verifying policy data for ctest-vn-88686954 in API_Server ====== 2025-02-05 15:45:38,396 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 15:45:38,403 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c10826ae-6f15-4fbe-ba12-c723de102a6c 2025-02-05 15:45:38,415 - DEBUG - Requesting: http://10.0.0.27:8082/project/cfa75337-ee95-49ac-a99f-d2333a29b9cb 2025-02-05 15:45:38,491 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/adc0e308-d9da-4cb4-a614-bff8f9f095b9 2025-02-05 15:45:38,503 - DEBUG - ==>Verifying data for policy with id: 880d8c8a-6a4e-493d-89fe-86b07696188f, fqn: ['default-domain', 'ctest-TestBasicPolicy-23554610', 'ctest-policy-allow-all-13416016'] 2025-02-05 15:45:38,503 - INFO - VN ctest-vn-88686954 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-05 15:45:38,503 - DEBUG - Verifying the vn in opserver 2025-02-05 15:45:38,503 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-88686954 virtual network link through opserver 10.0.0.27 2025-02-05 15:45:38,503 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-05 15:45:38,516 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-88686954', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-88686954?flat'} 2025-02-05 15:45:38,516 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-88686954 is found in opserver 2025-02-05 15:45:38,528 - DEBUG - Do not have enough data to verify VN in agent 2025-02-05 15:45:38,533 - DEBUG - VRF ids for VN ctest-vn-88686954: {} 2025-02-05 15:45:38,604 - DEBUG - Services list from nova: [, , ] 2025-02-05 15:45:39,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2693-1) 2025-02-05 15:45:40,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2693-1) 2025-02-05 15:45:40,869 - INFO - Waiting for VM ctest-TestBasicPolicy-23554610-98229457 to be up.. 2025-02-05 15:45:40,967 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-05 15:45:46,048 - DEBUG - VM is in ACTIVE state now 2025-02-05 15:45:46,048 - INFO - VM name : ctest-TestBasicPolicy-23554610-98229457 2025-02-05 15:45:46,128 - DEBUG - VM ctest-TestBasicPolicy-23554610-98229457 ID is caf94b3f-7c27-45b1-9637-58bb2300352c 2025-02-05 15:45:46,147 - DEBUG - VM ctest-TestBasicPolicy-23554610-98229457 launched on Node cn-jenkins-deploy-platform-ansible-os-2693-1 2025-02-05 15:45:46,226 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/caf94b3f-7c27-45b1-9637-58bb2300352c 2025-02-05 15:45:46,236 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e488be99-0d49-4766-a4c8-654b262d63eb 2025-02-05 15:45:49,511 - 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 1023ms') 2025-02-05 15:45:49,512 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23554610-98229457 failed! 2025-02-05 15:45:49,565 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23554610:ctest-vn-78331241 is 177.195.13.193 and allocation pool is NOT set 2025-02-05 15:45:51,631 - 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=5.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/3.180/5.908/2.727 ms') 2025-02-05 15:45:51,631 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23554610-98229457 passed 2025-02-05 15:45:51,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:45:51,782 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23554610-98229457, IP 177.195.13.195, Port 22 2025-02-05 15:45:51,937 - DEBUG - VM ctest-TestBasicPolicy-23554610-98229457 is ready for SSH connections 2025-02-05 15:45:51,938 - INFO - Waiting for VM ctest-TestBasicPolicy-23554610-66681635 to be up.. 2025-02-05 15:45:52,032 - DEBUG - VM is in ACTIVE state now 2025-02-05 15:45:52,032 - INFO - VM name : ctest-TestBasicPolicy-23554610-66681635 2025-02-05 15:45:52,107 - DEBUG - VM ctest-TestBasicPolicy-23554610-66681635 ID is 7ff989fe-ea49-4b9d-a17e-3e7ea1d29b53 2025-02-05 15:45:52,108 - DEBUG - VM ctest-TestBasicPolicy-23554610-66681635 launched on Node cn-jenkins-deploy-platform-ansible-os-2693-1 2025-02-05 15:45:52,195 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7ff989fe-ea49-4b9d-a17e-3e7ea1d29b53 2025-02-05 15:45:52,204 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/de8cd1a7-0700-4498-85e8-2dfeaa45adc7 2025-02-05 15:45:53,448 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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 = 1.115/2.783/4.451/1.668 ms') 2025-02-05 15:45:53,448 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23554610-66681635 passed 2025-02-05 15:45:53,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:45:53,602 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23554610-66681635, IP 43.55.159.3, Port 22 2025-02-05 15:45:53,757 - DEBUG - VM ctest-TestBasicPolicy-23554610-66681635 is ready for SSH connections 2025-02-05 15:45:53,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:45:53,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.55.159.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-05 15:45:53,758 - DEBUG - ping -s 56 -c 3 -W 1 43.55.159.3 2025-02-05 15:45:57,787 - DEBUG - PING 43.55.159.3 (43.55.159.3): 56 data bytes 64 bytes from 43.55.159.3: seq=0 ttl=63 time=4.081 ms 64 bytes from 43.55.159.3: seq=1 ttl=63 time=0.943 ms 64 bytes from 43.55.159.3: seq=2 ttl=63 time=0.965 ms --- 43.55.159.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.943/1.996/4.081 ms 2025-02-05 15:45:57,788 - INFO - Ping to IP 43.55.159.3 from VM ctest-TestBasicPolicy-23554610-98229457 passed 2025-02-05 15:45:57,973 - DEBUG - Policy Update Response {"network-policy": {"uuid": "880d8c8a-6a4e-493d-89fe-86b07696188f", "href": "http://10.0.0.27:8082/network-policy/880d8c8a-6a4e-493d-89fe-86b07696188f"}} 2025-02-05 15:45:57,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 15:45:57,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.55.159.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-05 15:45:57,974 - DEBUG - ping -s 56 -c 3 -W 1 43.55.159.3 2025-02-05 15:46:01,187 - DEBUG - PING 43.55.159.3 (43.55.159.3): 56 data bytes 64 bytes from 43.55.159.3: seq=0 ttl=63 time=1.769 ms --- 43.55.159.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.769/1.769/1.769 ms 2025-02-05 15:46:01,187 - WARNING - Ping to IP 43.55.159.3 from VM ctest-TestBasicPolicy-23554610-98229457 failed 2025-02-05 15:46:01,187 - INFO - Deleting VM ctest-TestBasicPolicy-23554610-66681635 2025-02-05 15:46:01,263 - INFO - Deleting VM ctest-TestBasicPolicy-23554610-98229457 2025-02-05 15:46:01,718 - INFO - Deleted policy ctest-policy-allow-all-13416016 2025-02-05 15:46:01,718 - INFO - Deleting VN ctest-vn-88686954 2025-02-05 15:46:01,779 - DEBUG - VN adc0e308-d9da-4cb4-a614-bff8f9f095b9 still in use: Unable to complete operation on network adc0e308-d9da-4cb4-a614-bff8f9f095b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b297bdc3-3414-41d1-b652-41606bdbbcd8'] 2025-02-05 15:46:01,779 - WARNING - Deleting VN ctest-vn-88686954 failed..Will retry 2025-02-05 15:46:03,909 - DEBUG - Response for deleting network () 2025-02-05 15:46:03,909 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/398dcd8f-27b8-43c3-a846-c2664e1d385e 2025-02-05 15:46:03,918 - DEBUG - Response Code: 404 2025-02-05 15:46:03,918 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 15:46:03,926 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c10826ae-6f15-4fbe-ba12-c723de102a6c 2025-02-05 15:46:03,988 - DEBUG - Requesting: http://10.0.0.27:8082/project/cfa75337-ee95-49ac-a99f-d2333a29b9cb 2025-02-05 15:46:04,065 - INFO - Validated that VN ctest-vn-88686954 is not found in API Server 2025-02-05 15:46:04,079 - DEBUG - VN ctest-vn-88686954 is not present in Agent 10.0.0.27 2025-02-05 15:46:04,079 - INFO - Validated that VN ctest-vn-88686954 is not in any agent 2025-02-05 15:46:04,098 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88686954 info 2025-02-05 15:46:04,098 - INFO - Deleting VN ctest-vn-78331241 2025-02-05 15:46:04,222 - DEBUG - Response for deleting network () 2025-02-05 15:46:04,222 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/93db7f33-0747-4220-929a-e81b1cf9ad4f 2025-02-05 15:46:04,231 - DEBUG - Response Code: 404 2025-02-05 15:46:04,231 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 15:46:04,238 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c10826ae-6f15-4fbe-ba12-c723de102a6c 2025-02-05 15:46:04,296 - DEBUG - Requesting: http://10.0.0.27:8082/project/cfa75337-ee95-49ac-a99f-d2333a29b9cb 2025-02-05 15:46:04,371 - INFO - Validated that VN ctest-vn-78331241 is not found in API Server 2025-02-05 15:46:04,384 - DEBUG - VN ctest-vn-78331241 is not present in Agent 10.0.0.27 2025-02-05 15:46:04,384 - INFO - Validated that VN ctest-vn-78331241 is not in any agent 2025-02-05 15:46:04,403 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78331241 info 2025-02-05 15:46:04,664 - DEBUG - No XMPP flaps were noticed during the test 2025-02-05 15:46:04,664 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-05 15:46:04,664 - INFO - -------------------------------------------------------------------------------- 2025-02-05 15:46:05,373 - INFO - Deleted project: ctest-TestBasicPolicy-23554610, ID : cfa75337-ee95-49ac-a99f-d2333a29b9cb