2025-02-13 02:32:46,890 - INFO - Domain Default found not creating 2025-02-13 02:32:47,060 - INFO - Project ctest-TestBasicPolicy-13574937 not found, creating it 2025-02-13 02:32:47,550 - INFO - Created Project:ctest-TestBasicPolicy-13574937, ID : 4a797238-2bbc-4c41-9fa3-30139c82b3bc 2025-02-13 02:32:49,035 - INFO - ================================================================================ 2025-02-13 02:32:49,036 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-13 02:32:49,036 - 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-13 02:32:49,296 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.0.0.45': '0'}} with 2025-02-13 02:32:49,296 - INFO - Initial checks done. Running the testcase now 2025-02-13 02:32:49,296 - INFO - 2025-02-13 02:32:49,863 - DEBUG - Response for create_network : {'network': {'id': '05cbf5f7-a62b-4b95-a5ba-8e46bced6724', 'name': 'ctest-vn-57907201', 'tenant_id': '4a7972382bbc4c419fa330139c82b3bc', 'project_id': '4a7972382bbc4c419fa330139c82b3bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13574937', 'ctest-vn-57907201'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:32:50,039 - DEBUG - Response for create_subnet : {'subnet': {'id': '97acb208-5780-4045-b0f5-9b6eb117325a', 'name': '', 'tenant_id': '4a7972382bbc4c419fa330139c82b3bc', 'network_id': '05cbf5f7-a62b-4b95-a5ba-8e46bced6724', 'ip_version': 4, 'cidr': '72.84.88.128/26', 'allocation_pools': [{'start': '72.84.88.130', 'end': '72.84.88.190'}], 'gateway_ip': '72.84.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.84.88.130', 'tags': [], 'project_id': '4a7972382bbc4c419fa330139c82b3bc'}} 2025-02-13 02:32:50,057 - INFO - Created VN ctest-vn-57907201 2025-02-13 02:32:50,112 - DEBUG - VN ctest-vn-57907201 UUID is 05cbf5f7-a62b-4b95-a5ba-8e46bced6724 2025-02-13 02:32:50,423 - DEBUG - Response for create_network : {'network': {'id': '4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22', 'name': 'ctest-vn-42040571', 'tenant_id': '4a7972382bbc4c419fa330139c82b3bc', 'project_id': '4a7972382bbc4c419fa330139c82b3bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13574937', 'ctest-vn-42040571'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:32:50,607 - DEBUG - Response for create_subnet : {'subnet': {'id': '9eb9042f-85d7-4aef-8fb8-f13dddf2c1af', 'name': '', 'tenant_id': '4a7972382bbc4c419fa330139c82b3bc', 'network_id': '4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22', 'ip_version': 4, 'cidr': '90.52.237.64/26', 'allocation_pools': [{'start': '90.52.237.66', 'end': '90.52.237.126'}], 'gateway_ip': '90.52.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.52.237.66', 'tags': [], 'project_id': '4a7972382bbc4c419fa330139c82b3bc'}} 2025-02-13 02:32:50,625 - INFO - Created VN ctest-vn-42040571 2025-02-13 02:32:50,681 - DEBUG - VN ctest-vn-42040571 UUID is 4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22 2025-02-13 02:32:50,796 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-57907201, 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-13574937:ctest-vn-42040571, 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-13 02:32:51,102 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '05cbf5f7-a62b-4b95-a5ba-8e46bced6724', 'name': 'ctest-vn-57907201', 'tenant_id': '4a7972382bbc4c419fa330139c82b3bc', 'project_id': '4a7972382bbc4c419fa330139c82b3bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97acb208-5780-4045-b0f5-9b6eb117325a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13574937', 'ctest-vn-57907201'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13574937', 'ctest-policy-allow-all-39088990']], 'subnet_ipam': [{'subnet_cidr': '72.84.88.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:32:51,374 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22', 'name': 'ctest-vn-42040571', 'tenant_id': '4a7972382bbc4c419fa330139c82b3bc', 'project_id': '4a7972382bbc4c419fa330139c82b3bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9eb9042f-85d7-4aef-8fb8-f13dddf2c1af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13574937', 'ctest-vn-42040571'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13574937', 'ctest-policy-allow-all-39088990']], 'subnet_ipam': [{'subnet_cidr': '90.52.237.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:32:51,528 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-13 02:32:51,824 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-13 02:32:51,859 - DEBUG - Requesting: http://10.0.0.45:8082/domain/899d9b86-abcd-41ff-971c-2f46586d971a 2025-02-13 02:32:51,873 - DEBUG - Requesting: http://10.0.0.45:8082/project/4a797238-2bbc-4c41-9fa3-30139c82b3bc 2025-02-13 02:32:51,959 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/05cbf5f7-a62b-4b95-a5ba-8e46bced6724 2025-02-13 02:32:51,971 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/05cbf5f7-a62b-4b95-a5ba-8e46bced6724 2025-02-13 02:32:51,982 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f2c2678c-1969-4b48-be61-b55dc46ca348 2025-02-13 02:32:51,991 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f2c2678c-1969-4b48-be61-b55dc46ca348 2025-02-13 02:32:51,999 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/2df39b97-95ff-4d73-8fc4-d3c4c5f3e147 2025-02-13 02:32:52,006 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-13 02:32:52,006 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/05cbf5f7-a62b-4b95-a5ba-8e46bced6724 2025-02-13 02:32:52,016 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f2c2678c-1969-4b48-be61-b55dc46ca348 2025-02-13 02:32:52,031 - INFO - Verified VN network id 7 for VN 05cbf5f7-a62b-4b95-a5ba-8e46bced6724 2025-02-13 02:32:52,032 - INFO - Verifications in API Server for VN ctest-vn-57907201 passed 2025-02-13 02:32:52,032 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/05cbf5f7-a62b-4b95-a5ba-8e46bced6724 2025-02-13 02:32:52,044 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f2c2678c-1969-4b48-be61-b55dc46ca348 2025-02-13 02:32:52,050 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f2c2678c-1969-4b48-be61-b55dc46ca348 2025-02-13 02:32:52,057 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/2df39b97-95ff-4d73-8fc4-d3c4c5f3e147 2025-02-13 02:32:52,069 - DEBUG - Control-node 10.0.0.45 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-57907201', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13574937', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '417697834455485333', 'uuid-lslong': '11942013796394821412'}, 'enable': 'true', 'created': '2025-02-13T02:32:49', 'last-modified': '2025-02-13T02:32:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987336'} 2025-02-13 02:32:52,076 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-13 02:32:52,076 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57907201 passed 2025-02-13 02:32:52,076 - DEBUG - ====Verifying policy data for ctest-vn-57907201 in API_Server ====== 2025-02-13 02:32:52,076 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-13 02:32:52,082 - DEBUG - Requesting: http://10.0.0.45:8082/domain/899d9b86-abcd-41ff-971c-2f46586d971a 2025-02-13 02:32:52,095 - DEBUG - Requesting: http://10.0.0.45:8082/project/4a797238-2bbc-4c41-9fa3-30139c82b3bc 2025-02-13 02:32:52,166 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/05cbf5f7-a62b-4b95-a5ba-8e46bced6724 2025-02-13 02:32:52,176 - DEBUG - ==>Verifying data for policy with id: 7b4bf2c0-8f9d-47f6-8ac1-f58cc313beaf, fqn: ['default-domain', 'ctest-TestBasicPolicy-13574937', 'ctest-policy-allow-all-39088990'] 2025-02-13 02:32:52,176 - INFO - VN ctest-vn-57907201 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 02:32:52,176 - DEBUG - Verifying the vn in opserver 2025-02-13 02:32:52,177 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-57907201 virtual network link through opserver 10.0.0.45 2025-02-13 02:32:52,177 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2025-02-13 02:32:52,468 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2025-02-13 02:32:52,521 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-57907201', 'href': 'http://10.0.0.45:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-57907201?flat'} 2025-02-13 02:32:52,521 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-57907201 is found in opserver 2025-02-13 02:32:52,533 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 02:32:52,538 - DEBUG - VRF ids for VN ctest-vn-57907201: {} 2025-02-13 02:32:52,538 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-13 02:32:52,545 - DEBUG - Requesting: http://10.0.0.45:8082/domain/899d9b86-abcd-41ff-971c-2f46586d971a 2025-02-13 02:32:52,556 - DEBUG - Requesting: http://10.0.0.45:8082/project/4a797238-2bbc-4c41-9fa3-30139c82b3bc 2025-02-13 02:32:52,626 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22 2025-02-13 02:32:52,640 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22 2025-02-13 02:32:52,651 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/cd1cfcac-8532-42da-aa52-c29191c6b800 2025-02-13 02:32:52,659 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/cd1cfcac-8532-42da-aa52-c29191c6b800 2025-02-13 02:32:52,667 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/ee9865f2-a3ba-41bf-abbd-a941ce532f64 2025-02-13 02:32:52,674 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 02:32:52,674 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22 2025-02-13 02:32:52,684 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/cd1cfcac-8532-42da-aa52-c29191c6b800 2025-02-13 02:32:52,699 - INFO - Verified VN network id 8 for VN 4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22 2025-02-13 02:32:52,699 - INFO - Verifications in API Server for VN ctest-vn-42040571 passed 2025-02-13 02:32:52,699 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22 2025-02-13 02:32:52,710 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/cd1cfcac-8532-42da-aa52-c29191c6b800 2025-02-13 02:32:52,717 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/cd1cfcac-8532-42da-aa52-c29191c6b800 2025-02-13 02:32:52,724 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/ee9865f2-a3ba-41bf-abbd-a941ce532f64 2025-02-13 02:32:52,739 - DEBUG - Control-node 10.0.0.45 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-42040571', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13574937', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5755511692045140450', 'uuid-lslong': '11427443857412693794'}, 'enable': 'true', 'created': '2025-02-13T02:32:50', 'last-modified': '2025-02-13T02:32:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.426364'} 2025-02-13 02:32:52,745 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 02:32:52,745 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42040571 passed 2025-02-13 02:32:52,746 - DEBUG - ====Verifying policy data for ctest-vn-42040571 in API_Server ====== 2025-02-13 02:32:52,746 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-13 02:32:52,752 - DEBUG - Requesting: http://10.0.0.45:8082/domain/899d9b86-abcd-41ff-971c-2f46586d971a 2025-02-13 02:32:52,762 - DEBUG - Requesting: http://10.0.0.45:8082/project/4a797238-2bbc-4c41-9fa3-30139c82b3bc 2025-02-13 02:32:52,837 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22 2025-02-13 02:32:52,848 - DEBUG - ==>Verifying data for policy with id: 7b4bf2c0-8f9d-47f6-8ac1-f58cc313beaf, fqn: ['default-domain', 'ctest-TestBasicPolicy-13574937', 'ctest-policy-allow-all-39088990'] 2025-02-13 02:32:52,848 - INFO - VN ctest-vn-42040571 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 02:32:52,849 - DEBUG - Verifying the vn in opserver 2025-02-13 02:32:52,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-42040571 virtual network link through opserver 10.0.0.45 2025-02-13 02:32:52,849 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2025-02-13 02:32:52,861 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-42040571', 'href': 'http://10.0.0.45:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-42040571?flat'} 2025-02-13 02:32:52,861 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-42040571 is found in opserver 2025-02-13 02:32:52,872 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 02:32:52,879 - DEBUG - VRF ids for VN ctest-vn-42040571: {} 2025-02-13 02:32:52,954 - DEBUG - Services list from nova: [, , ] 2025-02-13 02:32:54,014 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2729-1) 2025-02-13 02:32:55,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2729-1) 2025-02-13 02:32:55,278 - INFO - Waiting for VM ctest-TestBasicPolicy-13574937-57720344 to be up.. 2025-02-13 02:32:55,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 02:33:00,444 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:33:00,444 - INFO - VM name : ctest-TestBasicPolicy-13574937-57720344 2025-02-13 02:33:00,552 - DEBUG - VM ctest-TestBasicPolicy-13574937-57720344 ID is f99da3ea-2661-4ff1-a4b2-45a3d63e597f 2025-02-13 02:33:00,576 - DEBUG - VM ctest-TestBasicPolicy-13574937-57720344 launched on Node cn-jenkins-deploy-platform-ansible-os-2729-1. 2025-02-13 02:33:00,665 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/f99da3ea-2661-4ff1-a4b2-45a3d63e597f 2025-02-13 02:33:00,674 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/d9cb4298-2008-4339-8494-298bbd1dceea 2025-02-13 02:33:03,943 - 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 1026ms') 2025-02-13 02:33:03,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13574937-57720344 failed! 2025-02-13 02:33:03,996 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13574937:ctest-vn-57907201 is 72.84.88.129 and allocation pool is NOT set 2025-02-13 02:33:06,054 - 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=12.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.606 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.606/6.722/12.839/6.116 ms') 2025-02-13 02:33:06,054 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13574937-57720344 passed 2025-02-13 02:33:06,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:33:06,205 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13574937-57720344, IP 72.84.88.131, Port 22 2025-02-13 02:33:06,371 - DEBUG - VM ctest-TestBasicPolicy-13574937-57720344 is ready for SSH connections 2025-02-13 02:33:06,371 - INFO - Waiting for VM ctest-TestBasicPolicy-13574937-78594963 to be up.. 2025-02-13 02:33:06,466 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:33:06,466 - INFO - VM name : ctest-TestBasicPolicy-13574937-78594963 2025-02-13 02:33:06,555 - DEBUG - VM ctest-TestBasicPolicy-13574937-78594963 ID is 7e917aaf-74f0-40d2-bf86-e494bf8171a0 2025-02-13 02:33:06,555 - DEBUG - VM ctest-TestBasicPolicy-13574937-78594963 launched on Node cn-jenkins-deploy-platform-ansible-os-2729-1. 2025-02-13 02:33:06,651 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/7e917aaf-74f0-40d2-bf86-e494bf8171a0 2025-02-13 02:33:06,662 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/09a0c2a7-8b4d-4814-86a2-267ea68304f6 2025-02-13 02:33:07,911 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 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.553/1.736/2.919/1.183 ms') 2025-02-13 02:33:07,911 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13574937-78594963 passed 2025-02-13 02:33:08,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:33:08,065 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13574937-78594963, IP 90.52.237.67, Port 22 2025-02-13 02:33:08,220 - DEBUG - VM ctest-TestBasicPolicy-13574937-78594963 is ready for SSH connections 2025-02-13 02:33:08,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:33:08,220 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.52.237.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-02-13 02:33:08,220 - DEBUG - ping -s 56 -c 3 -W 1 90.52.237.67 2025-02-13 02:33:11,910 - DEBUG - PING 90.52.237.67 (90.52.237.67): 56 data bytes 64 bytes from 90.52.237.67: seq=0 ttl=63 time=3.456 ms 64 bytes from 90.52.237.67: seq=1 ttl=63 time=0.858 ms 64 bytes from 90.52.237.67: seq=2 ttl=63 time=0.983 ms --- 90.52.237.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/1.765/3.456 ms 2025-02-13 02:33:11,910 - INFO - Ping to IP 90.52.237.67 from VM ctest-TestBasicPolicy-13574937-57720344 passed 2025-02-13 02:33:12,096 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7b4bf2c0-8f9d-47f6-8ac1-f58cc313beaf", "href": "http://10.0.0.45:8082/network-policy/7b4bf2c0-8f9d-47f6-8ac1-f58cc313beaf"}} 2025-02-13 02:33:12,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:33:12,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.52.237.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-02-13 02:33:12,096 - DEBUG - ping -s 56 -c 3 -W 1 90.52.237.67 2025-02-13 02:33:15,300 - DEBUG - PING 90.52.237.67 (90.52.237.67): 56 data bytes 64 bytes from 90.52.237.67: seq=0 ttl=63 time=1.306 ms --- 90.52.237.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.306/1.306/1.306 ms 2025-02-13 02:33:15,300 - WARNING - Ping to IP 90.52.237.67 from VM ctest-TestBasicPolicy-13574937-57720344 failed 2025-02-13 02:33:15,301 - INFO - Deleting VM ctest-TestBasicPolicy-13574937-78594963 2025-02-13 02:33:15,363 - INFO - Deleting VM ctest-TestBasicPolicy-13574937-57720344 2025-02-13 02:33:15,759 - INFO - Deleted policy ctest-policy-allow-all-39088990 2025-02-13 02:33:15,759 - INFO - Deleting VN ctest-vn-42040571 2025-02-13 02:33:15,794 - DEBUG - VN 4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22 still in use: Unable to complete operation on network 4fdfaf63-d0f5-41e2-9e96-6fa4a3cd9f22. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa12f168-e60a-426f-8b30-a6dc61c547f0'] 2025-02-13 02:33:15,794 - WARNING - Deleting VN ctest-vn-42040571 failed..Will retry 2025-02-13 02:33:17,901 - DEBUG - Response for deleting network () 2025-02-13 02:33:17,901 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/cd1cfcac-8532-42da-aa52-c29191c6b800 2025-02-13 02:33:17,907 - DEBUG - Response Code: 404 2025-02-13 02:33:17,907 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-13 02:33:17,912 - DEBUG - Requesting: http://10.0.0.45:8082/domain/899d9b86-abcd-41ff-971c-2f46586d971a 2025-02-13 02:33:17,970 - DEBUG - Requesting: http://10.0.0.45:8082/project/4a797238-2bbc-4c41-9fa3-30139c82b3bc 2025-02-13 02:33:18,045 - INFO - Validated that VN ctest-vn-42040571 is not found in API Server 2025-02-13 02:33:18,056 - DEBUG - VN ctest-vn-42040571 is not present in Agent 10.0.0.45 2025-02-13 02:33:18,056 - INFO - Validated that VN ctest-vn-42040571 is not in any agent 2025-02-13 02:33:18,070 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42040571 info 2025-02-13 02:33:18,070 - INFO - Deleting VN ctest-vn-57907201 2025-02-13 02:33:18,181 - DEBUG - Response for deleting network () 2025-02-13 02:33:18,181 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f2c2678c-1969-4b48-be61-b55dc46ca348 2025-02-13 02:33:18,186 - DEBUG - Response Code: 404 2025-02-13 02:33:18,186 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2025-02-13 02:33:18,194 - DEBUG - Requesting: http://10.0.0.45:8082/domain/899d9b86-abcd-41ff-971c-2f46586d971a 2025-02-13 02:33:18,250 - DEBUG - Requesting: http://10.0.0.45:8082/project/4a797238-2bbc-4c41-9fa3-30139c82b3bc 2025-02-13 02:33:18,325 - INFO - Validated that VN ctest-vn-57907201 is not found in API Server 2025-02-13 02:33:18,337 - DEBUG - VN ctest-vn-57907201 is not present in Agent 10.0.0.45 2025-02-13 02:33:18,337 - INFO - Validated that VN ctest-vn-57907201 is not in any agent 2025-02-13 02:33:18,356 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57907201 info 2025-02-13 02:33:18,614 - DEBUG - No XMPP flaps were noticed during the test 2025-02-13 02:33:18,614 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-02-13 02:33:18,614 - INFO - -------------------------------------------------------------------------------- 2025-02-13 02:33:19,290 - INFO - Deleted project: ctest-TestBasicPolicy-13574937, ID : 4a797238-2bbc-4c41-9fa3-30139c82b3bc