2024-09-06 17:52:16,690 - INFO - Domain Default found not creating 2024-09-06 17:52:16,867 - INFO - Project ctest-TestBasicPolicy-11653783 not found, creating it 2024-09-06 17:52:17,350 - INFO - Created Project:ctest-TestBasicPolicy-11653783, ID : e3f71840-4117-410b-8362-6003a2218ee0 2024-09-06 17:52:19,882 - INFO - ================================================================================ 2024-09-06 17:52:19,882 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-06 17:52:19,882 - 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-09-06 17:52:20,140 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.33': '0'}} with 2024-09-06 17:52:20,141 - INFO - Initial checks done. Running the testcase now 2024-09-06 17:52:20,141 - INFO - 2024-09-06 17:52:20,691 - DEBUG - Response for create_network : {'network': {'id': 'a4be03a0-51d9-41b2-a321-8ceb18ea5a70', 'name': 'ctest-vn-47427769', 'tenant_id': 'e3f718404117410b83626003a2218ee0', 'project_id': 'e3f718404117410b83626003a2218ee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11653783', 'ctest-vn-47427769'], 'port_security_enabled': True, 'description': ''}} 2024-09-06 17:52:20,899 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bea32afc-35f7-41d1-9b6f-fdaabf053e45', 'name': '', 'tenant_id': 'e3f718404117410b83626003a2218ee0', 'network_id': 'a4be03a0-51d9-41b2-a321-8ceb18ea5a70', 'ip_version': 4, 'cidr': '83.15.119.192/26', 'allocation_pools': [{'start': '83.15.119.194', 'end': '83.15.119.254'}], 'gateway_ip': '83.15.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.15.119.194', 'tags': [], 'project_id': 'e3f718404117410b83626003a2218ee0'}} 2024-09-06 17:52:20,918 - INFO - Created VN ctest-vn-47427769 2024-09-06 17:52:20,970 - DEBUG - VN ctest-vn-47427769 UUID is a4be03a0-51d9-41b2-a321-8ceb18ea5a70 2024-09-06 17:52:21,297 - DEBUG - Response for create_network : {'network': {'id': '393ac711-3eb5-4bf2-8e7f-b73c98c86bd7', 'name': 'ctest-vn-05029291', 'tenant_id': 'e3f718404117410b83626003a2218ee0', 'project_id': 'e3f718404117410b83626003a2218ee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11653783', 'ctest-vn-05029291'], 'port_security_enabled': True, 'description': ''}} 2024-09-06 17:52:21,460 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff98ffe2-644a-4eed-8b0f-d9a2d8093ffc', 'name': '', 'tenant_id': 'e3f718404117410b83626003a2218ee0', 'network_id': '393ac711-3eb5-4bf2-8e7f-b73c98c86bd7', 'ip_version': 4, 'cidr': '95.81.162.128/26', 'allocation_pools': [{'start': '95.81.162.130', 'end': '95.81.162.190'}], 'gateway_ip': '95.81.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.81.162.130', 'tags': [], 'project_id': 'e3f718404117410b83626003a2218ee0'}} 2024-09-06 17:52:21,480 - INFO - Created VN ctest-vn-05029291 2024-09-06 17:52:21,530 - DEBUG - VN ctest-vn-05029291 UUID is 393ac711-3eb5-4bf2-8e7f-b73c98c86bd7 2024-09-06 17:52:21,645 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-47427769, 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-11653783:ctest-vn-05029291, 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-09-06 17:52:22,069 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4be03a0-51d9-41b2-a321-8ceb18ea5a70', 'name': 'ctest-vn-47427769', 'tenant_id': 'e3f718404117410b83626003a2218ee0', 'project_id': 'e3f718404117410b83626003a2218ee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bea32afc-35f7-41d1-9b6f-fdaabf053e45'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11653783', 'ctest-vn-47427769'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11653783', 'ctest-policy-allow-all-43385558']], 'subnet_ipam': [{'subnet_cidr': '83.15.119.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-06 17:52:22,363 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '393ac711-3eb5-4bf2-8e7f-b73c98c86bd7', 'name': 'ctest-vn-05029291', 'tenant_id': 'e3f718404117410b83626003a2218ee0', 'project_id': 'e3f718404117410b83626003a2218ee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff98ffe2-644a-4eed-8b0f-d9a2d8093ffc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11653783', 'ctest-vn-05029291'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11653783', 'ctest-policy-allow-all-43385558']], 'subnet_ipam': [{'subnet_cidr': '95.81.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-06 17:52:22,510 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-06 17:52:22,810 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-06 17:52:22,840 - DEBUG - Requesting: http://10.0.0.35:8082/domain/bff7bb93-b0a7-4d31-a3eb-4a65b02b5693 2024-09-06 17:52:22,854 - DEBUG - Requesting: http://10.0.0.35:8082/project/e3f71840-4117-410b-8362-6003a2218ee0 2024-09-06 17:52:22,927 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/a4be03a0-51d9-41b2-a321-8ceb18ea5a70 2024-09-06 17:52:22,937 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/a4be03a0-51d9-41b2-a321-8ceb18ea5a70 2024-09-06 17:52:22,946 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/227d8895-6c48-404e-a2f3-60cf60dfb7cb 2024-09-06 17:52:22,953 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/227d8895-6c48-404e-a2f3-60cf60dfb7cb 2024-09-06 17:52:22,961 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/e83b140b-722c-44d5-9d52-40218f122386 2024-09-06 17:52:22,968 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-06 17:52:22,968 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/a4be03a0-51d9-41b2-a321-8ceb18ea5a70 2024-09-06 17:52:22,976 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/227d8895-6c48-404e-a2f3-60cf60dfb7cb 2024-09-06 17:52:22,989 - INFO - Verified VN network id 7 for VN a4be03a0-51d9-41b2-a321-8ceb18ea5a70 2024-09-06 17:52:22,990 - INFO - Verifications in API Server for VN ctest-vn-47427769 passed 2024-09-06 17:52:22,990 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/a4be03a0-51d9-41b2-a321-8ceb18ea5a70 2024-09-06 17:52:22,999 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/227d8895-6c48-404e-a2f3-60cf60dfb7cb 2024-09-06 17:52:23,005 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/227d8895-6c48-404e-a2f3-60cf60dfb7cb 2024-09-06 17:52:23,012 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/e83b140b-722c-44d5-9d52-40218f122386 2024-09-06 17:52:23,024 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-47427769', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11653783', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11870929654898049458', 'uuid-lslong': '11754831443776920176'}, 'enable': 'true', 'created': '2024-09-06T17:52:20', 'last-modified': '2024-09-06T17:52:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983844'} 2024-09-06 17:52:23,031 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-06 17:52:23,031 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47427769 passed 2024-09-06 17:52:23,031 - DEBUG - ====Verifying policy data for ctest-vn-47427769 in API_Server ====== 2024-09-06 17:52:23,031 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-06 17:52:23,037 - DEBUG - Requesting: http://10.0.0.35:8082/domain/bff7bb93-b0a7-4d31-a3eb-4a65b02b5693 2024-09-06 17:52:23,049 - DEBUG - Requesting: http://10.0.0.35:8082/project/e3f71840-4117-410b-8362-6003a2218ee0 2024-09-06 17:52:23,119 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/a4be03a0-51d9-41b2-a321-8ceb18ea5a70 2024-09-06 17:52:23,128 - DEBUG - ==>Verifying data for policy with id: 7916cba8-ca28-4c6c-98ea-aff8560178ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-11653783', 'ctest-policy-allow-all-43385558'] 2024-09-06 17:52:23,128 - INFO - VN ctest-vn-47427769 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-06 17:52:23,128 - DEBUG - Verifying the vn in opserver 2024-09-06 17:52:23,128 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-47427769 virtual network link through opserver 10.0.0.35 2024-09-06 17:52:23,129 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-09-06 17:52:23,422 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-09-06 17:52:23,485 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-47427769', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-47427769?flat'} 2024-09-06 17:52:23,485 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-47427769 is found in opserver 2024-09-06 17:52:23,497 - DEBUG - Do not have enough data to verify VN in agent 2024-09-06 17:52:23,503 - DEBUG - VRF ids for VN ctest-vn-47427769: {} 2024-09-06 17:52:23,503 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-06 17:52:23,509 - DEBUG - Requesting: http://10.0.0.35:8082/domain/bff7bb93-b0a7-4d31-a3eb-4a65b02b5693 2024-09-06 17:52:23,522 - DEBUG - Requesting: http://10.0.0.35:8082/project/e3f71840-4117-410b-8362-6003a2218ee0 2024-09-06 17:52:23,596 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/393ac711-3eb5-4bf2-8e7f-b73c98c86bd7 2024-09-06 17:52:23,614 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/393ac711-3eb5-4bf2-8e7f-b73c98c86bd7 2024-09-06 17:52:23,625 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/910379c5-9ced-4d06-9fa6-a860110d9134 2024-09-06 17:52:23,634 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/910379c5-9ced-4d06-9fa6-a860110d9134 2024-09-06 17:52:23,642 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/79830eda-f375-4168-90e5-631634e7b9b1 2024-09-06 17:52:23,649 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-06 17:52:23,649 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/393ac711-3eb5-4bf2-8e7f-b73c98c86bd7 2024-09-06 17:52:23,657 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/910379c5-9ced-4d06-9fa6-a860110d9134 2024-09-06 17:52:23,671 - INFO - Verified VN network id 8 for VN 393ac711-3eb5-4bf2-8e7f-b73c98c86bd7 2024-09-06 17:52:23,671 - INFO - Verifications in API Server for VN ctest-vn-05029291 passed 2024-09-06 17:52:23,671 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/393ac711-3eb5-4bf2-8e7f-b73c98c86bd7 2024-09-06 17:52:23,680 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/910379c5-9ced-4d06-9fa6-a860110d9134 2024-09-06 17:52:23,688 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/910379c5-9ced-4d06-9fa6-a860110d9134 2024-09-06 17:52:23,695 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/79830eda-f375-4168-90e5-631634e7b9b1 2024-09-06 17:52:23,708 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-05029291', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11653783', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4123827285691550706', 'uuid-lslong': '10268127146317212631'}, 'enable': 'true', 'created': '2024-09-06T17:52:21', 'last-modified': '2024-09-06T17:52:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.415317'} 2024-09-06 17:52:23,716 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-06 17:52:23,716 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05029291 passed 2024-09-06 17:52:23,716 - DEBUG - ====Verifying policy data for ctest-vn-05029291 in API_Server ====== 2024-09-06 17:52:23,716 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-06 17:52:23,722 - DEBUG - Requesting: http://10.0.0.35:8082/domain/bff7bb93-b0a7-4d31-a3eb-4a65b02b5693 2024-09-06 17:52:23,734 - DEBUG - Requesting: http://10.0.0.35:8082/project/e3f71840-4117-410b-8362-6003a2218ee0 2024-09-06 17:52:23,803 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/393ac711-3eb5-4bf2-8e7f-b73c98c86bd7 2024-09-06 17:52:23,812 - DEBUG - ==>Verifying data for policy with id: 7916cba8-ca28-4c6c-98ea-aff8560178ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-11653783', 'ctest-policy-allow-all-43385558'] 2024-09-06 17:52:23,812 - INFO - VN ctest-vn-05029291 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-06 17:52:23,812 - DEBUG - Verifying the vn in opserver 2024-09-06 17:52:23,812 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-05029291 virtual network link through opserver 10.0.0.35 2024-09-06 17:52:23,812 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-09-06 17:52:23,823 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-05029291', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-05029291?flat'} 2024-09-06 17:52:23,823 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-05029291 is found in opserver 2024-09-06 17:52:23,834 - DEBUG - Do not have enough data to verify VN in agent 2024-09-06 17:52:23,839 - DEBUG - VRF ids for VN ctest-vn-05029291: {} 2024-09-06 17:52:23,898 - DEBUG - Services list from nova: [, , ] 2024-09-06 17:52:24,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1867-1) 2024-09-06 17:52:27,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1867-1) 2024-09-06 17:52:27,545 - INFO - Waiting for VM ctest-TestBasicPolicy-11653783-87511160 to be up.. 2024-09-06 17:52:27,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-06 17:52:32,738 - DEBUG - VM is in ACTIVE state now 2024-09-06 17:52:32,738 - INFO - VM name : ctest-TestBasicPolicy-11653783-87511160 2024-09-06 17:52:32,821 - DEBUG - VM ctest-TestBasicPolicy-11653783-87511160 ID is 72cf8b26-9bed-4a8d-bcc2-e81fbfb1a43f 2024-09-06 17:52:32,841 - DEBUG - VM ctest-TestBasicPolicy-11653783-87511160 launched on Node cn-jenkins-deploy-platform-ansible-os-1867-1 2024-09-06 17:52:32,921 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/72cf8b26-9bed-4a8d-bcc2-e81fbfb1a43f 2024-09-06 17:52:32,930 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/1e326adf-f1c2-4063-9c99-9ebf2c95b797 2024-09-06 17:52:36,196 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2024-09-06 17:52:36,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11653783-87511160 failed! 2024-09-06 17:52:36,251 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11653783:ctest-vn-47427769 is 83.15.119.193 and allocation pool is NOT set 2024-09-06 17:52:38,312 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.102/6.116/10.130/4.014 ms') 2024-09-06 17:52:38,312 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11653783-87511160 passed 2024-09-06 17:52:38,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 17:52:38,459 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11653783-87511160, IP 83.15.119.195, Port 22 2024-09-06 17:52:38,614 - DEBUG - VM ctest-TestBasicPolicy-11653783-87511160 is ready for SSH connections 2024-09-06 17:52:38,614 - INFO - Waiting for VM ctest-TestBasicPolicy-11653783-79885725 to be up.. 2024-09-06 17:52:38,692 - DEBUG - VM is in ACTIVE state now 2024-09-06 17:52:38,692 - INFO - VM name : ctest-TestBasicPolicy-11653783-79885725 2024-09-06 17:52:38,768 - DEBUG - VM ctest-TestBasicPolicy-11653783-79885725 ID is 3bed3b9a-ac1c-49c0-942a-d71fb91a7207 2024-09-06 17:52:38,768 - DEBUG - VM ctest-TestBasicPolicy-11653783-79885725 launched on Node cn-jenkins-deploy-platform-ansible-os-1867-1 2024-09-06 17:52:38,849 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/3bed3b9a-ac1c-49c0-942a-d71fb91a7207 2024-09-06 17:52:38,859 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/4678eb0f-8825-497e-837f-97810e62f00c 2024-09-06 17:52:40,102 - 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=9.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.813 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.813/5.154/9.495/4.341 ms') 2024-09-06 17:52:40,102 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11653783-79885725 passed 2024-09-06 17:52:40,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 17:52:40,259 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11653783-79885725, IP 95.81.162.131, Port 22 2024-09-06 17:52:40,413 - DEBUG - VM ctest-TestBasicPolicy-11653783-79885725 is ready for SSH connections 2024-09-06 17:52:40,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 17:52:40,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.81.162.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-09-06 17:52:40,414 - DEBUG - ping -s 56 -c 3 -W 1 95.81.162.131 2024-09-06 17:52:44,391 - DEBUG - PING 95.81.162.131 (95.81.162.131): 56 data bytes 64 bytes from 95.81.162.131: seq=0 ttl=63 time=3.962 ms 64 bytes from 95.81.162.131: seq=1 ttl=63 time=0.995 ms 64 bytes from 95.81.162.131: seq=2 ttl=63 time=0.808 ms --- 95.81.162.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.921/3.962 ms 2024-09-06 17:52:44,391 - INFO - Ping to IP 95.81.162.131 from VM ctest-TestBasicPolicy-11653783-87511160 passed 2024-09-06 17:52:44,578 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7916cba8-ca28-4c6c-98ea-aff8560178ae", "href": "http://10.0.0.35:8082/network-policy/7916cba8-ca28-4c6c-98ea-aff8560178ae"}} 2024-09-06 17:52:44,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 17:52:44,579 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.81.162.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-09-06 17:52:44,579 - DEBUG - ping -s 56 -c 3 -W 1 95.81.162.131 2024-09-06 17:52:47,784 - DEBUG - PING 95.81.162.131 (95.81.162.131): 56 data bytes --- 95.81.162.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-06 17:52:47,784 - WARNING - Ping to IP 95.81.162.131 from VM ctest-TestBasicPolicy-11653783-87511160 failed 2024-09-06 17:52:47,785 - INFO - Deleting VM ctest-TestBasicPolicy-11653783-79885725 2024-09-06 17:52:47,855 - INFO - Deleting VM ctest-TestBasicPolicy-11653783-87511160 2024-09-06 17:52:48,226 - INFO - Deleted policy ctest-policy-allow-all-43385558 2024-09-06 17:52:48,226 - INFO - Deleting VN ctest-vn-05029291 2024-09-06 17:52:48,263 - DEBUG - VN 393ac711-3eb5-4bf2-8e7f-b73c98c86bd7 still in use: Unable to complete operation on network 393ac711-3eb5-4bf2-8e7f-b73c98c86bd7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8c59ef5-23bf-4759-bbab-25ef6350d71c'] 2024-09-06 17:52:48,263 - WARNING - Deleting VN ctest-vn-05029291 failed..Will retry 2024-09-06 17:52:52,016 - DEBUG - Response for deleting network () 2024-09-06 17:52:52,016 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/910379c5-9ced-4d06-9fa6-a860110d9134 2024-09-06 17:52:52,023 - DEBUG - Response Code: 404 2024-09-06 17:52:52,023 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-06 17:52:52,029 - DEBUG - Requesting: http://10.0.0.35:8082/domain/bff7bb93-b0a7-4d31-a3eb-4a65b02b5693 2024-09-06 17:52:52,084 - DEBUG - Requesting: http://10.0.0.35:8082/project/e3f71840-4117-410b-8362-6003a2218ee0 2024-09-06 17:52:52,159 - INFO - Validated that VN ctest-vn-05029291 is not found in API Server 2024-09-06 17:52:52,170 - DEBUG - VN ctest-vn-05029291 is not present in Agent 10.0.0.35 2024-09-06 17:52:52,170 - INFO - Validated that VN ctest-vn-05029291 is not in any agent 2024-09-06 17:52:52,187 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05029291 info 2024-09-06 17:52:52,187 - INFO - Deleting VN ctest-vn-47427769 2024-09-06 17:52:52,288 - DEBUG - Response for deleting network () 2024-09-06 17:52:52,288 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/227d8895-6c48-404e-a2f3-60cf60dfb7cb 2024-09-06 17:52:52,294 - DEBUG - Response Code: 404 2024-09-06 17:52:52,295 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-06 17:52:52,303 - DEBUG - Requesting: http://10.0.0.35:8082/domain/bff7bb93-b0a7-4d31-a3eb-4a65b02b5693 2024-09-06 17:52:52,360 - DEBUG - Requesting: http://10.0.0.35:8082/project/e3f71840-4117-410b-8362-6003a2218ee0 2024-09-06 17:52:52,436 - INFO - Validated that VN ctest-vn-47427769 is not found in API Server 2024-09-06 17:52:52,447 - DEBUG - VN ctest-vn-47427769 is not present in Agent 10.0.0.35 2024-09-06 17:52:52,447 - INFO - Validated that VN ctest-vn-47427769 is not in any agent 2024-09-06 17:52:52,463 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47427769 info 2024-09-06 17:52:52,716 - DEBUG - No XMPP flaps were noticed during the test
2024-09-06 17:52:52,716 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2024-09-06 17:52:52,716 - INFO - -------------------------------------------------------------------------------- 2024-09-06 17:52:53,480 - INFO - Deleted project: ctest-TestBasicPolicy-11653783, ID : e3f71840-4117-410b-8362-6003a2218ee0