2024-10-23 13:56:09,333 - INFO - Domain Default found not creating 2024-10-23 13:56:09,552 - INFO - Project ctest-TestBasicPolicy-16415822 not found, creating it 2024-10-23 13:56:10,063 - INFO - Created Project:ctest-TestBasicPolicy-16415822, ID : 2379cb65-9a83-4c77-a85d-672378116ae4 2024-10-23 13:56:11,899 - INFO - ================================================================================ 2024-10-23 13:56:11,900 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-10-23 13:56:11,900 - 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 2024-10-23 13:56:12,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.5': '0'}} with 2024-10-23 13:56:12,160 - INFO - Initial checks done. Running the testcase now 2024-10-23 13:56:12,160 - INFO - 2024-10-23 13:56:12,785 - DEBUG - Response for create_network : {'network': {'id': 'fa0563fc-b9ba-47e8-84c2-9a921667c030', 'name': 'ctest-vn-17086527', 'tenant_id': '2379cb659a834c77a85d672378116ae4', 'project_id': '2379cb659a834c77a85d672378116ae4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16415822', 'ctest-vn-17086527'], 'port_security_enabled': True, 'description': ''}} 2024-10-23 13:56:12,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '666899c1-b723-4d25-ba84-ff1403f642f7', 'name': '', 'tenant_id': '2379cb659a834c77a85d672378116ae4', 'network_id': 'fa0563fc-b9ba-47e8-84c2-9a921667c030', 'ip_version': 4, 'cidr': '74.23.57.0/26', 'allocation_pools': [{'start': '74.23.57.2', 'end': '74.23.57.62'}], 'gateway_ip': '74.23.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.23.57.2', 'tags': [], 'project_id': '2379cb659a834c77a85d672378116ae4'}} 2024-10-23 13:56:13,018 - INFO - Created VN ctest-vn-17086527 2024-10-23 13:56:13,080 - DEBUG - VN ctest-vn-17086527 UUID is fa0563fc-b9ba-47e8-84c2-9a921667c030 2024-10-23 13:56:13,437 - DEBUG - Response for create_network : {'network': {'id': '3f31a62b-0693-4fca-8dcf-d0b4eb05dced', 'name': 'ctest-vn-83961196', 'tenant_id': '2379cb659a834c77a85d672378116ae4', 'project_id': '2379cb659a834c77a85d672378116ae4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16415822', 'ctest-vn-83961196'], 'port_security_enabled': True, 'description': ''}} 2024-10-23 13:56:13,640 - DEBUG - Response for create_subnet : {'subnet': {'id': '356a75fc-3940-4992-858b-4d197e534b9c', 'name': '', 'tenant_id': '2379cb659a834c77a85d672378116ae4', 'network_id': '3f31a62b-0693-4fca-8dcf-d0b4eb05dced', 'ip_version': 4, 'cidr': '223.109.145.192/26', 'allocation_pools': [{'start': '223.109.145.194', 'end': '223.109.145.254'}], 'gateway_ip': '223.109.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.109.145.194', 'tags': [], 'project_id': '2379cb659a834c77a85d672378116ae4'}} 2024-10-23 13:56:13,665 - INFO - Created VN ctest-vn-83961196 2024-10-23 13:56:13,724 - DEBUG - VN ctest-vn-83961196 UUID is 3f31a62b-0693-4fca-8dcf-d0b4eb05dced 2024-10-23 13:56:13,866 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-17086527, 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-16415822:ctest-vn-83961196, 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] 2024-10-23 13:56:14,194 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa0563fc-b9ba-47e8-84c2-9a921667c030', 'name': 'ctest-vn-17086527', 'tenant_id': '2379cb659a834c77a85d672378116ae4', 'project_id': '2379cb659a834c77a85d672378116ae4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['666899c1-b723-4d25-ba84-ff1403f642f7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16415822', 'ctest-vn-17086527'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16415822', 'ctest-policy-allow-all-63687890']], 'subnet_ipam': [{'subnet_cidr': '74.23.57.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-23 13:56:14,457 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f31a62b-0693-4fca-8dcf-d0b4eb05dced', 'name': 'ctest-vn-83961196', 'tenant_id': '2379cb659a834c77a85d672378116ae4', 'project_id': '2379cb659a834c77a85d672378116ae4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['356a75fc-3940-4992-858b-4d197e534b9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16415822', 'ctest-vn-83961196'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16415822', 'ctest-policy-allow-all-63687890']], 'subnet_ipam': [{'subnet_cidr': '223.109.145.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-10-23 13:56:14,652 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-10-23 13:56:14,956 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-10-23 13:56:14,994 - DEBUG - Requesting: http://10.0.0.35:8082/domain/2c9b2cc8-4d87-4657-9de6-5f24fe7aba5e 2024-10-23 13:56:15,012 - DEBUG - Requesting: http://10.0.0.35:8082/project/2379cb65-9a83-4c77-a85d-672378116ae4 2024-10-23 13:56:15,102 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/fa0563fc-b9ba-47e8-84c2-9a921667c030 2024-10-23 13:56:15,123 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/fa0563fc-b9ba-47e8-84c2-9a921667c030 2024-10-23 13:56:15,141 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/348ec2ec-43db-42ce-9e88-bcd587946a2d 2024-10-23 13:56:15,153 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/348ec2ec-43db-42ce-9e88-bcd587946a2d 2024-10-23 13:56:15,163 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/1cb9642a-0e3d-499a-a7d6-de003b192943 2024-10-23 13:56:15,173 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-23 13:56:15,173 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/fa0563fc-b9ba-47e8-84c2-9a921667c030 2024-10-23 13:56:15,189 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/348ec2ec-43db-42ce-9e88-bcd587946a2d 2024-10-23 13:56:15,214 - INFO - Verified VN network id 7 for VN fa0563fc-b9ba-47e8-84c2-9a921667c030 2024-10-23 13:56:15,214 - INFO - Verifications in API Server for VN ctest-vn-17086527 passed 2024-10-23 13:56:15,214 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/fa0563fc-b9ba-47e8-84c2-9a921667c030 2024-10-23 13:56:15,233 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/348ec2ec-43db-42ce-9e88-bcd587946a2d 2024-10-23 13:56:15,245 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/348ec2ec-43db-42ce-9e88-bcd587946a2d 2024-10-23 13:56:15,257 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/1cb9642a-0e3d-499a-a7d6-de003b192943 2024-10-23 13:56:15,275 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-17086527', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16415822', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18015915821464438760', 'uuid-lslong': '9566378510720155696'}, 'enable': 'true', 'created': '2024-10-23T13:56:12', 'last-modified': '2024-10-23T13:56:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.106458'} 2024-10-23 13:56:15,285 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-23 13:56:15,285 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17086527 passed 2024-10-23 13:56:15,285 - DEBUG - ====Verifying policy data for ctest-vn-17086527 in API_Server ====== 2024-10-23 13:56:15,286 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-10-23 13:56:15,294 - DEBUG - Requesting: http://10.0.0.35:8082/domain/2c9b2cc8-4d87-4657-9de6-5f24fe7aba5e 2024-10-23 13:56:15,311 - DEBUG - Requesting: http://10.0.0.35:8082/project/2379cb65-9a83-4c77-a85d-672378116ae4 2024-10-23 13:56:15,402 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/fa0563fc-b9ba-47e8-84c2-9a921667c030 2024-10-23 13:56:15,419 - DEBUG - ==>Verifying data for policy with id: 4541d0f6-cef9-4900-a673-97eb957f33ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-16415822', 'ctest-policy-allow-all-63687890'] 2024-10-23 13:56:15,419 - INFO - VN ctest-vn-17086527 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-23 13:56:15,419 - DEBUG - Verifying the vn in opserver 2024-10-23 13:56:15,419 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-17086527 virtual network link through opserver 10.0.0.35 2024-10-23 13:56:15,419 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-10-23 13:56:15,719 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-10-23 13:56:15,788 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-17086527', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-17086527?flat'} 2024-10-23 13:56:15,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-17086527 is found in opserver 2024-10-23 13:56:15,802 - DEBUG - Do not have enough data to verify VN in agent 2024-10-23 13:56:15,812 - DEBUG - VRF ids for VN ctest-vn-17086527: {} 2024-10-23 13:56:15,812 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-10-23 13:56:15,827 - DEBUG - Requesting: http://10.0.0.35:8082/domain/2c9b2cc8-4d87-4657-9de6-5f24fe7aba5e 2024-10-23 13:56:15,845 - DEBUG - Requesting: http://10.0.0.35:8082/project/2379cb65-9a83-4c77-a85d-672378116ae4 2024-10-23 13:56:15,932 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/3f31a62b-0693-4fca-8dcf-d0b4eb05dced 2024-10-23 13:56:15,952 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/3f31a62b-0693-4fca-8dcf-d0b4eb05dced 2024-10-23 13:56:15,969 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/a98d5135-abd1-49dc-a2dc-6ac90cb512c7 2024-10-23 13:56:15,982 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/a98d5135-abd1-49dc-a2dc-6ac90cb512c7 2024-10-23 13:56:15,994 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/6a26b11c-3ab3-4e52-b427-6764e8441cb7 2024-10-23 13:56:16,004 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-23 13:56:16,004 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/3f31a62b-0693-4fca-8dcf-d0b4eb05dced 2024-10-23 13:56:16,022 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/a98d5135-abd1-49dc-a2dc-6ac90cb512c7 2024-10-23 13:56:16,046 - INFO - Verified VN network id 8 for VN 3f31a62b-0693-4fca-8dcf-d0b4eb05dced 2024-10-23 13:56:16,046 - INFO - Verifications in API Server for VN ctest-vn-83961196 passed 2024-10-23 13:56:16,046 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/3f31a62b-0693-4fca-8dcf-d0b4eb05dced 2024-10-23 13:56:16,062 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/a98d5135-abd1-49dc-a2dc-6ac90cb512c7 2024-10-23 13:56:16,072 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/a98d5135-abd1-49dc-a2dc-6ac90cb512c7 2024-10-23 13:56:16,083 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/6a26b11c-3ab3-4e52-b427-6764e8441cb7 2024-10-23 13:56:16,101 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-83961196', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16415822', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4553603401972404170', 'uuid-lslong': '10218615554982665453'}, 'enable': 'true', 'created': '2024-10-23T13:56:13', 'last-modified': '2024-10-23T13:56:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.668034'} 2024-10-23 13:56:16,109 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-10-23 13:56:16,109 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83961196 passed 2024-10-23 13:56:16,109 - DEBUG - ====Verifying policy data for ctest-vn-83961196 in API_Server ====== 2024-10-23 13:56:16,109 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-10-23 13:56:16,116 - DEBUG - Requesting: http://10.0.0.35:8082/domain/2c9b2cc8-4d87-4657-9de6-5f24fe7aba5e 2024-10-23 13:56:16,131 - DEBUG - Requesting: http://10.0.0.35:8082/project/2379cb65-9a83-4c77-a85d-672378116ae4 2024-10-23 13:56:16,215 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/3f31a62b-0693-4fca-8dcf-d0b4eb05dced 2024-10-23 13:56:16,231 - DEBUG - ==>Verifying data for policy with id: 4541d0f6-cef9-4900-a673-97eb957f33ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-16415822', 'ctest-policy-allow-all-63687890'] 2024-10-23 13:56:16,231 - INFO - VN ctest-vn-83961196 Policy verification: verify_vn_policy_in_api_server, status: True 2024-10-23 13:56:16,231 - DEBUG - Verifying the vn in opserver 2024-10-23 13:56:16,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-83961196 virtual network link through opserver 10.0.0.35 2024-10-23 13:56:16,231 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-10-23 13:56:16,247 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-83961196', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-83961196?flat'} 2024-10-23 13:56:16,247 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-83961196 is found in opserver 2024-10-23 13:56:16,264 - DEBUG - Do not have enough data to verify VN in agent 2024-10-23 13:56:16,271 - DEBUG - VRF ids for VN ctest-vn-83961196: {} 2024-10-23 13:56:16,346 - DEBUG - Services list from nova: [, , ] 2024-10-23 13:56:17,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2129-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2129-1) 2024-10-23 13:56:18,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2129-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2129-1) 2024-10-23 13:56:18,830 - INFO - Waiting for VM ctest-TestBasicPolicy-16415822-42013208 to be up.. 2024-10-23 13:56:18,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-23 13:56:24,045 - DEBUG - VM is in ACTIVE state now 2024-10-23 13:56:24,045 - INFO - VM name : ctest-TestBasicPolicy-16415822-42013208 2024-10-23 13:56:24,144 - DEBUG - VM ctest-TestBasicPolicy-16415822-42013208 ID is 239bd0c6-bb95-49f5-aa3a-0ac16b37969e 2024-10-23 13:56:24,174 - DEBUG - VM ctest-TestBasicPolicy-16415822-42013208 launched on Node cn-jenkins-deploy-platform-ansible-os-2129-1 2024-10-23 13:56:24,274 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/239bd0c6-bb95-49f5-aa3a-0ac16b37969e 2024-10-23 13:56:24,292 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/ea4915fb-65e3-491c-9ce2-c45ea4e16af4 2024-10-23 13:56:27,601 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2024-10-23 13:56:27,602 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16415822-42013208 failed! 2024-10-23 13:56:27,664 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16415822:ctest-vn-17086527 is 74.23.57.1 and allocation pool is NOT set 2024-10-23 13:56:29,722 - 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=14.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.559 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.559/7.436/14.314/6.877 ms') 2024-10-23 13:56:29,722 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16415822-42013208 passed 2024-10-23 13:56:29,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 13:56:29,888 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16415822-42013208, IP 74.23.57.3, Port 22 2024-10-23 13:56:30,054 - DEBUG - VM ctest-TestBasicPolicy-16415822-42013208 is ready for SSH connections 2024-10-23 13:56:30,054 - INFO - Waiting for VM ctest-TestBasicPolicy-16415822-19989616 to be up.. 2024-10-23 13:56:30,156 - DEBUG - VM is in ACTIVE state now 2024-10-23 13:56:30,156 - INFO - VM name : ctest-TestBasicPolicy-16415822-19989616 2024-10-23 13:56:30,271 - DEBUG - VM ctest-TestBasicPolicy-16415822-19989616 ID is 4f47596b-cdc9-4b57-b9c2-431b0e43f73f 2024-10-23 13:56:30,271 - DEBUG - VM ctest-TestBasicPolicy-16415822-19989616 launched on Node cn-jenkins-deploy-platform-ansible-os-2129-1 2024-10-23 13:56:30,372 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/4f47596b-cdc9-4b57-b9c2-431b0e43f73f 2024-10-23 13:56:30,386 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/43363f2d-5b6c-4dba-9190-f35a15dfd3d8 2024-10-23 13:56:31,653 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.514 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.514/2.066/3.619/1.552 ms') 2024-10-23 13:56:31,653 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16415822-19989616 passed 2024-10-23 13:56:31,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 13:56:31,816 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16415822-19989616, IP 223.109.145.195, Port 22 2024-10-23 13:56:31,982 - DEBUG - VM ctest-TestBasicPolicy-16415822-19989616 is ready for SSH connections 2024-10-23 13:56:31,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 13:56:31,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.109.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-10-23 13:56:31,982 - DEBUG - ping -s 56 -c 3 -W 1 223.109.145.195 2024-10-23 13:56:36,012 - DEBUG - PING 223.109.145.195 (223.109.145.195): 56 data bytes 64 bytes from 223.109.145.195: seq=0 ttl=63 time=4.956 ms 64 bytes from 223.109.145.195: seq=1 ttl=63 time=1.036 ms 64 bytes from 223.109.145.195: seq=2 ttl=63 time=1.041 ms --- 223.109.145.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.036/2.344/4.956 ms 2024-10-23 13:56:36,012 - INFO - Ping to IP 223.109.145.195 from VM ctest-TestBasicPolicy-16415822-42013208 passed 2024-10-23 13:56:36,208 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4541d0f6-cef9-4900-a673-97eb957f33ff", "href": "http://10.0.0.35:8082/network-policy/4541d0f6-cef9-4900-a673-97eb957f33ff"}} 2024-10-23 13:56:36,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 13:56:36,208 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.109.145.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-10-23 13:56:36,208 - DEBUG - ping -s 56 -c 3 -W 1 223.109.145.195 2024-10-23 13:56:39,424 - DEBUG - PING 223.109.145.195 (223.109.145.195): 56 data bytes --- 223.109.145.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-10-23 13:56:39,425 - WARNING - Ping to IP 223.109.145.195 from VM ctest-TestBasicPolicy-16415822-42013208 failed 2024-10-23 13:56:39,425 - INFO - Deleting VM ctest-TestBasicPolicy-16415822-19989616 2024-10-23 13:56:39,508 - INFO - Deleting VM ctest-TestBasicPolicy-16415822-42013208 2024-10-23 13:56:40,044 - INFO - Deleted policy ctest-policy-allow-all-63687890 2024-10-23 13:56:40,045 - INFO - Deleting VN ctest-vn-83961196 2024-10-23 13:56:40,108 - DEBUG - VN 3f31a62b-0693-4fca-8dcf-d0b4eb05dced still in use: Unable to complete operation on network 3f31a62b-0693-4fca-8dcf-d0b4eb05dced. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9806e14d-a1db-48a3-9341-977823f0a2dd'] 2024-10-23 13:56:40,108 - WARNING - Deleting VN ctest-vn-83961196 failed..Will retry 2024-10-23 13:56:42,231 - DEBUG - Response for deleting network () 2024-10-23 13:56:42,232 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/a98d5135-abd1-49dc-a2dc-6ac90cb512c7 2024-10-23 13:56:42,239 - DEBUG - Response Code: 404 2024-10-23 13:56:42,239 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-10-23 13:56:42,249 - DEBUG - Requesting: http://10.0.0.35:8082/domain/2c9b2cc8-4d87-4657-9de6-5f24fe7aba5e 2024-10-23 13:56:42,307 - DEBUG - Requesting: http://10.0.0.35:8082/project/2379cb65-9a83-4c77-a85d-672378116ae4 2024-10-23 13:56:42,399 - INFO - Validated that VN ctest-vn-83961196 is not found in API Server 2024-10-23 13:56:42,412 - DEBUG - VN ctest-vn-83961196 is not present in Agent 10.0.0.35 2024-10-23 13:56:42,412 - INFO - Validated that VN ctest-vn-83961196 is not in any agent 2024-10-23 13:56:42,428 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83961196 info 2024-10-23 13:56:42,428 - INFO - Deleting VN ctest-vn-17086527 2024-10-23 13:56:42,558 - DEBUG - Response for deleting network () 2024-10-23 13:56:42,558 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/348ec2ec-43db-42ce-9e88-bcd587946a2d 2024-10-23 13:56:42,566 - DEBUG - Response Code: 404 2024-10-23 13:56:42,566 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-10-23 13:56:42,574 - DEBUG - Requesting: http://10.0.0.35:8082/domain/2c9b2cc8-4d87-4657-9de6-5f24fe7aba5e 2024-10-23 13:56:42,635 - DEBUG - Requesting: http://10.0.0.35:8082/project/2379cb65-9a83-4c77-a85d-672378116ae4 2024-10-23 13:56:42,723 - INFO - Validated that VN ctest-vn-17086527 is not found in API Server 2024-10-23 13:56:42,735 - DEBUG - VN ctest-vn-17086527 is not present in Agent 10.0.0.35 2024-10-23 13:56:42,735 - INFO - Validated that VN ctest-vn-17086527 is not in any agent 2024-10-23 13:56:42,751 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17086527 info 2024-10-23 13:56:43,008 - DEBUG - No XMPP flaps were noticed during the test 2024-10-23 13:56:43,008 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2024-10-23 13:56:43,008 - INFO - -------------------------------------------------------------------------------- 2024-10-23 13:56:43,745 - INFO - Deleted project: ctest-TestBasicPolicy-16415822, ID : 2379cb65-9a83-4c77-a85d-672378116ae4