2025-05-13 09:54:34,103 - INFO - Domain Default found not creating 2025-05-13 09:54:34,230 - INFO - Project ctest-TestBasicPolicy-74517447 not found, creating it 2025-05-13 09:54:34,680 - INFO - Created Project:ctest-TestBasicPolicy-74517447, ID : 71968131-8778-4531-a7f8-c72e09dfe513 2025-05-13 09:54:36,109 - INFO - ================================================================================ 2025-05-13 09:54:36,109 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-13 09:54:36,109 - 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-05-13 09:54:36,363 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-05-13 09:54:36,363 - INFO - Initial checks done. Running the testcase now 2025-05-13 09:54:36,363 - INFO - 2025-05-13 09:54:36,897 - DEBUG - Response for create_network : {'network': {'id': '5cba7f18-acc2-4681-934f-ffc4793afb76', 'name': 'ctest-vn-21159636', 'tenant_id': '7196813187784531a7f8c72e09dfe513', 'project_id': '7196813187784531a7f8c72e09dfe513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74517447', 'ctest-vn-21159636'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 09:54:37,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ae16a86-af13-4116-a6a9-f845d88c5393', 'name': '', 'tenant_id': '7196813187784531a7f8c72e09dfe513', 'network_id': '5cba7f18-acc2-4681-934f-ffc4793afb76', 'ip_version': 4, 'cidr': '129.189.122.64/26', 'allocation_pools': [{'start': '129.189.122.66', 'end': '129.189.122.126'}], 'gateway_ip': '129.189.122.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.189.122.66', 'tags': [], 'project_id': '7196813187784531a7f8c72e09dfe513'}} 2025-05-13 09:54:37,125 - INFO - Created VN ctest-vn-21159636 2025-05-13 09:54:37,177 - DEBUG - VN ctest-vn-21159636 UUID is 5cba7f18-acc2-4681-934f-ffc4793afb76 2025-05-13 09:54:37,507 - DEBUG - Response for create_network : {'network': {'id': '5c38ada9-009e-4de4-8fb1-371b686d2458', 'name': 'ctest-vn-50426529', 'tenant_id': '7196813187784531a7f8c72e09dfe513', 'project_id': '7196813187784531a7f8c72e09dfe513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74517447', 'ctest-vn-50426529'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 09:54:37,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fa45b52-f4b8-42d3-aee4-e1e496492e82', 'name': '', 'tenant_id': '7196813187784531a7f8c72e09dfe513', 'network_id': '5c38ada9-009e-4de4-8fb1-371b686d2458', 'ip_version': 4, 'cidr': '46.193.62.0/26', 'allocation_pools': [{'start': '46.193.62.2', 'end': '46.193.62.62'}], 'gateway_ip': '46.193.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.193.62.2', 'tags': [], 'project_id': '7196813187784531a7f8c72e09dfe513'}} 2025-05-13 09:54:37,724 - INFO - Created VN ctest-vn-50426529 2025-05-13 09:54:37,777 - DEBUG - VN ctest-vn-50426529 UUID is 5c38ada9-009e-4de4-8fb1-371b686d2458 2025-05-13 09:54:37,889 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-21159636, 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-74517447:ctest-vn-50426529, 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-05-13 09:54:38,188 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5cba7f18-acc2-4681-934f-ffc4793afb76', 'name': 'ctest-vn-21159636', 'tenant_id': '7196813187784531a7f8c72e09dfe513', 'project_id': '7196813187784531a7f8c72e09dfe513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3ae16a86-af13-4116-a6a9-f845d88c5393'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74517447', 'ctest-vn-21159636'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74517447', 'ctest-policy-allow-all-08205370']], 'subnet_ipam': [{'subnet_cidr': '129.189.122.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-13 09:54:38,454 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5c38ada9-009e-4de4-8fb1-371b686d2458', 'name': 'ctest-vn-50426529', 'tenant_id': '7196813187784531a7f8c72e09dfe513', 'project_id': '7196813187784531a7f8c72e09dfe513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3fa45b52-f4b8-42d3-aee4-e1e496492e82'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74517447', 'ctest-vn-50426529'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74517447', 'ctest-policy-allow-all-08205370']], 'subnet_ipam': [{'subnet_cidr': '46.193.62.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-13 09:54:38,601 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-05-13 09:54:38,900 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-05-13 09:54:38,929 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b1e101a2-d00d-411f-870c-d36eb27e81ad 2025-05-13 09:54:38,945 - DEBUG - Requesting: http://10.0.0.249:8082/project/71968131-8778-4531-a7f8-c72e09dfe513 2025-05-13 09:54:39,016 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5cba7f18-acc2-4681-934f-ffc4793afb76 2025-05-13 09:54:39,030 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5cba7f18-acc2-4681-934f-ffc4793afb76 2025-05-13 09:54:39,047 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/00274c7a-f6fb-4f18-8ec7-91de85655f20 2025-05-13 09:54:39,055 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/00274c7a-f6fb-4f18-8ec7-91de85655f20 2025-05-13 09:54:39,063 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/55eddf11-fb5c-47e8-bce8-8c67ee84efd4 2025-05-13 09:54:39,069 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-13 09:54:39,070 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5cba7f18-acc2-4681-934f-ffc4793afb76 2025-05-13 09:54:39,079 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/00274c7a-f6fb-4f18-8ec7-91de85655f20 2025-05-13 09:54:39,092 - INFO - Verified VN network id 8 for VN 5cba7f18-acc2-4681-934f-ffc4793afb76 2025-05-13 09:54:39,093 - INFO - Verifications in API Server for VN ctest-vn-21159636 passed 2025-05-13 09:54:39,093 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5cba7f18-acc2-4681-934f-ffc4793afb76 2025-05-13 09:54:39,101 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/00274c7a-f6fb-4f18-8ec7-91de85655f20 2025-05-13 09:54:39,108 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/00274c7a-f6fb-4f18-8ec7-91de85655f20 2025-05-13 09:54:39,115 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/55eddf11-fb5c-47e8-bce8-8c67ee84efd4 2025-05-13 09:54:39,127 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-21159636', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74517447', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6681792741111907969', 'uuid-lslong': '10614984066048129910'}, 'enable': 'true', 'created': '2025-05-13T09:54:36', 'last-modified': '2025-05-13T09:54:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968785'} 2025-05-13 09:54:39,133 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-13 09:54:39,134 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21159636 passed 2025-05-13 09:54:39,134 - DEBUG - ====Verifying policy data for ctest-vn-21159636 in API_Server ====== 2025-05-13 09:54:39,134 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-05-13 09:54:39,139 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b1e101a2-d00d-411f-870c-d36eb27e81ad 2025-05-13 09:54:39,150 - DEBUG - Requesting: http://10.0.0.249:8082/project/71968131-8778-4531-a7f8-c72e09dfe513 2025-05-13 09:54:39,223 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5cba7f18-acc2-4681-934f-ffc4793afb76 2025-05-13 09:54:39,233 - DEBUG - ==>Verifying data for policy with id: 544ba55d-2982-4081-990b-ba8fc7ad057e, fqn: ['default-domain', 'ctest-TestBasicPolicy-74517447', 'ctest-policy-allow-all-08205370'] 2025-05-13 09:54:39,233 - INFO - VN ctest-vn-21159636 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-13 09:54:39,233 - DEBUG - Verifying the vn in opserver 2025-05-13 09:54:39,233 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-21159636 virtual network link through opserver 10.0.0.249 2025-05-13 09:54:39,233 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-05-13 09:54:39,522 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-05-13 09:54:39,574 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-21159636', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-21159636?flat'} 2025-05-13 09:54:39,574 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-21159636 is found in opserver 2025-05-13 09:54:39,584 - DEBUG - Do not have enough data to verify VN in agent 2025-05-13 09:54:39,590 - DEBUG - VRF ids for VN ctest-vn-21159636: {} 2025-05-13 09:54:39,590 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-05-13 09:54:39,596 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b1e101a2-d00d-411f-870c-d36eb27e81ad 2025-05-13 09:54:39,608 - DEBUG - Requesting: http://10.0.0.249:8082/project/71968131-8778-4531-a7f8-c72e09dfe513 2025-05-13 09:54:39,682 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5c38ada9-009e-4de4-8fb1-371b686d2458 2025-05-13 09:54:39,694 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5c38ada9-009e-4de4-8fb1-371b686d2458 2025-05-13 09:54:39,705 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/450504d4-fe74-4a6f-bd81-5bd213460d3c 2025-05-13 09:54:39,714 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/450504d4-fe74-4a6f-bd81-5bd213460d3c 2025-05-13 09:54:39,722 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/78f568a4-12f1-46b2-a439-718cfd091fdd 2025-05-13 09:54:39,730 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-13 09:54:39,730 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5c38ada9-009e-4de4-8fb1-371b686d2458 2025-05-13 09:54:39,742 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/450504d4-fe74-4a6f-bd81-5bd213460d3c 2025-05-13 09:54:39,756 - INFO - Verified VN network id 9 for VN 5c38ada9-009e-4de4-8fb1-371b686d2458 2025-05-13 09:54:39,756 - INFO - Verifications in API Server for VN ctest-vn-50426529 passed 2025-05-13 09:54:39,757 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5c38ada9-009e-4de4-8fb1-371b686d2458 2025-05-13 09:54:39,766 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/450504d4-fe74-4a6f-bd81-5bd213460d3c 2025-05-13 09:54:39,773 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/450504d4-fe74-4a6f-bd81-5bd213460d3c 2025-05-13 09:54:39,780 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/78f568a4-12f1-46b2-a439-718cfd091fdd 2025-05-13 09:54:39,792 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-50426529', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74517447', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6645252191556619748', 'uuid-lslong': '10354117609157108824'}, 'enable': 'true', 'created': '2025-05-13T09:54:37', 'last-modified': '2025-05-13T09:54:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.404804'} 2025-05-13 09:54:39,798 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-13 09:54:39,798 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50426529 passed 2025-05-13 09:54:39,798 - DEBUG - ====Verifying policy data for ctest-vn-50426529 in API_Server ====== 2025-05-13 09:54:39,798 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-05-13 09:54:39,804 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b1e101a2-d00d-411f-870c-d36eb27e81ad 2025-05-13 09:54:39,815 - DEBUG - Requesting: http://10.0.0.249:8082/project/71968131-8778-4531-a7f8-c72e09dfe513 2025-05-13 09:54:39,882 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5c38ada9-009e-4de4-8fb1-371b686d2458 2025-05-13 09:54:39,892 - DEBUG - ==>Verifying data for policy with id: 544ba55d-2982-4081-990b-ba8fc7ad057e, fqn: ['default-domain', 'ctest-TestBasicPolicy-74517447', 'ctest-policy-allow-all-08205370'] 2025-05-13 09:54:39,892 - INFO - VN ctest-vn-50426529 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-13 09:54:39,892 - DEBUG - Verifying the vn in opserver 2025-05-13 09:54:39,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-50426529 virtual network link through opserver 10.0.0.249 2025-05-13 09:54:39,892 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-05-13 09:54:39,901 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-50426529', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-50426529?flat'} 2025-05-13 09:54:39,902 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-50426529 is found in opserver 2025-05-13 09:54:39,911 - DEBUG - Do not have enough data to verify VN in agent 2025-05-13 09:54:39,916 - DEBUG - VRF ids for VN ctest-vn-50426529: {} 2025-05-13 09:54:39,967 - DEBUG - Services list from nova: [, , ] 2025-05-13 09:54:40,932 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3304-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3304-1) 2025-05-13 09:54:42,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3304-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3304-1) 2025-05-13 09:54:42,106 - INFO - Waiting for VM ctest-TestBasicPolicy-74517447-74731370 to be up.. 2025-05-13 09:54:42,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-13 09:54:47,247 - DEBUG - VM is in ACTIVE state now 2025-05-13 09:54:47,247 - INFO - VM name : ctest-TestBasicPolicy-74517447-74731370 2025-05-13 09:54:47,314 - DEBUG - VM ctest-TestBasicPolicy-74517447-74731370 ID is 03cbcea1-eaf8-4798-9c20-03b246415837 2025-05-13 09:54:47,331 - DEBUG - VM ctest-TestBasicPolicy-74517447-74731370 launched on Node cn-jenkins-deploy-platform-ansible-os-3304-1 2025-05-13 09:54:47,400 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/03cbcea1-eaf8-4798-9c20-03b246415837 2025-05-13 09:54:47,408 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/5f9c4c0e-4b04-4c53-9d70-7a4e207c9f0d 2025-05-13 09:54:50,661 - 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 1020ms') 2025-05-13 09:54:50,661 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74517447-74731370 failed! 2025-05-13 09:54:50,717 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74517447:ctest-vn-21159636 is 129.189.122.65 and allocation pool is NOT set 2025-05-13 09:54:52,781 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.534 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.534/1.734/2.935/1.200 ms') 2025-05-13 09:54:52,781 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74517447-74731370 passed 2025-05-13 09:54:52,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 09:54:52,933 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74517447-74731370, IP 129.189.122.67, Port 22 2025-05-13 09:54:53,089 - DEBUG - VM ctest-TestBasicPolicy-74517447-74731370 is ready for SSH connections 2025-05-13 09:54:53,089 - INFO - Waiting for VM ctest-TestBasicPolicy-74517447-78529225 to be up.. 2025-05-13 09:54:53,159 - DEBUG - VM is in ACTIVE state now 2025-05-13 09:54:53,159 - INFO - VM name : ctest-TestBasicPolicy-74517447-78529225 2025-05-13 09:54:53,233 - DEBUG - VM ctest-TestBasicPolicy-74517447-78529225 ID is 3bd959eb-24ce-43ea-8769-4f2be0141aae 2025-05-13 09:54:53,233 - DEBUG - VM ctest-TestBasicPolicy-74517447-78529225 launched on Node cn-jenkins-deploy-platform-ansible-os-3304-1 2025-05-13 09:54:53,300 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3bd959eb-24ce-43ea-8769-4f2be0141aae 2025-05-13 09:54:53,309 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4876a02c-6a8c-4ed0-aeba-ae37cd3f910a 2025-05-13 09:54:54,545 - 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=1.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.417 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.417/1.156/1.896/0.739 ms') 2025-05-13 09:54:54,545 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74517447-78529225 passed 2025-05-13 09:54:54,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 09:54:54,693 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74517447-78529225, IP 46.193.62.3, Port 22 2025-05-13 09:54:54,845 - DEBUG - VM ctest-TestBasicPolicy-74517447-78529225 is ready for SSH connections 2025-05-13 09:54:54,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 09:54:54,845 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.193.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-05-13 09:54:54,845 - DEBUG - ping -s 56 -c 3 -W 1 46.193.62.3 2025-05-13 09:54:58,510 - DEBUG - PING 46.193.62.3 (46.193.62.3): 56 data bytes 64 bytes from 46.193.62.3: seq=0 ttl=63 time=3.190 ms 64 bytes from 46.193.62.3: seq=1 ttl=63 time=0.806 ms 64 bytes from 46.193.62.3: seq=2 ttl=63 time=0.786 ms --- 46.193.62.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/1.594/3.190 ms 2025-05-13 09:54:58,510 - INFO - Ping to IP 46.193.62.3 from VM ctest-TestBasicPolicy-74517447-74731370 passed 2025-05-13 09:54:58,689 - DEBUG - Policy Update Response {"network-policy": {"uuid": "544ba55d-2982-4081-990b-ba8fc7ad057e", "href": "http://10.0.0.249:8082/network-policy/544ba55d-2982-4081-990b-ba8fc7ad057e"}} 2025-05-13 09:54:58,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 09:54:58,689 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.193.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-05-13 09:54:58,689 - DEBUG - ping -s 56 -c 3 -W 1 46.193.62.3 2025-05-13 09:55:01,903 - DEBUG - PING 46.193.62.3 (46.193.62.3): 56 data bytes --- 46.193.62.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-13 09:55:01,903 - WARNING - Ping to IP 46.193.62.3 from VM ctest-TestBasicPolicy-74517447-74731370 failed 2025-05-13 09:55:01,903 - INFO - Deleting VM ctest-TestBasicPolicy-74517447-78529225 2025-05-13 09:55:01,974 - INFO - Deleting VM ctest-TestBasicPolicy-74517447-74731370 2025-05-13 09:55:02,320 - INFO - Deleted policy ctest-policy-allow-all-08205370 2025-05-13 09:55:02,320 - INFO - Deleting VN ctest-vn-50426529 2025-05-13 09:55:02,351 - DEBUG - VN 5c38ada9-009e-4de4-8fb1-371b686d2458 still in use: Unable to complete operation on network 5c38ada9-009e-4de4-8fb1-371b686d2458. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-914db2af-99a5-497d-9457-6543de9c67f0'] 2025-05-13 09:55:02,351 - WARNING - Deleting VN ctest-vn-50426529 failed..Will retry 2025-05-13 09:55:04,465 - DEBUG - Response for deleting network () 2025-05-13 09:55:04,465 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/450504d4-fe74-4a6f-bd81-5bd213460d3c 2025-05-13 09:55:04,474 - DEBUG - Response Code: 404 2025-05-13 09:55:04,475 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-05-13 09:55:04,480 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b1e101a2-d00d-411f-870c-d36eb27e81ad 2025-05-13 09:55:04,539 - DEBUG - Requesting: http://10.0.0.249:8082/project/71968131-8778-4531-a7f8-c72e09dfe513 2025-05-13 09:55:04,612 - INFO - Validated that VN ctest-vn-50426529 is not found in API Server 2025-05-13 09:55:04,623 - DEBUG - VN ctest-vn-50426529 is not present in Agent 10.0.0.249 2025-05-13 09:55:04,623 - INFO - Validated that VN ctest-vn-50426529 is not in any agent 2025-05-13 09:55:04,639 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50426529 info 2025-05-13 09:55:04,639 - INFO - Deleting VN ctest-vn-21159636 2025-05-13 09:55:04,737 - DEBUG - Response for deleting network () 2025-05-13 09:55:04,738 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/00274c7a-f6fb-4f18-8ec7-91de85655f20 2025-05-13 09:55:04,744 - DEBUG - Response Code: 404 2025-05-13 09:55:04,744 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-05-13 09:55:04,750 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b1e101a2-d00d-411f-870c-d36eb27e81ad 2025-05-13 09:55:04,810 - DEBUG - Requesting: http://10.0.0.249:8082/project/71968131-8778-4531-a7f8-c72e09dfe513 2025-05-13 09:55:04,886 - INFO - Validated that VN ctest-vn-21159636 is not found in API Server 2025-05-13 09:55:04,896 - DEBUG - VN ctest-vn-21159636 is not present in Agent 10.0.0.249 2025-05-13 09:55:04,896 - INFO - Validated that VN ctest-vn-21159636 is not in any agent 2025-05-13 09:55:04,910 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21159636 info 2025-05-13 09:55:05,166 - DEBUG - No XMPP flaps were noticed during the test 2025-05-13 09:55:05,166 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-13 09:55:05,166 - INFO - -------------------------------------------------------------------------------- 2025-05-13 09:55:05,826 - INFO - Deleted project: ctest-TestBasicPolicy-74517447, ID : 71968131-8778-4531-a7f8-c72e09dfe513