2025-04-23 16:28:38,688 - INFO - Domain Default found not creating 2025-04-23 16:28:38,926 - INFO - Project ctest-TestBasicPolicy-74095587 not found, creating it 2025-04-23 16:28:39,389 - INFO - Created Project:ctest-TestBasicPolicy-74095587, ID : 3a9a9c09-982a-4360-b49e-871ed8438ed3 2025-04-23 16:28:40,938 - INFO - ================================================================================ 2025-04-23 16:28:40,938 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-23 16:28:40,938 - 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-04-23 16:28:41,195 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with 2025-04-23 16:28:41,195 - INFO - Initial checks done. Running the testcase now 2025-04-23 16:28:41,195 - INFO - 2025-04-23 16:28:41,796 - DEBUG - Response for create_network : {'network': {'id': '458254f4-7395-4939-900e-8e91d3c4a225', 'name': 'ctest-vn-56383174', 'tenant_id': '3a9a9c09982a4360b49e871ed8438ed3', 'project_id': '3a9a9c09982a4360b49e871ed8438ed3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74095587', 'ctest-vn-56383174'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:28:42,005 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f47cc08b-1595-4754-98f6-cc3436ba417e', 'name': '', 'tenant_id': '3a9a9c09982a4360b49e871ed8438ed3', 'network_id': '458254f4-7395-4939-900e-8e91d3c4a225', 'ip_version': 4, 'cidr': '28.242.205.192/26', 'allocation_pools': [{'start': '28.242.205.194', 'end': '28.242.205.254'}], 'gateway_ip': '28.242.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.242.205.194', 'tags': [], 'project_id': '3a9a9c09982a4360b49e871ed8438ed3'}} 2025-04-23 16:28:42,024 - INFO - Created VN ctest-vn-56383174 2025-04-23 16:28:42,076 - DEBUG - VN ctest-vn-56383174 UUID is 458254f4-7395-4939-900e-8e91d3c4a225 2025-04-23 16:28:42,496 - DEBUG - Response for create_network : {'network': {'id': '5470c65c-d3ed-4689-a7f6-ffccb83704a1', 'name': 'ctest-vn-65923976', 'tenant_id': '3a9a9c09982a4360b49e871ed8438ed3', 'project_id': '3a9a9c09982a4360b49e871ed8438ed3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74095587', 'ctest-vn-65923976'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:28:42,714 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fc18f5c-dc56-4927-b8b9-400a8907008f', 'name': '', 'tenant_id': '3a9a9c09982a4360b49e871ed8438ed3', 'network_id': '5470c65c-d3ed-4689-a7f6-ffccb83704a1', 'ip_version': 4, 'cidr': '136.143.7.128/26', 'allocation_pools': [{'start': '136.143.7.130', 'end': '136.143.7.190'}], 'gateway_ip': '136.143.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.143.7.130', 'tags': [], 'project_id': '3a9a9c09982a4360b49e871ed8438ed3'}} 2025-04-23 16:28:42,732 - INFO - Created VN ctest-vn-65923976 2025-04-23 16:28:42,784 - DEBUG - VN ctest-vn-65923976 UUID is 5470c65c-d3ed-4689-a7f6-ffccb83704a1 2025-04-23 16:28:42,897 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-56383174, 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-74095587:ctest-vn-65923976, 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-04-23 16:28:43,206 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '458254f4-7395-4939-900e-8e91d3c4a225', 'name': 'ctest-vn-56383174', 'tenant_id': '3a9a9c09982a4360b49e871ed8438ed3', 'project_id': '3a9a9c09982a4360b49e871ed8438ed3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f47cc08b-1595-4754-98f6-cc3436ba417e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74095587', 'ctest-vn-56383174'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74095587', 'ctest-policy-allow-all-60653769']], 'subnet_ipam': [{'subnet_cidr': '28.242.205.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:28:43,446 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5470c65c-d3ed-4689-a7f6-ffccb83704a1', 'name': 'ctest-vn-65923976', 'tenant_id': '3a9a9c09982a4360b49e871ed8438ed3', 'project_id': '3a9a9c09982a4360b49e871ed8438ed3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9fc18f5c-dc56-4927-b8b9-400a8907008f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74095587', 'ctest-vn-65923976'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74095587', 'ctest-policy-allow-all-60653769']], 'subnet_ipam': [{'subnet_cidr': '136.143.7.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 16:28:43,612 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-23 16:28:43,951 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-23 16:28:43,981 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8673d2dd-018a-4793-93e5-874637249f7b 2025-04-23 16:28:43,996 - DEBUG - Requesting: http://10.0.0.130:8082/project/3a9a9c09-982a-4360-b49e-871ed8438ed3 2025-04-23 16:28:44,066 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/458254f4-7395-4939-900e-8e91d3c4a225 2025-04-23 16:28:44,079 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/458254f4-7395-4939-900e-8e91d3c4a225 2025-04-23 16:28:44,090 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6f091adf-53c2-4a48-970d-f25484c83c3b 2025-04-23 16:28:44,098 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6f091adf-53c2-4a48-970d-f25484c83c3b 2025-04-23 16:28:44,105 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/3db78ba6-3582-490b-ac50-7a98b3b8677c 2025-04-23 16:28:44,113 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 16:28:44,113 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/458254f4-7395-4939-900e-8e91d3c4a225 2025-04-23 16:28:44,123 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6f091adf-53c2-4a48-970d-f25484c83c3b 2025-04-23 16:28:44,138 - INFO - Verified VN network id 9 for VN 458254f4-7395-4939-900e-8e91d3c4a225 2025-04-23 16:28:44,138 - INFO - Verifications in API Server for VN ctest-vn-56383174 passed 2025-04-23 16:28:44,138 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/458254f4-7395-4939-900e-8e91d3c4a225 2025-04-23 16:28:44,148 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6f091adf-53c2-4a48-970d-f25484c83c3b 2025-04-23 16:28:44,155 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6f091adf-53c2-4a48-970d-f25484c83c3b 2025-04-23 16:28:44,162 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/3db78ba6-3582-490b-ac50-7a98b3b8677c 2025-04-23 16:28:44,175 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-56383174', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74095587', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5008659144477329721', 'uuid-lslong': '10380390948109853221'}, 'enable': 'true', 'created': '2025-04-23T16:28:41', 'last-modified': '2025-04-23T16:28:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.997885'} 2025-04-23 16:28:44,182 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 16:28:44,182 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56383174 passed 2025-04-23 16:28:44,182 - DEBUG - ====Verifying policy data for ctest-vn-56383174 in API_Server ====== 2025-04-23 16:28:44,182 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-23 16:28:44,188 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8673d2dd-018a-4793-93e5-874637249f7b 2025-04-23 16:28:44,201 - DEBUG - Requesting: http://10.0.0.130:8082/project/3a9a9c09-982a-4360-b49e-871ed8438ed3 2025-04-23 16:28:44,279 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/458254f4-7395-4939-900e-8e91d3c4a225 2025-04-23 16:28:44,290 - DEBUG - ==>Verifying data for policy with id: 1cc16011-687f-4102-8b12-7e2d5593c727, fqn: ['default-domain', 'ctest-TestBasicPolicy-74095587', 'ctest-policy-allow-all-60653769'] 2025-04-23 16:28:44,290 - INFO - VN ctest-vn-56383174 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 16:28:44,290 - DEBUG - Verifying the vn in opserver 2025-04-23 16:28:44,290 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-56383174 virtual network link through opserver 10.0.0.130 2025-04-23 16:28:44,290 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-23 16:28:44,621 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-23 16:28:44,678 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-56383174', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-56383174?flat'} 2025-04-23 16:28:44,678 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-56383174 is found in opserver 2025-04-23 16:28:44,690 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 16:28:44,696 - DEBUG - VRF ids for VN ctest-vn-56383174: {} 2025-04-23 16:28:44,696 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-23 16:28:44,702 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8673d2dd-018a-4793-93e5-874637249f7b 2025-04-23 16:28:44,714 - DEBUG - Requesting: http://10.0.0.130:8082/project/3a9a9c09-982a-4360-b49e-871ed8438ed3 2025-04-23 16:28:44,837 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5470c65c-d3ed-4689-a7f6-ffccb83704a1 2025-04-23 16:28:44,849 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5470c65c-d3ed-4689-a7f6-ffccb83704a1 2025-04-23 16:28:44,859 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d6dcf2fe-5f44-4f6c-9e7e-f0985729a9ca 2025-04-23 16:28:44,867 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d6dcf2fe-5f44-4f6c-9e7e-f0985729a9ca 2025-04-23 16:28:44,874 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/6c746758-fc27-40e7-a4e3-f2e069cfe1e4 2025-04-23 16:28:44,881 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 16:28:44,881 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5470c65c-d3ed-4689-a7f6-ffccb83704a1 2025-04-23 16:28:44,891 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d6dcf2fe-5f44-4f6c-9e7e-f0985729a9ca 2025-04-23 16:28:44,905 - INFO - Verified VN network id 10 for VN 5470c65c-d3ed-4689-a7f6-ffccb83704a1 2025-04-23 16:28:44,905 - INFO - Verifications in API Server for VN ctest-vn-65923976 passed 2025-04-23 16:28:44,905 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5470c65c-d3ed-4689-a7f6-ffccb83704a1 2025-04-23 16:28:44,914 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d6dcf2fe-5f44-4f6c-9e7e-f0985729a9ca 2025-04-23 16:28:44,922 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d6dcf2fe-5f44-4f6c-9e7e-f0985729a9ca 2025-04-23 16:28:44,929 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/6c746758-fc27-40e7-a4e3-f2e069cfe1e4 2025-04-23 16:28:44,941 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-65923976', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74095587', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6084581198572373641', 'uuid-lslong': '12103142303333811361'}, 'enable': 'true', 'created': '2025-04-23T16:28:42', 'last-modified': '2025-04-23T16:28:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.522313'} 2025-04-23 16:28:44,949 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 16:28:44,950 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65923976 passed 2025-04-23 16:28:44,950 - DEBUG - ====Verifying policy data for ctest-vn-65923976 in API_Server ====== 2025-04-23 16:28:44,950 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-23 16:28:44,956 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8673d2dd-018a-4793-93e5-874637249f7b 2025-04-23 16:28:44,969 - DEBUG - Requesting: http://10.0.0.130:8082/project/3a9a9c09-982a-4360-b49e-871ed8438ed3 2025-04-23 16:28:45,039 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5470c65c-d3ed-4689-a7f6-ffccb83704a1 2025-04-23 16:28:45,050 - DEBUG - ==>Verifying data for policy with id: 1cc16011-687f-4102-8b12-7e2d5593c727, fqn: ['default-domain', 'ctest-TestBasicPolicy-74095587', 'ctest-policy-allow-all-60653769'] 2025-04-23 16:28:45,050 - INFO - VN ctest-vn-65923976 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 16:28:45,050 - DEBUG - Verifying the vn in opserver 2025-04-23 16:28:45,050 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-65923976 virtual network link through opserver 10.0.0.130 2025-04-23 16:28:45,050 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-23 16:28:45,061 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-65923976', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-65923976?flat'} 2025-04-23 16:28:45,061 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-65923976 is found in opserver 2025-04-23 16:28:45,072 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 16:28:45,077 - DEBUG - VRF ids for VN ctest-vn-65923976: {} 2025-04-23 16:28:45,137 - DEBUG - Services list from nova: [, , ] 2025-04-23 16:28:46,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3191-1) 2025-04-23 16:28:47,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3191-1) 2025-04-23 16:28:47,774 - INFO - Waiting for VM ctest-TestBasicPolicy-74095587-24800370 to be up.. 2025-04-23 16:28:47,867 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 16:28:52,949 - DEBUG - VM is in ACTIVE state now 2025-04-23 16:28:52,949 - INFO - VM name : ctest-TestBasicPolicy-74095587-24800370 2025-04-23 16:28:53,034 - DEBUG - VM ctest-TestBasicPolicy-74095587-24800370 ID is 0c271aed-2782-49a0-8fb3-b996ba07ae67 2025-04-23 16:28:53,056 - DEBUG - VM ctest-TestBasicPolicy-74095587-24800370 launched on Node cn-jenkins-deploy-platform-ansible-os-3191-1 2025-04-23 16:28:53,156 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/0c271aed-2782-49a0-8fb3-b996ba07ae67 2025-04-23 16:28:53,165 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/5b657b3d-9cf1-4d8b-b9e3-d906db5add0b 2025-04-23 16:28:56,415 - 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 1011ms') 2025-04-23 16:28:56,415 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74095587-24800370 failed! 2025-04-23 16:28:56,468 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74095587:ctest-vn-56383174 is 28.242.205.193 and allocation pool is NOT set 2025-04-23 16:28:58,528 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.215/6.142/10.070/3.927 ms') 2025-04-23 16:28:58,528 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74095587-24800370 passed 2025-04-23 16:28:58,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:28:58,680 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74095587-24800370, IP 28.242.205.195, Port 22 2025-04-23 16:28:58,836 - DEBUG - VM ctest-TestBasicPolicy-74095587-24800370 is ready for SSH connections 2025-04-23 16:28:58,836 - INFO - Waiting for VM ctest-TestBasicPolicy-74095587-81916170 to be up.. 2025-04-23 16:28:58,921 - DEBUG - VM is in ACTIVE state now 2025-04-23 16:28:58,921 - INFO - VM name : ctest-TestBasicPolicy-74095587-81916170 2025-04-23 16:28:59,013 - DEBUG - VM ctest-TestBasicPolicy-74095587-81916170 ID is 9c4ffd72-dae1-4e32-9c03-d5de805133d9 2025-04-23 16:28:59,013 - DEBUG - VM ctest-TestBasicPolicy-74095587-81916170 launched on Node cn-jenkins-deploy-platform-ansible-os-3191-1 2025-04-23 16:28:59,093 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9c4ffd72-dae1-4e32-9c03-d5de805133d9 2025-04-23 16:28:59,105 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6fb0b19f-1c6d-48f9-bd13-0a39430c2b29 2025-04-23 16:29:00,360 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.869 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.869/3.091/5.314/2.222 ms') 2025-04-23 16:29:00,360 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74095587-81916170 passed 2025-04-23 16:29:00,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:29:00,512 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74095587-81916170, IP 136.143.7.131, Port 22 2025-04-23 16:29:00,668 - DEBUG - VM ctest-TestBasicPolicy-74095587-81916170 is ready for SSH connections 2025-04-23 16:29:00,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:29:00,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.143.7.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-23 16:29:00,668 - DEBUG - ping -s 56 -c 3 -W 1 136.143.7.131 2025-04-23 16:29:04,748 - DEBUG - PING 136.143.7.131 (136.143.7.131): 56 data bytes 64 bytes from 136.143.7.131: seq=0 ttl=63 time=3.689 ms 64 bytes from 136.143.7.131: seq=1 ttl=63 time=0.919 ms 64 bytes from 136.143.7.131: seq=2 ttl=63 time=0.813 ms --- 136.143.7.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.807/3.689 ms 2025-04-23 16:29:04,748 - INFO - Ping to IP 136.143.7.131 from VM ctest-TestBasicPolicy-74095587-24800370 passed 2025-04-23 16:29:04,928 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1cc16011-687f-4102-8b12-7e2d5593c727", "href": "http://10.0.0.130:8082/network-policy/1cc16011-687f-4102-8b12-7e2d5593c727"}} 2025-04-23 16:29:04,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 16:29:04,928 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.143.7.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-23 16:29:04,928 - DEBUG - ping -s 56 -c 3 -W 1 136.143.7.131 2025-04-23 16:29:08,139 - DEBUG - PING 136.143.7.131 (136.143.7.131): 56 data bytes 64 bytes from 136.143.7.131: seq=0 ttl=63 time=1.476 ms --- 136.143.7.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.476/1.476/1.476 ms 2025-04-23 16:29:08,140 - WARNING - Ping to IP 136.143.7.131 from VM ctest-TestBasicPolicy-74095587-24800370 failed 2025-04-23 16:29:08,140 - INFO - Deleting VM ctest-TestBasicPolicy-74095587-81916170 2025-04-23 16:29:08,225 - INFO - Deleting VM ctest-TestBasicPolicy-74095587-24800370 2025-04-23 16:29:08,712 - INFO - Deleted policy ctest-policy-allow-all-60653769 2025-04-23 16:29:08,713 - INFO - Deleting VN ctest-vn-65923976 2025-04-23 16:29:08,763 - DEBUG - VN 5470c65c-d3ed-4689-a7f6-ffccb83704a1 still in use: Unable to complete operation on network 5470c65c-d3ed-4689-a7f6-ffccb83704a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae46657c-d64d-4fc8-8379-253245aac82f'] 2025-04-23 16:29:08,763 - WARNING - Deleting VN ctest-vn-65923976 failed..Will retry 2025-04-23 16:29:10,866 - DEBUG - Response for deleting network () 2025-04-23 16:29:10,866 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/d6dcf2fe-5f44-4f6c-9e7e-f0985729a9ca 2025-04-23 16:29:10,875 - DEBUG - Response Code: 404 2025-04-23 16:29:10,876 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-23 16:29:10,887 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8673d2dd-018a-4793-93e5-874637249f7b 2025-04-23 16:29:10,951 - DEBUG - Requesting: http://10.0.0.130:8082/project/3a9a9c09-982a-4360-b49e-871ed8438ed3 2025-04-23 16:29:11,025 - INFO - Validated that VN ctest-vn-65923976 is not found in API Server 2025-04-23 16:29:11,039 - DEBUG - VN ctest-vn-65923976 is not present in Agent 10.0.0.130 2025-04-23 16:29:11,039 - INFO - Validated that VN ctest-vn-65923976 is not in any agent 2025-04-23 16:29:11,057 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65923976 info 2025-04-23 16:29:11,057 - INFO - Deleting VN ctest-vn-56383174 2025-04-23 16:29:11,177 - DEBUG - Response for deleting network () 2025-04-23 16:29:11,177 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6f091adf-53c2-4a48-970d-f25484c83c3b 2025-04-23 16:29:11,183 - DEBUG - Response Code: 404 2025-04-23 16:29:11,183 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-23 16:29:11,188 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8673d2dd-018a-4793-93e5-874637249f7b 2025-04-23 16:29:11,241 - DEBUG - Requesting: http://10.0.0.130:8082/project/3a9a9c09-982a-4360-b49e-871ed8438ed3 2025-04-23 16:29:11,319 - INFO - Validated that VN ctest-vn-56383174 is not found in API Server 2025-04-23 16:29:11,330 - DEBUG - VN ctest-vn-56383174 is not present in Agent 10.0.0.130 2025-04-23 16:29:11,330 - INFO - Validated that VN ctest-vn-56383174 is not in any agent 2025-04-23 16:29:11,345 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56383174 info 2025-04-23 16:29:11,603 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 16:29:11,603 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-04-23 16:29:11,603 - INFO - -------------------------------------------------------------------------------- 2025-04-23 16:29:12,310 - INFO - Deleted project: ctest-TestBasicPolicy-74095587, ID : 3a9a9c09-982a-4360-b49e-871ed8438ed3