2025-08-11 12:15:49,566 - INFO - Domain Default found not creating 2025-08-11 12:15:49,684 - INFO - Project ctest-TestBasicPolicy-38451608 not found, creating it 2025-08-11 12:15:50,131 - INFO - Created Project:ctest-TestBasicPolicy-38451608, ID : 47b549d3-59e9-4356-ab22-88e09539e5d4 2025-08-11 12:15:51,417 - INFO - ================================================================================ 2025-08-11 12:15:51,417 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 12:15:51,417 - 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-08-11 12:15:51,672 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-11 12:15:51,672 - INFO - Initial checks done. Running the testcase now 2025-08-11 12:15:51,672 - INFO - 2025-08-11 12:15:52,175 - DEBUG - Response for create_network : {'network': {'id': 'bd34e568-a89f-44ce-95ff-1efb3f9daa2f', 'name': 'ctest-vn-88273852', 'tenant_id': '47b549d359e94356ab2288e09539e5d4', 'project_id': '47b549d359e94356ab2288e09539e5d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38451608', 'ctest-vn-88273852'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 12:15:52,329 - DEBUG - Response for create_subnet : {'subnet': {'id': '38da78da-26b8-460d-8c84-7db88b657ff3', 'name': '', 'tenant_id': '47b549d359e94356ab2288e09539e5d4', 'network_id': 'bd34e568-a89f-44ce-95ff-1efb3f9daa2f', 'ip_version': 4, 'cidr': '129.207.8.192/26', 'allocation_pools': [{'start': '129.207.8.194', 'end': '129.207.8.254'}], 'gateway_ip': '129.207.8.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.207.8.194', 'tags': [], 'project_id': '47b549d359e94356ab2288e09539e5d4'}} 2025-08-11 12:15:52,343 - INFO - Created VN ctest-vn-88273852 2025-08-11 12:15:52,395 - DEBUG - VN ctest-vn-88273852 UUID is bd34e568-a89f-44ce-95ff-1efb3f9daa2f 2025-08-11 12:15:52,677 - DEBUG - Response for create_network : {'network': {'id': 'ca6e22ab-e427-4675-8544-44552aa83890', 'name': 'ctest-vn-64210593', 'tenant_id': '47b549d359e94356ab2288e09539e5d4', 'project_id': '47b549d359e94356ab2288e09539e5d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38451608', 'ctest-vn-64210593'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 12:15:52,856 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d8474f2-cfb2-43e0-8c3f-59b1e9acf1d8', 'name': '', 'tenant_id': '47b549d359e94356ab2288e09539e5d4', 'network_id': 'ca6e22ab-e427-4675-8544-44552aa83890', 'ip_version': 4, 'cidr': '181.80.239.64/26', 'allocation_pools': [{'start': '181.80.239.66', 'end': '181.80.239.126'}], 'gateway_ip': '181.80.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.80.239.66', 'tags': [], 'project_id': '47b549d359e94356ab2288e09539e5d4'}} 2025-08-11 12:15:52,871 - INFO - Created VN ctest-vn-64210593 2025-08-11 12:15:52,923 - DEBUG - VN ctest-vn-64210593 UUID is ca6e22ab-e427-4675-8544-44552aa83890 2025-08-11 12:15:53,063 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-88273852, 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-38451608:ctest-vn-64210593, 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-08-11 12:15:53,332 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bd34e568-a89f-44ce-95ff-1efb3f9daa2f', 'name': 'ctest-vn-88273852', 'tenant_id': '47b549d359e94356ab2288e09539e5d4', 'project_id': '47b549d359e94356ab2288e09539e5d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['38da78da-26b8-460d-8c84-7db88b657ff3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38451608', 'ctest-vn-88273852'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38451608', 'ctest-policy-allow-all-71159431']], 'subnet_ipam': [{'subnet_cidr': '129.207.8.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 12:15:53,543 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca6e22ab-e427-4675-8544-44552aa83890', 'name': 'ctest-vn-64210593', 'tenant_id': '47b549d359e94356ab2288e09539e5d4', 'project_id': '47b549d359e94356ab2288e09539e5d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1d8474f2-cfb2-43e0-8c3f-59b1e9acf1d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38451608', 'ctest-vn-64210593'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38451608', 'ctest-policy-allow-all-71159431']], 'subnet_ipam': [{'subnet_cidr': '181.80.239.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 12:15:53,699 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 12:15:53,986 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 12:15:54,010 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f0993ec5-e211-4fc3-88e7-a27cd3ba1cf8 2025-08-11 12:15:54,021 - DEBUG - Requesting: http://10.0.0.249:8082/project/47b549d3-59e9-4356-ab22-88e09539e5d4 2025-08-11 12:15:54,092 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bd34e568-a89f-44ce-95ff-1efb3f9daa2f 2025-08-11 12:15:54,101 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bd34e568-a89f-44ce-95ff-1efb3f9daa2f 2025-08-11 12:15:54,112 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b69918e8-1ee1-495a-98ff-7caadcc9cad2 2025-08-11 12:15:54,117 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b69918e8-1ee1-495a-98ff-7caadcc9cad2 2025-08-11 12:15:54,123 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8ebf42b1-dbf2-46e4-ad9a-a0f9e9e4f40b 2025-08-11 12:15:54,128 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 12:15:54,128 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bd34e568-a89f-44ce-95ff-1efb3f9daa2f 2025-08-11 12:15:54,136 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b69918e8-1ee1-495a-98ff-7caadcc9cad2 2025-08-11 12:15:54,148 - INFO - Verified VN network id 11 for VN bd34e568-a89f-44ce-95ff-1efb3f9daa2f 2025-08-11 12:15:54,148 - INFO - Verifications in API Server for VN ctest-vn-88273852 passed 2025-08-11 12:15:54,148 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bd34e568-a89f-44ce-95ff-1efb3f9daa2f 2025-08-11 12:15:54,158 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b69918e8-1ee1-495a-98ff-7caadcc9cad2 2025-08-11 12:15:54,163 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b69918e8-1ee1-495a-98ff-7caadcc9cad2 2025-08-11 12:15:54,169 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8ebf42b1-dbf2-46e4-ad9a-a0f9e9e4f40b 2025-08-11 12:15:54,179 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-88273852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38451608', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13633774209625703630', 'uuid-lslong': '10808391695165401647'}, 'enable': 'true', 'created': '2025-08-11T12:15:52', 'last-modified': '2025-08-11T12:15:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.859529'} 2025-08-11 12:15:54,185 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 12:15:54,185 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88273852 passed 2025-08-11 12:15:54,186 - DEBUG - ====Verifying policy data for ctest-vn-88273852 in API_Server ====== 2025-08-11 12:15:54,186 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 12:15:54,190 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f0993ec5-e211-4fc3-88e7-a27cd3ba1cf8 2025-08-11 12:15:54,199 - DEBUG - Requesting: http://10.0.0.249:8082/project/47b549d3-59e9-4356-ab22-88e09539e5d4 2025-08-11 12:15:54,284 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bd34e568-a89f-44ce-95ff-1efb3f9daa2f 2025-08-11 12:15:54,293 - DEBUG - ==>Verifying data for policy with id: bb7e1b86-bbe0-4940-8d20-4230ce47b79b, fqn: ['default-domain', 'ctest-TestBasicPolicy-38451608', 'ctest-policy-allow-all-71159431'] 2025-08-11 12:15:54,293 - INFO - VN ctest-vn-88273852 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 12:15:54,293 - DEBUG - Verifying the vn in opserver 2025-08-11 12:15:54,293 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-88273852 virtual network link through opserver 10.0.0.249 2025-08-11 12:15:54,293 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-11 12:15:54,579 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-11 12:15:54,626 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-88273852', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-88273852?flat'} 2025-08-11 12:15:54,626 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-88273852 is found in opserver 2025-08-11 12:15:54,640 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 12:15:54,645 - DEBUG - VRF ids for VN ctest-vn-88273852: {} 2025-08-11 12:15:54,645 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 12:15:54,650 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f0993ec5-e211-4fc3-88e7-a27cd3ba1cf8 2025-08-11 12:15:54,661 - DEBUG - Requesting: http://10.0.0.249:8082/project/47b549d3-59e9-4356-ab22-88e09539e5d4 2025-08-11 12:15:54,730 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ca6e22ab-e427-4675-8544-44552aa83890 2025-08-11 12:15:54,741 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ca6e22ab-e427-4675-8544-44552aa83890 2025-08-11 12:15:54,749 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc929bfc-2484-4b82-a139-a7879496f145 2025-08-11 12:15:54,755 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc929bfc-2484-4b82-a139-a7879496f145 2025-08-11 12:15:54,761 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/dc560c2f-8b3e-4e02-be48-24f2758395c6 2025-08-11 12:15:54,767 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 12:15:54,767 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ca6e22ab-e427-4675-8544-44552aa83890 2025-08-11 12:15:54,775 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc929bfc-2484-4b82-a139-a7879496f145 2025-08-11 12:15:54,787 - INFO - Verified VN network id 12 for VN ca6e22ab-e427-4675-8544-44552aa83890 2025-08-11 12:15:54,787 - INFO - Verifications in API Server for VN ctest-vn-64210593 passed 2025-08-11 12:15:54,788 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ca6e22ab-e427-4675-8544-44552aa83890 2025-08-11 12:15:54,796 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc929bfc-2484-4b82-a139-a7879496f145 2025-08-11 12:15:54,801 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc929bfc-2484-4b82-a139-a7879496f145 2025-08-11 12:15:54,807 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/dc560c2f-8b3e-4e02-be48-24f2758395c6 2025-08-11 12:15:54,817 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-64210593', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38451608', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14586634364762146421', 'uuid-lslong': '9602875438039316624'}, 'enable': 'true', 'created': '2025-08-11T12:15:52', 'last-modified': '2025-08-11T12:15:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.295842'} 2025-08-11 12:15:54,823 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 12:15:54,823 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64210593 passed 2025-08-11 12:15:54,823 - DEBUG - ====Verifying policy data for ctest-vn-64210593 in API_Server ====== 2025-08-11 12:15:54,823 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 12:15:54,828 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f0993ec5-e211-4fc3-88e7-a27cd3ba1cf8 2025-08-11 12:15:54,838 - DEBUG - Requesting: http://10.0.0.249:8082/project/47b549d3-59e9-4356-ab22-88e09539e5d4 2025-08-11 12:15:54,911 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ca6e22ab-e427-4675-8544-44552aa83890 2025-08-11 12:15:54,920 - DEBUG - ==>Verifying data for policy with id: bb7e1b86-bbe0-4940-8d20-4230ce47b79b, fqn: ['default-domain', 'ctest-TestBasicPolicy-38451608', 'ctest-policy-allow-all-71159431'] 2025-08-11 12:15:54,920 - INFO - VN ctest-vn-64210593 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 12:15:54,920 - DEBUG - Verifying the vn in opserver 2025-08-11 12:15:54,920 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-64210593 virtual network link through opserver 10.0.0.249 2025-08-11 12:15:54,920 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-11 12:15:54,929 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-64210593', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-64210593?flat'} 2025-08-11 12:15:54,929 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-64210593 is found in opserver 2025-08-11 12:15:54,938 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 12:15:54,943 - DEBUG - VRF ids for VN ctest-vn-64210593: {} 2025-08-11 12:15:54,990 - DEBUG - Services list from nova: [, , ] 2025-08-11 12:15:55,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3805-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3805-1) 2025-08-11 12:15:56,909 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3805-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3805-1) 2025-08-11 12:15:56,909 - INFO - Waiting for VM ctest-TestBasicPolicy-38451608-33939623 to be up.. 2025-08-11 12:15:56,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 12:16:02,036 - DEBUG - VM is in ACTIVE state now 2025-08-11 12:16:02,036 - INFO - VM name : ctest-TestBasicPolicy-38451608-33939623 2025-08-11 12:16:02,093 - DEBUG - VM ctest-TestBasicPolicy-38451608-33939623 ID is 5903eccb-a8d9-4a48-99af-7154f16e1d90 2025-08-11 12:16:02,109 - DEBUG - VM ctest-TestBasicPolicy-38451608-33939623 launched on Node cn-jenkins-deploy-platform-ansible-os-3805-1 2025-08-11 12:16:02,167 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/5903eccb-a8d9-4a48-99af-7154f16e1d90 2025-08-11 12:16:02,175 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bedd0896-6760-40f8-b2e6-f45406ab25d9 2025-08-11 12:16:05,411 - 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 1003ms') 2025-08-11 12:16:05,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38451608-33939623 failed! 2025-08-11 12:16:05,463 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38451608:ctest-vn-88273852 is 129.207.8.193 and allocation pool is NOT set 2025-08-11 12:16:07,525 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.344 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.344/1.422/2.501/1.078 ms') 2025-08-11 12:16:07,525 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38451608-33939623 passed 2025-08-11 12:16:07,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:16:07,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38451608-33939623, IP 129.207.8.195, Port 22 2025-08-11 12:16:07,818 - DEBUG - VM ctest-TestBasicPolicy-38451608-33939623 is ready for SSH connections 2025-08-11 12:16:07,818 - INFO - Waiting for VM ctest-TestBasicPolicy-38451608-55572281 to be up.. 2025-08-11 12:16:07,878 - DEBUG - VM is in ACTIVE state now 2025-08-11 12:16:07,878 - INFO - VM name : ctest-TestBasicPolicy-38451608-55572281 2025-08-11 12:16:07,934 - DEBUG - VM ctest-TestBasicPolicy-38451608-55572281 ID is e5663b05-b226-48e3-b713-5e595c0946ec 2025-08-11 12:16:07,934 - DEBUG - VM ctest-TestBasicPolicy-38451608-55572281 launched on Node cn-jenkins-deploy-platform-ansible-os-3805-1 2025-08-11 12:16:08,067 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e5663b05-b226-48e3-b713-5e595c0946ec 2025-08-11 12:16:08,074 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a60f9a9e-0b1d-4dd3-8c84-e963df31d33c 2025-08-11 12:16:09,298 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.314 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.314/1.520/2.726/1.206 ms') 2025-08-11 12:16:09,299 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38451608-55572281 passed 2025-08-11 12:16:09,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:16:09,447 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38451608-55572281, IP 181.80.239.67, Port 22 2025-08-11 12:16:09,602 - DEBUG - VM ctest-TestBasicPolicy-38451608-55572281 is ready for SSH connections 2025-08-11 12:16:09,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:16:09,602 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.80.239.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 12:16:09,602 - DEBUG - ping -s 56 -c 3 -W 1 181.80.239.67 2025-08-11 12:16:13,509 - DEBUG - PING 181.80.239.67 (181.80.239.67): 56 data bytes 64 bytes from 181.80.239.67: seq=0 ttl=63 time=2.840 ms 64 bytes from 181.80.239.67: seq=1 ttl=63 time=0.655 ms 64 bytes from 181.80.239.67: seq=2 ttl=63 time=0.720 ms --- 181.80.239.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.655/1.405/2.840 ms 2025-08-11 12:16:13,509 - INFO - Ping to IP 181.80.239.67 from VM ctest-TestBasicPolicy-38451608-33939623 passed 2025-08-11 12:16:13,679 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bb7e1b86-bbe0-4940-8d20-4230ce47b79b", "href": "http://10.0.0.249:8082/network-policy/bb7e1b86-bbe0-4940-8d20-4230ce47b79b"}} 2025-08-11 12:16:13,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:16:13,679 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.80.239.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 12:16:13,679 - DEBUG - ping -s 56 -c 3 -W 1 181.80.239.67 2025-08-11 12:16:16,876 - DEBUG - PING 181.80.239.67 (181.80.239.67): 56 data bytes 64 bytes from 181.80.239.67: seq=0 ttl=63 time=1.393 ms --- 181.80.239.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.393/1.393/1.393 ms 2025-08-11 12:16:16,876 - WARNING - Ping to IP 181.80.239.67 from VM ctest-TestBasicPolicy-38451608-33939623 failed 2025-08-11 12:16:16,876 - INFO - Deleting VM ctest-TestBasicPolicy-38451608-55572281 2025-08-11 12:16:16,932 - INFO - Deleting VM ctest-TestBasicPolicy-38451608-33939623 2025-08-11 12:16:17,283 - INFO - Deleted policy ctest-policy-allow-all-71159431 2025-08-11 12:16:17,283 - INFO - Deleting VN ctest-vn-64210593 2025-08-11 12:16:17,318 - DEBUG - VN ca6e22ab-e427-4675-8544-44552aa83890 still in use: Unable to complete operation on network ca6e22ab-e427-4675-8544-44552aa83890. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f605a4a-16f5-4178-adeb-ff796d91264b'] 2025-08-11 12:16:17,318 - WARNING - Deleting VN ctest-vn-64210593 failed..Will retry 2025-08-11 12:16:19,406 - DEBUG - Response for deleting network () 2025-08-11 12:16:19,406 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc929bfc-2484-4b82-a139-a7879496f145 2025-08-11 12:16:19,414 - DEBUG - Response Code: 404 2025-08-11 12:16:19,414 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 12:16:19,419 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f0993ec5-e211-4fc3-88e7-a27cd3ba1cf8 2025-08-11 12:16:19,471 - DEBUG - Requesting: http://10.0.0.249:8082/project/47b549d3-59e9-4356-ab22-88e09539e5d4 2025-08-11 12:16:19,540 - INFO - Validated that VN ctest-vn-64210593 is not found in API Server 2025-08-11 12:16:19,550 - DEBUG - VN ctest-vn-64210593 is not present in Agent 10.0.0.249 2025-08-11 12:16:19,550 - INFO - Validated that VN ctest-vn-64210593 is not in any agent 2025-08-11 12:16:19,564 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64210593 info 2025-08-11 12:16:19,564 - INFO - Deleting VN ctest-vn-88273852 2025-08-11 12:16:19,645 - DEBUG - Response for deleting network () 2025-08-11 12:16:19,645 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b69918e8-1ee1-495a-98ff-7caadcc9cad2 2025-08-11 12:16:19,655 - DEBUG - Response Code: 404 2025-08-11 12:16:19,655 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 12:16:19,660 - DEBUG - Requesting: http://10.0.0.249:8082/domain/f0993ec5-e211-4fc3-88e7-a27cd3ba1cf8 2025-08-11 12:16:19,720 - DEBUG - Requesting: http://10.0.0.249:8082/project/47b549d3-59e9-4356-ab22-88e09539e5d4 2025-08-11 12:16:19,791 - INFO - Validated that VN ctest-vn-88273852 is not found in API Server 2025-08-11 12:16:19,802 - DEBUG - VN ctest-vn-88273852 is not present in Agent 10.0.0.249 2025-08-11 12:16:19,802 - INFO - Validated that VN ctest-vn-88273852 is not in any agent 2025-08-11 12:16:19,817 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88273852 info 2025-08-11 12:16:20,076 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 12:16:20,076 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-11 12:16:20,076 - INFO - -------------------------------------------------------------------------------- 2025-08-11 12:16:20,717 - INFO - Deleted project: ctest-TestBasicPolicy-38451608, ID : 47b549d3-59e9-4356-ab22-88e09539e5d4