2025-01-07 21:42:35,145 - INFO - Domain Default found not creating 2025-01-07 21:42:35,287 - INFO - Project ctest-TestBasicPolicy-24000514 not found, creating it 2025-01-07 21:42:35,767 - INFO - Created Project:ctest-TestBasicPolicy-24000514, ID : 06f1c199-54df-49a6-aebf-4a5fcbb34e86 2025-01-07 21:42:37,170 - INFO - ================================================================================ 2025-01-07 21:42:37,170 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-07 21:42:37,170 - 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-07 21:42:37,423 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.10': '0'}} with 2025-01-07 21:42:37,423 - INFO - Initial checks done. Running the testcase now 2025-01-07 21:42:37,423 - INFO - 2025-01-07 21:42:37,964 - DEBUG - Response for create_network : {'network': {'id': '4c9aeabc-0ac6-46b0-8244-8ff0375b67f3', 'name': 'ctest-vn-32000427', 'tenant_id': '06f1c19954df49a6aebf4a5fcbb34e86', 'project_id': '06f1c19954df49a6aebf4a5fcbb34e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24000514', 'ctest-vn-32000427'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 21:42:38,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '734fd237-7aed-4b4f-ba74-e04aa8b7fc8b', 'name': '', 'tenant_id': '06f1c19954df49a6aebf4a5fcbb34e86', 'network_id': '4c9aeabc-0ac6-46b0-8244-8ff0375b67f3', 'ip_version': 4, 'cidr': '9.94.0.64/26', 'allocation_pools': [{'start': '9.94.0.66', 'end': '9.94.0.126'}], 'gateway_ip': '9.94.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.94.0.66', 'tags': [], 'project_id': '06f1c19954df49a6aebf4a5fcbb34e86'}} 2025-01-07 21:42:38,163 - INFO - Created VN ctest-vn-32000427 2025-01-07 21:42:38,218 - DEBUG - VN ctest-vn-32000427 UUID is 4c9aeabc-0ac6-46b0-8244-8ff0375b67f3 2025-01-07 21:42:38,551 - DEBUG - Response for create_network : {'network': {'id': '268f77f6-b764-4f7b-b39b-f0e259e804c2', 'name': 'ctest-vn-39145288', 'tenant_id': '06f1c19954df49a6aebf4a5fcbb34e86', 'project_id': '06f1c19954df49a6aebf4a5fcbb34e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24000514', 'ctest-vn-39145288'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 21:42:38,710 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b670a806-57db-40c4-b13c-6b9dff2511c0', 'name': '', 'tenant_id': '06f1c19954df49a6aebf4a5fcbb34e86', 'network_id': '268f77f6-b764-4f7b-b39b-f0e259e804c2', 'ip_version': 4, 'cidr': '188.163.77.192/26', 'allocation_pools': [{'start': '188.163.77.194', 'end': '188.163.77.254'}], 'gateway_ip': '188.163.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.163.77.194', 'tags': [], 'project_id': '06f1c19954df49a6aebf4a5fcbb34e86'}} 2025-01-07 21:42:38,726 - INFO - Created VN ctest-vn-39145288 2025-01-07 21:42:38,781 - DEBUG - VN ctest-vn-39145288 UUID is 268f77f6-b764-4f7b-b39b-f0e259e804c2 2025-01-07 21:42:38,937 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-32000427, 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-24000514:ctest-vn-39145288, 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-07 21:42:39,223 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c9aeabc-0ac6-46b0-8244-8ff0375b67f3', 'name': 'ctest-vn-32000427', 'tenant_id': '06f1c19954df49a6aebf4a5fcbb34e86', 'project_id': '06f1c19954df49a6aebf4a5fcbb34e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['734fd237-7aed-4b4f-ba74-e04aa8b7fc8b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24000514', 'ctest-vn-32000427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24000514', 'ctest-policy-allow-all-77334804']], 'subnet_ipam': [{'subnet_cidr': '9.94.0.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 21:42:39,446 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '268f77f6-b764-4f7b-b39b-f0e259e804c2', 'name': 'ctest-vn-39145288', 'tenant_id': '06f1c19954df49a6aebf4a5fcbb34e86', 'project_id': '06f1c19954df49a6aebf4a5fcbb34e86', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b670a806-57db-40c4-b13c-6b9dff2511c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24000514', 'ctest-vn-39145288'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24000514', 'ctest-policy-allow-all-77334804']], 'subnet_ipam': [{'subnet_cidr': '188.163.77.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 21:42:39,602 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-07 21:42:39,890 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-07 21:42:39,921 - DEBUG - Requesting: http://10.0.0.22:8082/domain/faf70cf4-2622-407a-8aec-4964698ae642 2025-01-07 21:42:39,934 - DEBUG - Requesting: http://10.0.0.22:8082/project/06f1c199-54df-49a6-aebf-4a5fcbb34e86 2025-01-07 21:42:40,009 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4c9aeabc-0ac6-46b0-8244-8ff0375b67f3 2025-01-07 21:42:40,020 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4c9aeabc-0ac6-46b0-8244-8ff0375b67f3 2025-01-07 21:42:40,030 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f8e4999d-65d2-4c24-b9df-f0ed16bb2f71 2025-01-07 21:42:40,037 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f8e4999d-65d2-4c24-b9df-f0ed16bb2f71 2025-01-07 21:42:40,044 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ea0ffa15-a223-43f8-ad35-65e05ba02318 2025-01-07 21:42:40,050 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 21:42:40,050 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4c9aeabc-0ac6-46b0-8244-8ff0375b67f3 2025-01-07 21:42:40,058 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f8e4999d-65d2-4c24-b9df-f0ed16bb2f71 2025-01-07 21:42:40,076 - INFO - Verified VN network id 7 for VN 4c9aeabc-0ac6-46b0-8244-8ff0375b67f3 2025-01-07 21:42:40,076 - INFO - Verifications in API Server for VN ctest-vn-32000427 passed 2025-01-07 21:42:40,077 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4c9aeabc-0ac6-46b0-8244-8ff0375b67f3 2025-01-07 21:42:40,087 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f8e4999d-65d2-4c24-b9df-f0ed16bb2f71 2025-01-07 21:42:40,097 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f8e4999d-65d2-4c24-b9df-f0ed16bb2f71 2025-01-07 21:42:40,104 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ea0ffa15-a223-43f8-ad35-65e05ba02318 2025-01-07 21:42:40,115 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-32000427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24000514', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5519982386651481776', 'uuid-lslong': '9386785785230616563'}, 'enable': 'true', 'created': '2025-01-07T21:42:37', 'last-modified': '2025-01-07T21:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913588'} 2025-01-07 21:42:40,122 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 21:42:40,122 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32000427 passed 2025-01-07 21:42:40,122 - DEBUG - ====Verifying policy data for ctest-vn-32000427 in API_Server ====== 2025-01-07 21:42:40,122 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-07 21:42:40,128 - DEBUG - Requesting: http://10.0.0.22:8082/domain/faf70cf4-2622-407a-8aec-4964698ae642 2025-01-07 21:42:40,139 - DEBUG - Requesting: http://10.0.0.22:8082/project/06f1c199-54df-49a6-aebf-4a5fcbb34e86 2025-01-07 21:42:40,215 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4c9aeabc-0ac6-46b0-8244-8ff0375b67f3 2025-01-07 21:42:40,224 - DEBUG - ==>Verifying data for policy with id: d32ba34a-ee4e-461c-9278-943079664e69, fqn: ['default-domain', 'ctest-TestBasicPolicy-24000514', 'ctest-policy-allow-all-77334804'] 2025-01-07 21:42:40,224 - INFO - VN ctest-vn-32000427 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 21:42:40,224 - DEBUG - Verifying the vn in opserver 2025-01-07 21:42:40,224 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-32000427 virtual network link through opserver 10.0.0.22 2025-01-07 21:42:40,224 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-07 21:42:40,519 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-07 21:42:40,573 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-32000427', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-32000427?flat'} 2025-01-07 21:42:40,573 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-32000427 is found in opserver 2025-01-07 21:42:40,583 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 21:42:40,588 - DEBUG - VRF ids for VN ctest-vn-32000427: {} 2025-01-07 21:42:40,588 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-07 21:42:40,594 - DEBUG - Requesting: http://10.0.0.22:8082/domain/faf70cf4-2622-407a-8aec-4964698ae642 2025-01-07 21:42:40,605 - DEBUG - Requesting: http://10.0.0.22:8082/project/06f1c199-54df-49a6-aebf-4a5fcbb34e86 2025-01-07 21:42:40,674 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/268f77f6-b764-4f7b-b39b-f0e259e804c2 2025-01-07 21:42:40,687 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/268f77f6-b764-4f7b-b39b-f0e259e804c2 2025-01-07 21:42:40,695 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8956c5fd-bbc4-4aee-8688-544d6fa88fcd 2025-01-07 21:42:40,702 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8956c5fd-bbc4-4aee-8688-544d6fa88fcd 2025-01-07 21:42:40,708 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e92704cf-afba-4a9c-8e36-bdb7602e2b80 2025-01-07 21:42:40,714 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 21:42:40,714 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/268f77f6-b764-4f7b-b39b-f0e259e804c2 2025-01-07 21:42:40,723 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8956c5fd-bbc4-4aee-8688-544d6fa88fcd 2025-01-07 21:42:40,735 - INFO - Verified VN network id 8 for VN 268f77f6-b764-4f7b-b39b-f0e259e804c2 2025-01-07 21:42:40,735 - INFO - Verifications in API Server for VN ctest-vn-39145288 passed 2025-01-07 21:42:40,735 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/268f77f6-b764-4f7b-b39b-f0e259e804c2 2025-01-07 21:42:40,745 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8956c5fd-bbc4-4aee-8688-544d6fa88fcd 2025-01-07 21:42:40,751 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8956c5fd-bbc4-4aee-8688-544d6fa88fcd 2025-01-07 21:42:40,758 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e92704cf-afba-4a9c-8e36-bdb7602e2b80 2025-01-07 21:42:40,771 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-39145288', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24000514', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2778571396633350011', 'uuid-lslong': '12942202809140905154'}, 'enable': 'true', 'created': '2025-01-07T21:42:38', 'last-modified': '2025-01-07T21:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344777'} 2025-01-07 21:42:40,777 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 21:42:40,777 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39145288 passed 2025-01-07 21:42:40,777 - DEBUG - ====Verifying policy data for ctest-vn-39145288 in API_Server ====== 2025-01-07 21:42:40,777 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-07 21:42:40,783 - DEBUG - Requesting: http://10.0.0.22:8082/domain/faf70cf4-2622-407a-8aec-4964698ae642 2025-01-07 21:42:40,793 - DEBUG - Requesting: http://10.0.0.22:8082/project/06f1c199-54df-49a6-aebf-4a5fcbb34e86 2025-01-07 21:42:40,871 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/268f77f6-b764-4f7b-b39b-f0e259e804c2 2025-01-07 21:42:40,881 - DEBUG - ==>Verifying data for policy with id: d32ba34a-ee4e-461c-9278-943079664e69, fqn: ['default-domain', 'ctest-TestBasicPolicy-24000514', 'ctest-policy-allow-all-77334804'] 2025-01-07 21:42:40,881 - INFO - VN ctest-vn-39145288 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 21:42:40,881 - DEBUG - Verifying the vn in opserver 2025-01-07 21:42:40,881 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-39145288 virtual network link through opserver 10.0.0.22 2025-01-07 21:42:40,881 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-01-07 21:42:40,891 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-39145288', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-39145288?flat'} 2025-01-07 21:42:40,891 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-39145288 is found in opserver 2025-01-07 21:42:40,901 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 21:42:40,906 - DEBUG - VRF ids for VN ctest-vn-39145288: {} 2025-01-07 21:42:40,954 - DEBUG - Services list from nova: [, , ] 2025-01-07 21:42:41,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2555-1) 2025-01-07 21:42:43,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2555-1) 2025-01-07 21:42:43,127 - INFO - Waiting for VM ctest-TestBasicPolicy-24000514-54192529 to be up.. 2025-01-07 21:42:43,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 21:42:48,289 - DEBUG - VM is in ACTIVE state now 2025-01-07 21:42:48,289 - INFO - VM name : ctest-TestBasicPolicy-24000514-54192529 2025-01-07 21:42:48,364 - DEBUG - VM ctest-TestBasicPolicy-24000514-54192529 ID is 846d82ff-77e8-4f6f-bd52-de96ab0f295a 2025-01-07 21:42:48,382 - DEBUG - VM ctest-TestBasicPolicy-24000514-54192529 launched on Node cn-jenkins-deploy-platform-ansible-os-2555-1 2025-01-07 21:42:48,453 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/846d82ff-77e8-4f6f-bd52-de96ab0f295a 2025-01-07 21:42:48,462 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/10929fd2-c0f9-41ad-95b7-a1194b75901a 2025-01-07 21:42:51,736 - 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 1035ms') 2025-01-07 21:42:51,736 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24000514-54192529 failed! 2025-01-07 21:42:51,790 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24000514:ctest-vn-32000427 is 9.94.0.65 and allocation pool is NOT set 2025-01-07 21:42:53,856 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.557 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.557/1.688/2.819/1.131 ms') 2025-01-07 21:42:53,856 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24000514-54192529 passed 2025-01-07 21:42:54,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:42:54,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24000514-54192529, IP 9.94.0.67, Port 22 2025-01-07 21:42:54,161 - DEBUG - VM ctest-TestBasicPolicy-24000514-54192529 is ready for SSH connections 2025-01-07 21:42:54,162 - INFO - Waiting for VM ctest-TestBasicPolicy-24000514-71940597 to be up.. 2025-01-07 21:42:54,245 - DEBUG - VM is in ACTIVE state now 2025-01-07 21:42:54,245 - INFO - VM name : ctest-TestBasicPolicy-24000514-71940597 2025-01-07 21:42:54,328 - DEBUG - VM ctest-TestBasicPolicy-24000514-71940597 ID is ad1c57b8-e73a-4724-8f2b-3ae9cf37f92c 2025-01-07 21:42:54,328 - DEBUG - VM ctest-TestBasicPolicy-24000514-71940597 launched on Node cn-jenkins-deploy-platform-ansible-os-2555-1 2025-01-07 21:42:54,405 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ad1c57b8-e73a-4724-8f2b-3ae9cf37f92c 2025-01-07 21:42:54,413 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c45e8627-fe35-4937-b993-355cd1aaa1de 2025-01-07 21:42:55,653 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.585/2.736/1.150 ms') 2025-01-07 21:42:55,653 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24000514-71940597 passed 2025-01-07 21:42:55,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:42:55,818 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24000514-71940597, IP 188.163.77.195, Port 22 2025-01-07 21:42:55,984 - DEBUG - VM ctest-TestBasicPolicy-24000514-71940597 is ready for SSH connections 2025-01-07 21:42:55,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:42:55,984 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.163.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-01-07 21:42:55,984 - DEBUG - ping -s 56 -c 3 -W 1 188.163.77.195 2025-01-07 21:43:00,005 - DEBUG - PING 188.163.77.195 (188.163.77.195): 56 data bytes 64 bytes from 188.163.77.195: seq=0 ttl=63 time=3.527 ms 64 bytes from 188.163.77.195: seq=1 ttl=63 time=1.397 ms 64 bytes from 188.163.77.195: seq=2 ttl=63 time=0.758 ms --- 188.163.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/1.894/3.527 ms 2025-01-07 21:43:00,005 - INFO - Ping to IP 188.163.77.195 from VM ctest-TestBasicPolicy-24000514-54192529 passed 2025-01-07 21:43:00,181 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d32ba34a-ee4e-461c-9278-943079664e69", "href": "http://10.0.0.22:8082/network-policy/d32ba34a-ee4e-461c-9278-943079664e69"}} 2025-01-07 21:43:00,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 21:43:00,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.163.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-01-07 21:43:00,182 - DEBUG - ping -s 56 -c 3 -W 1 188.163.77.195 2025-01-07 21:43:03,378 - DEBUG - PING 188.163.77.195 (188.163.77.195): 56 data bytes 64 bytes from 188.163.77.195: seq=0 ttl=63 time=1.631 ms --- 188.163.77.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.631/1.631/1.631 ms 2025-01-07 21:43:03,378 - WARNING - Ping to IP 188.163.77.195 from VM ctest-TestBasicPolicy-24000514-54192529 failed 2025-01-07 21:43:03,378 - INFO - Deleting VM ctest-TestBasicPolicy-24000514-71940597 2025-01-07 21:43:03,452 - INFO - Deleting VM ctest-TestBasicPolicy-24000514-54192529 2025-01-07 21:43:03,867 - INFO - Deleted policy ctest-policy-allow-all-77334804 2025-01-07 21:43:03,867 - INFO - Deleting VN ctest-vn-39145288 2025-01-07 21:43:03,907 - DEBUG - VN 268f77f6-b764-4f7b-b39b-f0e259e804c2 still in use: Unable to complete operation on network 268f77f6-b764-4f7b-b39b-f0e259e804c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0e8ee713-1497-4bd0-bf21-3ac4710da48d'] 2025-01-07 21:43:03,907 - WARNING - Deleting VN ctest-vn-39145288 failed..Will retry 2025-01-07 21:43:06,006 - DEBUG - Response for deleting network () 2025-01-07 21:43:06,006 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8956c5fd-bbc4-4aee-8688-544d6fa88fcd 2025-01-07 21:43:06,015 - DEBUG - Response Code: 404 2025-01-07 21:43:06,016 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-07 21:43:06,022 - DEBUG - Requesting: http://10.0.0.22:8082/domain/faf70cf4-2622-407a-8aec-4964698ae642 2025-01-07 21:43:06,075 - DEBUG - Requesting: http://10.0.0.22:8082/project/06f1c199-54df-49a6-aebf-4a5fcbb34e86 2025-01-07 21:43:06,146 - INFO - Validated that VN ctest-vn-39145288 is not found in API Server 2025-01-07 21:43:06,156 - DEBUG - VN ctest-vn-39145288 is not present in Agent 10.0.0.22 2025-01-07 21:43:06,156 - INFO - Validated that VN ctest-vn-39145288 is not in any agent 2025-01-07 21:43:06,171 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39145288 info 2025-01-07 21:43:06,171 - INFO - Deleting VN ctest-vn-32000427 2025-01-07 21:43:06,268 - DEBUG - Response for deleting network () 2025-01-07 21:43:06,268 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f8e4999d-65d2-4c24-b9df-f0ed16bb2f71 2025-01-07 21:43:06,275 - DEBUG - Response Code: 404 2025-01-07 21:43:06,276 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-01-07 21:43:06,280 - DEBUG - Requesting: http://10.0.0.22:8082/domain/faf70cf4-2622-407a-8aec-4964698ae642 2025-01-07 21:43:06,335 - DEBUG - Requesting: http://10.0.0.22:8082/project/06f1c199-54df-49a6-aebf-4a5fcbb34e86 2025-01-07 21:43:06,401 - INFO - Validated that VN ctest-vn-32000427 is not found in API Server 2025-01-07 21:43:06,410 - DEBUG - VN ctest-vn-32000427 is not present in Agent 10.0.0.22 2025-01-07 21:43:06,410 - INFO - Validated that VN ctest-vn-32000427 is not in any agent 2025-01-07 21:43:06,424 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32000427 info 2025-01-07 21:43:06,679 - DEBUG - No XMPP flaps were noticed during the test
2025-01-07 21:43:06,679 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-01-07 21:43:06,679 - INFO - -------------------------------------------------------------------------------- 2025-01-07 21:43:07,347 - INFO - Deleted project: ctest-TestBasicPolicy-24000514, ID : 06f1c199-54df-49a6-aebf-4a5fcbb34e86