2024-09-12 19:12:21,634 - INFO - Domain Default found not creating 2024-09-12 19:12:21,960 - INFO - Project ctest-TestBasicPolicy-76004063 not found, creating it 2024-09-12 19:12:22,795 - INFO - Created Project:ctest-TestBasicPolicy-76004063, ID : a9691ed1-812b-4e6f-aa68-5c47b5e543ae 2024-09-12 19:12:25,280 - INFO - ================================================================================ 2024-09-12 19:12:25,281 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-12 19:12:25,281 - 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-12 19:12:25,611 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.12': '0'}} with 2024-09-12 19:12:25,611 - INFO - Initial checks done. Running the testcase now 2024-09-12 19:12:25,612 - INFO - 2024-09-12 19:12:26,609 - DEBUG - Response for create_network : {'network': {'id': 'f5c9c2f8-01b4-4d12-b189-3e29904bbefa', 'name': 'ctest-vn-97824834', 'tenant_id': 'a9691ed1812b4e6faa685c47b5e543ae', 'project_id': 'a9691ed1812b4e6faa685c47b5e543ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76004063', 'ctest-vn-97824834'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 19:12:26,810 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1a46c23-b92a-40b7-ac47-00888d9714da', 'name': '', 'tenant_id': 'a9691ed1812b4e6faa685c47b5e543ae', 'network_id': 'f5c9c2f8-01b4-4d12-b189-3e29904bbefa', 'ip_version': 4, 'cidr': '189.72.171.128/26', 'allocation_pools': [{'start': '189.72.171.130', 'end': '189.72.171.190'}], 'gateway_ip': '189.72.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.72.171.130', 'tags': [], 'project_id': 'a9691ed1812b4e6faa685c47b5e543ae'}} 2024-09-12 19:12:26,830 - INFO - Created VN ctest-vn-97824834 2024-09-12 19:12:26,890 - DEBUG - VN ctest-vn-97824834 UUID is f5c9c2f8-01b4-4d12-b189-3e29904bbefa 2024-09-12 19:12:27,586 - DEBUG - Response for create_network : {'network': {'id': '2df75181-7816-49f5-b689-55da9383bcad', 'name': 'ctest-vn-06951464', 'tenant_id': 'a9691ed1812b4e6faa685c47b5e543ae', 'project_id': 'a9691ed1812b4e6faa685c47b5e543ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76004063', 'ctest-vn-06951464'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 19:12:27,935 - DEBUG - Response for create_subnet : {'subnet': {'id': '92c14059-fb41-46b5-b761-39b26cefb845', 'name': '', 'tenant_id': 'a9691ed1812b4e6faa685c47b5e543ae', 'network_id': '2df75181-7816-49f5-b689-55da9383bcad', 'ip_version': 4, 'cidr': '153.185.100.64/26', 'allocation_pools': [{'start': '153.185.100.66', 'end': '153.185.100.126'}], 'gateway_ip': '153.185.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.185.100.66', 'tags': [], 'project_id': 'a9691ed1812b4e6faa685c47b5e543ae'}} 2024-09-12 19:12:27,977 - INFO - Created VN ctest-vn-06951464 2024-09-12 19:12:28,063 - DEBUG - VN ctest-vn-06951464 UUID is 2df75181-7816-49f5-b689-55da9383bcad 2024-09-12 19:12:28,293 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-97824834, 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-76004063:ctest-vn-06951464, 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-12 19:12:28,815 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5c9c2f8-01b4-4d12-b189-3e29904bbefa', 'name': 'ctest-vn-97824834', 'tenant_id': 'a9691ed1812b4e6faa685c47b5e543ae', 'project_id': 'a9691ed1812b4e6faa685c47b5e543ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1a46c23-b92a-40b7-ac47-00888d9714da'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76004063', 'ctest-vn-97824834'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76004063', 'ctest-policy-allow-all-71377521']], 'subnet_ipam': [{'subnet_cidr': '189.72.171.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-12 19:12:29,266 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2df75181-7816-49f5-b689-55da9383bcad', 'name': 'ctest-vn-06951464', 'tenant_id': 'a9691ed1812b4e6faa685c47b5e543ae', 'project_id': 'a9691ed1812b4e6faa685c47b5e543ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['92c14059-fb41-46b5-b761-39b26cefb845'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76004063', 'ctest-vn-06951464'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76004063', 'ctest-policy-allow-all-71377521']], 'subnet_ipam': [{'subnet_cidr': '153.185.100.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-12 19:12:29,495 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-12 19:12:29,853 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-12 19:12:29,911 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1194b7e-72dc-4862-8077-340f353bdbff 2024-09-12 19:12:29,959 - DEBUG - Requesting: http://10.0.0.28:8082/project/a9691ed1-812b-4e6f-aa68-5c47b5e543ae 2024-09-12 19:12:30,069 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/f5c9c2f8-01b4-4d12-b189-3e29904bbefa 2024-09-12 19:12:30,117 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/f5c9c2f8-01b4-4d12-b189-3e29904bbefa 2024-09-12 19:12:30,170 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/05e4c012-9e87-43d0-a657-65981e57c278 2024-09-12 19:12:30,190 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/05e4c012-9e87-43d0-a657-65981e57c278 2024-09-12 19:12:30,216 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/ff036def-997e-4043-8795-2a34260225ae 2024-09-12 19:12:30,239 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 19:12:30,240 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/f5c9c2f8-01b4-4d12-b189-3e29904bbefa 2024-09-12 19:12:30,275 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/05e4c012-9e87-43d0-a657-65981e57c278 2024-09-12 19:12:30,329 - INFO - Verified VN network id 8 for VN f5c9c2f8-01b4-4d12-b189-3e29904bbefa 2024-09-12 19:12:30,329 - INFO - Verifications in API Server for VN ctest-vn-97824834 passed 2024-09-12 19:12:30,330 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/f5c9c2f8-01b4-4d12-b189-3e29904bbefa 2024-09-12 19:12:30,369 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/05e4c012-9e87-43d0-a657-65981e57c278 2024-09-12 19:12:30,396 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/05e4c012-9e87-43d0-a657-65981e57c278 2024-09-12 19:12:30,423 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/ff036def-997e-4043-8795-2a34260225ae 2024-09-12 19:12:30,453 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-97824834', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76004063', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17710901380047457554', 'uuid-lslong': '12792824564758068986'}, 'enable': 'true', 'created': '2024-09-12T19:12:26', 'last-modified': '2024-09-12T19:12:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.713846'} 2024-09-12 19:12:30,468 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 19:12:30,469 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97824834 passed 2024-09-12 19:12:30,469 - DEBUG - ====Verifying policy data for ctest-vn-97824834 in API_Server ====== 2024-09-12 19:12:30,469 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-12 19:12:30,483 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1194b7e-72dc-4862-8077-340f353bdbff 2024-09-12 19:12:30,519 - DEBUG - Requesting: http://10.0.0.28:8082/project/a9691ed1-812b-4e6f-aa68-5c47b5e543ae 2024-09-12 19:12:30,634 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/f5c9c2f8-01b4-4d12-b189-3e29904bbefa 2024-09-12 19:12:30,660 - DEBUG - ==>Verifying data for policy with id: 4533627f-9ecb-4643-9b51-77335dcab01c, fqn: ['default-domain', 'ctest-TestBasicPolicy-76004063', 'ctest-policy-allow-all-71377521'] 2024-09-12 19:12:30,660 - INFO - VN ctest-vn-97824834 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-12 19:12:30,660 - DEBUG - Verifying the vn in opserver 2024-09-12 19:12:30,660 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-97824834 virtual network link through opserver 10.0.0.28 2024-09-12 19:12:30,661 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-12 19:12:31,015 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-12 19:12:31,138 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-97824834', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-97824834?flat'} 2024-09-12 19:12:31,138 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-97824834 is found in opserver 2024-09-12 19:12:31,168 - DEBUG - Do not have enough data to verify VN in agent 2024-09-12 19:12:31,186 - DEBUG - VRF ids for VN ctest-vn-97824834: {} 2024-09-12 19:12:31,186 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-12 19:12:31,205 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1194b7e-72dc-4862-8077-340f353bdbff 2024-09-12 19:12:31,247 - DEBUG - Requesting: http://10.0.0.28:8082/project/a9691ed1-812b-4e6f-aa68-5c47b5e543ae 2024-09-12 19:12:31,406 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/2df75181-7816-49f5-b689-55da9383bcad 2024-09-12 19:12:31,446 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/2df75181-7816-49f5-b689-55da9383bcad 2024-09-12 19:12:31,483 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1a0c7f20-3ed4-4062-b191-91fa046bf8c9 2024-09-12 19:12:31,509 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1a0c7f20-3ed4-4062-b191-91fa046bf8c9 2024-09-12 19:12:31,538 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/411f3419-7d2f-4638-83f8-dd63c5ecd061 2024-09-12 19:12:31,559 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-12 19:12:31,560 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/2df75181-7816-49f5-b689-55da9383bcad 2024-09-12 19:12:31,585 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1a0c7f20-3ed4-4062-b191-91fa046bf8c9 2024-09-12 19:12:31,612 - INFO - Verified VN network id 9 for VN 2df75181-7816-49f5-b689-55da9383bcad 2024-09-12 19:12:31,612 - INFO - Verifications in API Server for VN ctest-vn-06951464 passed 2024-09-12 19:12:31,612 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/2df75181-7816-49f5-b689-55da9383bcad 2024-09-12 19:12:31,637 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1a0c7f20-3ed4-4062-b191-91fa046bf8c9 2024-09-12 19:12:31,655 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1a0c7f20-3ed4-4062-b191-91fa046bf8c9 2024-09-12 19:12:31,671 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/411f3419-7d2f-4638-83f8-dd63c5ecd061 2024-09-12 19:12:31,704 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-06951464', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76004063', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3312205667461646837', 'uuid-lslong': '13153138583978359981'}, 'enable': 'true', 'created': '2024-09-12T19:12:27', 'last-modified': '2024-09-12T19:12:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.508617'} 2024-09-12 19:12:31,726 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-12 19:12:31,726 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06951464 passed 2024-09-12 19:12:31,727 - DEBUG - ====Verifying policy data for ctest-vn-06951464 in API_Server ====== 2024-09-12 19:12:31,727 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-12 19:12:31,742 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1194b7e-72dc-4862-8077-340f353bdbff 2024-09-12 19:12:31,776 - DEBUG - Requesting: http://10.0.0.28:8082/project/a9691ed1-812b-4e6f-aa68-5c47b5e543ae 2024-09-12 19:12:31,936 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/2df75181-7816-49f5-b689-55da9383bcad 2024-09-12 19:12:31,968 - DEBUG - ==>Verifying data for policy with id: 4533627f-9ecb-4643-9b51-77335dcab01c, fqn: ['default-domain', 'ctest-TestBasicPolicy-76004063', 'ctest-policy-allow-all-71377521'] 2024-09-12 19:12:31,968 - INFO - VN ctest-vn-06951464 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-12 19:12:31,968 - DEBUG - Verifying the vn in opserver 2024-09-12 19:12:31,968 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-06951464 virtual network link through opserver 10.0.0.28 2024-09-12 19:12:31,968 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2024-09-12 19:12:31,990 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-06951464', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-06951464?flat'} 2024-09-12 19:12:31,990 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-06951464 is found in opserver 2024-09-12 19:12:32,018 - DEBUG - Do not have enough data to verify VN in agent 2024-09-12 19:12:32,030 - DEBUG - VRF ids for VN ctest-vn-06951464: {} 2024-09-12 19:12:32,148 - DEBUG - Services list from nova: [, , ] 2024-09-12 19:12:33,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1912-1) 2024-09-12 19:12:35,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1912-1) 2024-09-12 19:12:35,493 - INFO - Waiting for VM ctest-TestBasicPolicy-76004063-18448252 to be up.. 2024-09-12 19:12:35,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 19:12:40,756 - DEBUG - VM is in ACTIVE state now 2024-09-12 19:12:40,756 - INFO - VM name : ctest-TestBasicPolicy-76004063-18448252 2024-09-12 19:12:40,913 - DEBUG - VM ctest-TestBasicPolicy-76004063-18448252 ID is afc06db8-01f5-4b64-bcfa-ba76b7ce3839 2024-09-12 19:12:40,948 - DEBUG - VM ctest-TestBasicPolicy-76004063-18448252 launched on Node cn-jenkins-deploy-platform-ansible-os-1912-1 2024-09-12 19:12:41,059 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/afc06db8-01f5-4b64-bcfa-ba76b7ce3839 2024-09-12 19:12:41,078 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/2e981e9c-31ae-43a8-a419-943327fc484a 2024-09-12 19:12:44,442 - 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 1002ms') 2024-09-12 19:12:44,443 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76004063-18448252 failed! 2024-09-12 19:12:44,515 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76004063:ctest-vn-97824834 is 189.72.171.129 and allocation pool is NOT set 2024-09-12 19:12:46,602 - 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=9.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 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 = 2.209/5.940/9.672/3.731 ms') 2024-09-12 19:12:46,602 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76004063-18448252 passed 2024-09-12 19:12:46,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:12:46,791 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76004063-18448252, IP 189.72.171.131, Port 22 2024-09-12 19:12:46,988 - DEBUG - VM ctest-TestBasicPolicy-76004063-18448252 is ready for SSH connections 2024-09-12 19:12:46,988 - INFO - Waiting for VM ctest-TestBasicPolicy-76004063-46135633 to be up.. 2024-09-12 19:12:47,166 - DEBUG - VM is in ACTIVE state now 2024-09-12 19:12:47,166 - INFO - VM name : ctest-TestBasicPolicy-76004063-46135633 2024-09-12 19:12:47,308 - DEBUG - VM ctest-TestBasicPolicy-76004063-46135633 ID is dcbe6012-4a6f-491f-b777-d7a193b1cb38 2024-09-12 19:12:47,308 - DEBUG - VM ctest-TestBasicPolicy-76004063-46135633 launched on Node cn-jenkins-deploy-platform-ansible-os-1912-1 2024-09-12 19:12:47,500 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/dcbe6012-4a6f-491f-b777-d7a193b1cb38 2024-09-12 19:12:47,528 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/a3e36f9d-a4f3-4df3-9fff-fa348f82b0de 2024-09-12 19:12:48,925 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.35 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 = 2.346/3.734/5.122/1.388 ms') 2024-09-12 19:12:48,925 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76004063-46135633 passed 2024-09-12 19:12:49,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:12:49,131 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76004063-46135633, IP 153.185.100.67, Port 22 2024-09-12 19:12:49,343 - DEBUG - VM ctest-TestBasicPolicy-76004063-46135633 is ready for SSH connections 2024-09-12 19:12:49,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:12:49,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.185.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-12 19:12:49,344 - DEBUG - ping -s 56 -c 3 -W 1 153.185.100.67 2024-09-12 19:12:54,088 - DEBUG - PING 153.185.100.67 (153.185.100.67): 56 data bytes 64 bytes from 153.185.100.67: seq=0 ttl=63 time=4.937 ms 64 bytes from 153.185.100.67: seq=1 ttl=63 time=1.655 ms 64 bytes from 153.185.100.67: seq=2 ttl=63 time=2.372 ms --- 153.185.100.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.655/2.988/4.937 ms 2024-09-12 19:12:54,088 - INFO - Ping to IP 153.185.100.67 from VM ctest-TestBasicPolicy-76004063-18448252 passed 2024-09-12 19:12:54,394 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4533627f-9ecb-4643-9b51-77335dcab01c", "href": "http://10.0.0.28:8082/network-policy/4533627f-9ecb-4643-9b51-77335dcab01c"}} 2024-09-12 19:12:54,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:12:54,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.185.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-12 19:12:54,395 - DEBUG - ping -s 56 -c 3 -W 1 153.185.100.67 2024-09-12 19:12:57,628 - DEBUG - PING 153.185.100.67 (153.185.100.67): 56 data bytes --- 153.185.100.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-12 19:12:57,629 - WARNING - Ping to IP 153.185.100.67 from VM ctest-TestBasicPolicy-76004063-18448252 failed 2024-09-12 19:12:57,629 - INFO - Deleting VM ctest-TestBasicPolicy-76004063-46135633 2024-09-12 19:12:57,830 - INFO - Deleting VM ctest-TestBasicPolicy-76004063-18448252 2024-09-12 19:12:58,534 - INFO - Deleted policy ctest-policy-allow-all-71377521 2024-09-12 19:12:58,535 - INFO - Deleting VN ctest-vn-06951464 2024-09-12 19:12:58,608 - DEBUG - VN 2df75181-7816-49f5-b689-55da9383bcad still in use: Unable to complete operation on network 2df75181-7816-49f5-b689-55da9383bcad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eeddeb41-b31a-4023-aef9-59b660891676'] 2024-09-12 19:12:58,608 - WARNING - Deleting VN ctest-vn-06951464 failed..Will retry 2024-09-12 19:13:00,766 - DEBUG - Response for deleting network () 2024-09-12 19:13:00,766 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/1a0c7f20-3ed4-4062-b191-91fa046bf8c9 2024-09-12 19:13:00,774 - DEBUG - Response Code: 404 2024-09-12 19:13:00,774 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-12 19:13:00,781 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1194b7e-72dc-4862-8077-340f353bdbff 2024-09-12 19:13:00,845 - DEBUG - Requesting: http://10.0.0.28:8082/project/a9691ed1-812b-4e6f-aa68-5c47b5e543ae 2024-09-12 19:13:00,939 - INFO - Validated that VN ctest-vn-06951464 is not found in API Server 2024-09-12 19:13:00,953 - DEBUG - VN ctest-vn-06951464 is not present in Agent 10.0.0.28 2024-09-12 19:13:00,953 - INFO - Validated that VN ctest-vn-06951464 is not in any agent 2024-09-12 19:13:00,976 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06951464 info 2024-09-12 19:13:00,976 - INFO - Deleting VN ctest-vn-97824834 2024-09-12 19:13:01,125 - DEBUG - Response for deleting network () 2024-09-12 19:13:01,125 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/05e4c012-9e87-43d0-a657-65981e57c278 2024-09-12 19:13:01,140 - DEBUG - Response Code: 404 2024-09-12 19:13:01,140 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2024-09-12 19:13:01,148 - DEBUG - Requesting: http://10.0.0.28:8082/domain/d1194b7e-72dc-4862-8077-340f353bdbff 2024-09-12 19:13:01,165 - DEBUG - Requesting: http://10.0.0.28:8082/project/a9691ed1-812b-4e6f-aa68-5c47b5e543ae 2024-09-12 19:13:01,279 - INFO - Validated that VN ctest-vn-97824834 is not found in API Server 2024-09-12 19:13:01,299 - DEBUG - VN ctest-vn-97824834 is not present in Agent 10.0.0.28 2024-09-12 19:13:01,299 - INFO - Validated that VN ctest-vn-97824834 is not in any agent 2024-09-12 19:13:01,337 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97824834 info 2024-09-12 19:13:01,654 - DEBUG - No XMPP flaps were noticed during the test 2024-09-12 19:13:01,654 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2024-09-12 19:13:01,655 - INFO - -------------------------------------------------------------------------------- 2024-09-12 19:13:02,678 - INFO - Deleted project: ctest-TestBasicPolicy-76004063, ID : a9691ed1-812b-4e6f-aa68-5c47b5e543ae