2025-09-08 12:49:19,904 - INFO - Domain Default found not creating 2025-09-08 12:49:20,038 - INFO - Project ctest-TestBasicPolicy-90926705 not found, creating it 2025-09-08 12:49:20,454 - INFO - Created Project:ctest-TestBasicPolicy-90926705, ID : e7865785-3182-462a-a8c4-d2b39f4acf66 2025-09-08 12:49:21,807 - INFO - ================================================================================ 2025-09-08 12:49:21,808 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-08 12:49:21,808 - 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-09-08 12:49:22,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-08 12:49:22,070 - INFO - Initial checks done. Running the testcase now 2025-09-08 12:49:22,070 - INFO - 2025-09-08 12:49:22,599 - DEBUG - Response for create_network : {'network': {'id': 'e569c818-b774-49f1-8e7d-a6d899de0d98', 'name': 'ctest-vn-74227925', 'tenant_id': 'e78657853182462aa8c4d2b39f4acf66', 'project_id': 'e78657853182462aa8c4d2b39f4acf66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90926705', 'ctest-vn-74227925'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:49:22,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '15b28fb8-ce31-4c45-8f1c-480aaf194f2a', 'name': '', 'tenant_id': 'e78657853182462aa8c4d2b39f4acf66', 'network_id': 'e569c818-b774-49f1-8e7d-a6d899de0d98', 'ip_version': 4, 'cidr': '2.148.205.192/26', 'allocation_pools': [{'start': '2.148.205.194', 'end': '2.148.205.254'}], 'gateway_ip': '2.148.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.148.205.194', 'tags': [], 'project_id': 'e78657853182462aa8c4d2b39f4acf66'}} 2025-09-08 12:49:22,768 - INFO - Created VN ctest-vn-74227925 2025-09-08 12:49:22,821 - DEBUG - VN ctest-vn-74227925 UUID is e569c818-b774-49f1-8e7d-a6d899de0d98 2025-09-08 12:49:23,086 - DEBUG - Response for create_network : {'network': {'id': 'ad044682-f5c2-4996-a196-73287b25e376', 'name': 'ctest-vn-04841972', 'tenant_id': 'e78657853182462aa8c4d2b39f4acf66', 'project_id': 'e78657853182462aa8c4d2b39f4acf66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90926705', 'ctest-vn-04841972'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:49:23,301 - DEBUG - Response for create_subnet : {'subnet': {'id': '9438657a-15a9-4065-b744-fdf067055c24', 'name': '', 'tenant_id': 'e78657853182462aa8c4d2b39f4acf66', 'network_id': 'ad044682-f5c2-4996-a196-73287b25e376', 'ip_version': 4, 'cidr': '198.17.160.128/26', 'allocation_pools': [{'start': '198.17.160.130', 'end': '198.17.160.190'}], 'gateway_ip': '198.17.160.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.17.160.130', 'tags': [], 'project_id': 'e78657853182462aa8c4d2b39f4acf66'}} 2025-09-08 12:49:23,319 - INFO - Created VN ctest-vn-04841972 2025-09-08 12:49:23,369 - DEBUG - VN ctest-vn-04841972 UUID is ad044682-f5c2-4996-a196-73287b25e376 2025-09-08 12:49:23,480 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-74227925, 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-90926705:ctest-vn-04841972, 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-09-08 12:49:23,756 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e569c818-b774-49f1-8e7d-a6d899de0d98', 'name': 'ctest-vn-74227925', 'tenant_id': 'e78657853182462aa8c4d2b39f4acf66', 'project_id': 'e78657853182462aa8c4d2b39f4acf66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['15b28fb8-ce31-4c45-8f1c-480aaf194f2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90926705', 'ctest-vn-74227925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90926705', 'ctest-policy-allow-all-59589113']], 'subnet_ipam': [{'subnet_cidr': '2.148.205.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:49:23,977 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad044682-f5c2-4996-a196-73287b25e376', 'name': 'ctest-vn-04841972', 'tenant_id': 'e78657853182462aa8c4d2b39f4acf66', 'project_id': 'e78657853182462aa8c4d2b39f4acf66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9438657a-15a9-4065-b744-fdf067055c24'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90926705', 'ctest-vn-04841972'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90926705', 'ctest-policy-allow-all-59589113']], 'subnet_ipam': [{'subnet_cidr': '198.17.160.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 12:49:24,133 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 12:49:24,433 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 12:49:24,457 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b42a849c-efeb-4ae6-9594-7aa8d1081f90 2025-09-08 12:49:24,468 - DEBUG - Requesting: http://10.0.0.254:8082/project/e7865785-3182-462a-a8c4-d2b39f4acf66 2025-09-08 12:49:24,537 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e569c818-b774-49f1-8e7d-a6d899de0d98 2025-09-08 12:49:24,546 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e569c818-b774-49f1-8e7d-a6d899de0d98 2025-09-08 12:49:24,553 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b27a8580-97dd-4901-908d-e78a3b681a52 2025-09-08 12:49:24,559 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b27a8580-97dd-4901-908d-e78a3b681a52 2025-09-08 12:49:24,565 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d70ad665-0ca4-4083-84d1-f034735c4793 2025-09-08 12:49:24,570 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 12:49:24,570 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e569c818-b774-49f1-8e7d-a6d899de0d98 2025-09-08 12:49:24,577 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b27a8580-97dd-4901-908d-e78a3b681a52 2025-09-08 12:49:24,588 - INFO - Verified VN network id 12 for VN e569c818-b774-49f1-8e7d-a6d899de0d98 2025-09-08 12:49:24,588 - INFO - Verifications in API Server for VN ctest-vn-74227925 passed 2025-09-08 12:49:24,588 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e569c818-b774-49f1-8e7d-a6d899de0d98 2025-09-08 12:49:24,596 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b27a8580-97dd-4901-908d-e78a3b681a52 2025-09-08 12:49:24,602 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b27a8580-97dd-4901-908d-e78a3b681a52 2025-09-08 12:49:24,607 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d70ad665-0ca4-4083-84d1-f034735c4793 2025-09-08 12:49:24,624 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-74227925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90926705', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16530963915722738161', 'uuid-lslong': '10267546174699212184'}, 'enable': 'true', 'created': '2025-09-08T12:49:22', 'last-modified': '2025-09-08T12:49:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888080'} 2025-09-08 12:49:24,630 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 12:49:24,630 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74227925 passed 2025-09-08 12:49:24,630 - DEBUG - ====Verifying policy data for ctest-vn-74227925 in API_Server ====== 2025-09-08 12:49:24,631 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 12:49:24,635 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b42a849c-efeb-4ae6-9594-7aa8d1081f90 2025-09-08 12:49:24,644 - DEBUG - Requesting: http://10.0.0.254:8082/project/e7865785-3182-462a-a8c4-d2b39f4acf66 2025-09-08 12:49:24,717 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e569c818-b774-49f1-8e7d-a6d899de0d98 2025-09-08 12:49:24,726 - DEBUG - ==>Verifying data for policy with id: 43e15249-e3a1-4610-94d2-8ac6fff21dd6, fqn: ['default-domain', 'ctest-TestBasicPolicy-90926705', 'ctest-policy-allow-all-59589113'] 2025-09-08 12:49:24,726 - INFO - VN ctest-vn-74227925 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 12:49:24,727 - DEBUG - Verifying the vn in opserver 2025-09-08 12:49:24,727 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-74227925 virtual network link through opserver 10.0.0.254 2025-09-08 12:49:24,727 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-08 12:49:25,023 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-08 12:49:25,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-74227925', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-74227925?flat'} 2025-09-08 12:49:25,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-74227925 is found in opserver 2025-09-08 12:49:25,078 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 12:49:25,082 - DEBUG - VRF ids for VN ctest-vn-74227925: {} 2025-09-08 12:49:25,082 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 12:49:25,088 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b42a849c-efeb-4ae6-9594-7aa8d1081f90 2025-09-08 12:49:25,099 - DEBUG - Requesting: http://10.0.0.254:8082/project/e7865785-3182-462a-a8c4-d2b39f4acf66 2025-09-08 12:49:25,171 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ad044682-f5c2-4996-a196-73287b25e376 2025-09-08 12:49:25,181 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ad044682-f5c2-4996-a196-73287b25e376 2025-09-08 12:49:25,190 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1274593-b702-4c69-8b92-08c76c4dd3fc 2025-09-08 12:49:25,196 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1274593-b702-4c69-8b92-08c76c4dd3fc 2025-09-08 12:49:25,201 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/291050eb-3f73-4262-bfbd-d4cbb5fdda7b 2025-09-08 12:49:25,206 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 12:49:25,206 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ad044682-f5c2-4996-a196-73287b25e376 2025-09-08 12:49:25,213 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1274593-b702-4c69-8b92-08c76c4dd3fc 2025-09-08 12:49:25,224 - INFO - Verified VN network id 13 for VN ad044682-f5c2-4996-a196-73287b25e376 2025-09-08 12:49:25,224 - INFO - Verifications in API Server for VN ctest-vn-04841972 passed 2025-09-08 12:49:25,224 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ad044682-f5c2-4996-a196-73287b25e376 2025-09-08 12:49:25,234 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1274593-b702-4c69-8b92-08c76c4dd3fc 2025-09-08 12:49:25,239 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1274593-b702-4c69-8b92-08c76c4dd3fc 2025-09-08 12:49:25,246 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/291050eb-3f73-4262-bfbd-d4cbb5fdda7b 2025-09-08 12:49:25,257 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-04841972', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90926705', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12467167196751219094', 'uuid-lslong': '11643620504314962806'}, 'enable': 'true', 'created': '2025-09-08T12:49:23', 'last-modified': '2025-09-08T12:49:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.301520'} 2025-09-08 12:49:25,268 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 12:49:25,273 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04841972 passed 2025-09-08 12:49:25,274 - DEBUG - ====Verifying policy data for ctest-vn-04841972 in API_Server ====== 2025-09-08 12:49:25,275 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 12:49:25,291 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b42a849c-efeb-4ae6-9594-7aa8d1081f90 2025-09-08 12:49:25,300 - DEBUG - Requesting: http://10.0.0.254:8082/project/e7865785-3182-462a-a8c4-d2b39f4acf66 2025-09-08 12:49:25,374 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ad044682-f5c2-4996-a196-73287b25e376 2025-09-08 12:49:25,382 - DEBUG - ==>Verifying data for policy with id: 43e15249-e3a1-4610-94d2-8ac6fff21dd6, fqn: ['default-domain', 'ctest-TestBasicPolicy-90926705', 'ctest-policy-allow-all-59589113'] 2025-09-08 12:49:25,382 - INFO - VN ctest-vn-04841972 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 12:49:25,382 - DEBUG - Verifying the vn in opserver 2025-09-08 12:49:25,382 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-04841972 virtual network link through opserver 10.0.0.254 2025-09-08 12:49:25,382 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-08 12:49:25,392 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-04841972', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-04841972?flat'} 2025-09-08 12:49:25,392 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-04841972 is found in opserver 2025-09-08 12:49:25,400 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 12:49:25,404 - DEBUG - VRF ids for VN ctest-vn-04841972: {} 2025-09-08 12:49:25,475 - DEBUG - Services list from nova: [, , ] 2025-09-08 12:49:26,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4046-1) 2025-09-08 12:49:27,548 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4046-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4046-1) 2025-09-08 12:49:27,548 - INFO - Waiting for VM ctest-TestBasicPolicy-90926705-01559798 to be up.. 2025-09-08 12:49:27,625 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 12:49:32,696 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:49:32,696 - INFO - VM name : ctest-TestBasicPolicy-90926705-01559798 2025-09-08 12:49:32,763 - DEBUG - VM ctest-TestBasicPolicy-90926705-01559798 ID is 4d3b1457-4ccb-433e-ac55-7952d6b4d458 2025-09-08 12:49:32,779 - DEBUG - VM ctest-TestBasicPolicy-90926705-01559798 launched on Node cn-jenkins-deploy-platform-ansible-os-4046-1 2025-09-08 12:49:32,843 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4d3b1457-4ccb-433e-ac55-7952d6b4d458 2025-09-08 12:49:32,850 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/78aef8eb-602a-4b64-9f80-aec45506db84 2025-09-08 12:49:36,096 - 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 1019ms') 2025-09-08 12:49:36,096 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90926705-01559798 failed! 2025-09-08 12:49:36,149 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90926705:ctest-vn-74227925 is 2.148.205.193 and allocation pool is NOT set 2025-09-08 12:49:38,213 - 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=3.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.777 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.777/2.266/3.756/1.489 ms') 2025-09-08 12:49:38,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90926705-01559798 passed 2025-09-08 12:49:38,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:49:38,361 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90926705-01559798, IP 2.148.205.195, Port 22 2025-09-08 12:49:38,516 - DEBUG - VM ctest-TestBasicPolicy-90926705-01559798 is ready for SSH connections 2025-09-08 12:49:38,516 - INFO - Waiting for VM ctest-TestBasicPolicy-90926705-46802313 to be up.. 2025-09-08 12:49:38,585 - DEBUG - VM is in ACTIVE state now 2025-09-08 12:49:38,586 - INFO - VM name : ctest-TestBasicPolicy-90926705-46802313 2025-09-08 12:49:38,650 - DEBUG - VM ctest-TestBasicPolicy-90926705-46802313 ID is c9d8e565-d023-4a14-a4e2-f2aaf9118a75 2025-09-08 12:49:38,650 - DEBUG - VM ctest-TestBasicPolicy-90926705-46802313 launched on Node cn-jenkins-deploy-platform-ansible-os-4046-1 2025-09-08 12:49:38,717 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c9d8e565-d023-4a14-a4e2-f2aaf9118a75 2025-09-08 12:49:38,725 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/af95f40d-949b-4545-944b-38961295d016 2025-09-08 12:49:39,953 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.699/2.951/1.252 ms') 2025-09-08 12:49:39,953 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90926705-46802313 passed 2025-09-08 12:49:40,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:49:40,101 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90926705-46802313, IP 198.17.160.131, Port 22 2025-09-08 12:49:40,265 - DEBUG - VM ctest-TestBasicPolicy-90926705-46802313 is ready for SSH connections 2025-09-08 12:49:40,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:49:40,265 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.17.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 12:49:40,265 - DEBUG - ping -s 56 -c 3 -W 1 198.17.160.131 2025-09-08 12:49:44,257 - DEBUG - PING 198.17.160.131 (198.17.160.131): 56 data bytes 64 bytes from 198.17.160.131: seq=0 ttl=63 time=3.191 ms 64 bytes from 198.17.160.131: seq=1 ttl=63 time=1.017 ms 64 bytes from 198.17.160.131: seq=2 ttl=63 time=1.037 ms --- 198.17.160.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.017/1.748/3.191 ms 2025-09-08 12:49:44,257 - INFO - Ping to IP 198.17.160.131 from VM ctest-TestBasicPolicy-90926705-01559798 passed 2025-09-08 12:49:44,449 - DEBUG - Policy Update Response {"network-policy": {"uuid": "43e15249-e3a1-4610-94d2-8ac6fff21dd6", "href": "http://10.0.0.254:8082/network-policy/43e15249-e3a1-4610-94d2-8ac6fff21dd6"}} 2025-09-08 12:49:44,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 12:49:44,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.17.160.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 12:49:44,449 - DEBUG - ping -s 56 -c 3 -W 1 198.17.160.131 2025-09-08 12:49:47,648 - DEBUG - PING 198.17.160.131 (198.17.160.131): 56 data bytes --- 198.17.160.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 12:49:47,648 - WARNING - Ping to IP 198.17.160.131 from VM ctest-TestBasicPolicy-90926705-01559798 failed 2025-09-08 12:49:47,648 - INFO - Deleting VM ctest-TestBasicPolicy-90926705-46802313 2025-09-08 12:49:47,711 - INFO - Deleting VM ctest-TestBasicPolicy-90926705-01559798 2025-09-08 12:49:48,022 - INFO - Deleted policy ctest-policy-allow-all-59589113 2025-09-08 12:49:48,022 - INFO - Deleting VN ctest-vn-04841972 2025-09-08 12:49:48,057 - DEBUG - VN ad044682-f5c2-4996-a196-73287b25e376 still in use: Unable to complete operation on network ad044682-f5c2-4996-a196-73287b25e376. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e3376b0-f529-4968-a55d-93379c0e3b78'] 2025-09-08 12:49:48,057 - WARNING - Deleting VN ctest-vn-04841972 failed..Will retry 2025-09-08 12:49:50,177 - DEBUG - Response for deleting network () 2025-09-08 12:49:50,177 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1274593-b702-4c69-8b92-08c76c4dd3fc 2025-09-08 12:49:50,181 - DEBUG - Response Code: 404 2025-09-08 12:49:50,181 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 12:49:50,192 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b42a849c-efeb-4ae6-9594-7aa8d1081f90 2025-09-08 12:49:50,247 - DEBUG - Requesting: http://10.0.0.254:8082/project/e7865785-3182-462a-a8c4-d2b39f4acf66 2025-09-08 12:49:50,311 - INFO - Validated that VN ctest-vn-04841972 is not found in API Server 2025-09-08 12:49:50,320 - DEBUG - VN ctest-vn-04841972 is not present in Agent 10.0.0.254 2025-09-08 12:49:50,320 - INFO - Validated that VN ctest-vn-04841972 is not in any agent 2025-09-08 12:49:50,333 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04841972 info 2025-09-08 12:49:50,333 - INFO - Deleting VN ctest-vn-74227925 2025-09-08 12:49:50,446 - DEBUG - Response for deleting network () 2025-09-08 12:49:50,446 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b27a8580-97dd-4901-908d-e78a3b681a52 2025-09-08 12:49:50,452 - DEBUG - Response Code: 404 2025-09-08 12:49:50,452 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-08 12:49:50,457 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b42a849c-efeb-4ae6-9594-7aa8d1081f90 2025-09-08 12:49:50,509 - DEBUG - Requesting: http://10.0.0.254:8082/project/e7865785-3182-462a-a8c4-d2b39f4acf66 2025-09-08 12:49:50,578 - INFO - Validated that VN ctest-vn-74227925 is not found in API Server 2025-09-08 12:49:50,587 - DEBUG - VN ctest-vn-74227925 is not present in Agent 10.0.0.254 2025-09-08 12:49:50,587 - INFO - Validated that VN ctest-vn-74227925 is not in any agent 2025-09-08 12:49:50,599 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74227925 info 2025-09-08 12:49:50,855 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 12:49:50,855 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-08 12:49:50,855 - INFO - -------------------------------------------------------------------------------- 2025-09-08 12:49:51,514 - INFO - Deleted project: ctest-TestBasicPolicy-90926705, ID : e7865785-3182-462a-a8c4-d2b39f4acf66