2025-07-19 07:51:52,797 - INFO - Domain Default found not creating 2025-07-19 07:51:52,920 - INFO - Project ctest-TestBasicPolicy-56346700 not found, creating it 2025-07-19 07:51:53,379 - INFO - Created Project:ctest-TestBasicPolicy-56346700, ID : 0dcc5228-0e92-48fb-a72e-96a3c501b5da 2025-07-19 07:51:54,756 - INFO - ================================================================================ 2025-07-19 07:51:54,756 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-19 07:51:54,756 - 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-07-19 07:51:55,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-07-19 07:51:55,009 - INFO - Initial checks done. Running the testcase now 2025-07-19 07:51:55,009 - INFO - 2025-07-19 07:51:55,531 - DEBUG - Response for create_network : {'network': {'id': 'ca44b488-65cd-457b-bf16-553aece5c736', 'name': 'ctest-vn-99727753', 'tenant_id': '0dcc52280e9248fba72e96a3c501b5da', 'project_id': '0dcc52280e9248fba72e96a3c501b5da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56346700', 'ctest-vn-99727753'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:51:55,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b45b152-3398-42ab-b188-88c56d85b22f', 'name': '', 'tenant_id': '0dcc52280e9248fba72e96a3c501b5da', 'network_id': 'ca44b488-65cd-457b-bf16-553aece5c736', 'ip_version': 4, 'cidr': '87.72.4.64/26', 'allocation_pools': [{'start': '87.72.4.66', 'end': '87.72.4.126'}], 'gateway_ip': '87.72.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.72.4.66', 'tags': [], 'project_id': '0dcc52280e9248fba72e96a3c501b5da'}} 2025-07-19 07:51:55,731 - INFO - Created VN ctest-vn-99727753 2025-07-19 07:51:55,787 - DEBUG - VN ctest-vn-99727753 UUID is ca44b488-65cd-457b-bf16-553aece5c736 2025-07-19 07:51:56,102 - DEBUG - Response for create_network : {'network': {'id': 'dc7bbf83-fd9a-4ec4-9b7a-98614272ec86', 'name': 'ctest-vn-05063085', 'tenant_id': '0dcc52280e9248fba72e96a3c501b5da', 'project_id': '0dcc52280e9248fba72e96a3c501b5da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56346700', 'ctest-vn-05063085'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:51:56,306 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c94b6794-7df3-45e4-989d-7afe1747bb17', 'name': '', 'tenant_id': '0dcc52280e9248fba72e96a3c501b5da', 'network_id': 'dc7bbf83-fd9a-4ec4-9b7a-98614272ec86', 'ip_version': 4, 'cidr': '118.118.12.64/26', 'allocation_pools': [{'start': '118.118.12.66', 'end': '118.118.12.126'}], 'gateway_ip': '118.118.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.118.12.66', 'tags': [], 'project_id': '0dcc52280e9248fba72e96a3c501b5da'}} 2025-07-19 07:51:56,325 - INFO - Created VN ctest-vn-05063085 2025-07-19 07:51:56,375 - DEBUG - VN ctest-vn-05063085 UUID is dc7bbf83-fd9a-4ec4-9b7a-98614272ec86 2025-07-19 07:51:56,523 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-99727753, 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-56346700:ctest-vn-05063085, 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-07-19 07:51:56,804 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca44b488-65cd-457b-bf16-553aece5c736', 'name': 'ctest-vn-99727753', 'tenant_id': '0dcc52280e9248fba72e96a3c501b5da', 'project_id': '0dcc52280e9248fba72e96a3c501b5da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b45b152-3398-42ab-b188-88c56d85b22f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56346700', 'ctest-vn-99727753'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56346700', 'ctest-policy-allow-all-50170622']], 'subnet_ipam': [{'subnet_cidr': '87.72.4.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:51:57,070 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc7bbf83-fd9a-4ec4-9b7a-98614272ec86', 'name': 'ctest-vn-05063085', 'tenant_id': '0dcc52280e9248fba72e96a3c501b5da', 'project_id': '0dcc52280e9248fba72e96a3c501b5da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c94b6794-7df3-45e4-989d-7afe1747bb17'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56346700', 'ctest-vn-05063085'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56346700', 'ctest-policy-allow-all-50170622']], 'subnet_ipam': [{'subnet_cidr': '118.118.12.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-19 07:51:57,223 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-19 07:51:57,514 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-19 07:51:57,540 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2d890b0-5da4-4803-b48d-0ca1f59c28bb 2025-07-19 07:51:57,552 - DEBUG - Requesting: http://10.0.0.27:8082/project/0dcc5228-0e92-48fb-a72e-96a3c501b5da 2025-07-19 07:51:57,619 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ca44b488-65cd-457b-bf16-553aece5c736 2025-07-19 07:51:57,629 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ca44b488-65cd-457b-bf16-553aece5c736 2025-07-19 07:51:57,637 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3bd6fc1b-1d24-463e-97fb-847be5763b68 2025-07-19 07:51:57,642 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3bd6fc1b-1d24-463e-97fb-847be5763b68 2025-07-19 07:51:57,648 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2c985f40-76c2-437e-baec-1ad33227fafb 2025-07-19 07:51:57,653 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-19 07:51:57,653 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ca44b488-65cd-457b-bf16-553aece5c736 2025-07-19 07:51:57,661 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3bd6fc1b-1d24-463e-97fb-847be5763b68 2025-07-19 07:51:57,672 - INFO - Verified VN network id 8 for VN ca44b488-65cd-457b-bf16-553aece5c736 2025-07-19 07:51:57,672 - INFO - Verifications in API Server for VN ctest-vn-99727753 passed 2025-07-19 07:51:57,672 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ca44b488-65cd-457b-bf16-553aece5c736 2025-07-19 07:51:57,679 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3bd6fc1b-1d24-463e-97fb-847be5763b68 2025-07-19 07:51:57,685 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3bd6fc1b-1d24-463e-97fb-847be5763b68 2025-07-19 07:51:57,690 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2c985f40-76c2-437e-baec-1ad33227fafb 2025-07-19 07:51:57,699 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-99727753', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56346700', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14574972791994271099', 'uuid-lslong': '13769286622302816054'}, 'enable': 'true', 'created': '2025-07-19T07:51:55', 'last-modified': '2025-07-19T07:51:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913340'} 2025-07-19 07:51:57,704 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-19 07:51:57,704 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99727753 passed 2025-07-19 07:51:57,704 - DEBUG - ====Verifying policy data for ctest-vn-99727753 in API_Server ====== 2025-07-19 07:51:57,704 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-19 07:51:57,709 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2d890b0-5da4-4803-b48d-0ca1f59c28bb 2025-07-19 07:51:57,719 - DEBUG - Requesting: http://10.0.0.27:8082/project/0dcc5228-0e92-48fb-a72e-96a3c501b5da 2025-07-19 07:51:57,791 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/ca44b488-65cd-457b-bf16-553aece5c736 2025-07-19 07:51:57,800 - DEBUG - ==>Verifying data for policy with id: f5cddfe4-43ec-45af-88e0-cd24d01b5d63, fqn: ['default-domain', 'ctest-TestBasicPolicy-56346700', 'ctest-policy-allow-all-50170622'] 2025-07-19 07:51:57,800 - INFO - VN ctest-vn-99727753 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-19 07:51:57,800 - DEBUG - Verifying the vn in opserver 2025-07-19 07:51:57,800 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-99727753 virtual network link through opserver 10.0.0.27 2025-07-19 07:51:57,800 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-19 07:51:58,088 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-19 07:51:58,137 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-99727753', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-99727753?flat'} 2025-07-19 07:51:58,137 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-99727753 is found in opserver 2025-07-19 07:51:58,147 - DEBUG - Do not have enough data to verify VN in agent 2025-07-19 07:51:58,152 - DEBUG - VRF ids for VN ctest-vn-99727753: {} 2025-07-19 07:51:58,152 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-19 07:51:58,157 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2d890b0-5da4-4803-b48d-0ca1f59c28bb 2025-07-19 07:51:58,169 - DEBUG - Requesting: http://10.0.0.27:8082/project/0dcc5228-0e92-48fb-a72e-96a3c501b5da 2025-07-19 07:51:58,239 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc7bbf83-fd9a-4ec4-9b7a-98614272ec86 2025-07-19 07:51:58,249 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc7bbf83-fd9a-4ec4-9b7a-98614272ec86 2025-07-19 07:51:58,257 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7ec0aca-e219-438f-af5a-6df8751f76cc 2025-07-19 07:51:58,264 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7ec0aca-e219-438f-af5a-6df8751f76cc 2025-07-19 07:51:58,269 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/fbe10a7a-f88c-4bb0-a169-ad2079bdc6e3 2025-07-19 07:51:58,275 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-19 07:51:58,275 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc7bbf83-fd9a-4ec4-9b7a-98614272ec86 2025-07-19 07:51:58,282 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7ec0aca-e219-438f-af5a-6df8751f76cc 2025-07-19 07:51:58,294 - INFO - Verified VN network id 9 for VN dc7bbf83-fd9a-4ec4-9b7a-98614272ec86 2025-07-19 07:51:58,294 - INFO - Verifications in API Server for VN ctest-vn-05063085 passed 2025-07-19 07:51:58,294 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc7bbf83-fd9a-4ec4-9b7a-98614272ec86 2025-07-19 07:51:58,301 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7ec0aca-e219-438f-af5a-6df8751f76cc 2025-07-19 07:51:58,307 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7ec0aca-e219-438f-af5a-6df8751f76cc 2025-07-19 07:51:58,313 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/fbe10a7a-f88c-4bb0-a169-ad2079bdc6e3 2025-07-19 07:51:58,323 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-05063085', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56346700', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15887502684095925956', 'uuid-lslong': '11203434566531607686'}, 'enable': 'true', 'created': '2025-07-19T07:51:56', 'last-modified': '2025-07-19T07:51:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318986'} 2025-07-19 07:51:58,329 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-19 07:51:58,329 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05063085 passed 2025-07-19 07:51:58,329 - DEBUG - ====Verifying policy data for ctest-vn-05063085 in API_Server ====== 2025-07-19 07:51:58,329 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-19 07:51:58,334 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2d890b0-5da4-4803-b48d-0ca1f59c28bb 2025-07-19 07:51:58,346 - DEBUG - Requesting: http://10.0.0.27:8082/project/0dcc5228-0e92-48fb-a72e-96a3c501b5da 2025-07-19 07:51:58,417 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/dc7bbf83-fd9a-4ec4-9b7a-98614272ec86 2025-07-19 07:51:58,425 - DEBUG - ==>Verifying data for policy with id: f5cddfe4-43ec-45af-88e0-cd24d01b5d63, fqn: ['default-domain', 'ctest-TestBasicPolicy-56346700', 'ctest-policy-allow-all-50170622'] 2025-07-19 07:51:58,425 - INFO - VN ctest-vn-05063085 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-19 07:51:58,425 - DEBUG - Verifying the vn in opserver 2025-07-19 07:51:58,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-05063085 virtual network link through opserver 10.0.0.27 2025-07-19 07:51:58,426 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-07-19 07:51:58,435 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-05063085', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-05063085?flat'} 2025-07-19 07:51:58,435 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-05063085 is found in opserver 2025-07-19 07:51:58,444 - DEBUG - Do not have enough data to verify VN in agent 2025-07-19 07:51:58,448 - DEBUG - VRF ids for VN ctest-vn-05063085: {} 2025-07-19 07:51:58,498 - DEBUG - Services list from nova: [, , ] 2025-07-19 07:51:59,444 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3670-1) 2025-07-19 07:52:00,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3670-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3670-1) 2025-07-19 07:52:00,646 - INFO - Waiting for VM ctest-TestBasicPolicy-56346700-41195676 to be up.. 2025-07-19 07:52:00,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-19 07:52:05,786 - DEBUG - VM is in ACTIVE state now 2025-07-19 07:52:05,786 - INFO - VM name : ctest-TestBasicPolicy-56346700-41195676 2025-07-19 07:52:05,854 - DEBUG - VM ctest-TestBasicPolicy-56346700-41195676 ID is 5ec4c257-c770-4ecf-8914-6e3673574051 2025-07-19 07:52:05,871 - DEBUG - VM ctest-TestBasicPolicy-56346700-41195676 launched on Node cn-jenkins-deploy-platform-ansible-os-3670-1. 2025-07-19 07:52:05,940 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5ec4c257-c770-4ecf-8914-6e3673574051 2025-07-19 07:52:05,950 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4e15b09a-77e4-4ee7-a5bd-8e887a3cebe3 2025-07-19 07:52:09,196 - 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 1015ms') 2025-07-19 07:52:09,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56346700-41195676 failed! 2025-07-19 07:52:09,255 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56346700:ctest-vn-99727753 is 87.72.4.65 and allocation pool is NOT set 2025-07-19 07:52:11,319 - 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=3.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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.432/1.731/3.030/1.299 ms') 2025-07-19 07:52:11,319 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56346700-41195676 passed 2025-07-19 07:52:11,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:52:11,467 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56346700-41195676, IP 87.72.4.67, Port 22 2025-07-19 07:52:11,623 - DEBUG - VM ctest-TestBasicPolicy-56346700-41195676 is ready for SSH connections 2025-07-19 07:52:11,623 - INFO - Waiting for VM ctest-TestBasicPolicy-56346700-03319771 to be up.. 2025-07-19 07:52:11,691 - DEBUG - VM is in ACTIVE state now 2025-07-19 07:52:11,691 - INFO - VM name : ctest-TestBasicPolicy-56346700-03319771 2025-07-19 07:52:11,759 - DEBUG - VM ctest-TestBasicPolicy-56346700-03319771 ID is 20c2e459-e573-492b-a243-24b108110fcf 2025-07-19 07:52:11,759 - DEBUG - VM ctest-TestBasicPolicy-56346700-03319771 launched on Node cn-jenkins-deploy-platform-ansible-os-3670-1. 2025-07-19 07:52:11,837 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/20c2e459-e573-492b-a243-24b108110fcf 2025-07-19 07:52:11,846 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/76facc2f-3cb3-44a0-b4ae-93216857cded 2025-07-19 07:52:13,084 - 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=3.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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 = 0.486/1.767/3.048/1.281 ms') 2025-07-19 07:52:13,084 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56346700-03319771 passed 2025-07-19 07:52:13,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:52:13,231 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56346700-03319771, IP 118.118.12.67, Port 22 2025-07-19 07:52:13,382 - DEBUG - VM ctest-TestBasicPolicy-56346700-03319771 is ready for SSH connections 2025-07-19 07:52:13,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:52:13,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.118.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-19 07:52:13,382 - DEBUG - ping -s 56 -c 3 -W 1 118.118.12.67 2025-07-19 07:52:17,328 - DEBUG - PING 118.118.12.67 (118.118.12.67): 56 data bytes 64 bytes from 118.118.12.67: seq=0 ttl=63 time=3.239 ms 64 bytes from 118.118.12.67: seq=1 ttl=63 time=0.755 ms 64 bytes from 118.118.12.67: seq=2 ttl=63 time=0.715 ms --- 118.118.12.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.715/1.569/3.239 ms 2025-07-19 07:52:17,328 - INFO - Ping to IP 118.118.12.67 from VM ctest-TestBasicPolicy-56346700-41195676 passed 2025-07-19 07:52:17,507 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f5cddfe4-43ec-45af-88e0-cd24d01b5d63", "href": "http://10.0.0.27:8082/network-policy/f5cddfe4-43ec-45af-88e0-cd24d01b5d63"}} 2025-07-19 07:52:17,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 07:52:17,507 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.118.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-19 07:52:17,507 - DEBUG - ping -s 56 -c 3 -W 1 118.118.12.67 2025-07-19 07:52:20,706 - DEBUG - PING 118.118.12.67 (118.118.12.67): 56 data bytes --- 118.118.12.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-19 07:52:20,706 - WARNING - Ping to IP 118.118.12.67 from VM ctest-TestBasicPolicy-56346700-41195676 failed 2025-07-19 07:52:20,706 - INFO - Deleting VM ctest-TestBasicPolicy-56346700-03319771 2025-07-19 07:52:20,769 - INFO - Deleting VM ctest-TestBasicPolicy-56346700-41195676 2025-07-19 07:52:21,134 - INFO - Deleted policy ctest-policy-allow-all-50170622 2025-07-19 07:52:21,134 - INFO - Deleting VN ctest-vn-05063085 2025-07-19 07:52:21,167 - DEBUG - VN dc7bbf83-fd9a-4ec4-9b7a-98614272ec86 still in use: Unable to complete operation on network dc7bbf83-fd9a-4ec4-9b7a-98614272ec86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e64b30f0-03fe-4e1d-9c26-2b43de706a8e'] 2025-07-19 07:52:21,167 - WARNING - Deleting VN ctest-vn-05063085 failed..Will retry 2025-07-19 07:52:23,272 - DEBUG - Response for deleting network () 2025-07-19 07:52:23,272 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/f7ec0aca-e219-438f-af5a-6df8751f76cc 2025-07-19 07:52:23,279 - DEBUG - Response Code: 404 2025-07-19 07:52:23,279 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-19 07:52:23,285 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2d890b0-5da4-4803-b48d-0ca1f59c28bb 2025-07-19 07:52:23,340 - DEBUG - Requesting: http://10.0.0.27:8082/project/0dcc5228-0e92-48fb-a72e-96a3c501b5da 2025-07-19 07:52:23,412 - INFO - Validated that VN ctest-vn-05063085 is not found in API Server 2025-07-19 07:52:23,423 - DEBUG - VN ctest-vn-05063085 is not present in Agent 10.0.0.27 2025-07-19 07:52:23,423 - INFO - Validated that VN ctest-vn-05063085 is not in any agent 2025-07-19 07:52:23,437 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05063085 info 2025-07-19 07:52:23,437 - INFO - Deleting VN ctest-vn-99727753 2025-07-19 07:52:23,547 - DEBUG - Response for deleting network () 2025-07-19 07:52:23,547 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/3bd6fc1b-1d24-463e-97fb-847be5763b68 2025-07-19 07:52:23,555 - DEBUG - Response Code: 404 2025-07-19 07:52:23,555 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-07-19 07:52:23,560 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2d890b0-5da4-4803-b48d-0ca1f59c28bb 2025-07-19 07:52:23,616 - DEBUG - Requesting: http://10.0.0.27:8082/project/0dcc5228-0e92-48fb-a72e-96a3c501b5da 2025-07-19 07:52:23,684 - INFO - Validated that VN ctest-vn-99727753 is not found in API Server 2025-07-19 07:52:23,694 - DEBUG - VN ctest-vn-99727753 is not present in Agent 10.0.0.27 2025-07-19 07:52:23,694 - INFO - Validated that VN ctest-vn-99727753 is not in any agent 2025-07-19 07:52:23,707 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99727753 info 2025-07-19 07:52:23,964 - DEBUG - No XMPP flaps were noticed during the test
2025-07-19 07:52:23,964 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-19 07:52:23,964 - INFO - -------------------------------------------------------------------------------- 2025-07-19 07:52:24,614 - INFO - Deleted project: ctest-TestBasicPolicy-56346700, ID : 0dcc5228-0e92-48fb-a72e-96a3c501b5da