2025-10-31 00:21:16,249 - INFO - Domain Default found not creating 2025-10-31 00:21:16,406 - INFO - Project ctest-TestBasicPolicy-40464212 not found, creating it 2025-10-31 00:21:16,891 - INFO - Created Project:ctest-TestBasicPolicy-40464212, ID : 14192ead-8fdb-4b1b-a359-f673acf19ca7 2025-10-31 00:21:18,530 - INFO - ================================================================================ 2025-10-31 00:21:18,530 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 00:21:18,530 - 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-31 00:21:18,788 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.14': '0'}} with 2025-10-31 00:21:18,788 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:21:18,789 - INFO - 2025-10-31 00:21:19,395 - DEBUG - Response for create_network : {'network': {'id': '69e55eb3-b874-437a-a6c2-2cbf06344ff6', 'name': 'ctest-vn-64937374', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'project_id': '14192ead8fdb4b1ba359f673acf19ca7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-vn-64937374'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:21:19,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '9293d3a2-b0b1-44fb-8793-1a528db85a87', 'name': '', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'network_id': '69e55eb3-b874-437a-a6c2-2cbf06344ff6', 'ip_version': 4, 'cidr': '179.239.220.128/26', 'allocation_pools': [{'start': '179.239.220.130', 'end': '179.239.220.190'}], 'gateway_ip': '179.239.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.239.220.130', 'tags': [], 'project_id': '14192ead8fdb4b1ba359f673acf19ca7'}} 2025-10-31 00:21:19,596 - INFO - Created VN ctest-vn-64937374 2025-10-31 00:21:19,649 - DEBUG - VN ctest-vn-64937374 UUID is 69e55eb3-b874-437a-a6c2-2cbf06344ff6 2025-10-31 00:21:19,987 - DEBUG - Response for create_network : {'network': {'id': '8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2', 'name': 'ctest-vn-77554121', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'project_id': '14192ead8fdb4b1ba359f673acf19ca7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-vn-77554121'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:21:20,186 - DEBUG - Response for create_subnet : {'subnet': {'id': '74c6c8a5-000b-473e-a104-82681bd961f6', 'name': '', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'network_id': '8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2', 'ip_version': 4, 'cidr': '143.163.91.192/26', 'allocation_pools': [{'start': '143.163.91.194', 'end': '143.163.91.254'}], 'gateway_ip': '143.163.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.163.91.194', 'tags': [], 'project_id': '14192ead8fdb4b1ba359f673acf19ca7'}} 2025-10-31 00:21:20,203 - INFO - Created VN ctest-vn-77554121 2025-10-31 00:21:20,258 - DEBUG - VN ctest-vn-77554121 UUID is 8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2 2025-10-31 00:21:20,417 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374, 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-40464212:ctest-vn-77554121, 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-31 00:21:20,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69e55eb3-b874-437a-a6c2-2cbf06344ff6', 'name': 'ctest-vn-64937374', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'project_id': '14192ead8fdb4b1ba359f673acf19ca7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9293d3a2-b0b1-44fb-8793-1a528db85a87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-vn-64937374'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-policy-allow-all-81970359']], 'subnet_ipam': [{'subnet_cidr': '179.239.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:21:21,037 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2', 'name': 'ctest-vn-77554121', 'tenant_id': '14192ead8fdb4b1ba359f673acf19ca7', 'project_id': '14192ead8fdb4b1ba359f673acf19ca7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74c6c8a5-000b-473e-a104-82681bd961f6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-vn-77554121'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-policy-allow-all-81970359']], 'subnet_ipam': [{'subnet_cidr': '143.163.91.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:21:21,173 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-31 00:21:21,512 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-31 00:21:21,543 - DEBUG - Requesting: http://10.0.0.245:8082/domain/3a77759c-6aac-41d5-8904-ab8f3949a8c5 2025-10-31 00:21:21,557 - DEBUG - Requesting: http://10.0.0.245:8082/project/14192ead-8fdb-4b1b-a359-f673acf19ca7 2025-10-31 00:21:21,629 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/69e55eb3-b874-437a-a6c2-2cbf06344ff6 2025-10-31 00:21:21,642 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/69e55eb3-b874-437a-a6c2-2cbf06344ff6 2025-10-31 00:21:21,653 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399 2025-10-31 00:21:21,661 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399 2025-10-31 00:21:21,669 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/1cca4b9e-a3ff-47b2-acce-e34e896e3437 2025-10-31 00:21:21,676 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 00:21:21,676 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/69e55eb3-b874-437a-a6c2-2cbf06344ff6 2025-10-31 00:21:21,687 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399 2025-10-31 00:21:21,703 - INFO - Verified VN network id 11 for VN 69e55eb3-b874-437a-a6c2-2cbf06344ff6 2025-10-31 00:21:21,703 - INFO - Verifications in API Server for VN ctest-vn-64937374 passed 2025-10-31 00:21:21,703 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/69e55eb3-b874-437a-a6c2-2cbf06344ff6 2025-10-31 00:21:21,713 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399 2025-10-31 00:21:21,720 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399 2025-10-31 00:21:21,727 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/1cca4b9e-a3ff-47b2-acce-e34e896e3437 2025-10-31 00:21:21,738 - DEBUG - Control-node 10.0.0.245 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40464212', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7630609269635957626', 'uuid-lslong': '12016215954732371958'}, 'enable': 'true', 'created': '2025-10-31T00:21:19', 'last-modified': '2025-10-31T00:21:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.031941'} 2025-10-31 00:21:21,744 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 00:21:21,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64937374 passed 2025-10-31 00:21:21,745 - DEBUG - ====Verifying policy data for ctest-vn-64937374 in API_Server ====== 2025-10-31 00:21:21,745 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-31 00:21:21,750 - DEBUG - Requesting: http://10.0.0.245:8082/domain/3a77759c-6aac-41d5-8904-ab8f3949a8c5 2025-10-31 00:21:21,760 - DEBUG - Requesting: http://10.0.0.245:8082/project/14192ead-8fdb-4b1b-a359-f673acf19ca7 2025-10-31 00:21:21,837 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/69e55eb3-b874-437a-a6c2-2cbf06344ff6 2025-10-31 00:21:21,847 - DEBUG - ==>Verifying data for policy with id: 8c152b16-6830-4e1e-8df0-ed4f3112c11c, fqn: ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-policy-allow-all-81970359'] 2025-10-31 00:21:21,848 - INFO - VN ctest-vn-64937374 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 00:21:21,848 - DEBUG - Verifying the vn in opserver 2025-10-31 00:21:21,848 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374 virtual network link through opserver 10.0.0.245 2025-10-31 00:21:21,848 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks 2025-10-31 00:21:22,182 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks 2025-10-31 00:21:22,245 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374', 'href': 'http://10.0.0.245:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374?flat'} 2025-10-31 00:21:22,245 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374 is found in opserver 2025-10-31 00:21:22,256 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 00:21:22,261 - DEBUG - VRF ids for VN ctest-vn-64937374: {} 2025-10-31 00:21:22,261 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-31 00:21:22,267 - DEBUG - Requesting: http://10.0.0.245:8082/domain/3a77759c-6aac-41d5-8904-ab8f3949a8c5 2025-10-31 00:21:22,281 - DEBUG - Requesting: http://10.0.0.245:8082/project/14192ead-8fdb-4b1b-a359-f673acf19ca7 2025-10-31 00:21:22,358 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2 2025-10-31 00:21:22,369 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2 2025-10-31 00:21:22,378 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2 2025-10-31 00:21:22,385 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2 2025-10-31 00:21:22,392 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/30c52334-497a-40ea-bc4a-693f3efda26d 2025-10-31 00:21:22,399 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 00:21:22,399 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2 2025-10-31 00:21:22,409 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2 2025-10-31 00:21:22,425 - INFO - Verified VN network id 12 for VN 8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2 2025-10-31 00:21:22,425 - INFO - Verifications in API Server for VN ctest-vn-77554121 passed 2025-10-31 00:21:22,425 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2 2025-10-31 00:21:22,435 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2 2025-10-31 00:21:22,442 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2 2025-10-31 00:21:22,449 - DEBUG - Requesting: http://10.0.0.245:8082/route-target/30c52334-497a-40ea-bc4a-693f3efda26d 2025-10-31 00:21:22,462 - DEBUG - Control-node 10.0.0.245 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-77554121', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40464212', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10312129557683914626', 'uuid-lslong': '13257484573556625826'}, 'enable': 'true', 'created': '2025-10-31T00:21:19', 'last-modified': '2025-10-31T00:21:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.506480'} 2025-10-31 00:21:22,468 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 00:21:22,468 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77554121 passed 2025-10-31 00:21:22,468 - DEBUG - ====Verifying policy data for ctest-vn-77554121 in API_Server ====== 2025-10-31 00:21:22,468 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-31 00:21:22,474 - DEBUG - Requesting: http://10.0.0.245:8082/domain/3a77759c-6aac-41d5-8904-ab8f3949a8c5 2025-10-31 00:21:22,484 - DEBUG - Requesting: http://10.0.0.245:8082/project/14192ead-8fdb-4b1b-a359-f673acf19ca7 2025-10-31 00:21:22,553 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-network/8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2 2025-10-31 00:21:22,562 - DEBUG - ==>Verifying data for policy with id: 8c152b16-6830-4e1e-8df0-ed4f3112c11c, fqn: ['default-domain', 'ctest-TestBasicPolicy-40464212', 'ctest-policy-allow-all-81970359'] 2025-10-31 00:21:22,562 - INFO - VN ctest-vn-77554121 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 00:21:22,562 - DEBUG - Verifying the vn in opserver 2025-10-31 00:21:22,562 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-77554121 virtual network link through opserver 10.0.0.245 2025-10-31 00:21:22,562 - DEBUG - Requesting: http://10.0.0.245:8081/analytics/uves/virtual-networks 2025-10-31 00:21:22,572 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-77554121', 'href': 'http://10.0.0.245:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-77554121?flat'} 2025-10-31 00:21:22,572 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-77554121 is found in opserver 2025-10-31 00:21:22,582 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 00:21:22,586 - DEBUG - VRF ids for VN ctest-vn-77554121: {} 2025-10-31 00:21:22,645 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:21:23,744 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4563-1) 2025-10-31 00:21:24,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4563-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4563-1) 2025-10-31 00:21:24,972 - INFO - Waiting for VM ctest-TestBasicPolicy-40464212-23628187 to be up.. 2025-10-31 00:21:25,055 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:21:30,146 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:21:30,146 - INFO - VM name : ctest-TestBasicPolicy-40464212-23628187 2025-10-31 00:21:30,222 - DEBUG - VM ctest-TestBasicPolicy-40464212-23628187 ID is ece88381-7f27-4c51-b97d-12f51d751cb4 2025-10-31 00:21:30,242 - DEBUG - VM ctest-TestBasicPolicy-40464212-23628187 launched on Node cn-jenkins-deploy-platform-ansible-os-4563-1 2025-10-31 00:21:30,317 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/ece88381-7f27-4c51-b97d-12f51d751cb4 2025-10-31 00:21:30,327 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/2ad3e2ed-5152-4772-aaa3-d6ca995b5e19 2025-10-31 00:21:33,580 - 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 1006ms') 2025-10-31 00:21:33,580 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40464212-23628187 failed! 2025-10-31 00:21:33,633 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40464212:ctest-vn-64937374 is 179.239.220.129 and allocation pool is NOT set 2025-10-31 00:21:35,697 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.919 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 = 0.919/3.524/6.130/2.605 ms') 2025-10-31 00:21:35,697 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40464212-23628187 passed 2025-10-31 00:21:35,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:21:35,845 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40464212-23628187, IP 179.239.220.131, Port 22 2025-10-31 00:21:36,015 - DEBUG - VM ctest-TestBasicPolicy-40464212-23628187 is ready for SSH connections 2025-10-31 00:21:36,015 - INFO - Waiting for VM ctest-TestBasicPolicy-40464212-68122377 to be up.. 2025-10-31 00:21:36,095 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:21:36,095 - INFO - VM name : ctest-TestBasicPolicy-40464212-68122377 2025-10-31 00:21:36,169 - DEBUG - VM ctest-TestBasicPolicy-40464212-68122377 ID is c2524628-1638-488b-9fce-336b2423f986 2025-10-31 00:21:36,169 - DEBUG - VM ctest-TestBasicPolicy-40464212-68122377 launched on Node cn-jenkins-deploy-platform-ansible-os-4563-1 2025-10-31 00:21:36,241 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/c2524628-1638-488b-9fce-336b2423f986 2025-10-31 00:21:36,250 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/38204d26-a65c-4faa-aa05-98f378d8a817 2025-10-31 00:21:37,487 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.551 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.551/2.320/4.089/1.769 ms') 2025-10-31 00:21:37,487 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40464212-68122377 passed 2025-10-31 00:21:37,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:21:37,638 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40464212-68122377, IP 143.163.91.195, Port 22 2025-10-31 00:21:37,807 - DEBUG - VM ctest-TestBasicPolicy-40464212-68122377 is ready for SSH connections 2025-10-31 00:21:37,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:21:37,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.163.91.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-31 00:21:37,807 - DEBUG - ping -s 56 -c 3 -W 1 143.163.91.195 2025-10-31 00:21:41,951 - DEBUG - PING 143.163.91.195 (143.163.91.195): 56 data bytes 64 bytes from 143.163.91.195: seq=0 ttl=63 time=6.112 ms 64 bytes from 143.163.91.195: seq=1 ttl=63 time=0.831 ms 64 bytes from 143.163.91.195: seq=2 ttl=63 time=0.915 ms --- 143.163.91.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.831/2.619/6.112 ms 2025-10-31 00:21:41,951 - INFO - Ping to IP 143.163.91.195 from VM ctest-TestBasicPolicy-40464212-23628187 passed 2025-10-31 00:21:42,137 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8c152b16-6830-4e1e-8df0-ed4f3112c11c", "href": "http://10.0.0.245:8082/network-policy/8c152b16-6830-4e1e-8df0-ed4f3112c11c"}} 2025-10-31 00:21:42,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:21:42,137 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.163.91.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-31 00:21:42,137 - DEBUG - ping -s 56 -c 3 -W 1 143.163.91.195 2025-10-31 00:21:45,370 - DEBUG - PING 143.163.91.195 (143.163.91.195): 56 data bytes --- 143.163.91.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:21:45,370 - WARNING - Ping to IP 143.163.91.195 from VM ctest-TestBasicPolicy-40464212-23628187 failed 2025-10-31 00:21:45,370 - INFO - Deleting VM ctest-TestBasicPolicy-40464212-68122377 2025-10-31 00:21:45,442 - INFO - Deleting VM ctest-TestBasicPolicy-40464212-23628187 2025-10-31 00:21:45,818 - INFO - Deleted policy ctest-policy-allow-all-81970359 2025-10-31 00:21:45,818 - INFO - Deleting VN ctest-vn-77554121 2025-10-31 00:21:45,854 - DEBUG - VN 8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2 still in use: Unable to complete operation on network 8f1c0b32-5b8e-4782-b7fc-0bfa7e1051a2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-479e9098-a8b0-46c8-9515-b1303ab02941'] 2025-10-31 00:21:45,854 - WARNING - Deleting VN ctest-vn-77554121 failed..Will retry 2025-10-31 00:21:48,089 - DEBUG - Response for deleting network () 2025-10-31 00:21:48,089 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/dd998b87-878e-4df8-8d82-c80ee32b54a2 2025-10-31 00:21:48,094 - DEBUG - Response Code: 404 2025-10-31 00:21:48,094 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-31 00:21:48,103 - DEBUG - Requesting: http://10.0.0.245:8082/domain/3a77759c-6aac-41d5-8904-ab8f3949a8c5 2025-10-31 00:21:48,155 - DEBUG - Requesting: http://10.0.0.245:8082/project/14192ead-8fdb-4b1b-a359-f673acf19ca7 2025-10-31 00:21:48,226 - INFO - Validated that VN ctest-vn-77554121 is not found in API Server 2025-10-31 00:21:48,238 - DEBUG - VN ctest-vn-77554121 is not present in Agent 10.0.0.245 2025-10-31 00:21:48,238 - INFO - Validated that VN ctest-vn-77554121 is not in any agent 2025-10-31 00:21:48,253 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77554121 info 2025-10-31 00:21:48,253 - INFO - Deleting VN ctest-vn-64937374 2025-10-31 00:21:48,377 - DEBUG - Response for deleting network () 2025-10-31 00:21:48,377 - DEBUG - Requesting: http://10.0.0.245:8082/routing-instance/74d6e852-929c-4c09-a03e-4d386bbfb399 2025-10-31 00:21:48,384 - DEBUG - Response Code: 404 2025-10-31 00:21:48,384 - DEBUG - Requesting: http://10.0.0.245:8082/domains 2025-10-31 00:21:48,388 - DEBUG - Requesting: http://10.0.0.245:8082/domain/3a77759c-6aac-41d5-8904-ab8f3949a8c5 2025-10-31 00:21:48,442 - DEBUG - Requesting: http://10.0.0.245:8082/project/14192ead-8fdb-4b1b-a359-f673acf19ca7 2025-10-31 00:21:48,522 - INFO - Validated that VN ctest-vn-64937374 is not found in API Server 2025-10-31 00:21:48,531 - DEBUG - VN ctest-vn-64937374 is not present in Agent 10.0.0.245 2025-10-31 00:21:48,531 - INFO - Validated that VN ctest-vn-64937374 is not in any agent 2025-10-31 00:21:48,545 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64937374 info 2025-10-31 00:21:48,806 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 00:21:48,806 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-31 00:21:48,806 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:21:49,569 - INFO - Deleted project: ctest-TestBasicPolicy-40464212, ID : 14192ead-8fdb-4b1b-a359-f673acf19ca7