2024-09-05 02:32:17,241 - INFO - Domain Default found not creating 2024-09-05 02:32:17,388 - INFO - Project ctest-TestBasicPolicy-40881346 not found, creating it 2024-09-05 02:32:17,837 - INFO - Created Project:ctest-TestBasicPolicy-40881346, ID : c2007eab-33d1-4d27-9f6c-872fb368d59d 2024-09-05 02:32:19,284 - INFO - ================================================================================ 2024-09-05 02:32:19,284 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-05 02:32:19,284 - 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-05 02:32:19,551 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.5': '0'}} with 2024-09-05 02:32:19,551 - INFO - Initial checks done. Running the testcase now 2024-09-05 02:32:19,551 - INFO - 2024-09-05 02:32:20,105 - DEBUG - Response for create_network : {'network': {'id': 'f776a829-3498-4ee8-93e0-2ffb1e93d4a3', 'name': 'ctest-vn-62517611', 'tenant_id': 'c2007eab33d14d279f6c872fb368d59d', 'project_id': 'c2007eab33d14d279f6c872fb368d59d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40881346', 'ctest-vn-62517611'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 02:32:20,322 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3a13428-3646-4d11-aeb4-51117fb314fd', 'name': '', 'tenant_id': 'c2007eab33d14d279f6c872fb368d59d', 'network_id': 'f776a829-3498-4ee8-93e0-2ffb1e93d4a3', 'ip_version': 4, 'cidr': '124.129.239.128/26', 'allocation_pools': [{'start': '124.129.239.130', 'end': '124.129.239.190'}], 'gateway_ip': '124.129.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.129.239.130', 'tags': [], 'project_id': 'c2007eab33d14d279f6c872fb368d59d'}} 2024-09-05 02:32:20,341 - INFO - Created VN ctest-vn-62517611 2024-09-05 02:32:20,391 - DEBUG - VN ctest-vn-62517611 UUID is f776a829-3498-4ee8-93e0-2ffb1e93d4a3 2024-09-05 02:32:20,694 - DEBUG - Response for create_network : {'network': {'id': '69650257-2adf-4627-98c1-1514900ff5ab', 'name': 'ctest-vn-81683072', 'tenant_id': 'c2007eab33d14d279f6c872fb368d59d', 'project_id': 'c2007eab33d14d279f6c872fb368d59d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40881346', 'ctest-vn-81683072'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 02:32:20,896 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1d51bd4-e7fb-42e1-89fe-e69797c6b548', 'name': '', 'tenant_id': 'c2007eab33d14d279f6c872fb368d59d', 'network_id': '69650257-2adf-4627-98c1-1514900ff5ab', 'ip_version': 4, 'cidr': '110.68.7.192/26', 'allocation_pools': [{'start': '110.68.7.194', 'end': '110.68.7.254'}], 'gateway_ip': '110.68.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.68.7.194', 'tags': [], 'project_id': 'c2007eab33d14d279f6c872fb368d59d'}} 2024-09-05 02:32:20,914 - INFO - Created VN ctest-vn-81683072 2024-09-05 02:32:20,963 - DEBUG - VN ctest-vn-81683072 UUID is 69650257-2adf-4627-98c1-1514900ff5ab 2024-09-05 02:32:21,070 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-62517611, 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-40881346:ctest-vn-81683072, 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-05 02:32:21,352 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f776a829-3498-4ee8-93e0-2ffb1e93d4a3', 'name': 'ctest-vn-62517611', 'tenant_id': 'c2007eab33d14d279f6c872fb368d59d', 'project_id': 'c2007eab33d14d279f6c872fb368d59d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3a13428-3646-4d11-aeb4-51117fb314fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40881346', 'ctest-vn-62517611'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40881346', 'ctest-policy-allow-all-44988376']], 'subnet_ipam': [{'subnet_cidr': '124.129.239.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-05 02:32:21,591 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69650257-2adf-4627-98c1-1514900ff5ab', 'name': 'ctest-vn-81683072', 'tenant_id': 'c2007eab33d14d279f6c872fb368d59d', 'project_id': 'c2007eab33d14d279f6c872fb368d59d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1d51bd4-e7fb-42e1-89fe-e69797c6b548'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40881346', 'ctest-vn-81683072'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40881346', 'ctest-policy-allow-all-44988376']], 'subnet_ipam': [{'subnet_cidr': '110.68.7.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-05 02:32:21,755 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-05 02:32:22,053 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-05 02:32:22,084 - DEBUG - Requesting: http://10.0.0.32:8082/domain/74dea40d-eb15-44dd-8947-fbbd2f2d6cc0 2024-09-05 02:32:22,098 - DEBUG - Requesting: http://10.0.0.32:8082/project/c2007eab-33d1-4d27-9f6c-872fb368d59d 2024-09-05 02:32:22,167 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f776a829-3498-4ee8-93e0-2ffb1e93d4a3 2024-09-05 02:32:22,176 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f776a829-3498-4ee8-93e0-2ffb1e93d4a3 2024-09-05 02:32:22,184 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/124700b8-67d5-4f62-b831-2540963c087e 2024-09-05 02:32:22,191 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/124700b8-67d5-4f62-b831-2540963c087e 2024-09-05 02:32:22,197 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/9f3b3c47-efec-43b3-a2cd-bc1217db9aae 2024-09-05 02:32:22,204 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-05 02:32:22,204 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f776a829-3498-4ee8-93e0-2ffb1e93d4a3 2024-09-05 02:32:22,211 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/124700b8-67d5-4f62-b831-2540963c087e 2024-09-05 02:32:22,223 - INFO - Verified VN network id 8 for VN f776a829-3498-4ee8-93e0-2ffb1e93d4a3 2024-09-05 02:32:22,223 - INFO - Verifications in API Server for VN ctest-vn-62517611 passed 2024-09-05 02:32:22,223 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f776a829-3498-4ee8-93e0-2ffb1e93d4a3 2024-09-05 02:32:22,231 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/124700b8-67d5-4f62-b831-2540963c087e 2024-09-05 02:32:22,237 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/124700b8-67d5-4f62-b831-2540963c087e 2024-09-05 02:32:22,243 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/9f3b3c47-efec-43b3-a2cd-bc1217db9aae 2024-09-05 02:32:22,255 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-62517611', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40881346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17831624669549580008', 'uuid-lslong': '10655569473954895011'}, 'enable': 'true', 'created': '2024-09-05T02:32:20', 'last-modified': '2024-09-05T02:32:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925769'} 2024-09-05 02:32:22,261 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-05 02:32:22,261 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62517611 passed 2024-09-05 02:32:22,262 - DEBUG - ====Verifying policy data for ctest-vn-62517611 in API_Server ====== 2024-09-05 02:32:22,262 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-05 02:32:22,267 - DEBUG - Requesting: http://10.0.0.32:8082/domain/74dea40d-eb15-44dd-8947-fbbd2f2d6cc0 2024-09-05 02:32:22,279 - DEBUG - Requesting: http://10.0.0.32:8082/project/c2007eab-33d1-4d27-9f6c-872fb368d59d 2024-09-05 02:32:22,347 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/f776a829-3498-4ee8-93e0-2ffb1e93d4a3 2024-09-05 02:32:22,354 - DEBUG - ==>Verifying data for policy with id: 75fd833d-d4f6-4d0c-9343-632bf8ab2d6d, fqn: ['default-domain', 'ctest-TestBasicPolicy-40881346', 'ctest-policy-allow-all-44988376'] 2024-09-05 02:32:22,354 - INFO - VN ctest-vn-62517611 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-05 02:32:22,355 - DEBUG - Verifying the vn in opserver 2024-09-05 02:32:22,355 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-62517611 virtual network link through opserver 10.0.0.32 2024-09-05 02:32:22,355 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-09-05 02:32:22,646 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-09-05 02:32:22,702 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-62517611', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-62517611?flat'} 2024-09-05 02:32:22,703 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-62517611 is found in opserver 2024-09-05 02:32:22,712 - DEBUG - Do not have enough data to verify VN in agent 2024-09-05 02:32:22,717 - DEBUG - VRF ids for VN ctest-vn-62517611: {} 2024-09-05 02:32:22,717 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-05 02:32:22,723 - DEBUG - Requesting: http://10.0.0.32:8082/domain/74dea40d-eb15-44dd-8947-fbbd2f2d6cc0 2024-09-05 02:32:22,733 - DEBUG - Requesting: http://10.0.0.32:8082/project/c2007eab-33d1-4d27-9f6c-872fb368d59d 2024-09-05 02:32:22,803 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/69650257-2adf-4627-98c1-1514900ff5ab 2024-09-05 02:32:22,813 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/69650257-2adf-4627-98c1-1514900ff5ab 2024-09-05 02:32:22,821 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/19cbde65-9cb9-4492-8cb8-1cc8126067d6 2024-09-05 02:32:22,827 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/19cbde65-9cb9-4492-8cb8-1cc8126067d6 2024-09-05 02:32:22,834 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/510d7d65-760f-42f3-a622-97f21afebb52 2024-09-05 02:32:22,840 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-05 02:32:22,840 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/69650257-2adf-4627-98c1-1514900ff5ab 2024-09-05 02:32:22,847 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/19cbde65-9cb9-4492-8cb8-1cc8126067d6 2024-09-05 02:32:22,858 - INFO - Verified VN network id 9 for VN 69650257-2adf-4627-98c1-1514900ff5ab 2024-09-05 02:32:22,858 - INFO - Verifications in API Server for VN ctest-vn-81683072 passed 2024-09-05 02:32:22,858 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/69650257-2adf-4627-98c1-1514900ff5ab 2024-09-05 02:32:22,865 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/19cbde65-9cb9-4492-8cb8-1cc8126067d6 2024-09-05 02:32:22,871 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/19cbde65-9cb9-4492-8cb8-1cc8126067d6 2024-09-05 02:32:22,877 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/510d7d65-760f-42f3-a622-97f21afebb52 2024-09-05 02:32:22,889 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-81683072', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40881346', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7594478920034895399', 'uuid-lslong': '11007102142330697131'}, 'enable': 'true', 'created': '2024-09-05T02:32:20', 'last-modified': '2024-09-05T02:32:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.319571'} 2024-09-05 02:32:22,895 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-05 02:32:22,895 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81683072 passed 2024-09-05 02:32:22,896 - DEBUG - ====Verifying policy data for ctest-vn-81683072 in API_Server ====== 2024-09-05 02:32:22,896 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-05 02:32:22,901 - DEBUG - Requesting: http://10.0.0.32:8082/domain/74dea40d-eb15-44dd-8947-fbbd2f2d6cc0 2024-09-05 02:32:22,913 - DEBUG - Requesting: http://10.0.0.32:8082/project/c2007eab-33d1-4d27-9f6c-872fb368d59d 2024-09-05 02:32:22,983 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/69650257-2adf-4627-98c1-1514900ff5ab 2024-09-05 02:32:22,991 - DEBUG - ==>Verifying data for policy with id: 75fd833d-d4f6-4d0c-9343-632bf8ab2d6d, fqn: ['default-domain', 'ctest-TestBasicPolicy-40881346', 'ctest-policy-allow-all-44988376'] 2024-09-05 02:32:22,991 - INFO - VN ctest-vn-81683072 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-05 02:32:22,991 - DEBUG - Verifying the vn in opserver 2024-09-05 02:32:22,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-81683072 virtual network link through opserver 10.0.0.32 2024-09-05 02:32:22,992 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-09-05 02:32:23,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-81683072', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-81683072?flat'} 2024-09-05 02:32:23,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-81683072 is found in opserver 2024-09-05 02:32:23,013 - DEBUG - Do not have enough data to verify VN in agent 2024-09-05 02:32:23,019 - DEBUG - VRF ids for VN ctest-vn-81683072: {} 2024-09-05 02:32:23,070 - DEBUG - Services list from nova: [, , ] 2024-09-05 02:32:24,061 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1852-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1852-1) 2024-09-05 02:32:25,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1852-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1852-1) 2024-09-05 02:32:25,281 - INFO - Waiting for VM ctest-TestBasicPolicy-40881346-82785112 to be up.. 2024-09-05 02:32:25,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-05 02:32:30,456 - DEBUG - VM is in ACTIVE state now 2024-09-05 02:32:30,457 - INFO - VM name : ctest-TestBasicPolicy-40881346-82785112 2024-09-05 02:32:30,541 - DEBUG - VM ctest-TestBasicPolicy-40881346-82785112 ID is c267f043-9734-4da5-a6ec-43e8165038ce 2024-09-05 02:32:30,560 - DEBUG - VM ctest-TestBasicPolicy-40881346-82785112 launched on Node cn-jenkins-deploy-platform-ansible-os-1852-1 2024-09-05 02:32:30,632 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/c267f043-9734-4da5-a6ec-43e8165038ce 2024-09-05 02:32:30,640 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/b3151226-5131-45c1-9172-661f5aa4ab42 2024-09-05 02:32:33,896 - 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 1028ms') 2024-09-05 02:32:33,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40881346-82785112 failed! 2024-09-05 02:32:33,951 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40881346:ctest-vn-62517611 is 124.129.239.129 and allocation pool is NOT set 2024-09-05 02:32:36,012 - 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=3.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.516 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.516/2.085/3.655/1.569 ms') 2024-09-05 02:32:36,013 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40881346-82785112 passed 2024-09-05 02:32:36,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:32:36,167 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40881346-82785112, IP 124.129.239.131, Port 22 2024-09-05 02:32:36,323 - DEBUG - VM ctest-TestBasicPolicy-40881346-82785112 is ready for SSH connections 2024-09-05 02:32:36,323 - INFO - Waiting for VM ctest-TestBasicPolicy-40881346-52937541 to be up.. 2024-09-05 02:32:36,398 - DEBUG - VM is in ACTIVE state now 2024-09-05 02:32:36,398 - INFO - VM name : ctest-TestBasicPolicy-40881346-52937541 2024-09-05 02:32:36,471 - DEBUG - VM ctest-TestBasicPolicy-40881346-52937541 ID is 6e379c21-224d-44bc-80ca-148a8a4e47e6 2024-09-05 02:32:36,471 - DEBUG - VM ctest-TestBasicPolicy-40881346-52937541 launched on Node cn-jenkins-deploy-platform-ansible-os-1852-1 2024-09-05 02:32:36,545 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/6e379c21-224d-44bc-80ca-148a8a4e47e6 2024-09-05 02:32:36,553 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/cadee645-93f9-45fa-9673-b972d05ad3b4 2024-09-05 02:32:37,789 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.795/3.186/1.390 ms') 2024-09-05 02:32:37,789 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40881346-52937541 passed 2024-09-05 02:32:37,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:32:37,943 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40881346-52937541, IP 110.68.7.195, Port 22 2024-09-05 02:32:38,099 - DEBUG - VM ctest-TestBasicPolicy-40881346-52937541 is ready for SSH connections 2024-09-05 02:32:38,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:32:38,099 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.68.7.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-09-05 02:32:38,099 - DEBUG - ping -s 56 -c 3 -W 1 110.68.7.195 2024-09-05 02:32:42,045 - DEBUG - PING 110.68.7.195 (110.68.7.195): 56 data bytes 64 bytes from 110.68.7.195: seq=0 ttl=63 time=4.034 ms 64 bytes from 110.68.7.195: seq=1 ttl=63 time=0.758 ms 64 bytes from 110.68.7.195: seq=2 ttl=63 time=0.797 ms --- 110.68.7.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/1.863/4.034 ms 2024-09-05 02:32:42,045 - INFO - Ping to IP 110.68.7.195 from VM ctest-TestBasicPolicy-40881346-82785112 passed 2024-09-05 02:32:42,227 - DEBUG - Policy Update Response {"network-policy": {"uuid": "75fd833d-d4f6-4d0c-9343-632bf8ab2d6d", "href": "http://10.0.0.32:8082/network-policy/75fd833d-d4f6-4d0c-9343-632bf8ab2d6d"}} 2024-09-05 02:32:42,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:32:42,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.68.7.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-09-05 02:32:42,227 - DEBUG - ping -s 56 -c 3 -W 1 110.68.7.195 2024-09-05 02:32:45,433 - DEBUG - PING 110.68.7.195 (110.68.7.195): 56 data bytes --- 110.68.7.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-05 02:32:45,433 - WARNING - Ping to IP 110.68.7.195 from VM ctest-TestBasicPolicy-40881346-82785112 failed 2024-09-05 02:32:45,433 - INFO - Deleting VM ctest-TestBasicPolicy-40881346-52937541 2024-09-05 02:32:45,492 - INFO - Deleting VM ctest-TestBasicPolicy-40881346-82785112 2024-09-05 02:32:45,873 - INFO - Deleted policy ctest-policy-allow-all-44988376 2024-09-05 02:32:45,873 - INFO - Deleting VN ctest-vn-81683072 2024-09-05 02:32:45,922 - DEBUG - VN 69650257-2adf-4627-98c1-1514900ff5ab still in use: Unable to complete operation on network 69650257-2adf-4627-98c1-1514900ff5ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a54c9e22-233a-4c79-9f0e-fe960e893f16'] 2024-09-05 02:32:45,922 - WARNING - Deleting VN ctest-vn-81683072 failed..Will retry 2024-09-05 02:32:48,052 - DEBUG - Response for deleting network () 2024-09-05 02:32:48,052 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/19cbde65-9cb9-4492-8cb8-1cc8126067d6 2024-09-05 02:32:48,059 - DEBUG - Response Code: 404 2024-09-05 02:32:48,059 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-05 02:32:48,066 - DEBUG - Requesting: http://10.0.0.32:8082/domain/74dea40d-eb15-44dd-8947-fbbd2f2d6cc0 2024-09-05 02:32:48,124 - DEBUG - Requesting: http://10.0.0.32:8082/project/c2007eab-33d1-4d27-9f6c-872fb368d59d 2024-09-05 02:32:48,192 - INFO - Validated that VN ctest-vn-81683072 is not found in API Server 2024-09-05 02:32:48,207 - DEBUG - VN ctest-vn-81683072 is not present in Agent 10.0.0.32 2024-09-05 02:32:48,207 - INFO - Validated that VN ctest-vn-81683072 is not in any agent 2024-09-05 02:32:48,227 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81683072 info 2024-09-05 02:32:48,227 - INFO - Deleting VN ctest-vn-62517611 2024-09-05 02:32:48,359 - DEBUG - Response for deleting network () 2024-09-05 02:32:48,359 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/124700b8-67d5-4f62-b831-2540963c087e 2024-09-05 02:32:48,370 - DEBUG - Response Code: 404 2024-09-05 02:32:48,370 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-09-05 02:32:48,376 - DEBUG - Requesting: http://10.0.0.32:8082/domain/74dea40d-eb15-44dd-8947-fbbd2f2d6cc0 2024-09-05 02:32:48,436 - DEBUG - Requesting: http://10.0.0.32:8082/project/c2007eab-33d1-4d27-9f6c-872fb368d59d 2024-09-05 02:32:48,509 - INFO - Validated that VN ctest-vn-62517611 is not found in API Server 2024-09-05 02:32:48,522 - DEBUG - VN ctest-vn-62517611 is not present in Agent 10.0.0.32 2024-09-05 02:32:48,522 - INFO - Validated that VN ctest-vn-62517611 is not in any agent 2024-09-05 02:32:48,546 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62517611 info 2024-09-05 02:32:48,796 - DEBUG - No XMPP flaps were noticed during the test 2024-09-05 02:32:48,796 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2024-09-05 02:32:48,796 - INFO - -------------------------------------------------------------------------------- 2024-09-05 02:32:49,461 - INFO - Deleted project: ctest-TestBasicPolicy-40881346, ID : c2007eab-33d1-4d27-9f6c-872fb368d59d