2024-08-26 17:12:07,031 - INFO - Domain Default found not creating 2024-08-26 17:12:07,208 - INFO - Project ctest-TestBasicPolicy-41936870 not found, creating it 2024-08-26 17:12:07,692 - INFO - Created Project:ctest-TestBasicPolicy-41936870, ID : 25301914-95ed-4c2c-8bc6-24fd88f2c5c4 2024-08-26 17:12:09,221 - INFO - ================================================================================ 2024-08-26 17:12:09,221 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-26 17:12:09,221 - 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-08-26 17:12:09,487 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.11': '0'}} with 2024-08-26 17:12:09,487 - INFO - Initial checks done. Running the testcase now 2024-08-26 17:12:09,487 - INFO - 2024-08-26 17:12:10,059 - DEBUG - Response for create_network : {'network': {'id': '9b9730f3-217a-440b-91e3-c44b2e3c2581', 'name': 'ctest-vn-90218824', 'tenant_id': '2530191495ed4c2c8bc624fd88f2c5c4', 'project_id': '2530191495ed4c2c8bc624fd88f2c5c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41936870', 'ctest-vn-90218824'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:12:10,272 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff254dc9-af7f-4146-9d7c-ec892b40bedc', 'name': '', 'tenant_id': '2530191495ed4c2c8bc624fd88f2c5c4', 'network_id': '9b9730f3-217a-440b-91e3-c44b2e3c2581', 'ip_version': 4, 'cidr': '147.130.120.0/26', 'allocation_pools': [{'start': '147.130.120.2', 'end': '147.130.120.62'}], 'gateway_ip': '147.130.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.130.120.2', 'tags': [], 'project_id': '2530191495ed4c2c8bc624fd88f2c5c4'}} 2024-08-26 17:12:10,305 - INFO - Created VN ctest-vn-90218824 2024-08-26 17:12:10,361 - DEBUG - VN ctest-vn-90218824 UUID is 9b9730f3-217a-440b-91e3-c44b2e3c2581 2024-08-26 17:12:10,719 - DEBUG - Response for create_network : {'network': {'id': '7921edb2-9608-4187-8251-f5f4208c1859', 'name': 'ctest-vn-06041027', 'tenant_id': '2530191495ed4c2c8bc624fd88f2c5c4', 'project_id': '2530191495ed4c2c8bc624fd88f2c5c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41936870', 'ctest-vn-06041027'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:12:11,312 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a961f9dd-c17e-4ad3-8d5e-2079e1c3dc8b', 'name': '', 'tenant_id': '2530191495ed4c2c8bc624fd88f2c5c4', 'network_id': '7921edb2-9608-4187-8251-f5f4208c1859', 'ip_version': 4, 'cidr': '195.165.154.64/26', 'allocation_pools': [{'start': '195.165.154.66', 'end': '195.165.154.126'}], 'gateway_ip': '195.165.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.165.154.66', 'tags': [], 'project_id': '2530191495ed4c2c8bc624fd88f2c5c4'}} 2024-08-26 17:12:11,359 - INFO - Created VN ctest-vn-06041027 2024-08-26 17:12:11,416 - DEBUG - VN ctest-vn-06041027 UUID is 7921edb2-9608-4187-8251-f5f4208c1859 2024-08-26 17:12:11,583 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-90218824, 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-41936870:ctest-vn-06041027, 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-08-26 17:12:11,941 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b9730f3-217a-440b-91e3-c44b2e3c2581', 'name': 'ctest-vn-90218824', 'tenant_id': '2530191495ed4c2c8bc624fd88f2c5c4', 'project_id': '2530191495ed4c2c8bc624fd88f2c5c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff254dc9-af7f-4146-9d7c-ec892b40bedc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41936870', 'ctest-vn-90218824'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41936870', 'ctest-policy-allow-all-24140970']], 'subnet_ipam': [{'subnet_cidr': '147.130.120.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:12:12,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7921edb2-9608-4187-8251-f5f4208c1859', 'name': 'ctest-vn-06041027', 'tenant_id': '2530191495ed4c2c8bc624fd88f2c5c4', 'project_id': '2530191495ed4c2c8bc624fd88f2c5c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a961f9dd-c17e-4ad3-8d5e-2079e1c3dc8b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41936870', 'ctest-vn-06041027'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41936870', 'ctest-policy-allow-all-24140970']], 'subnet_ipam': [{'subnet_cidr': '195.165.154.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 17:12:12,356 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-08-26 17:12:12,652 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-08-26 17:12:12,688 - DEBUG - Requesting: http://10.0.0.28:8082/domain/213d3b61-55cb-4554-8935-a9cac2a5f740 2024-08-26 17:12:12,703 - DEBUG - Requesting: http://10.0.0.28:8082/project/25301914-95ed-4c2c-8bc6-24fd88f2c5c4 2024-08-26 17:12:12,779 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/9b9730f3-217a-440b-91e3-c44b2e3c2581 2024-08-26 17:12:12,789 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/9b9730f3-217a-440b-91e3-c44b2e3c2581 2024-08-26 17:12:12,797 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/2cfe8d18-e21f-4360-b43d-b9d5d36e3143 2024-08-26 17:12:12,805 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/2cfe8d18-e21f-4360-b43d-b9d5d36e3143 2024-08-26 17:12:12,812 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/e20d55eb-ed39-4050-b0a5-c341e0e805a2 2024-08-26 17:12:12,819 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 17:12:12,819 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/9b9730f3-217a-440b-91e3-c44b2e3c2581 2024-08-26 17:12:12,827 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/2cfe8d18-e21f-4360-b43d-b9d5d36e3143 2024-08-26 17:12:12,839 - INFO - Verified VN network id 9 for VN 9b9730f3-217a-440b-91e3-c44b2e3c2581 2024-08-26 17:12:12,840 - INFO - Verifications in API Server for VN ctest-vn-90218824 passed 2024-08-26 17:12:12,840 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/9b9730f3-217a-440b-91e3-c44b2e3c2581 2024-08-26 17:12:12,850 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/2cfe8d18-e21f-4360-b43d-b9d5d36e3143 2024-08-26 17:12:12,857 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/2cfe8d18-e21f-4360-b43d-b9d5d36e3143 2024-08-26 17:12:12,864 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/e20d55eb-ed39-4050-b0a5-c341e0e805a2 2024-08-26 17:12:12,876 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-90218824', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41936870', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11211483618158986251', 'uuid-lslong': '10512461782390154625'}, 'enable': 'true', 'created': '2024-08-26T17:12:10', 'last-modified': '2024-08-26T17:12:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964675'} 2024-08-26 17:12:12,884 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 17:12:12,884 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90218824 passed 2024-08-26 17:12:12,884 - DEBUG - ====Verifying policy data for ctest-vn-90218824 in API_Server ====== 2024-08-26 17:12:12,884 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-08-26 17:12:12,891 - DEBUG - Requesting: http://10.0.0.28:8082/domain/213d3b61-55cb-4554-8935-a9cac2a5f740 2024-08-26 17:12:12,903 - DEBUG - Requesting: http://10.0.0.28:8082/project/25301914-95ed-4c2c-8bc6-24fd88f2c5c4 2024-08-26 17:12:12,974 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/9b9730f3-217a-440b-91e3-c44b2e3c2581 2024-08-26 17:12:12,983 - DEBUG - ==>Verifying data for policy with id: 80cb4634-1d84-4d85-a642-719d37f47352, fqn: ['default-domain', 'ctest-TestBasicPolicy-41936870', 'ctest-policy-allow-all-24140970'] 2024-08-26 17:12:12,983 - INFO - VN ctest-vn-90218824 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 17:12:12,983 - DEBUG - Verifying the vn in opserver 2024-08-26 17:12:12,983 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-90218824 virtual network link through opserver 10.0.0.28 2024-08-26 17:12:12,983 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-08-26 17:12:13,280 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-08-26 17:12:13,342 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-90218824', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-90218824?flat'} 2024-08-26 17:12:13,342 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-90218824 is found in opserver 2024-08-26 17:12:13,354 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 17:12:13,359 - DEBUG - VRF ids for VN ctest-vn-90218824: {} 2024-08-26 17:12:13,359 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-08-26 17:12:13,365 - DEBUG - Requesting: http://10.0.0.28:8082/domain/213d3b61-55cb-4554-8935-a9cac2a5f740 2024-08-26 17:12:13,377 - DEBUG - Requesting: http://10.0.0.28:8082/project/25301914-95ed-4c2c-8bc6-24fd88f2c5c4 2024-08-26 17:12:13,449 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/7921edb2-9608-4187-8251-f5f4208c1859 2024-08-26 17:12:13,462 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/7921edb2-9608-4187-8251-f5f4208c1859 2024-08-26 17:12:13,472 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/d5ce6988-9133-4d49-80fc-eb9e65d1c87a 2024-08-26 17:12:13,480 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/d5ce6988-9133-4d49-80fc-eb9e65d1c87a 2024-08-26 17:12:13,489 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/100bc8a2-ee41-46fd-a2d3-771e3de7ed67 2024-08-26 17:12:13,498 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 17:12:13,498 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/7921edb2-9608-4187-8251-f5f4208c1859 2024-08-26 17:12:13,507 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/d5ce6988-9133-4d49-80fc-eb9e65d1c87a 2024-08-26 17:12:13,522 - INFO - Verified VN network id 10 for VN 7921edb2-9608-4187-8251-f5f4208c1859 2024-08-26 17:12:13,522 - INFO - Verifications in API Server for VN ctest-vn-06041027 passed 2024-08-26 17:12:13,522 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/7921edb2-9608-4187-8251-f5f4208c1859 2024-08-26 17:12:13,531 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/d5ce6988-9133-4d49-80fc-eb9e65d1c87a 2024-08-26 17:12:13,539 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/d5ce6988-9133-4d49-80fc-eb9e65d1c87a 2024-08-26 17:12:13,547 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/100bc8a2-ee41-46fd-a2d3-771e3de7ed67 2024-08-26 17:12:13,560 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-06041027', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41936870', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8728518904097816967', 'uuid-lslong': '9390557126911072345'}, 'enable': 'true', 'created': '2024-08-26T17:12:10', 'last-modified': '2024-08-26T17:12:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398097'} 2024-08-26 17:12:13,566 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 17:12:13,566 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06041027 passed 2024-08-26 17:12:13,566 - DEBUG - ====Verifying policy data for ctest-vn-06041027 in API_Server ====== 2024-08-26 17:12:13,566 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-08-26 17:12:13,572 - DEBUG - Requesting: http://10.0.0.28:8082/domain/213d3b61-55cb-4554-8935-a9cac2a5f740 2024-08-26 17:12:13,584 - DEBUG - Requesting: http://10.0.0.28:8082/project/25301914-95ed-4c2c-8bc6-24fd88f2c5c4 2024-08-26 17:12:13,654 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/7921edb2-9608-4187-8251-f5f4208c1859 2024-08-26 17:12:13,663 - DEBUG - ==>Verifying data for policy with id: 80cb4634-1d84-4d85-a642-719d37f47352, fqn: ['default-domain', 'ctest-TestBasicPolicy-41936870', 'ctest-policy-allow-all-24140970'] 2024-08-26 17:12:13,663 - INFO - VN ctest-vn-06041027 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 17:12:13,663 - DEBUG - Verifying the vn in opserver 2024-08-26 17:12:13,663 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-06041027 virtual network link through opserver 10.0.0.28 2024-08-26 17:12:13,663 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-08-26 17:12:13,674 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-06041027', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-06041027?flat'} 2024-08-26 17:12:13,674 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-06041027 is found in opserver 2024-08-26 17:12:13,685 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 17:12:13,691 - DEBUG - VRF ids for VN ctest-vn-06041027: {} 2024-08-26 17:12:13,745 - DEBUG - Services list from nova: [, , ] 2024-08-26 17:12:14,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1764-1) 2024-08-26 17:12:16,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1764-1) 2024-08-26 17:12:16,016 - INFO - Waiting for VM ctest-TestBasicPolicy-41936870-24723921 to be up.. 2024-08-26 17:12:16,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 17:12:21,211 - DEBUG - VM is in ACTIVE state now 2024-08-26 17:12:21,211 - INFO - VM name : ctest-TestBasicPolicy-41936870-24723921 2024-08-26 17:12:21,296 - DEBUG - VM ctest-TestBasicPolicy-41936870-24723921 ID is ffd2ab58-a423-41d9-862d-70511a524b8e 2024-08-26 17:12:21,318 - DEBUG - VM ctest-TestBasicPolicy-41936870-24723921 launched on Node cn-jenkins-deploy-platform-ansible-os-1764-1 2024-08-26 17:12:21,413 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/ffd2ab58-a423-41d9-862d-70511a524b8e 2024-08-26 17:12:21,421 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/3bd5ad0d-c05a-4c6d-9f69-386534ba1af1 2024-08-26 17:12:24,685 - 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 1014ms') 2024-08-26 17:12:24,685 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41936870-24723921 failed! 2024-08-26 17:12:24,746 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41936870:ctest-vn-90218824 is 147.130.120.1 and allocation pool is NOT set 2024-08-26 17:12:26,806 - 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.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.00 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.998/6.243/10.489/4.245 ms') 2024-08-26 17:12:26,806 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41936870-24723921 passed 2024-08-26 17:12:26,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:12:26,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41936870-24723921, IP 147.130.120.3, Port 22 2024-08-26 17:12:27,131 - DEBUG - VM ctest-TestBasicPolicy-41936870-24723921 is ready for SSH connections 2024-08-26 17:12:27,132 - INFO - Waiting for VM ctest-TestBasicPolicy-41936870-81782503 to be up.. 2024-08-26 17:12:27,218 - DEBUG - VM is in ACTIVE state now 2024-08-26 17:12:27,219 - INFO - VM name : ctest-TestBasicPolicy-41936870-81782503 2024-08-26 17:12:27,299 - DEBUG - VM ctest-TestBasicPolicy-41936870-81782503 ID is 97589754-772c-48ce-b8d6-4cc5a5f48764 2024-08-26 17:12:27,300 - DEBUG - VM ctest-TestBasicPolicy-41936870-81782503 launched on Node cn-jenkins-deploy-platform-ansible-os-1764-1 2024-08-26 17:12:27,381 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/97589754-772c-48ce-b8d6-4cc5a5f48764 2024-08-26 17:12:27,391 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/fe031446-de0e-489c-9044-34f342353399 2024-08-26 17:12:28,633 - 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=5.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.43 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 = 1.433/3.272/5.112/1.839 ms') 2024-08-26 17:12:28,633 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41936870-81782503 passed 2024-08-26 17:12:28,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:12:28,789 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41936870-81782503, IP 195.165.154.67, Port 22 2024-08-26 17:12:28,944 - DEBUG - VM ctest-TestBasicPolicy-41936870-81782503 is ready for SSH connections 2024-08-26 17:12:28,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:12:28,945 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.165.154.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-08-26 17:12:28,945 - DEBUG - ping -s 56 -c 3 -W 1 195.165.154.67 2024-08-26 17:12:32,986 - DEBUG - PING 195.165.154.67 (195.165.154.67): 56 data bytes 64 bytes from 195.165.154.67: seq=0 ttl=63 time=3.588 ms 64 bytes from 195.165.154.67: seq=1 ttl=63 time=0.935 ms 64 bytes from 195.165.154.67: seq=2 ttl=63 time=0.773 ms --- 195.165.154.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.765/3.588 ms 2024-08-26 17:12:32,986 - INFO - Ping to IP 195.165.154.67 from VM ctest-TestBasicPolicy-41936870-24723921 passed 2024-08-26 17:12:33,172 - DEBUG - Policy Update Response {"network-policy": {"uuid": "80cb4634-1d84-4d85-a642-719d37f47352", "href": "http://10.0.0.28:8082/network-policy/80cb4634-1d84-4d85-a642-719d37f47352"}} 2024-08-26 17:12:33,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 17:12:33,172 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.165.154.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-08-26 17:12:33,173 - DEBUG - ping -s 56 -c 3 -W 1 195.165.154.67 2024-08-26 17:12:36,380 - DEBUG - PING 195.165.154.67 (195.165.154.67): 56 data bytes 64 bytes from 195.165.154.67: seq=0 ttl=63 time=1.467 ms --- 195.165.154.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.467/1.467/1.467 ms 2024-08-26 17:12:36,380 - WARNING - Ping to IP 195.165.154.67 from VM ctest-TestBasicPolicy-41936870-24723921 failed 2024-08-26 17:12:36,380 - INFO - Deleting VM ctest-TestBasicPolicy-41936870-81782503 2024-08-26 17:12:36,449 - INFO - Deleting VM ctest-TestBasicPolicy-41936870-24723921 2024-08-26 17:12:36,892 - INFO - Deleted policy ctest-policy-allow-all-24140970 2024-08-26 17:12:36,892 - INFO - Deleting VN ctest-vn-06041027 2024-08-26 17:12:36,932 - DEBUG - VN 7921edb2-9608-4187-8251-f5f4208c1859 still in use: Unable to complete operation on network 7921edb2-9608-4187-8251-f5f4208c1859. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2335827d-0378-4d41-9fea-d8a264b643c8'] 2024-08-26 17:12:36,932 - WARNING - Deleting VN ctest-vn-06041027 failed..Will retry 2024-08-26 17:12:39,037 - DEBUG - Response for deleting network () 2024-08-26 17:12:39,037 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/d5ce6988-9133-4d49-80fc-eb9e65d1c87a 2024-08-26 17:12:39,043 - DEBUG - Response Code: 404 2024-08-26 17:12:39,044 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-08-26 17:12:39,053 - DEBUG - Requesting: http://10.0.0.28:8082/domain/213d3b61-55cb-4554-8935-a9cac2a5f740 2024-08-26 17:12:39,109 - DEBUG - Requesting: http://10.0.0.28:8082/project/25301914-95ed-4c2c-8bc6-24fd88f2c5c4 2024-08-26 17:12:39,180 - INFO - Validated that VN ctest-vn-06041027 is not found in API Server 2024-08-26 17:12:39,191 - DEBUG - VN ctest-vn-06041027 is not present in Agent 10.0.0.28 2024-08-26 17:12:39,191 - INFO - Validated that VN ctest-vn-06041027 is not in any agent 2024-08-26 17:12:39,210 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06041027 info 2024-08-26 17:12:39,210 - INFO - Deleting VN ctest-vn-90218824 2024-08-26 17:12:39,320 - DEBUG - Response for deleting network () 2024-08-26 17:12:39,320 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/2cfe8d18-e21f-4360-b43d-b9d5d36e3143 2024-08-26 17:12:39,326 - DEBUG - Response Code: 404 2024-08-26 17:12:39,326 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-08-26 17:12:39,334 - DEBUG - Requesting: http://10.0.0.28:8082/domain/213d3b61-55cb-4554-8935-a9cac2a5f740 2024-08-26 17:12:39,389 - DEBUG - Requesting: http://10.0.0.28:8082/project/25301914-95ed-4c2c-8bc6-24fd88f2c5c4 2024-08-26 17:12:39,459 - INFO - Validated that VN ctest-vn-90218824 is not found in API Server 2024-08-26 17:12:39,471 - DEBUG - VN ctest-vn-90218824 is not present in Agent 10.0.0.28 2024-08-26 17:12:39,471 - INFO - Validated that VN ctest-vn-90218824 is not in any agent 2024-08-26 17:12:39,489 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90218824 info 2024-08-26 17:12:39,747 - DEBUG - No XMPP flaps were noticed during the test
2024-08-26 17:12:39,747 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2024-08-26 17:12:39,747 - INFO - -------------------------------------------------------------------------------- 2024-08-26 17:12:40,437 - INFO - Deleted project: ctest-TestBasicPolicy-41936870, ID : 25301914-95ed-4c2c-8bc6-24fd88f2c5c4