2025-01-06 17:00:58,465 - INFO - Domain Default found not creating 2025-01-06 17:00:58,640 - INFO - Project ctest-TestBasicPolicy-53760620 not found, creating it 2025-01-06 17:00:59,135 - INFO - Created Project:ctest-TestBasicPolicy-53760620, ID : 87f86b35-374e-4ad3-a2b8-7d2abc413d03 2025-01-06 17:01:00,729 - INFO - ================================================================================ 2025-01-06 17:01:00,730 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-06 17:01:00,730 - 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-06 17:01:00,993 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.13': '0'}} with 2025-01-06 17:01:00,993 - INFO - Initial checks done. Running the testcase now 2025-01-06 17:01:00,993 - INFO - 2025-01-06 17:01:01,586 - DEBUG - Response for create_network : {'network': {'id': 'fa25f272-b323-4028-8726-2e15f2ab28be', 'name': 'ctest-vn-41408629', 'tenant_id': '87f86b35374e4ad3a2b87d2abc413d03', 'project_id': '87f86b35374e4ad3a2b87d2abc413d03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53760620', 'ctest-vn-41408629'], 'port_security_enabled': True, 'description': ''}} 2025-01-06 17:01:01,807 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b83e8f2-0fa0-43ba-beeb-bd00a2a91cfd', 'name': '', 'tenant_id': '87f86b35374e4ad3a2b87d2abc413d03', 'network_id': 'fa25f272-b323-4028-8726-2e15f2ab28be', 'ip_version': 4, 'cidr': '116.99.186.64/26', 'allocation_pools': [{'start': '116.99.186.66', 'end': '116.99.186.126'}], 'gateway_ip': '116.99.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.99.186.66', 'tags': [], 'project_id': '87f86b35374e4ad3a2b87d2abc413d03'}} 2025-01-06 17:01:01,826 - INFO - Created VN ctest-vn-41408629 2025-01-06 17:01:01,879 - DEBUG - VN ctest-vn-41408629 UUID is fa25f272-b323-4028-8726-2e15f2ab28be 2025-01-06 17:01:02,209 - DEBUG - Response for create_network : {'network': {'id': '92a088ba-4cb2-49f7-9080-d904aeec4bb9', 'name': 'ctest-vn-76242495', 'tenant_id': '87f86b35374e4ad3a2b87d2abc413d03', 'project_id': '87f86b35374e4ad3a2b87d2abc413d03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53760620', 'ctest-vn-76242495'], 'port_security_enabled': True, 'description': ''}} 2025-01-06 17:01:02,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e75ad3d3-c31b-4de5-a604-7ad67e8b8723', 'name': '', 'tenant_id': '87f86b35374e4ad3a2b87d2abc413d03', 'network_id': '92a088ba-4cb2-49f7-9080-d904aeec4bb9', 'ip_version': 4, 'cidr': '106.25.102.128/26', 'allocation_pools': [{'start': '106.25.102.130', 'end': '106.25.102.190'}], 'gateway_ip': '106.25.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.25.102.130', 'tags': [], 'project_id': '87f86b35374e4ad3a2b87d2abc413d03'}} 2025-01-06 17:01:02,400 - INFO - Created VN ctest-vn-76242495 2025-01-06 17:01:02,454 - DEBUG - VN ctest-vn-76242495 UUID is 92a088ba-4cb2-49f7-9080-d904aeec4bb9 2025-01-06 17:01:02,576 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-41408629, 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-53760620:ctest-vn-76242495, 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-06 17:01:02,881 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa25f272-b323-4028-8726-2e15f2ab28be', 'name': 'ctest-vn-41408629', 'tenant_id': '87f86b35374e4ad3a2b87d2abc413d03', 'project_id': '87f86b35374e4ad3a2b87d2abc413d03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b83e8f2-0fa0-43ba-beeb-bd00a2a91cfd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53760620', 'ctest-vn-41408629'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53760620', 'ctest-policy-allow-all-94079558']], 'subnet_ipam': [{'subnet_cidr': '116.99.186.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-06 17:01:03,105 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '92a088ba-4cb2-49f7-9080-d904aeec4bb9', 'name': 'ctest-vn-76242495', 'tenant_id': '87f86b35374e4ad3a2b87d2abc413d03', 'project_id': '87f86b35374e4ad3a2b87d2abc413d03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e75ad3d3-c31b-4de5-a604-7ad67e8b8723'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53760620', 'ctest-vn-76242495'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53760620', 'ctest-policy-allow-all-94079558']], 'subnet_ipam': [{'subnet_cidr': '106.25.102.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-06 17:01:03,262 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-06 17:01:03,569 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-06 17:01:03,606 - DEBUG - Requesting: http://10.0.0.17:8082/domain/29e77d7e-efeb-460b-874b-d38b1f00b22a 2025-01-06 17:01:03,623 - DEBUG - Requesting: http://10.0.0.17:8082/project/87f86b35-374e-4ad3-a2b8-7d2abc413d03 2025-01-06 17:01:03,705 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/fa25f272-b323-4028-8726-2e15f2ab28be 2025-01-06 17:01:03,718 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/fa25f272-b323-4028-8726-2e15f2ab28be 2025-01-06 17:01:03,729 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/937f0f96-99b7-4033-8ab4-f3dd412dd3ce 2025-01-06 17:01:03,738 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/937f0f96-99b7-4033-8ab4-f3dd412dd3ce 2025-01-06 17:01:03,747 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/a9c1d9d8-7c14-4ec9-8740-249aa3745a88 2025-01-06 17:01:03,754 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-06 17:01:03,755 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/fa25f272-b323-4028-8726-2e15f2ab28be 2025-01-06 17:01:03,765 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/937f0f96-99b7-4033-8ab4-f3dd412dd3ce 2025-01-06 17:01:03,786 - INFO - Verified VN network id 8 for VN fa25f272-b323-4028-8726-2e15f2ab28be 2025-01-06 17:01:03,786 - INFO - Verifications in API Server for VN ctest-vn-41408629 passed 2025-01-06 17:01:03,787 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/fa25f272-b323-4028-8726-2e15f2ab28be 2025-01-06 17:01:03,801 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/937f0f96-99b7-4033-8ab4-f3dd412dd3ce 2025-01-06 17:01:03,811 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/937f0f96-99b7-4033-8ab4-f3dd412dd3ce 2025-01-06 17:01:03,819 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/a9c1d9d8-7c14-4ec9-8740-249aa3745a88 2025-01-06 17:01:03,834 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-41408629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53760620', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18025079658065903656', 'uuid-lslong': '9738521916035770558'}, 'enable': 'true', 'created': '2025-01-06T17:01:01', 'last-modified': '2025-01-06T17:01:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974937'} 2025-01-06 17:01:03,842 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-06 17:01:03,842 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41408629 passed 2025-01-06 17:01:03,842 - DEBUG - ====Verifying policy data for ctest-vn-41408629 in API_Server ====== 2025-01-06 17:01:03,842 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-06 17:01:03,849 - DEBUG - Requesting: http://10.0.0.17:8082/domain/29e77d7e-efeb-460b-874b-d38b1f00b22a 2025-01-06 17:01:03,863 - DEBUG - Requesting: http://10.0.0.17:8082/project/87f86b35-374e-4ad3-a2b8-7d2abc413d03 2025-01-06 17:01:03,939 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/fa25f272-b323-4028-8726-2e15f2ab28be 2025-01-06 17:01:03,949 - DEBUG - ==>Verifying data for policy with id: 4c92302c-c5fd-4329-927d-bb4c6d2b8fec, fqn: ['default-domain', 'ctest-TestBasicPolicy-53760620', 'ctest-policy-allow-all-94079558'] 2025-01-06 17:01:03,949 - INFO - VN ctest-vn-41408629 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-06 17:01:03,949 - DEBUG - Verifying the vn in opserver 2025-01-06 17:01:03,949 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-41408629 virtual network link through opserver 10.0.0.17 2025-01-06 17:01:03,950 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-06 17:01:04,247 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-06 17:01:04,313 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-41408629', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-41408629?flat'} 2025-01-06 17:01:04,313 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-41408629 is found in opserver 2025-01-06 17:01:04,325 - DEBUG - Do not have enough data to verify VN in agent 2025-01-06 17:01:04,332 - DEBUG - VRF ids for VN ctest-vn-41408629: {} 2025-01-06 17:01:04,332 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-06 17:01:04,338 - DEBUG - Requesting: http://10.0.0.17:8082/domain/29e77d7e-efeb-460b-874b-d38b1f00b22a 2025-01-06 17:01:04,351 - DEBUG - Requesting: http://10.0.0.17:8082/project/87f86b35-374e-4ad3-a2b8-7d2abc413d03 2025-01-06 17:01:04,433 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/92a088ba-4cb2-49f7-9080-d904aeec4bb9 2025-01-06 17:01:04,448 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/92a088ba-4cb2-49f7-9080-d904aeec4bb9 2025-01-06 17:01:04,461 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4b1adbbf-a0a7-4a18-8a68-e51b6a21eff6 2025-01-06 17:01:04,472 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4b1adbbf-a0a7-4a18-8a68-e51b6a21eff6 2025-01-06 17:01:04,481 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/a130836f-94d0-4c27-b713-baa5ba6f57a9 2025-01-06 17:01:04,490 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-06 17:01:04,490 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/92a088ba-4cb2-49f7-9080-d904aeec4bb9 2025-01-06 17:01:04,501 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4b1adbbf-a0a7-4a18-8a68-e51b6a21eff6 2025-01-06 17:01:04,517 - INFO - Verified VN network id 9 for VN 92a088ba-4cb2-49f7-9080-d904aeec4bb9 2025-01-06 17:01:04,518 - INFO - Verifications in API Server for VN ctest-vn-76242495 passed 2025-01-06 17:01:04,518 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/92a088ba-4cb2-49f7-9080-d904aeec4bb9 2025-01-06 17:01:04,530 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4b1adbbf-a0a7-4a18-8a68-e51b6a21eff6 2025-01-06 17:01:04,540 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4b1adbbf-a0a7-4a18-8a68-e51b6a21eff6 2025-01-06 17:01:04,550 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/a130836f-94d0-4c27-b713-baa5ba6f57a9 2025-01-06 17:01:04,568 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-76242495', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53760620', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10565595059543230967', 'uuid-lslong': '10412560952618404793'}, 'enable': 'true', 'created': '2025-01-06T17:01:02', 'last-modified': '2025-01-06T17:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.489525'} 2025-01-06 17:01:04,575 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-06 17:01:04,575 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76242495 passed 2025-01-06 17:01:04,575 - DEBUG - ====Verifying policy data for ctest-vn-76242495 in API_Server ====== 2025-01-06 17:01:04,575 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-06 17:01:04,583 - DEBUG - Requesting: http://10.0.0.17:8082/domain/29e77d7e-efeb-460b-874b-d38b1f00b22a 2025-01-06 17:01:04,598 - DEBUG - Requesting: http://10.0.0.17:8082/project/87f86b35-374e-4ad3-a2b8-7d2abc413d03 2025-01-06 17:01:04,674 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/92a088ba-4cb2-49f7-9080-d904aeec4bb9 2025-01-06 17:01:04,687 - DEBUG - ==>Verifying data for policy with id: 4c92302c-c5fd-4329-927d-bb4c6d2b8fec, fqn: ['default-domain', 'ctest-TestBasicPolicy-53760620', 'ctest-policy-allow-all-94079558'] 2025-01-06 17:01:04,688 - INFO - VN ctest-vn-76242495 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-06 17:01:04,688 - DEBUG - Verifying the vn in opserver 2025-01-06 17:01:04,688 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-76242495 virtual network link through opserver 10.0.0.17 2025-01-06 17:01:04,688 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-06 17:01:04,701 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-76242495', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-76242495?flat'} 2025-01-06 17:01:04,702 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-76242495 is found in opserver 2025-01-06 17:01:04,717 - DEBUG - Do not have enough data to verify VN in agent 2025-01-06 17:01:04,724 - DEBUG - VRF ids for VN ctest-vn-76242495: {} 2025-01-06 17:01:04,813 - DEBUG - Services list from nova: [, , ] 2025-01-06 17:01:05,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2542-1) 2025-01-06 17:01:07,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2542-1) 2025-01-06 17:01:07,215 - INFO - Waiting for VM ctest-TestBasicPolicy-53760620-40178503 to be up.. 2025-01-06 17:01:07,308 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-06 17:01:12,394 - DEBUG - VM is in ACTIVE state now 2025-01-06 17:01:12,395 - INFO - VM name : ctest-TestBasicPolicy-53760620-40178503 2025-01-06 17:01:12,502 - DEBUG - VM ctest-TestBasicPolicy-53760620-40178503 ID is a88412a8-a642-49cc-86ee-f5acc2dea325 2025-01-06 17:01:12,527 - DEBUG - VM ctest-TestBasicPolicy-53760620-40178503 launched on Node cn-jenkins-deploy-platform-ansible-os-2542-1 2025-01-06 17:01:12,623 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/a88412a8-a642-49cc-86ee-f5acc2dea325 2025-01-06 17:01:12,636 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/8acab712-7a15-4985-990e-6926b392b354 2025-01-06 17:01:15,901 - 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 1022ms') 2025-01-06 17:01:15,901 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53760620-40178503 failed! 2025-01-06 17:01:15,958 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53760620:ctest-vn-41408629 is 116.99.186.65 and allocation pool is NOT set 2025-01-06 17:01:18,016 - 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=6.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.625 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.625/3.663/6.702/3.038 ms') 2025-01-06 17:01:18,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53760620-40178503 passed 2025-01-06 17:01:18,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 17:01:18,183 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53760620-40178503, IP 116.99.186.67, Port 22 2025-01-06 17:01:18,338 - DEBUG - VM ctest-TestBasicPolicy-53760620-40178503 is ready for SSH connections 2025-01-06 17:01:18,338 - INFO - Waiting for VM ctest-TestBasicPolicy-53760620-27816359 to be up.. 2025-01-06 17:01:18,419 - DEBUG - VM is in ACTIVE state now 2025-01-06 17:01:18,419 - INFO - VM name : ctest-TestBasicPolicy-53760620-27816359 2025-01-06 17:01:18,501 - DEBUG - VM ctest-TestBasicPolicy-53760620-27816359 ID is 20b4db50-9a68-4352-bab4-e2515610deaf 2025-01-06 17:01:18,501 - DEBUG - VM ctest-TestBasicPolicy-53760620-27816359 launched on Node cn-jenkins-deploy-platform-ansible-os-2542-1 2025-01-06 17:01:18,586 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/20b4db50-9a68-4352-bab4-e2515610deaf 2025-01-06 17:01:18,595 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/c785aa31-2de7-4102-97a0-da33c1c4446d 2025-01-06 17:01:19,842 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.019/2.458/3.898/1.439 ms') 2025-01-06 17:01:19,842 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53760620-27816359 passed 2025-01-06 17:01:20,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 17:01:20,011 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53760620-27816359, IP 106.25.102.131, Port 22 2025-01-06 17:01:20,177 - DEBUG - VM ctest-TestBasicPolicy-53760620-27816359 is ready for SSH connections 2025-01-06 17:01:20,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 17:01:20,177 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.25.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-06 17:01:20,177 - DEBUG - ping -s 56 -c 3 -W 1 106.25.102.131 2025-01-06 17:01:23,887 - DEBUG - PING 106.25.102.131 (106.25.102.131): 56 data bytes 64 bytes from 106.25.102.131: seq=0 ttl=63 time=3.851 ms 64 bytes from 106.25.102.131: seq=1 ttl=63 time=0.975 ms 64 bytes from 106.25.102.131: seq=2 ttl=63 time=1.108 ms --- 106.25.102.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.975/1.978/3.851 ms 2025-01-06 17:01:23,887 - INFO - Ping to IP 106.25.102.131 from VM ctest-TestBasicPolicy-53760620-40178503 passed 2025-01-06 17:01:24,070 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4c92302c-c5fd-4329-927d-bb4c6d2b8fec", "href": "http://10.0.0.17:8082/network-policy/4c92302c-c5fd-4329-927d-bb4c6d2b8fec"}} 2025-01-06 17:01:24,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 17:01:24,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.25.102.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-06 17:01:24,071 - DEBUG - ping -s 56 -c 3 -W 1 106.25.102.131 2025-01-06 17:01:27,278 - DEBUG - PING 106.25.102.131 (106.25.102.131): 56 data bytes 64 bytes from 106.25.102.131: seq=0 ttl=63 time=1.636 ms --- 106.25.102.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.636/1.636/1.636 ms 2025-01-06 17:01:27,278 - WARNING - Ping to IP 106.25.102.131 from VM ctest-TestBasicPolicy-53760620-40178503 failed 2025-01-06 17:01:27,278 - INFO - Deleting VM ctest-TestBasicPolicy-53760620-27816359 2025-01-06 17:01:27,351 - INFO - Deleting VM ctest-TestBasicPolicy-53760620-40178503 2025-01-06 17:01:27,767 - INFO - Deleted policy ctest-policy-allow-all-94079558 2025-01-06 17:01:27,767 - INFO - Deleting VN ctest-vn-76242495 2025-01-06 17:01:27,810 - DEBUG - VN 92a088ba-4cb2-49f7-9080-d904aeec4bb9 still in use: Unable to complete operation on network 92a088ba-4cb2-49f7-9080-d904aeec4bb9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4c4a405e-4a93-4935-a8ab-8031fff02a2a'] 2025-01-06 17:01:27,810 - WARNING - Deleting VN ctest-vn-76242495 failed..Will retry 2025-01-06 17:01:29,941 - DEBUG - Response for deleting network () 2025-01-06 17:01:29,941 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4b1adbbf-a0a7-4a18-8a68-e51b6a21eff6 2025-01-06 17:01:29,951 - DEBUG - Response Code: 404 2025-01-06 17:01:29,951 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-06 17:01:29,959 - DEBUG - Requesting: http://10.0.0.17:8082/domain/29e77d7e-efeb-460b-874b-d38b1f00b22a 2025-01-06 17:01:30,017 - DEBUG - Requesting: http://10.0.0.17:8082/project/87f86b35-374e-4ad3-a2b8-7d2abc413d03 2025-01-06 17:01:30,094 - INFO - Validated that VN ctest-vn-76242495 is not found in API Server 2025-01-06 17:01:30,106 - DEBUG - VN ctest-vn-76242495 is not present in Agent 10.0.0.17 2025-01-06 17:01:30,106 - INFO - Validated that VN ctest-vn-76242495 is not in any agent 2025-01-06 17:01:30,121 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76242495 info 2025-01-06 17:01:30,121 - INFO - Deleting VN ctest-vn-41408629 2025-01-06 17:01:30,241 - DEBUG - Response for deleting network () 2025-01-06 17:01:30,241 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/937f0f96-99b7-4033-8ab4-f3dd412dd3ce 2025-01-06 17:01:30,249 - DEBUG - Response Code: 404 2025-01-06 17:01:30,249 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-06 17:01:30,258 - DEBUG - Requesting: http://10.0.0.17:8082/domain/29e77d7e-efeb-460b-874b-d38b1f00b22a 2025-01-06 17:01:30,312 - DEBUG - Requesting: http://10.0.0.17:8082/project/87f86b35-374e-4ad3-a2b8-7d2abc413d03 2025-01-06 17:01:30,385 - INFO - Validated that VN ctest-vn-41408629 is not found in API Server 2025-01-06 17:01:30,399 - DEBUG - VN ctest-vn-41408629 is not present in Agent 10.0.0.17 2025-01-06 17:01:30,399 - INFO - Validated that VN ctest-vn-41408629 is not in any agent 2025-01-06 17:01:30,416 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41408629 info 2025-01-06 17:01:30,677 - DEBUG - No XMPP flaps were noticed during the test 2025-01-06 17:01:30,677 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-06 17:01:30,677 - INFO - -------------------------------------------------------------------------------- 2025-01-06 17:01:31,378 - INFO - Deleted project: ctest-TestBasicPolicy-53760620, ID : 87f86b35-374e-4ad3-a2b8-7d2abc413d03