2025-08-12 13:13:12,485 - INFO - Domain Default found not creating 2025-08-12 13:13:12,597 - INFO - Project ctest-TestBasicPolicy-75282401 not found, creating it 2025-08-12 13:13:13,084 - INFO - Created Project:ctest-TestBasicPolicy-75282401, ID : 744374c8-3f16-4dce-8547-e63d66a6af51 2025-08-12 13:13:14,458 - INFO - ================================================================================ 2025-08-12 13:13:14,458 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-12 13:13:14,458 - 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-08-12 13:13:14,712 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-08-12 13:13:14,712 - INFO - Initial checks done. Running the testcase now 2025-08-12 13:13:14,713 - INFO - 2025-08-12 13:13:15,222 - DEBUG - Response for create_network : {'network': {'id': '382d283e-05f1-4443-a8dd-9ce68928ce01', 'name': 'ctest-vn-60324946', 'tenant_id': '744374c83f164dce8547e63d66a6af51', 'project_id': '744374c83f164dce8547e63d66a6af51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75282401', 'ctest-vn-60324946'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 13:13:15,420 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a256fa1c-4cab-45bc-aeea-14fdc1f8c58b', 'name': '', 'tenant_id': '744374c83f164dce8547e63d66a6af51', 'network_id': '382d283e-05f1-4443-a8dd-9ce68928ce01', 'ip_version': 4, 'cidr': '167.39.89.192/26', 'allocation_pools': [{'start': '167.39.89.194', 'end': '167.39.89.254'}], 'gateway_ip': '167.39.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.39.89.194', 'tags': [], 'project_id': '744374c83f164dce8547e63d66a6af51'}} 2025-08-12 13:13:15,435 - INFO - Created VN ctest-vn-60324946 2025-08-12 13:13:15,488 - DEBUG - VN ctest-vn-60324946 UUID is 382d283e-05f1-4443-a8dd-9ce68928ce01 2025-08-12 13:13:15,788 - DEBUG - Response for create_network : {'network': {'id': 'bf3a11ca-64cf-4314-a14a-12436b62f337', 'name': 'ctest-vn-05650696', 'tenant_id': '744374c83f164dce8547e63d66a6af51', 'project_id': '744374c83f164dce8547e63d66a6af51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75282401', 'ctest-vn-05650696'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 13:13:15,950 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef666943-0705-41dc-87ab-2479391a7536', 'name': '', 'tenant_id': '744374c83f164dce8547e63d66a6af51', 'network_id': 'bf3a11ca-64cf-4314-a14a-12436b62f337', 'ip_version': 4, 'cidr': '168.54.241.192/26', 'allocation_pools': [{'start': '168.54.241.194', 'end': '168.54.241.254'}], 'gateway_ip': '168.54.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.54.241.194', 'tags': [], 'project_id': '744374c83f164dce8547e63d66a6af51'}} 2025-08-12 13:13:15,966 - INFO - Created VN ctest-vn-05650696 2025-08-12 13:13:16,016 - DEBUG - VN ctest-vn-05650696 UUID is bf3a11ca-64cf-4314-a14a-12436b62f337 2025-08-12 13:13:16,127 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-60324946, 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-75282401:ctest-vn-05650696, 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-08-12 13:13:16,409 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '382d283e-05f1-4443-a8dd-9ce68928ce01', 'name': 'ctest-vn-60324946', 'tenant_id': '744374c83f164dce8547e63d66a6af51', 'project_id': '744374c83f164dce8547e63d66a6af51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a256fa1c-4cab-45bc-aeea-14fdc1f8c58b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75282401', 'ctest-vn-60324946'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75282401', 'ctest-policy-allow-all-63307265']], 'subnet_ipam': [{'subnet_cidr': '167.39.89.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 13:13:16,638 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf3a11ca-64cf-4314-a14a-12436b62f337', 'name': 'ctest-vn-05650696', 'tenant_id': '744374c83f164dce8547e63d66a6af51', 'project_id': '744374c83f164dce8547e63d66a6af51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef666943-0705-41dc-87ab-2479391a7536'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75282401', 'ctest-vn-05650696'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75282401', 'ctest-policy-allow-all-63307265']], 'subnet_ipam': [{'subnet_cidr': '168.54.241.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-12 13:13:16,800 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-12 13:13:17,089 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-12 13:13:17,115 - DEBUG - Requesting: http://10.0.0.33:8082/domain/852c61ce-0e88-4968-8901-2f234e599eae 2025-08-12 13:13:17,127 - DEBUG - Requesting: http://10.0.0.33:8082/project/744374c8-3f16-4dce-8547-e63d66a6af51 2025-08-12 13:13:17,198 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/382d283e-05f1-4443-a8dd-9ce68928ce01 2025-08-12 13:13:17,209 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/382d283e-05f1-4443-a8dd-9ce68928ce01 2025-08-12 13:13:17,217 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/747bfefd-67d0-4262-b68d-50dafa434028 2025-08-12 13:13:17,223 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/747bfefd-67d0-4262-b68d-50dafa434028 2025-08-12 13:13:17,228 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e8fa9270-aaf7-44a4-9ba9-d142fc1a4cdf 2025-08-12 13:13:17,233 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 13:13:17,233 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/382d283e-05f1-4443-a8dd-9ce68928ce01 2025-08-12 13:13:17,241 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/747bfefd-67d0-4262-b68d-50dafa434028 2025-08-12 13:13:17,253 - INFO - Verified VN network id 12 for VN 382d283e-05f1-4443-a8dd-9ce68928ce01 2025-08-12 13:13:17,253 - INFO - Verifications in API Server for VN ctest-vn-60324946 passed 2025-08-12 13:13:17,253 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/382d283e-05f1-4443-a8dd-9ce68928ce01 2025-08-12 13:13:17,261 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/747bfefd-67d0-4262-b68d-50dafa434028 2025-08-12 13:13:17,267 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/747bfefd-67d0-4262-b68d-50dafa434028 2025-08-12 13:13:17,272 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e8fa9270-aaf7-44a4-9ba9-d142fc1a4cdf 2025-08-12 13:13:17,283 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-60324946', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75282401', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4047935886928725059', 'uuid-lslong': '12168054282182512129'}, 'enable': 'true', 'created': '2025-08-12T13:13:15', 'last-modified': '2025-08-12T13:13:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890071'} 2025-08-12 13:13:17,289 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-12 13:13:17,289 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60324946 passed 2025-08-12 13:13:17,289 - DEBUG - ====Verifying policy data for ctest-vn-60324946 in API_Server ====== 2025-08-12 13:13:17,289 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-12 13:13:17,294 - DEBUG - Requesting: http://10.0.0.33:8082/domain/852c61ce-0e88-4968-8901-2f234e599eae 2025-08-12 13:13:17,303 - DEBUG - Requesting: http://10.0.0.33:8082/project/744374c8-3f16-4dce-8547-e63d66a6af51 2025-08-12 13:13:17,370 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/382d283e-05f1-4443-a8dd-9ce68928ce01 2025-08-12 13:13:17,378 - DEBUG - ==>Verifying data for policy with id: 870e13d2-5c7c-4750-82ee-2bfc24a63b37, fqn: ['default-domain', 'ctest-TestBasicPolicy-75282401', 'ctest-policy-allow-all-63307265'] 2025-08-12 13:13:17,378 - INFO - VN ctest-vn-60324946 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 13:13:17,378 - DEBUG - Verifying the vn in opserver 2025-08-12 13:13:17,378 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-60324946 virtual network link through opserver 10.0.0.33 2025-08-12 13:13:17,378 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-12 13:13:17,664 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-12 13:13:17,711 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-60324946', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-60324946?flat'} 2025-08-12 13:13:17,711 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-60324946 is found in opserver 2025-08-12 13:13:17,720 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 13:13:17,725 - DEBUG - VRF ids for VN ctest-vn-60324946: {} 2025-08-12 13:13:17,725 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-12 13:13:17,729 - DEBUG - Requesting: http://10.0.0.33:8082/domain/852c61ce-0e88-4968-8901-2f234e599eae 2025-08-12 13:13:17,739 - DEBUG - Requesting: http://10.0.0.33:8082/project/744374c8-3f16-4dce-8547-e63d66a6af51 2025-08-12 13:13:17,810 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf3a11ca-64cf-4314-a14a-12436b62f337 2025-08-12 13:13:17,820 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf3a11ca-64cf-4314-a14a-12436b62f337 2025-08-12 13:13:17,829 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ae8690c-9cd0-45b5-944c-7e6ad8860370 2025-08-12 13:13:17,834 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ae8690c-9cd0-45b5-944c-7e6ad8860370 2025-08-12 13:13:17,840 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ea8521d5-0f00-4141-be9a-0c05f04ad1e6 2025-08-12 13:13:17,845 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 13:13:17,845 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf3a11ca-64cf-4314-a14a-12436b62f337 2025-08-12 13:13:17,853 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ae8690c-9cd0-45b5-944c-7e6ad8860370 2025-08-12 13:13:17,864 - INFO - Verified VN network id 13 for VN bf3a11ca-64cf-4314-a14a-12436b62f337 2025-08-12 13:13:17,864 - INFO - Verifications in API Server for VN ctest-vn-05650696 passed 2025-08-12 13:13:17,864 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf3a11ca-64cf-4314-a14a-12436b62f337 2025-08-12 13:13:17,872 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ae8690c-9cd0-45b5-944c-7e6ad8860370 2025-08-12 13:13:17,878 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ae8690c-9cd0-45b5-944c-7e6ad8860370 2025-08-12 13:13:17,884 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ea8521d5-0f00-4141-be9a-0c05f04ad1e6 2025-08-12 13:13:17,894 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-05650696', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75282401', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13779345570865824532', 'uuid-lslong': '11622121869156741943'}, 'enable': 'true', 'created': '2025-08-12T13:13:15', 'last-modified': '2025-08-12T13:13:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.284819'} 2025-08-12 13:13:17,899 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-12 13:13:17,899 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05650696 passed 2025-08-12 13:13:17,900 - DEBUG - ====Verifying policy data for ctest-vn-05650696 in API_Server ====== 2025-08-12 13:13:17,900 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-12 13:13:17,904 - DEBUG - Requesting: http://10.0.0.33:8082/domain/852c61ce-0e88-4968-8901-2f234e599eae 2025-08-12 13:13:17,914 - DEBUG - Requesting: http://10.0.0.33:8082/project/744374c8-3f16-4dce-8547-e63d66a6af51 2025-08-12 13:13:17,978 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf3a11ca-64cf-4314-a14a-12436b62f337 2025-08-12 13:13:17,986 - DEBUG - ==>Verifying data for policy with id: 870e13d2-5c7c-4750-82ee-2bfc24a63b37, fqn: ['default-domain', 'ctest-TestBasicPolicy-75282401', 'ctest-policy-allow-all-63307265'] 2025-08-12 13:13:17,986 - INFO - VN ctest-vn-05650696 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-12 13:13:17,986 - DEBUG - Verifying the vn in opserver 2025-08-12 13:13:17,986 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-05650696 virtual network link through opserver 10.0.0.33 2025-08-12 13:13:17,986 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-12 13:13:17,995 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-05650696', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-05650696?flat'} 2025-08-12 13:13:17,995 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-05650696 is found in opserver 2025-08-12 13:13:18,004 - DEBUG - Do not have enough data to verify VN in agent 2025-08-12 13:13:18,009 - DEBUG - VRF ids for VN ctest-vn-05650696: {} 2025-08-12 13:13:18,058 - DEBUG - Services list from nova: [, , ] 2025-08-12 13:13:18,986 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3830-1) 2025-08-12 13:13:20,004 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3830-1) 2025-08-12 13:13:20,004 - INFO - Waiting for VM ctest-TestBasicPolicy-75282401-83290767 to be up.. 2025-08-12 13:13:20,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 13:13:25,148 - DEBUG - VM is in ACTIVE state now 2025-08-12 13:13:25,148 - INFO - VM name : ctest-TestBasicPolicy-75282401-83290767 2025-08-12 13:13:25,206 - DEBUG - VM ctest-TestBasicPolicy-75282401-83290767 ID is 4841ab43-a88d-4574-bfcb-f6bf6d5592c1 2025-08-12 13:13:25,222 - DEBUG - VM ctest-TestBasicPolicy-75282401-83290767 launched on Node cn-jenkins-deploy-platform-ansible-os-3830-1 2025-08-12 13:13:25,282 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4841ab43-a88d-4574-bfcb-f6bf6d5592c1 2025-08-12 13:13:25,289 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c016a978-7f28-4333-97bd-17d8f5d59f77 2025-08-12 13:13:28,547 - 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 1020ms') 2025-08-12 13:13:28,547 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75282401-83290767 failed! 2025-08-12 13:13:28,600 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75282401:ctest-vn-60324946 is 167.39.89.193 and allocation pool is NOT set 2025-08-12 13:13:30,660 - 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=4.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.32 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 = 1.315/2.669/4.023/1.354 ms') 2025-08-12 13:13:30,660 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75282401-83290767 passed 2025-08-12 13:13:30,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 13:13:30,808 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75282401-83290767, IP 167.39.89.195, Port 22 2025-08-12 13:13:30,967 - DEBUG - VM ctest-TestBasicPolicy-75282401-83290767 is ready for SSH connections 2025-08-12 13:13:30,967 - INFO - Waiting for VM ctest-TestBasicPolicy-75282401-45895691 to be up.. 2025-08-12 13:13:31,033 - DEBUG - VM is in ACTIVE state now 2025-08-12 13:13:31,033 - INFO - VM name : ctest-TestBasicPolicy-75282401-45895691 2025-08-12 13:13:31,093 - DEBUG - VM ctest-TestBasicPolicy-75282401-45895691 ID is f7c78131-71d4-49e0-850b-aaf08ee42ebd 2025-08-12 13:13:31,093 - DEBUG - VM ctest-TestBasicPolicy-75282401-45895691 launched on Node cn-jenkins-deploy-platform-ansible-os-3830-1 2025-08-12 13:13:31,154 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f7c78131-71d4-49e0-850b-aaf08ee42ebd 2025-08-12 13:13:31,161 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8707e84c-9f4b-420b-ad57-58a6505e07a8 2025-08-12 13:13:32,399 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.772 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 = 0.772/2.356/3.941/1.584 ms') 2025-08-12 13:13:32,399 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75282401-45895691 passed 2025-08-12 13:13:32,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 13:13:32,548 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75282401-45895691, IP 168.54.241.195, Port 22 2025-08-12 13:13:32,699 - DEBUG - VM ctest-TestBasicPolicy-75282401-45895691 is ready for SSH connections 2025-08-12 13:13:32,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 13:13:32,699 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.54.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-12 13:13:32,700 - DEBUG - ping -s 56 -c 3 -W 1 168.54.241.195 2025-08-12 13:13:36,359 - DEBUG - PING 168.54.241.195 (168.54.241.195): 56 data bytes 64 bytes from 168.54.241.195: seq=0 ttl=63 time=3.679 ms 64 bytes from 168.54.241.195: seq=1 ttl=63 time=0.705 ms 64 bytes from 168.54.241.195: seq=2 ttl=63 time=0.758 ms --- 168.54.241.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.705/1.714/3.679 ms 2025-08-12 13:13:36,359 - INFO - Ping to IP 168.54.241.195 from VM ctest-TestBasicPolicy-75282401-83290767 passed 2025-08-12 13:13:36,536 - DEBUG - Policy Update Response {"network-policy": {"uuid": "870e13d2-5c7c-4750-82ee-2bfc24a63b37", "href": "http://10.0.0.33:8082/network-policy/870e13d2-5c7c-4750-82ee-2bfc24a63b37"}} 2025-08-12 13:13:36,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 13:13:36,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.54.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-12 13:13:36,536 - DEBUG - ping -s 56 -c 3 -W 1 168.54.241.195 2025-08-12 13:13:39,726 - DEBUG - PING 168.54.241.195 (168.54.241.195): 56 data bytes 64 bytes from 168.54.241.195: seq=0 ttl=63 time=1.274 ms --- 168.54.241.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.274/1.274/1.274 ms 2025-08-12 13:13:39,726 - WARNING - Ping to IP 168.54.241.195 from VM ctest-TestBasicPolicy-75282401-83290767 failed 2025-08-12 13:13:39,726 - INFO - Deleting VM ctest-TestBasicPolicy-75282401-45895691 2025-08-12 13:13:39,781 - INFO - Deleting VM ctest-TestBasicPolicy-75282401-83290767 2025-08-12 13:13:40,137 - INFO - Deleted policy ctest-policy-allow-all-63307265 2025-08-12 13:13:40,138 - INFO - Deleting VN ctest-vn-05650696 2025-08-12 13:13:40,169 - DEBUG - VN bf3a11ca-64cf-4314-a14a-12436b62f337 still in use: Unable to complete operation on network bf3a11ca-64cf-4314-a14a-12436b62f337. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27e9c886-c175-4d33-951e-ceec74457b61'] 2025-08-12 13:13:40,169 - WARNING - Deleting VN ctest-vn-05650696 failed..Will retry 2025-08-12 13:13:42,287 - DEBUG - Response for deleting network () 2025-08-12 13:13:42,287 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ae8690c-9cd0-45b5-944c-7e6ad8860370 2025-08-12 13:13:42,295 - DEBUG - Response Code: 404 2025-08-12 13:13:42,296 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-12 13:13:42,302 - DEBUG - Requesting: http://10.0.0.33:8082/domain/852c61ce-0e88-4968-8901-2f234e599eae 2025-08-12 13:13:42,362 - DEBUG - Requesting: http://10.0.0.33:8082/project/744374c8-3f16-4dce-8547-e63d66a6af51 2025-08-12 13:13:42,438 - INFO - Validated that VN ctest-vn-05650696 is not found in API Server 2025-08-12 13:13:42,450 - DEBUG - VN ctest-vn-05650696 is not present in Agent 10.0.0.33 2025-08-12 13:13:42,450 - INFO - Validated that VN ctest-vn-05650696 is not in any agent 2025-08-12 13:13:42,465 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05650696 info 2025-08-12 13:13:42,465 - INFO - Deleting VN ctest-vn-60324946 2025-08-12 13:13:42,547 - DEBUG - Response for deleting network () 2025-08-12 13:13:42,547 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/747bfefd-67d0-4262-b68d-50dafa434028 2025-08-12 13:13:42,555 - DEBUG - Response Code: 404 2025-08-12 13:13:42,555 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-12 13:13:42,560 - DEBUG - Requesting: http://10.0.0.33:8082/domain/852c61ce-0e88-4968-8901-2f234e599eae 2025-08-12 13:13:42,613 - DEBUG - Requesting: http://10.0.0.33:8082/project/744374c8-3f16-4dce-8547-e63d66a6af51 2025-08-12 13:13:42,684 - INFO - Validated that VN ctest-vn-60324946 is not found in API Server 2025-08-12 13:13:42,694 - DEBUG - VN ctest-vn-60324946 is not present in Agent 10.0.0.33 2025-08-12 13:13:42,694 - INFO - Validated that VN ctest-vn-60324946 is not in any agent 2025-08-12 13:13:42,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60324946 info 2025-08-12 13:13:42,973 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 13:13:42,973 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-08-12 13:13:42,973 - INFO - -------------------------------------------------------------------------------- 2025-08-12 13:13:43,621 - INFO - Deleted project: ctest-TestBasicPolicy-75282401, ID : 744374c8-3f16-4dce-8547-e63d66a6af51