2025-10-23 11:47:01,518 - INFO - Domain Default found not creating 2025-10-23 11:47:01,647 - INFO - Project ctest-TestBasicPolicy-28536592 not found, creating it 2025-10-23 11:47:02,070 - INFO - Created Project:ctest-TestBasicPolicy-28536592, ID : a1b750a3-f7d3-454d-a20c-f229e5875100 2025-10-23 11:47:03,469 - INFO - ================================================================================ 2025-10-23 11:47:03,469 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 11:47:03,469 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-23 11:47:03,721 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-23 11:47:03,721 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:47:03,721 - INFO - 2025-10-23 11:47:04,229 - DEBUG - Response for create_network : {'network': {'id': '61f90a1c-4d10-4eea-b93f-a882125a7d63', 'name': 'ctest-vn-46739688', 'tenant_id': 'a1b750a3f7d3454da20cf229e5875100', 'project_id': 'a1b750a3f7d3454da20cf229e5875100', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28536592', 'ctest-vn-46739688'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:47:04,423 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cf06889-e7a3-4c55-88aa-f8272620159c', 'name': '', 'tenant_id': 'a1b750a3f7d3454da20cf229e5875100', 'network_id': '61f90a1c-4d10-4eea-b93f-a882125a7d63', 'ip_version': 4, 'cidr': '218.129.118.64/26', 'allocation_pools': [{'start': '218.129.118.66', 'end': '218.129.118.126'}], 'gateway_ip': '218.129.118.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.129.118.66', 'tags': [], 'project_id': 'a1b750a3f7d3454da20cf229e5875100'}} 2025-10-23 11:47:04,437 - INFO - Created VN ctest-vn-46739688 2025-10-23 11:47:04,488 - DEBUG - VN ctest-vn-46739688 UUID is 61f90a1c-4d10-4eea-b93f-a882125a7d63 2025-10-23 11:47:05,025 - DEBUG - Response for create_network : {'network': {'id': '5a6c6c5e-e5eb-4a58-9823-4807578667d0', 'name': 'ctest-vn-32582805', 'tenant_id': 'a1b750a3f7d3454da20cf229e5875100', 'project_id': 'a1b750a3f7d3454da20cf229e5875100', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28536592', 'ctest-vn-32582805'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:47:05,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e3adf88-196f-4600-b193-a721eb9ccdf9', 'name': '', 'tenant_id': 'a1b750a3f7d3454da20cf229e5875100', 'network_id': '5a6c6c5e-e5eb-4a58-9823-4807578667d0', 'ip_version': 4, 'cidr': '150.78.71.0/26', 'allocation_pools': [{'start': '150.78.71.2', 'end': '150.78.71.62'}], 'gateway_ip': '150.78.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.78.71.2', 'tags': [], 'project_id': 'a1b750a3f7d3454da20cf229e5875100'}} 2025-10-23 11:47:05,330 - INFO - Created VN ctest-vn-32582805 2025-10-23 11:47:05,380 - DEBUG - VN ctest-vn-32582805 UUID is 5a6c6c5e-e5eb-4a58-9823-4807578667d0 2025-10-23 11:47:05,520 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-46739688, 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-28536592:ctest-vn-32582805, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-23 11:47:05,806 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61f90a1c-4d10-4eea-b93f-a882125a7d63', 'name': 'ctest-vn-46739688', 'tenant_id': 'a1b750a3f7d3454da20cf229e5875100', 'project_id': 'a1b750a3f7d3454da20cf229e5875100', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9cf06889-e7a3-4c55-88aa-f8272620159c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28536592', 'ctest-vn-46739688'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28536592', 'ctest-policy-allow-all-50273929']], 'subnet_ipam': [{'subnet_cidr': '218.129.118.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:47:06,068 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a6c6c5e-e5eb-4a58-9823-4807578667d0', 'name': 'ctest-vn-32582805', 'tenant_id': 'a1b750a3f7d3454da20cf229e5875100', 'project_id': 'a1b750a3f7d3454da20cf229e5875100', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e3adf88-196f-4600-b193-a721eb9ccdf9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28536592', 'ctest-vn-32582805'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28536592', 'ctest-policy-allow-all-50273929']], 'subnet_ipam': [{'subnet_cidr': '150.78.71.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:47:06,216 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 11:47:06,505 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 11:47:06,530 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f59110b8-b47c-4445-b066-d9d82f0bda48 2025-10-23 11:47:06,540 - DEBUG - Requesting: http://10.0.0.38:8082/project/a1b750a3-f7d3-454d-a20c-f229e5875100 2025-10-23 11:47:06,608 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61f90a1c-4d10-4eea-b93f-a882125a7d63 2025-10-23 11:47:06,618 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61f90a1c-4d10-4eea-b93f-a882125a7d63 2025-10-23 11:47:06,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4e0daf4-4daa-441a-aa8b-2d4d53fb9162 2025-10-23 11:47:06,632 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4e0daf4-4daa-441a-aa8b-2d4d53fb9162 2025-10-23 11:47:06,638 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/73e7abe7-524c-479c-a052-072004e2525d 2025-10-23 11:47:06,642 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 11:47:06,642 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61f90a1c-4d10-4eea-b93f-a882125a7d63 2025-10-23 11:47:06,650 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4e0daf4-4daa-441a-aa8b-2d4d53fb9162 2025-10-23 11:47:06,660 - INFO - Verified VN network id 9 for VN 61f90a1c-4d10-4eea-b93f-a882125a7d63 2025-10-23 11:47:06,660 - INFO - Verifications in API Server for VN ctest-vn-46739688 passed 2025-10-23 11:47:06,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61f90a1c-4d10-4eea-b93f-a882125a7d63 2025-10-23 11:47:06,667 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4e0daf4-4daa-441a-aa8b-2d4d53fb9162 2025-10-23 11:47:06,672 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4e0daf4-4daa-441a-aa8b-2d4d53fb9162 2025-10-23 11:47:06,676 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/73e7abe7-524c-479c-a052-072004e2525d 2025-10-23 11:47:06,685 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-46739688', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28536592', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7059685007548239594', 'uuid-lslong': '13348573097156574563'}, 'enable': 'true', 'created': '2025-10-23T11:47:04', 'last-modified': '2025-10-23T11:47:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904382'} 2025-10-23 11:47:06,690 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 11:47:06,690 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46739688 passed 2025-10-23 11:47:06,690 - DEBUG - ====Verifying policy data for ctest-vn-46739688 in API_Server ====== 2025-10-23 11:47:06,690 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 11:47:06,694 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f59110b8-b47c-4445-b066-d9d82f0bda48 2025-10-23 11:47:06,703 - DEBUG - Requesting: http://10.0.0.38:8082/project/a1b750a3-f7d3-454d-a20c-f229e5875100 2025-10-23 11:47:06,772 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61f90a1c-4d10-4eea-b93f-a882125a7d63 2025-10-23 11:47:06,780 - DEBUG - ==>Verifying data for policy with id: b79bf8a7-c40c-469e-b3c6-531f24190175, fqn: ['default-domain', 'ctest-TestBasicPolicy-28536592', 'ctest-policy-allow-all-50273929'] 2025-10-23 11:47:06,780 - INFO - VN ctest-vn-46739688 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 11:47:06,780 - DEBUG - Verifying the vn in opserver 2025-10-23 11:47:06,780 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-46739688 virtual network link through opserver 10.0.0.38 2025-10-23 11:47:06,780 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-23 11:47:07,067 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-23 11:47:07,119 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-46739688', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-46739688?flat'} 2025-10-23 11:47:07,119 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-46739688 is found in opserver 2025-10-23 11:47:07,131 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 11:47:07,141 - DEBUG - VRF ids for VN ctest-vn-46739688: {} 2025-10-23 11:47:07,141 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 11:47:07,147 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f59110b8-b47c-4445-b066-d9d82f0bda48 2025-10-23 11:47:07,158 - DEBUG - Requesting: http://10.0.0.38:8082/project/a1b750a3-f7d3-454d-a20c-f229e5875100 2025-10-23 11:47:07,230 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5a6c6c5e-e5eb-4a58-9823-4807578667d0 2025-10-23 11:47:07,243 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5a6c6c5e-e5eb-4a58-9823-4807578667d0 2025-10-23 11:47:07,253 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fbf781c5-b40c-4d27-8a2e-868fe0327f82 2025-10-23 11:47:07,260 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fbf781c5-b40c-4d27-8a2e-868fe0327f82 2025-10-23 11:47:07,267 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4a8c0318-11eb-45e9-9d8a-676161963564 2025-10-23 11:47:07,273 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 11:47:07,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5a6c6c5e-e5eb-4a58-9823-4807578667d0 2025-10-23 11:47:07,281 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fbf781c5-b40c-4d27-8a2e-868fe0327f82 2025-10-23 11:47:07,293 - INFO - Verified VN network id 10 for VN 5a6c6c5e-e5eb-4a58-9823-4807578667d0 2025-10-23 11:47:07,293 - INFO - Verifications in API Server for VN ctest-vn-32582805 passed 2025-10-23 11:47:07,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5a6c6c5e-e5eb-4a58-9823-4807578667d0 2025-10-23 11:47:07,301 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fbf781c5-b40c-4d27-8a2e-868fe0327f82 2025-10-23 11:47:07,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fbf781c5-b40c-4d27-8a2e-868fe0327f82 2025-10-23 11:47:07,311 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4a8c0318-11eb-45e9-9d8a-676161963564 2025-10-23 11:47:07,320 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-32582805', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28536592', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6515701915738393176', 'uuid-lslong': '10962685114320316368'}, 'enable': 'true', 'created': '2025-10-23T11:47:04', 'last-modified': '2025-10-23T11:47:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.319190'} 2025-10-23 11:47:07,326 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 11:47:07,326 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32582805 passed 2025-10-23 11:47:07,326 - DEBUG - ====Verifying policy data for ctest-vn-32582805 in API_Server ====== 2025-10-23 11:47:07,326 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 11:47:07,331 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f59110b8-b47c-4445-b066-d9d82f0bda48 2025-10-23 11:47:07,342 - DEBUG - Requesting: http://10.0.0.38:8082/project/a1b750a3-f7d3-454d-a20c-f229e5875100 2025-10-23 11:47:07,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5a6c6c5e-e5eb-4a58-9823-4807578667d0 2025-10-23 11:47:07,419 - DEBUG - ==>Verifying data for policy with id: b79bf8a7-c40c-469e-b3c6-531f24190175, fqn: ['default-domain', 'ctest-TestBasicPolicy-28536592', 'ctest-policy-allow-all-50273929'] 2025-10-23 11:47:07,419 - INFO - VN ctest-vn-32582805 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 11:47:07,419 - DEBUG - Verifying the vn in opserver 2025-10-23 11:47:07,419 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-32582805 virtual network link through opserver 10.0.0.38 2025-10-23 11:47:07,419 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-23 11:47:07,428 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-32582805', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-32582805?flat'} 2025-10-23 11:47:07,428 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-32582805 is found in opserver 2025-10-23 11:47:07,437 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 11:47:07,440 - DEBUG - VRF ids for VN ctest-vn-32582805: {} 2025-10-23 11:47:07,489 - DEBUG - Services list from nova: [, , ] 2025-10-23 11:47:08,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4459-1) 2025-10-23 11:47:09,654 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4459-1) 2025-10-23 11:47:09,654 - INFO - Waiting for VM ctest-TestBasicPolicy-28536592-70867916 to be up.. 2025-10-23 11:47:09,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 11:47:14,798 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:47:14,798 - INFO - VM name : ctest-TestBasicPolicy-28536592-70867916 2025-10-23 11:47:14,865 - DEBUG - VM ctest-TestBasicPolicy-28536592-70867916 ID is 096736e8-b1d9-4e63-960c-e8cbf1df7858 2025-10-23 11:47:14,881 - DEBUG - VM ctest-TestBasicPolicy-28536592-70867916 launched on Node cn-jenkins-deploy-platform-ansible-os-4459-1 2025-10-23 11:47:14,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/096736e8-b1d9-4e63-960c-e8cbf1df7858 2025-10-23 11:47:14,961 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6d478c2d-077c-41a4-a49d-8720e0cc4471 2025-10-23 11:47:18,222 - 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 1027ms') 2025-10-23 11:47:18,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28536592-70867916 failed! 2025-10-23 11:47:18,276 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28536592:ctest-vn-46739688 is 218.129.118.65 and allocation pool is NOT set 2025-10-23 11:47:20,331 - 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=4.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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 = 1.205/2.660/4.115/1.455 ms') 2025-10-23 11:47:20,331 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28536592-70867916 passed 2025-10-23 11:47:20,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:47:20,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28536592-70867916, IP 218.129.118.67, Port 22 2025-10-23 11:47:20,651 - DEBUG - VM ctest-TestBasicPolicy-28536592-70867916 is ready for SSH connections 2025-10-23 11:47:20,651 - INFO - Waiting for VM ctest-TestBasicPolicy-28536592-87314263 to be up.. 2025-10-23 11:47:20,714 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:47:20,714 - INFO - VM name : ctest-TestBasicPolicy-28536592-87314263 2025-10-23 11:47:20,774 - DEBUG - VM ctest-TestBasicPolicy-28536592-87314263 ID is 23fa5044-d27d-4fe9-a70e-15d64765a295 2025-10-23 11:47:20,774 - DEBUG - VM ctest-TestBasicPolicy-28536592-87314263 launched on Node cn-jenkins-deploy-platform-ansible-os-4459-1 2025-10-23 11:47:20,850 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/23fa5044-d27d-4fe9-a70e-15d64765a295 2025-10-23 11:47:20,859 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5050afa3-3f59-4fe1-bbb0-9a530501f6e3 2025-10-23 11:47:22,091 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.564 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.564/1.638/2.712/1.074 ms') 2025-10-23 11:47:22,091 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28536592-87314263 passed 2025-10-23 11:47:22,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:47:22,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28536592-87314263, IP 150.78.71.3, Port 22 2025-10-23 11:47:22,405 - DEBUG - VM ctest-TestBasicPolicy-28536592-87314263 is ready for SSH connections 2025-10-23 11:47:22,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:47:22,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.78.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 11:47:22,406 - DEBUG - ping -s 56 -c 3 -W 1 150.78.71.3 2025-10-23 11:47:26,275 - DEBUG - PING 150.78.71.3 (150.78.71.3): 56 data bytes 64 bytes from 150.78.71.3: seq=0 ttl=63 time=3.102 ms 64 bytes from 150.78.71.3: seq=1 ttl=63 time=0.728 ms 64 bytes from 150.78.71.3: seq=2 ttl=63 time=0.726 ms --- 150.78.71.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.518/3.102 ms 2025-10-23 11:47:26,275 - INFO - Ping to IP 150.78.71.3 from VM ctest-TestBasicPolicy-28536592-70867916 passed 2025-10-23 11:47:26,455 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b79bf8a7-c40c-469e-b3c6-531f24190175", "href": "http://10.0.0.38:8082/network-policy/b79bf8a7-c40c-469e-b3c6-531f24190175"}} 2025-10-23 11:47:26,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:47:26,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.78.71.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 11:47:26,456 - DEBUG - ping -s 56 -c 3 -W 1 150.78.71.3 2025-10-23 11:47:29,659 - DEBUG - PING 150.78.71.3 (150.78.71.3): 56 data bytes --- 150.78.71.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 11:47:29,659 - WARNING - Ping to IP 150.78.71.3 from VM ctest-TestBasicPolicy-28536592-70867916 failed 2025-10-23 11:47:29,659 - INFO - Deleting VM ctest-TestBasicPolicy-28536592-87314263 2025-10-23 11:47:29,718 - INFO - Deleting VM ctest-TestBasicPolicy-28536592-70867916 2025-10-23 11:47:30,030 - INFO - Deleted policy ctest-policy-allow-all-50273929 2025-10-23 11:47:30,030 - INFO - Deleting VN ctest-vn-32582805 2025-10-23 11:47:30,065 - DEBUG - VN 5a6c6c5e-e5eb-4a58-9823-4807578667d0 still in use: Unable to complete operation on network 5a6c6c5e-e5eb-4a58-9823-4807578667d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b2de820a-6c45-41a0-b6a2-e1aa88e2205d'] 2025-10-23 11:47:30,065 - WARNING - Deleting VN ctest-vn-32582805 failed..Will retry 2025-10-23 11:47:32,158 - DEBUG - Response for deleting network () 2025-10-23 11:47:32,158 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fbf781c5-b40c-4d27-8a2e-868fe0327f82 2025-10-23 11:47:32,163 - DEBUG - Response Code: 404 2025-10-23 11:47:32,163 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 11:47:32,167 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f59110b8-b47c-4445-b066-d9d82f0bda48 2025-10-23 11:47:32,220 - DEBUG - Requesting: http://10.0.0.38:8082/project/a1b750a3-f7d3-454d-a20c-f229e5875100 2025-10-23 11:47:32,285 - INFO - Validated that VN ctest-vn-32582805 is not found in API Server 2025-10-23 11:47:32,294 - DEBUG - VN ctest-vn-32582805 is not present in Agent 10.0.0.38 2025-10-23 11:47:32,294 - INFO - Validated that VN ctest-vn-32582805 is not in any agent 2025-10-23 11:47:32,306 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32582805 info 2025-10-23 11:47:32,306 - INFO - Deleting VN ctest-vn-46739688 2025-10-23 11:47:32,390 - DEBUG - Response for deleting network () 2025-10-23 11:47:32,390 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f4e0daf4-4daa-441a-aa8b-2d4d53fb9162 2025-10-23 11:47:32,394 - DEBUG - Response Code: 404 2025-10-23 11:47:32,394 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-23 11:47:32,399 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f59110b8-b47c-4445-b066-d9d82f0bda48 2025-10-23 11:47:32,460 - DEBUG - Requesting: http://10.0.0.38:8082/project/a1b750a3-f7d3-454d-a20c-f229e5875100 2025-10-23 11:47:32,528 - INFO - Validated that VN ctest-vn-46739688 is not found in API Server 2025-10-23 11:47:32,536 - DEBUG - VN ctest-vn-46739688 is not present in Agent 10.0.0.38 2025-10-23 11:47:32,536 - INFO - Validated that VN ctest-vn-46739688 is not in any agent 2025-10-23 11:47:32,547 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46739688 info 2025-10-23 11:47:32,796 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 11:47:32,796 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-23 11:47:32,796 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:47:33,447 - INFO - Deleted project: ctest-TestBasicPolicy-28536592, ID : a1b750a3-f7d3-454d-a20c-f229e5875100