2025-01-15 09:06:32,448 - INFO - Domain Default found not creating 2025-01-15 09:06:32,617 - INFO - Project ctest-TestBasicPolicy-44819534 not found, creating it 2025-01-15 09:06:33,173 - INFO - Created Project:ctest-TestBasicPolicy-44819534, ID : fe628882-5561-4a1d-9277-5a91e0ed617d 2025-01-15 09:06:34,726 - INFO - ================================================================================ 2025-01-15 09:06:34,726 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-15 09:06:34,726 - 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-01-15 09:06:34,988 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.6': '0'}} with 2025-01-15 09:06:34,988 - INFO - Initial checks done. Running the testcase now 2025-01-15 09:06:34,989 - INFO - 2025-01-15 09:06:35,609 - DEBUG - Response for create_network : {'network': {'id': 'dc27bb43-bdda-4638-bb70-9fe12704da8c', 'name': 'ctest-vn-44198988', 'tenant_id': 'fe62888255614a1d92775a91e0ed617d', 'project_id': 'fe62888255614a1d92775a91e0ed617d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44819534', 'ctest-vn-44198988'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 09:06:35,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '7453c2e6-bc4c-4a31-9f51-7c53ef740459', 'name': '', 'tenant_id': 'fe62888255614a1d92775a91e0ed617d', 'network_id': 'dc27bb43-bdda-4638-bb70-9fe12704da8c', 'ip_version': 4, 'cidr': '174.174.182.192/26', 'allocation_pools': [{'start': '174.174.182.194', 'end': '174.174.182.254'}], 'gateway_ip': '174.174.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.174.182.194', 'tags': [], 'project_id': 'fe62888255614a1d92775a91e0ed617d'}} 2025-01-15 09:06:35,873 - INFO - Created VN ctest-vn-44198988 2025-01-15 09:06:35,931 - DEBUG - VN ctest-vn-44198988 UUID is dc27bb43-bdda-4638-bb70-9fe12704da8c 2025-01-15 09:06:36,270 - DEBUG - Response for create_network : {'network': {'id': '41036f01-54da-49d2-b727-8a1112448b87', 'name': 'ctest-vn-57353850', 'tenant_id': 'fe62888255614a1d92775a91e0ed617d', 'project_id': 'fe62888255614a1d92775a91e0ed617d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44819534', 'ctest-vn-57353850'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 09:06:36,447 - DEBUG - Response for create_subnet : {'subnet': {'id': '15464ce8-cf58-4094-8bc3-68824e08ec8d', 'name': '', 'tenant_id': 'fe62888255614a1d92775a91e0ed617d', 'network_id': '41036f01-54da-49d2-b727-8a1112448b87', 'ip_version': 4, 'cidr': '184.96.111.128/26', 'allocation_pools': [{'start': '184.96.111.130', 'end': '184.96.111.190'}], 'gateway_ip': '184.96.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.96.111.130', 'tags': [], 'project_id': 'fe62888255614a1d92775a91e0ed617d'}} 2025-01-15 09:06:36,469 - INFO - Created VN ctest-vn-57353850 2025-01-15 09:06:36,523 - DEBUG - VN ctest-vn-57353850 UUID is 41036f01-54da-49d2-b727-8a1112448b87 2025-01-15 09:06:36,647 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-44198988, 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-44819534:ctest-vn-57353850, 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-01-15 09:06:36,955 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc27bb43-bdda-4638-bb70-9fe12704da8c', 'name': 'ctest-vn-44198988', 'tenant_id': 'fe62888255614a1d92775a91e0ed617d', 'project_id': 'fe62888255614a1d92775a91e0ed617d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7453c2e6-bc4c-4a31-9f51-7c53ef740459'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44819534', 'ctest-vn-44198988'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44819534', 'ctest-policy-allow-all-84478671']], 'subnet_ipam': [{'subnet_cidr': '174.174.182.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 09:06:37,201 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41036f01-54da-49d2-b727-8a1112448b87', 'name': 'ctest-vn-57353850', 'tenant_id': 'fe62888255614a1d92775a91e0ed617d', 'project_id': 'fe62888255614a1d92775a91e0ed617d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['15464ce8-cf58-4094-8bc3-68824e08ec8d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44819534', 'ctest-vn-57353850'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44819534', 'ctest-policy-allow-all-84478671']], 'subnet_ipam': [{'subnet_cidr': '184.96.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-15 09:06:37,347 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-15 09:06:37,653 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-15 09:06:37,685 - DEBUG - Requesting: http://10.0.0.17:8082/domain/4a5de63c-79fe-4e8c-b066-9ee234f62f1e 2025-01-15 09:06:37,703 - DEBUG - Requesting: http://10.0.0.17:8082/project/fe628882-5561-4a1d-9277-5a91e0ed617d 2025-01-15 09:06:37,776 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/dc27bb43-bdda-4638-bb70-9fe12704da8c 2025-01-15 09:06:37,788 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/dc27bb43-bdda-4638-bb70-9fe12704da8c 2025-01-15 09:06:37,799 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5325346f-9db3-4722-8f3c-34a6ab19940f 2025-01-15 09:06:37,808 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5325346f-9db3-4722-8f3c-34a6ab19940f 2025-01-15 09:06:37,815 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/9db52e1d-3c41-4e95-aaa0-123a50eb9102 2025-01-15 09:06:37,824 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 09:06:37,824 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/dc27bb43-bdda-4638-bb70-9fe12704da8c 2025-01-15 09:06:37,837 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5325346f-9db3-4722-8f3c-34a6ab19940f 2025-01-15 09:06:37,853 - INFO - Verified VN network id 8 for VN dc27bb43-bdda-4638-bb70-9fe12704da8c 2025-01-15 09:06:37,853 - INFO - Verifications in API Server for VN ctest-vn-44198988 passed 2025-01-15 09:06:37,853 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/dc27bb43-bdda-4638-bb70-9fe12704da8c 2025-01-15 09:06:37,865 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5325346f-9db3-4722-8f3c-34a6ab19940f 2025-01-15 09:06:37,873 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5325346f-9db3-4722-8f3c-34a6ab19940f 2025-01-15 09:06:37,879 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/9db52e1d-3c41-4e95-aaa0-123a50eb9102 2025-01-15 09:06:37,892 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-44198988', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44819534', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15863854112058263096', 'uuid-lslong': '13506471071855205004'}, 'enable': 'true', 'created': '2025-01-15T09:06:35', 'last-modified': '2025-01-15T09:06:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.966330'} 2025-01-15 09:06:37,900 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-15 09:06:37,900 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44198988 passed 2025-01-15 09:06:37,900 - DEBUG - ====Verifying policy data for ctest-vn-44198988 in API_Server ====== 2025-01-15 09:06:37,900 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-15 09:06:37,907 - DEBUG - Requesting: http://10.0.0.17:8082/domain/4a5de63c-79fe-4e8c-b066-9ee234f62f1e 2025-01-15 09:06:37,919 - DEBUG - Requesting: http://10.0.0.17:8082/project/fe628882-5561-4a1d-9277-5a91e0ed617d 2025-01-15 09:06:37,989 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/dc27bb43-bdda-4638-bb70-9fe12704da8c 2025-01-15 09:06:38,001 - DEBUG - ==>Verifying data for policy with id: 601e421f-65d1-44c7-a2de-68a5b58de48b, fqn: ['default-domain', 'ctest-TestBasicPolicy-44819534', 'ctest-policy-allow-all-84478671'] 2025-01-15 09:06:38,002 - INFO - VN ctest-vn-44198988 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 09:06:38,002 - DEBUG - Verifying the vn in opserver 2025-01-15 09:06:38,002 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-44198988 virtual network link through opserver 10.0.0.17 2025-01-15 09:06:38,002 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-15 09:06:38,293 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-15 09:06:38,344 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-44198988', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-44198988?flat'} 2025-01-15 09:06:38,345 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-44198988 is found in opserver 2025-01-15 09:06:38,355 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 09:06:38,360 - DEBUG - VRF ids for VN ctest-vn-44198988: {} 2025-01-15 09:06:38,360 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-15 09:06:38,366 - DEBUG - Requesting: http://10.0.0.17:8082/domain/4a5de63c-79fe-4e8c-b066-9ee234f62f1e 2025-01-15 09:06:38,378 - DEBUG - Requesting: http://10.0.0.17:8082/project/fe628882-5561-4a1d-9277-5a91e0ed617d 2025-01-15 09:06:38,455 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/41036f01-54da-49d2-b727-8a1112448b87 2025-01-15 09:06:38,472 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/41036f01-54da-49d2-b727-8a1112448b87 2025-01-15 09:06:38,484 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/e9379e55-bbe4-4bee-bdb5-089bae2ad730 2025-01-15 09:06:38,492 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/e9379e55-bbe4-4bee-bdb5-089bae2ad730 2025-01-15 09:06:38,500 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/3be7f9a1-8199-4c95-83af-78bf9f8ec02e 2025-01-15 09:06:38,507 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 09:06:38,507 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/41036f01-54da-49d2-b727-8a1112448b87 2025-01-15 09:06:38,517 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/e9379e55-bbe4-4bee-bdb5-089bae2ad730 2025-01-15 09:06:38,536 - INFO - Verified VN network id 9 for VN 41036f01-54da-49d2-b727-8a1112448b87 2025-01-15 09:06:38,536 - INFO - Verifications in API Server for VN ctest-vn-57353850 passed 2025-01-15 09:06:38,536 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/41036f01-54da-49d2-b727-8a1112448b87 2025-01-15 09:06:38,546 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/e9379e55-bbe4-4bee-bdb5-089bae2ad730 2025-01-15 09:06:38,553 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/e9379e55-bbe4-4bee-bdb5-089bae2ad730 2025-01-15 09:06:38,561 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/3be7f9a1-8199-4c95-83af-78bf9f8ec02e 2025-01-15 09:06:38,576 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-57353850', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44819534', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4684710088904690130', 'uuid-lslong': '13197669038958087047'}, 'enable': 'true', 'created': '2025-01-15T09:06:36', 'last-modified': '2025-01-15T09:06:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400762'} 2025-01-15 09:06:38,583 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-15 09:06:38,584 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57353850 passed 2025-01-15 09:06:38,584 - DEBUG - ====Verifying policy data for ctest-vn-57353850 in API_Server ====== 2025-01-15 09:06:38,584 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-15 09:06:38,591 - DEBUG - Requesting: http://10.0.0.17:8082/domain/4a5de63c-79fe-4e8c-b066-9ee234f62f1e 2025-01-15 09:06:38,604 - DEBUG - Requesting: http://10.0.0.17:8082/project/fe628882-5561-4a1d-9277-5a91e0ed617d 2025-01-15 09:06:38,683 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/41036f01-54da-49d2-b727-8a1112448b87 2025-01-15 09:06:38,694 - DEBUG - ==>Verifying data for policy with id: 601e421f-65d1-44c7-a2de-68a5b58de48b, fqn: ['default-domain', 'ctest-TestBasicPolicy-44819534', 'ctest-policy-allow-all-84478671'] 2025-01-15 09:06:38,694 - INFO - VN ctest-vn-57353850 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-15 09:06:38,694 - DEBUG - Verifying the vn in opserver 2025-01-15 09:06:38,694 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-57353850 virtual network link through opserver 10.0.0.17 2025-01-15 09:06:38,694 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-15 09:06:38,706 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-57353850', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-57353850?flat'} 2025-01-15 09:06:38,706 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-57353850 is found in opserver 2025-01-15 09:06:38,721 - DEBUG - Do not have enough data to verify VN in agent 2025-01-15 09:06:38,730 - DEBUG - VRF ids for VN ctest-vn-57353850: {} 2025-01-15 09:06:38,790 - DEBUG - Services list from nova: [, , ] 2025-01-15 09:06:39,864 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2636-1) 2025-01-15 09:06:41,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2636-1) 2025-01-15 09:06:41,166 - INFO - Waiting for VM ctest-TestBasicPolicy-44819534-26068114 to be up.. 2025-01-15 09:06:41,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 09:06:46,349 - DEBUG - VM is in ACTIVE state now 2025-01-15 09:06:46,349 - INFO - VM name : ctest-TestBasicPolicy-44819534-26068114 2025-01-15 09:06:46,432 - DEBUG - VM ctest-TestBasicPolicy-44819534-26068114 ID is cbe1fd77-66bd-441f-95cc-8c5294c93ac0 2025-01-15 09:06:46,456 - DEBUG - VM ctest-TestBasicPolicy-44819534-26068114 launched on Node cn-jenkins-deploy-platform-ansible-os-2636-1 2025-01-15 09:06:46,541 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/cbe1fd77-66bd-441f-95cc-8c5294c93ac0 2025-01-15 09:06:46,551 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/f9a6f67b-b65c-40f1-922f-bdc85096640d 2025-01-15 09:06:49,761 - 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-01-15 09:06:49,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44819534-26068114 failed! 2025-01-15 09:06:49,819 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44819534:ctest-vn-44198988 is 174.174.182.193 and allocation pool is NOT set 2025-01-15 09:06:51,878 - 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=7.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.555 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.555/4.230/7.905/3.675 ms') 2025-01-15 09:06:51,878 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44819534-26068114 passed 2025-01-15 09:06:52,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 09:06:52,035 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44819534-26068114, IP 174.174.182.195, Port 22 2025-01-15 09:06:52,191 - DEBUG - VM ctest-TestBasicPolicy-44819534-26068114 is ready for SSH connections 2025-01-15 09:06:52,192 - INFO - Waiting for VM ctest-TestBasicPolicy-44819534-21466498 to be up.. 2025-01-15 09:06:52,276 - DEBUG - VM is in ACTIVE state now 2025-01-15 09:06:52,276 - INFO - VM name : ctest-TestBasicPolicy-44819534-21466498 2025-01-15 09:06:52,365 - DEBUG - VM ctest-TestBasicPolicy-44819534-21466498 ID is a31bc278-71ee-4a57-be32-e87f1528c7e1 2025-01-15 09:06:52,365 - DEBUG - VM ctest-TestBasicPolicy-44819534-21466498 launched on Node cn-jenkins-deploy-platform-ansible-os-2636-1 2025-01-15 09:06:52,445 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/a31bc278-71ee-4a57-be32-e87f1528c7e1 2025-01-15 09:06:52,455 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/fd93cf56-e8d8-436e-b853-33c051ac0b0c 2025-01-15 09:06:53,699 - 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.434 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.434/1.584/2.734/1.150 ms') 2025-01-15 09:06:53,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44819534-21466498 passed 2025-01-15 09:06:53,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 09:06:53,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44819534-21466498, IP 184.96.111.131, Port 22 2025-01-15 09:06:54,018 - DEBUG - VM ctest-TestBasicPolicy-44819534-21466498 is ready for SSH connections 2025-01-15 09:06:54,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 09:06:54,018 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.96.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-15 09:06:54,019 - DEBUG - ping -s 56 -c 3 -W 1 184.96.111.131 2025-01-15 09:06:57,712 - DEBUG - PING 184.96.111.131 (184.96.111.131): 56 data bytes 64 bytes from 184.96.111.131: seq=0 ttl=63 time=3.975 ms 64 bytes from 184.96.111.131: seq=1 ttl=63 time=0.877 ms 64 bytes from 184.96.111.131: seq=2 ttl=63 time=0.905 ms --- 184.96.111.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.919/3.975 ms 2025-01-15 09:06:57,712 - INFO - Ping to IP 184.96.111.131 from VM ctest-TestBasicPolicy-44819534-26068114 passed 2025-01-15 09:06:57,900 - DEBUG - Policy Update Response {"network-policy": {"uuid": "601e421f-65d1-44c7-a2de-68a5b58de48b", "href": "http://10.0.0.17:8082/network-policy/601e421f-65d1-44c7-a2de-68a5b58de48b"}} 2025-01-15 09:06:57,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 09:06:57,900 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.96.111.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-15 09:06:57,901 - DEBUG - ping -s 56 -c 3 -W 1 184.96.111.131 2025-01-15 09:07:01,119 - DEBUG - PING 184.96.111.131 (184.96.111.131): 56 data bytes 64 bytes from 184.96.111.131: seq=0 ttl=63 time=1.653 ms --- 184.96.111.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.653/1.653/1.653 ms 2025-01-15 09:07:01,120 - WARNING - Ping to IP 184.96.111.131 from VM ctest-TestBasicPolicy-44819534-26068114 failed 2025-01-15 09:07:01,120 - INFO - Deleting VM ctest-TestBasicPolicy-44819534-21466498 2025-01-15 09:07:01,351 - INFO - Deleting VM ctest-TestBasicPolicy-44819534-26068114 2025-01-15 09:07:01,795 - INFO - Deleted policy ctest-policy-allow-all-84478671 2025-01-15 09:07:01,795 - INFO - Deleting VN ctest-vn-57353850 2025-01-15 09:07:01,833 - DEBUG - VN 41036f01-54da-49d2-b727-8a1112448b87 still in use: Unable to complete operation on network 41036f01-54da-49d2-b727-8a1112448b87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7769b3fd-0bae-4234-9ea7-2542530fbee3'] 2025-01-15 09:07:01,833 - WARNING - Deleting VN ctest-vn-57353850 failed..Will retry 2025-01-15 09:07:03,951 - DEBUG - Response for deleting network () 2025-01-15 09:07:03,952 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/e9379e55-bbe4-4bee-bdb5-089bae2ad730 2025-01-15 09:07:03,960 - DEBUG - Response Code: 404 2025-01-15 09:07:03,960 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-15 09:07:03,966 - DEBUG - Requesting: http://10.0.0.17:8082/domain/4a5de63c-79fe-4e8c-b066-9ee234f62f1e 2025-01-15 09:07:04,021 - DEBUG - Requesting: http://10.0.0.17:8082/project/fe628882-5561-4a1d-9277-5a91e0ed617d 2025-01-15 09:07:04,097 - INFO - Validated that VN ctest-vn-57353850 is not found in API Server 2025-01-15 09:07:04,108 - DEBUG - VN ctest-vn-57353850 is not present in Agent 10.0.0.17 2025-01-15 09:07:04,108 - INFO - Validated that VN ctest-vn-57353850 is not in any agent 2025-01-15 09:07:04,123 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57353850 info 2025-01-15 09:07:04,123 - INFO - Deleting VN ctest-vn-44198988 2025-01-15 09:07:04,230 - DEBUG - Response for deleting network () 2025-01-15 09:07:04,230 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/5325346f-9db3-4722-8f3c-34a6ab19940f 2025-01-15 09:07:04,236 - DEBUG - Response Code: 404 2025-01-15 09:07:04,236 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-15 09:07:04,241 - DEBUG - Requesting: http://10.0.0.17:8082/domain/4a5de63c-79fe-4e8c-b066-9ee234f62f1e 2025-01-15 09:07:04,296 - DEBUG - Requesting: http://10.0.0.17:8082/project/fe628882-5561-4a1d-9277-5a91e0ed617d 2025-01-15 09:07:04,370 - INFO - Validated that VN ctest-vn-44198988 is not found in API Server 2025-01-15 09:07:04,381 - DEBUG - VN ctest-vn-44198988 is not present in Agent 10.0.0.17 2025-01-15 09:07:04,381 - INFO - Validated that VN ctest-vn-44198988 is not in any agent 2025-01-15 09:07:04,397 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44198988 info 2025-01-15 09:07:04,656 - DEBUG - No XMPP flaps were noticed during the test 2025-01-15 09:07:04,656 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-15 09:07:04,656 - INFO - -------------------------------------------------------------------------------- 2025-01-15 09:07:05,347 - INFO - Deleted project: ctest-TestBasicPolicy-44819534, ID : fe628882-5561-4a1d-9277-5a91e0ed617d