2024-08-26 23:49:51,359 - INFO - Domain Default found not creating 2024-08-26 23:49:51,525 - INFO - Project ctest-TestBasicPolicy-56787001 not found, creating it 2024-08-26 23:49:53,387 - INFO - Created Project:ctest-TestBasicPolicy-56787001, ID : 081cb698-6f12-471b-a2bb-cbfc0792a315 2024-08-26 23:49:56,003 - INFO - ================================================================================ 2024-08-26 23:49:56,003 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-26 23:49:56,003 - 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 23:49:56,257 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.18': '0'}} with 2024-08-26 23:49:56,257 - INFO - Initial checks done. Running the testcase now 2024-08-26 23:49:56,257 - INFO - 2024-08-26 23:49:56,819 - DEBUG - Response for create_network : {'network': {'id': '21a1da88-8a22-41e1-a809-1fb5aefe94fb', 'name': 'ctest-vn-99857723', 'tenant_id': '081cb6986f12471ba2bbcbfc0792a315', 'project_id': '081cb6986f12471ba2bbcbfc0792a315', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56787001', 'ctest-vn-99857723'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 23:49:57,007 - DEBUG - Response for create_subnet : {'subnet': {'id': '6935fb46-f147-4971-8db7-71312b038417', 'name': '', 'tenant_id': '081cb6986f12471ba2bbcbfc0792a315', 'network_id': '21a1da88-8a22-41e1-a809-1fb5aefe94fb', 'ip_version': 4, 'cidr': '3.38.23.64/26', 'allocation_pools': [{'start': '3.38.23.66', 'end': '3.38.23.126'}], 'gateway_ip': '3.38.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.38.23.66', 'tags': [], 'project_id': '081cb6986f12471ba2bbcbfc0792a315'}} 2024-08-26 23:49:57,026 - INFO - Created VN ctest-vn-99857723 2024-08-26 23:49:57,079 - DEBUG - VN ctest-vn-99857723 UUID is 21a1da88-8a22-41e1-a809-1fb5aefe94fb 2024-08-26 23:49:57,358 - DEBUG - Response for create_network : {'network': {'id': '1b8b67a1-571f-4784-9dbb-0ca179a91513', 'name': 'ctest-vn-46525776', 'tenant_id': '081cb6986f12471ba2bbcbfc0792a315', 'project_id': '081cb6986f12471ba2bbcbfc0792a315', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56787001', 'ctest-vn-46525776'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 23:49:57,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '3883472e-3c96-498b-a387-2d6eaba6d99d', 'name': '', 'tenant_id': '081cb6986f12471ba2bbcbfc0792a315', 'network_id': '1b8b67a1-571f-4784-9dbb-0ca179a91513', 'ip_version': 4, 'cidr': '13.223.2.192/26', 'allocation_pools': [{'start': '13.223.2.194', 'end': '13.223.2.254'}], 'gateway_ip': '13.223.2.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.223.2.194', 'tags': [], 'project_id': '081cb6986f12471ba2bbcbfc0792a315'}} 2024-08-26 23:49:57,601 - INFO - Created VN ctest-vn-46525776 2024-08-26 23:49:57,651 - DEBUG - VN ctest-vn-46525776 UUID is 1b8b67a1-571f-4784-9dbb-0ca179a91513 2024-08-26 23:49:57,768 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-99857723, 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-56787001:ctest-vn-46525776, 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 23:49:58,075 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21a1da88-8a22-41e1-a809-1fb5aefe94fb', 'name': 'ctest-vn-99857723', 'tenant_id': '081cb6986f12471ba2bbcbfc0792a315', 'project_id': '081cb6986f12471ba2bbcbfc0792a315', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6935fb46-f147-4971-8db7-71312b038417'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56787001', 'ctest-vn-99857723'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56787001', 'ctest-policy-allow-all-68516064']], 'subnet_ipam': [{'subnet_cidr': '3.38.23.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 23:49:58,308 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1b8b67a1-571f-4784-9dbb-0ca179a91513', 'name': 'ctest-vn-46525776', 'tenant_id': '081cb6986f12471ba2bbcbfc0792a315', 'project_id': '081cb6986f12471ba2bbcbfc0792a315', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3883472e-3c96-498b-a387-2d6eaba6d99d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56787001', 'ctest-vn-46525776'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56787001', 'ctest-policy-allow-all-68516064']], 'subnet_ipam': [{'subnet_cidr': '13.223.2.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 23:49:58,475 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-08-26 23:49:58,772 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-08-26 23:49:58,803 - DEBUG - Requesting: http://10.0.0.24:8082/domain/9aed41f2-36ca-4987-82a1-76b5c2e76c2d 2024-08-26 23:49:58,817 - DEBUG - Requesting: http://10.0.0.24:8082/project/081cb698-6f12-471b-a2bb-cbfc0792a315 2024-08-26 23:49:58,893 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/21a1da88-8a22-41e1-a809-1fb5aefe94fb 2024-08-26 23:49:58,904 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/21a1da88-8a22-41e1-a809-1fb5aefe94fb 2024-08-26 23:49:58,914 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9525ec14-518c-4603-b664-4a0bcfd4c0e0 2024-08-26 23:49:58,923 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9525ec14-518c-4603-b664-4a0bcfd4c0e0 2024-08-26 23:49:58,930 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/92724705-989c-4c9d-8698-6966a4300688 2024-08-26 23:49:58,937 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 23:49:58,937 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/21a1da88-8a22-41e1-a809-1fb5aefe94fb 2024-08-26 23:49:58,947 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9525ec14-518c-4603-b664-4a0bcfd4c0e0 2024-08-26 23:49:58,960 - INFO - Verified VN network id 7 for VN 21a1da88-8a22-41e1-a809-1fb5aefe94fb 2024-08-26 23:49:58,960 - INFO - Verifications in API Server for VN ctest-vn-99857723 passed 2024-08-26 23:49:58,960 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/21a1da88-8a22-41e1-a809-1fb5aefe94fb 2024-08-26 23:49:58,969 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9525ec14-518c-4603-b664-4a0bcfd4c0e0 2024-08-26 23:49:58,977 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9525ec14-518c-4603-b664-4a0bcfd4c0e0 2024-08-26 23:49:58,985 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/92724705-989c-4c9d-8698-6966a4300688 2024-08-26 23:49:58,999 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-99857723', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56787001', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2423458354469945825', 'uuid-lslong': '12108243938347750651'}, 'enable': 'true', 'created': '2024-08-26T23:49:56', 'last-modified': '2024-08-26T23:49:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.949087'} 2024-08-26 23:49:59,006 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 23:49:59,006 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99857723 passed 2024-08-26 23:49:59,007 - DEBUG - ====Verifying policy data for ctest-vn-99857723 in API_Server ====== 2024-08-26 23:49:59,007 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-08-26 23:49:59,013 - DEBUG - Requesting: http://10.0.0.24:8082/domain/9aed41f2-36ca-4987-82a1-76b5c2e76c2d 2024-08-26 23:49:59,025 - DEBUG - Requesting: http://10.0.0.24:8082/project/081cb698-6f12-471b-a2bb-cbfc0792a315 2024-08-26 23:49:59,097 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/21a1da88-8a22-41e1-a809-1fb5aefe94fb 2024-08-26 23:49:59,107 - DEBUG - ==>Verifying data for policy with id: e90f7197-ea95-4cdc-ae10-a3434672dae3, fqn: ['default-domain', 'ctest-TestBasicPolicy-56787001', 'ctest-policy-allow-all-68516064'] 2024-08-26 23:49:59,107 - INFO - VN ctest-vn-99857723 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 23:49:59,107 - DEBUG - Verifying the vn in opserver 2024-08-26 23:49:59,107 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-99857723 virtual network link through opserver 10.0.0.24 2024-08-26 23:49:59,107 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-08-26 23:49:59,406 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-08-26 23:49:59,465 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-99857723', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-99857723?flat'} 2024-08-26 23:49:59,465 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-99857723 is found in opserver 2024-08-26 23:49:59,476 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 23:49:59,481 - DEBUG - VRF ids for VN ctest-vn-99857723: {} 2024-08-26 23:49:59,481 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-08-26 23:49:59,487 - DEBUG - Requesting: http://10.0.0.24:8082/domain/9aed41f2-36ca-4987-82a1-76b5c2e76c2d 2024-08-26 23:49:59,498 - DEBUG - Requesting: http://10.0.0.24:8082/project/081cb698-6f12-471b-a2bb-cbfc0792a315 2024-08-26 23:49:59,570 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/1b8b67a1-571f-4784-9dbb-0ca179a91513 2024-08-26 23:49:59,587 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/1b8b67a1-571f-4784-9dbb-0ca179a91513 2024-08-26 23:49:59,596 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ec9ed782-b7af-4d82-8e43-8848cd786336 2024-08-26 23:49:59,603 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ec9ed782-b7af-4d82-8e43-8848cd786336 2024-08-26 23:49:59,609 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/65cbacf0-e687-4cd8-9cd7-b8d2761c9ca5 2024-08-26 23:49:59,615 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 23:49:59,615 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/1b8b67a1-571f-4784-9dbb-0ca179a91513 2024-08-26 23:49:59,623 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ec9ed782-b7af-4d82-8e43-8848cd786336 2024-08-26 23:49:59,634 - INFO - Verified VN network id 8 for VN 1b8b67a1-571f-4784-9dbb-0ca179a91513 2024-08-26 23:49:59,634 - INFO - Verifications in API Server for VN ctest-vn-46525776 passed 2024-08-26 23:49:59,634 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/1b8b67a1-571f-4784-9dbb-0ca179a91513 2024-08-26 23:49:59,642 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ec9ed782-b7af-4d82-8e43-8848cd786336 2024-08-26 23:49:59,648 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ec9ed782-b7af-4d82-8e43-8848cd786336 2024-08-26 23:49:59,655 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/65cbacf0-e687-4cd8-9cd7-b8d2761c9ca5 2024-08-26 23:49:59,667 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-46525776', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56787001', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1984794003435898756', 'uuid-lslong': '11365691972269970707'}, 'enable': 'true', 'created': '2024-08-26T23:49:57', 'last-modified': '2024-08-26T23:49:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379773'} 2024-08-26 23:49:59,673 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 23:49:59,673 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46525776 passed 2024-08-26 23:49:59,674 - DEBUG - ====Verifying policy data for ctest-vn-46525776 in API_Server ====== 2024-08-26 23:49:59,674 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-08-26 23:49:59,680 - DEBUG - Requesting: http://10.0.0.24:8082/domain/9aed41f2-36ca-4987-82a1-76b5c2e76c2d 2024-08-26 23:49:59,693 - DEBUG - Requesting: http://10.0.0.24:8082/project/081cb698-6f12-471b-a2bb-cbfc0792a315 2024-08-26 23:49:59,764 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/1b8b67a1-571f-4784-9dbb-0ca179a91513 2024-08-26 23:49:59,772 - DEBUG - ==>Verifying data for policy with id: e90f7197-ea95-4cdc-ae10-a3434672dae3, fqn: ['default-domain', 'ctest-TestBasicPolicy-56787001', 'ctest-policy-allow-all-68516064'] 2024-08-26 23:49:59,772 - INFO - VN ctest-vn-46525776 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 23:49:59,772 - DEBUG - Verifying the vn in opserver 2024-08-26 23:49:59,773 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-46525776 virtual network link through opserver 10.0.0.24 2024-08-26 23:49:59,773 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-08-26 23:49:59,784 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-46525776', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-46525776?flat'} 2024-08-26 23:49:59,784 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-46525776 is found in opserver 2024-08-26 23:49:59,795 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 23:49:59,801 - DEBUG - VRF ids for VN ctest-vn-46525776: {} 2024-08-26 23:49:59,857 - DEBUG - Services list from nova: [, , ] 2024-08-26 23:50:00,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1781-1) 2024-08-26 23:50:02,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1781-1) 2024-08-26 23:50:02,116 - INFO - Waiting for VM ctest-TestBasicPolicy-56787001-41657421 to be up.. 2024-08-26 23:50:02,233 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 23:50:07,327 - DEBUG - VM is in ACTIVE state now 2024-08-26 23:50:07,327 - INFO - VM name : ctest-TestBasicPolicy-56787001-41657421 2024-08-26 23:50:07,450 - DEBUG - VM ctest-TestBasicPolicy-56787001-41657421 ID is cadf02bb-35ab-4fab-8d74-7323e6889c20 2024-08-26 23:50:07,487 - DEBUG - VM ctest-TestBasicPolicy-56787001-41657421 launched on Node cn-jenkins-deploy-platform-ansible-os-1781-1 2024-08-26 23:50:07,590 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/cadf02bb-35ab-4fab-8d74-7323e6889c20 2024-08-26 23:50:07,607 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/70ad331e-8810-4aad-bf77-25e21289f8a9 2024-08-26 23:50:10,857 - 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 1018ms') 2024-08-26 23:50:10,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56787001-41657421 failed! 2024-08-26 23:50:10,911 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56787001:ctest-vn-99857723 is 3.38.23.65 and allocation pool is NOT set 2024-08-26 23:50:12,977 - 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=7.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.00 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.998/5.209/7.421/2.211 ms') 2024-08-26 23:50:12,978 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56787001-41657421 passed 2024-08-26 23:50:13,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 23:50:13,127 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56787001-41657421, IP 3.38.23.67, Port 22 2024-08-26 23:50:13,283 - DEBUG - VM ctest-TestBasicPolicy-56787001-41657421 is ready for SSH connections 2024-08-26 23:50:13,283 - INFO - Waiting for VM ctest-TestBasicPolicy-56787001-53576757 to be up.. 2024-08-26 23:50:13,367 - DEBUG - VM is in ACTIVE state now 2024-08-26 23:50:13,368 - INFO - VM name : ctest-TestBasicPolicy-56787001-53576757 2024-08-26 23:50:13,449 - DEBUG - VM ctest-TestBasicPolicy-56787001-53576757 ID is b3d2b018-4f35-42d5-b032-e3582241f385 2024-08-26 23:50:13,449 - DEBUG - VM ctest-TestBasicPolicy-56787001-53576757 launched on Node cn-jenkins-deploy-platform-ansible-os-1781-1 2024-08-26 23:50:13,530 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b3d2b018-4f35-42d5-b032-e3582241f385 2024-08-26 23:50:13,540 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/a22f75d9-173c-4ff5-9cb3-13d2f5cd8f3f 2024-08-26 23:50:14,776 - 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=4.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.907 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.907/2.493/4.080/1.586 ms') 2024-08-26 23:50:14,776 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56787001-53576757 passed 2024-08-26 23:50:14,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 23:50:14,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56787001-53576757, IP 13.223.2.195, Port 22 2024-08-26 23:50:15,091 - DEBUG - VM ctest-TestBasicPolicy-56787001-53576757 is ready for SSH connections 2024-08-26 23:50:15,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 23:50:15,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.223.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-08-26 23:50:15,091 - DEBUG - ping -s 56 -c 3 -W 1 13.223.2.195 2024-08-26 23:50:19,064 - DEBUG - PING 13.223.2.195 (13.223.2.195): 56 data bytes 64 bytes from 13.223.2.195: seq=0 ttl=63 time=4.416 ms 64 bytes from 13.223.2.195: seq=1 ttl=63 time=0.899 ms 64 bytes from 13.223.2.195: seq=2 ttl=63 time=0.855 ms --- 13.223.2.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/2.056/4.416 ms 2024-08-26 23:50:19,064 - INFO - Ping to IP 13.223.2.195 from VM ctest-TestBasicPolicy-56787001-41657421 passed 2024-08-26 23:50:19,239 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e90f7197-ea95-4cdc-ae10-a3434672dae3", "href": "http://10.0.0.24:8082/network-policy/e90f7197-ea95-4cdc-ae10-a3434672dae3"}} 2024-08-26 23:50:19,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 23:50:19,239 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.223.2.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-08-26 23:50:19,239 - DEBUG - ping -s 56 -c 3 -W 1 13.223.2.195 2024-08-26 23:50:22,449 - DEBUG - PING 13.223.2.195 (13.223.2.195): 56 data bytes --- 13.223.2.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-08-26 23:50:22,449 - WARNING - Ping to IP 13.223.2.195 from VM ctest-TestBasicPolicy-56787001-41657421 failed 2024-08-26 23:50:22,449 - INFO - Deleting VM ctest-TestBasicPolicy-56787001-53576757 2024-08-26 23:50:22,513 - INFO - Deleting VM ctest-TestBasicPolicy-56787001-41657421 2024-08-26 23:50:22,948 - INFO - Deleted policy ctest-policy-allow-all-68516064 2024-08-26 23:50:22,948 - INFO - Deleting VN ctest-vn-46525776 2024-08-26 23:50:22,989 - DEBUG - VN 1b8b67a1-571f-4784-9dbb-0ca179a91513 still in use: Unable to complete operation on network 1b8b67a1-571f-4784-9dbb-0ca179a91513. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8dd9ad9c-2801-4aa1-a6bb-6ac212ebcb8f'] 2024-08-26 23:50:22,989 - WARNING - Deleting VN ctest-vn-46525776 failed..Will retry 2024-08-26 23:50:25,129 - DEBUG - Response for deleting network () 2024-08-26 23:50:25,129 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/ec9ed782-b7af-4d82-8e43-8848cd786336 2024-08-26 23:50:25,137 - DEBUG - Response Code: 404 2024-08-26 23:50:25,137 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-08-26 23:50:25,146 - DEBUG - Requesting: http://10.0.0.24:8082/domain/9aed41f2-36ca-4987-82a1-76b5c2e76c2d 2024-08-26 23:50:25,163 - DEBUG - Requesting: http://10.0.0.24:8082/project/081cb698-6f12-471b-a2bb-cbfc0792a315 2024-08-26 23:50:25,238 - INFO - Validated that VN ctest-vn-46525776 is not found in API Server 2024-08-26 23:50:25,252 - DEBUG - VN ctest-vn-46525776 is not present in Agent 10.0.0.24 2024-08-26 23:50:25,252 - INFO - Validated that VN ctest-vn-46525776 is not in any agent 2024-08-26 23:50:25,270 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46525776 info 2024-08-26 23:50:25,270 - INFO - Deleting VN ctest-vn-99857723 2024-08-26 23:50:25,383 - DEBUG - Response for deleting network () 2024-08-26 23:50:25,383 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9525ec14-518c-4603-b664-4a0bcfd4c0e0 2024-08-26 23:50:25,390 - DEBUG - Response Code: 404 2024-08-26 23:50:25,390 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-08-26 23:50:25,397 - DEBUG - Requesting: http://10.0.0.24:8082/domain/9aed41f2-36ca-4987-82a1-76b5c2e76c2d 2024-08-26 23:50:25,453 - DEBUG - Requesting: http://10.0.0.24:8082/project/081cb698-6f12-471b-a2bb-cbfc0792a315 2024-08-26 23:50:25,531 - INFO - Validated that VN ctest-vn-99857723 is not found in API Server 2024-08-26 23:50:25,542 - DEBUG - VN ctest-vn-99857723 is not present in Agent 10.0.0.24 2024-08-26 23:50:25,542 - INFO - Validated that VN ctest-vn-99857723 is not in any agent 2024-08-26 23:50:25,559 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99857723 info 2024-08-26 23:50:25,813 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 23:50:25,813 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2024-08-26 23:50:25,813 - INFO - -------------------------------------------------------------------------------- 2024-08-26 23:50:26,496 - INFO - Deleted project: ctest-TestBasicPolicy-56787001, ID : 081cb698-6f12-471b-a2bb-cbfc0792a315