2025-10-30 21:58:17,204 - INFO - Domain Default found not creating 2025-10-30 21:58:17,621 - INFO - Project ctest-TestBasicPolicy-87199932 not found, creating it 2025-10-30 21:58:18,247 - INFO - Created Project:ctest-TestBasicPolicy-87199932, ID : 70ac2933-6c7d-4777-bb86-15ad5e88c50b 2025-10-30 21:58:20,356 - INFO - ================================================================================ 2025-10-30 21:58:20,357 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 21:58:20,357 - 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-10-30 21:58:20,677 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.14': '0'}} with 2025-10-30 21:58:20,677 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:58:20,677 - INFO - 2025-10-30 21:58:21,435 - DEBUG - Response for create_network : {'network': {'id': '89c86376-04dd-43e9-8cf6-729576e7b99a', 'name': 'ctest-vn-54842615', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'project_id': '70ac29336c7d4777bb8615ad5e88c50b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-vn-54842615'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:58:21,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c94a01bf-4249-4694-b16b-267e6ea46c00', 'name': '', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'network_id': '89c86376-04dd-43e9-8cf6-729576e7b99a', 'ip_version': 4, 'cidr': '67.209.68.0/26', 'allocation_pools': [{'start': '67.209.68.2', 'end': '67.209.68.62'}], 'gateway_ip': '67.209.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.209.68.2', 'tags': [], 'project_id': '70ac29336c7d4777bb8615ad5e88c50b'}} 2025-10-30 21:58:21,669 - INFO - Created VN ctest-vn-54842615 2025-10-30 21:58:21,726 - DEBUG - VN ctest-vn-54842615 UUID is 89c86376-04dd-43e9-8cf6-729576e7b99a 2025-10-30 21:58:22,100 - DEBUG - Response for create_network : {'network': {'id': '67bd82d0-480b-4cde-811f-856bd9f0a1ae', 'name': 'ctest-vn-83146182', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'project_id': '70ac29336c7d4777bb8615ad5e88c50b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-vn-83146182'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:58:22,297 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd00ea159-96c6-4180-8c55-d214c8978a3a', 'name': '', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'network_id': '67bd82d0-480b-4cde-811f-856bd9f0a1ae', 'ip_version': 4, 'cidr': '29.48.131.128/26', 'allocation_pools': [{'start': '29.48.131.130', 'end': '29.48.131.190'}], 'gateway_ip': '29.48.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.48.131.130', 'tags': [], 'project_id': '70ac29336c7d4777bb8615ad5e88c50b'}} 2025-10-30 21:58:22,319 - INFO - Created VN ctest-vn-83146182 2025-10-30 21:58:22,374 - DEBUG - VN ctest-vn-83146182 UUID is 67bd82d0-480b-4cde-811f-856bd9f0a1ae 2025-10-30 21:58:22,542 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615, 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-87199932:ctest-vn-83146182, 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-10-30 21:58:22,977 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89c86376-04dd-43e9-8cf6-729576e7b99a', 'name': 'ctest-vn-54842615', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'project_id': '70ac29336c7d4777bb8615ad5e88c50b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c94a01bf-4249-4694-b16b-267e6ea46c00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-vn-54842615'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-policy-allow-all-64219821']], 'subnet_ipam': [{'subnet_cidr': '67.209.68.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:58:23,254 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '67bd82d0-480b-4cde-811f-856bd9f0a1ae', 'name': 'ctest-vn-83146182', 'tenant_id': '70ac29336c7d4777bb8615ad5e88c50b', 'project_id': '70ac29336c7d4777bb8615ad5e88c50b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d00ea159-96c6-4180-8c55-d214c8978a3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-vn-83146182'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-policy-allow-all-64219821']], 'subnet_ipam': [{'subnet_cidr': '29.48.131.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:58:23,458 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-30 21:58:23,797 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-30 21:58:23,836 - DEBUG - Requesting: http://10.0.0.245:8082/domain/df520927-2e60-4ba9-b1b3-d71e44524b00 2025-10-30 21:58:23,865 - DEBUG - Requesting: http://10.0.0.245:8082/project/70ac2933-6c7d-4777-bb86-15ad5e88c50b 2025-10-30 21:58:23,996 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/89c86376-04dd-43e9-8cf6-729576e7b99a 2025-10-30 21:58:24,025 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/89c86376-04dd-43e9-8cf6-729576e7b99a 2025-10-30 21:58:24,042 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646 2025-10-30 21:58:24,058 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646 2025-10-30 21:58:24,074 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/a237a52c-483e-44be-a02d-8ae8ed7d136b 2025-10-30 21:58:24,085 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 21:58:24,086 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/89c86376-04dd-43e9-8cf6-729576e7b99a 2025-10-30 21:58:24,105 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646 2025-10-30 21:58:24,136 - INFO - Verified VN network id 11 for VN 89c86376-04dd-43e9-8cf6-729576e7b99a 2025-10-30 21:58:24,136 - INFO - Verifications in API Server for VN ctest-vn-54842615 passed 2025-10-30 21:58:24,137 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/89c86376-04dd-43e9-8cf6-729576e7b99a 2025-10-30 21:58:24,161 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646 2025-10-30 21:58:24,181 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646 2025-10-30 21:58:24,199 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/a237a52c-483e-44be-a02d-8ae8ed7d136b 2025-10-30 21:58:24,226 - DEBUG - Control-node 10.0.0.245 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87199932', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9928294737077158889', 'uuid-lslong': '10157431995851323802'}, 'enable': 'true', 'created': '2025-10-30T21:58:21', 'last-modified': '2025-10-30T21:58:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.285365'} 2025-10-30 21:58:24,241 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 21:58:24,241 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54842615 passed 2025-10-30 21:58:24,242 - DEBUG - ====Verifying policy data for ctest-vn-54842615 in API_Server ====== 2025-10-30 21:58:24,242 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-30 21:58:24,252 - DEBUG - Requesting: http://10.0.0.245:8082/domain/df520927-2e60-4ba9-b1b3-d71e44524b00 2025-10-30 21:58:24,276 - DEBUG - Requesting: http://10.0.0.245:8082/project/70ac2933-6c7d-4777-bb86-15ad5e88c50b 2025-10-30 21:58:24,401 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/89c86376-04dd-43e9-8cf6-729576e7b99a 2025-10-30 21:58:24,423 - DEBUG - ==>Verifying data for policy with id: 5a95f494-f390-4f0b-be5f-d31c244b518c, fqn: ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-policy-allow-all-64219821'] 2025-10-30 21:58:24,424 - INFO - VN ctest-vn-54842615 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 21:58:24,424 - DEBUG - Verifying the vn in opserver 2025-10-30 21:58:24,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615 virtual network link through opserver 10.0.0.245 2025-10-30 21:58:24,424 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks 2025-10-30 21:58:24,770 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks 2025-10-30 21:58:24,871 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615', 'href': 'http://10.0.0.245:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615?flat'} 2025-10-30 21:58:24,871 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615 is found in opserver 2025-10-30 21:58:24,889 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 21:58:24,898 - DEBUG - VRF ids for VN ctest-vn-54842615: {} 2025-10-30 21:58:24,899 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-30 21:58:24,908 - DEBUG - Requesting: http://10.0.0.245:8082/domain/df520927-2e60-4ba9-b1b3-d71e44524b00 2025-10-30 21:58:24,935 - DEBUG - Requesting: http://10.0.0.245:8082/project/70ac2933-6c7d-4777-bb86-15ad5e88c50b 2025-10-30 21:58:25,052 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/67bd82d0-480b-4cde-811f-856bd9f0a1ae 2025-10-30 21:58:25,084 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/67bd82d0-480b-4cde-811f-856bd9f0a1ae 2025-10-30 21:58:25,107 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549 2025-10-30 21:58:25,125 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549 2025-10-30 21:58:25,142 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/62cb988d-7eb6-4323-beff-245e8425ae84 2025-10-30 21:58:25,157 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 21:58:25,158 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/67bd82d0-480b-4cde-811f-856bd9f0a1ae 2025-10-30 21:58:25,181 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549 2025-10-30 21:58:25,217 - INFO - Verified VN network id 12 for VN 67bd82d0-480b-4cde-811f-856bd9f0a1ae 2025-10-30 21:58:25,217 - INFO - Verifications in API Server for VN ctest-vn-83146182 passed 2025-10-30 21:58:25,217 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/67bd82d0-480b-4cde-811f-856bd9f0a1ae 2025-10-30 21:58:25,240 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549 2025-10-30 21:58:25,257 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549 2025-10-30 21:58:25,271 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/62cb988d-7eb6-4323-beff-245e8425ae84 2025-10-30 21:58:25,302 - DEBUG - Control-node 10.0.0.245 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-83146182', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87199932', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7475274787578399966', 'uuid-lslong': '9304302053435154862'}, 'enable': 'true', 'created': '2025-10-30T21:58:22', 'last-modified': '2025-10-30T21:58:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.096084'} 2025-10-30 21:58:25,320 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 21:58:25,320 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83146182 passed 2025-10-30 21:58:25,320 - DEBUG - ====Verifying policy data for ctest-vn-83146182 in API_Server ====== 2025-10-30 21:58:25,321 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-30 21:58:25,333 - DEBUG - Requesting: http://10.0.0.245:8082/domain/df520927-2e60-4ba9-b1b3-d71e44524b00 2025-10-30 21:58:25,355 - DEBUG - Requesting: http://10.0.0.245:8082/project/70ac2933-6c7d-4777-bb86-15ad5e88c50b 2025-10-30 21:58:25,470 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/67bd82d0-480b-4cde-811f-856bd9f0a1ae 2025-10-30 21:58:25,491 - DEBUG - ==>Verifying data for policy with id: 5a95f494-f390-4f0b-be5f-d31c244b518c, fqn: ['default-domain', 'ctest-TestBasicPolicy-87199932', 'ctest-policy-allow-all-64219821'] 2025-10-30 21:58:25,491 - INFO - VN ctest-vn-83146182 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 21:58:25,492 - DEBUG - Verifying the vn in opserver 2025-10-30 21:58:25,492 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-83146182 virtual network link through opserver 10.0.0.245 2025-10-30 21:58:25,492 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks 2025-10-30 21:58:25,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-83146182', 'href': 'http://10.0.0.245:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-83146182?flat'} 2025-10-30 21:58:25,513 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-83146182 is found in opserver 2025-10-30 21:58:25,536 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 21:58:25,548 - DEBUG - VRF ids for VN ctest-vn-83146182: {} 2025-10-30 21:58:25,670 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:58:27,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4555-1) 2025-10-30 21:58:28,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4555-1) 2025-10-30 21:58:28,717 - INFO - Waiting for VM ctest-TestBasicPolicy-87199932-82581881 to be up.. 2025-10-30 21:58:28,794 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:58:33,984 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:58:33,984 - INFO - VM name : ctest-TestBasicPolicy-87199932-82581881 2025-10-30 21:58:34,108 - DEBUG - VM ctest-TestBasicPolicy-87199932-82581881 ID is 86184213-2334-44e0-9691-3303d114f2ed 2025-10-30 21:58:34,145 - DEBUG - VM ctest-TestBasicPolicy-87199932-82581881 launched on Node cn-jenkins-deploy-platform-ansible-os-4555-1 2025-10-30 21:58:34,287 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/86184213-2334-44e0-9691-3303d114f2ed 2025-10-30 21:58:34,303 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/e280ccd2-43af-4dc9-aad2-dde118e56dbc 2025-10-30 21:58:37,645 - 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') 2025-10-30 21:58:37,645 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87199932-82581881 failed! 2025-10-30 21:58:37,723 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87199932:ctest-vn-54842615 is 67.209.68.1 and allocation pool is NOT set 2025-10-30 21:58:39,807 - 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=11.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.15 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.153/7.032/11.912/4.879 ms') 2025-10-30 21:58:39,807 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87199932-82581881 passed 2025-10-30 21:58:39,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:58:39,978 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87199932-82581881, IP 67.209.68.3, Port 22 2025-10-30 21:58:40,167 - DEBUG - VM ctest-TestBasicPolicy-87199932-82581881 is ready for SSH connections 2025-10-30 21:58:40,167 - INFO - Waiting for VM ctest-TestBasicPolicy-87199932-97686292 to be up.. 2025-10-30 21:58:40,311 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:58:40,312 - INFO - VM name : ctest-TestBasicPolicy-87199932-97686292 2025-10-30 21:58:40,479 - DEBUG - VM ctest-TestBasicPolicy-87199932-97686292 ID is 3f8a606b-9ced-4d6e-baf4-a45ca98ca6a4 2025-10-30 21:58:40,479 - DEBUG - VM ctest-TestBasicPolicy-87199932-97686292 launched on Node cn-jenkins-deploy-platform-ansible-os-4555-1 2025-10-30 21:58:40,622 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/3f8a606b-9ced-4d6e-baf4-a45ca98ca6a4 2025-10-30 21:58:40,637 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/6ff41475-0226-4bcc-ba66-09441fe7a946 2025-10-30 21:58:41,964 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.98 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.977/3.838/5.699/1.861 ms') 2025-10-30 21:58:41,964 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87199932-97686292 passed 2025-10-30 21:58:42,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:58:42,138 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87199932-97686292, IP 29.48.131.131, Port 22 2025-10-30 21:58:42,340 - DEBUG - VM ctest-TestBasicPolicy-87199932-97686292 is ready for SSH connections 2025-10-30 21:58:42,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:58:42,341 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.48.131.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-30 21:58:42,341 - DEBUG - ping -s 56 -c 3 -W 1 29.48.131.131 2025-10-30 21:58:46,821 - DEBUG - PING 29.48.131.131 (29.48.131.131): 56 data bytes 64 bytes from 29.48.131.131: seq=0 ttl=63 time=6.298 ms 64 bytes from 29.48.131.131: seq=1 ttl=63 time=1.707 ms 64 bytes from 29.48.131.131: seq=2 ttl=63 time=1.951 ms --- 29.48.131.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.707/3.318/6.298 ms 2025-10-30 21:58:46,821 - INFO - Ping to IP 29.48.131.131 from VM ctest-TestBasicPolicy-87199932-82581881 passed 2025-10-30 21:58:47,077 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5a95f494-f390-4f0b-be5f-d31c244b518c", "href": "http://10.0.0.245:8082/network-policy/5a95f494-f390-4f0b-be5f-d31c244b518c"}} 2025-10-30 21:58:47,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:58:47,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.48.131.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-30 21:58:47,078 - DEBUG - ping -s 56 -c 3 -W 1 29.48.131.131 2025-10-30 21:58:50,348 - DEBUG - PING 29.48.131.131 (29.48.131.131): 56 data bytes --- 29.48.131.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 21:58:50,349 - WARNING - Ping to IP 29.48.131.131 from VM ctest-TestBasicPolicy-87199932-82581881 failed 2025-10-30 21:58:50,349 - INFO - Deleting VM ctest-TestBasicPolicy-87199932-97686292 2025-10-30 21:58:50,513 - INFO - Deleting VM ctest-TestBasicPolicy-87199932-82581881 2025-10-30 21:58:50,963 - INFO - Deleted policy ctest-policy-allow-all-64219821 2025-10-30 21:58:50,963 - INFO - Deleting VN ctest-vn-83146182 2025-10-30 21:58:51,007 - DEBUG - VN 67bd82d0-480b-4cde-811f-856bd9f0a1ae still in use: Unable to complete operation on network 67bd82d0-480b-4cde-811f-856bd9f0a1ae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fba210da-e390-4587-9550-209f9ab645d4'] 2025-10-30 21:58:51,007 - WARNING - Deleting VN ctest-vn-83146182 failed..Will retry 2025-10-30 21:58:53,195 - DEBUG - Response for deleting network () 2025-10-30 21:58:53,196 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/acd150c3-c9dd-48f8-b3d6-eb00f5961549 2025-10-30 21:58:53,204 - DEBUG - Response Code: 404 2025-10-30 21:58:53,205 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-30 21:58:53,218 - DEBUG - Requesting: http://10.0.0.245:8082/domain/df520927-2e60-4ba9-b1b3-d71e44524b00 2025-10-30 21:58:53,280 - DEBUG - Requesting: http://10.0.0.245:8082/project/70ac2933-6c7d-4777-bb86-15ad5e88c50b 2025-10-30 21:58:53,398 - INFO - Validated that VN ctest-vn-83146182 is not found in API Server 2025-10-30 21:58:53,413 - DEBUG - VN ctest-vn-83146182 is not present in Agent 10.0.0.245 2025-10-30 21:58:53,413 - INFO - Validated that VN ctest-vn-83146182 is not in any agent 2025-10-30 21:58:53,450 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83146182 info 2025-10-30 21:58:53,451 - INFO - Deleting VN ctest-vn-54842615 2025-10-30 21:58:53,638 - DEBUG - Response for deleting network () 2025-10-30 21:58:53,638 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/0777313a-e717-4e4e-b12c-2f8eaefa9646 2025-10-30 21:58:53,645 - DEBUG - Response Code: 404 2025-10-30 21:58:53,645 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-30 21:58:53,654 - DEBUG - Requesting: http://10.0.0.245:8082/domain/df520927-2e60-4ba9-b1b3-d71e44524b00 2025-10-30 21:58:53,714 - DEBUG - Requesting: http://10.0.0.245:8082/project/70ac2933-6c7d-4777-bb86-15ad5e88c50b 2025-10-30 21:58:53,813 - INFO - Validated that VN ctest-vn-54842615 is not found in API Server 2025-10-30 21:58:53,835 - DEBUG - VN ctest-vn-54842615 is not present in Agent 10.0.0.245 2025-10-30 21:58:53,835 - INFO - Validated that VN ctest-vn-54842615 is not in any agent 2025-10-30 21:58:53,875 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54842615 info 2025-10-30 21:58:54,202 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 21:58:54,202 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-10-30 21:58:54,202 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:58:55,223 - INFO - Deleted project: ctest-TestBasicPolicy-87199932, ID : 70ac2933-6c7d-4777-bb86-15ad5e88c50b