2026-02-06 17:19:21,805 - INFO - Domain Default found not creating 2026-02-06 17:19:21,986 - INFO - Project ctest-TestBasicPolicy-86711156 not found, creating it 2026-02-06 17:19:22,420 - INFO - Created Project:ctest-TestBasicPolicy-86711156, ID : 85dc58d2-83a2-46d9-833f-b6dd3ebaa829 2026-02-06 17:19:23,985 - INFO - ================================================================================ 2026-02-06 17:19:23,985 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-06 17:19:23,986 - 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 2026-02-06 17:19:24,241 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-06 17:19:24,241 - INFO - Initial checks done. Running the testcase now 2026-02-06 17:19:24,241 - INFO - 2026-02-06 17:19:24,851 - DEBUG - Response for create_network : {'network': {'id': '44ff8adf-928a-4fe2-86c5-56743c668877', 'name': 'ctest-vn-33916157', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'project_id': '85dc58d283a246d9833fb6dd3ebaa829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-vn-33916157'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 17:19:25,013 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e50f0023-78a5-428c-952a-34d68d0708ff', 'name': '', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'network_id': '44ff8adf-928a-4fe2-86c5-56743c668877', 'ip_version': 4, 'cidr': '148.214.126.0/26', 'allocation_pools': [{'start': '148.214.126.2', 'end': '148.214.126.62'}], 'gateway_ip': '148.214.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.214.126.2', 'tags': [], 'project_id': '85dc58d283a246d9833fb6dd3ebaa829'}} 2026-02-06 17:19:25,034 - INFO - Created VN ctest-vn-33916157 2026-02-06 17:19:25,087 - DEBUG - VN ctest-vn-33916157 UUID is 44ff8adf-928a-4fe2-86c5-56743c668877 2026-02-06 17:19:25,431 - DEBUG - Response for create_network : {'network': {'id': '069e6645-733c-4933-80e6-8ca17515f6e9', 'name': 'ctest-vn-71086531', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'project_id': '85dc58d283a246d9833fb6dd3ebaa829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-vn-71086531'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 17:19:25,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '412bc080-8df7-4c8f-8c7d-1e69fb69452d', 'name': '', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'network_id': '069e6645-733c-4933-80e6-8ca17515f6e9', 'ip_version': 4, 'cidr': '102.41.120.192/26', 'allocation_pools': [{'start': '102.41.120.194', 'end': '102.41.120.254'}], 'gateway_ip': '102.41.120.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.41.120.194', 'tags': [], 'project_id': '85dc58d283a246d9833fb6dd3ebaa829'}} 2026-02-06 17:19:25,669 - INFO - Created VN ctest-vn-71086531 2026-02-06 17:19:25,723 - DEBUG - VN ctest-vn-71086531 UUID is 069e6645-733c-4933-80e6-8ca17515f6e9 2026-02-06 17:19:25,844 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157, 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-86711156:ctest-vn-71086531, 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] 2026-02-06 17:19:26,142 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44ff8adf-928a-4fe2-86c5-56743c668877', 'name': 'ctest-vn-33916157', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'project_id': '85dc58d283a246d9833fb6dd3ebaa829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e50f0023-78a5-428c-952a-34d68d0708ff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-vn-33916157'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-policy-allow-all-83359095']], 'subnet_ipam': [{'subnet_cidr': '148.214.126.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-06 17:19:26,378 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '069e6645-733c-4933-80e6-8ca17515f6e9', 'name': 'ctest-vn-71086531', 'tenant_id': '85dc58d283a246d9833fb6dd3ebaa829', 'project_id': '85dc58d283a246d9833fb6dd3ebaa829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['412bc080-8df7-4c8f-8c7d-1e69fb69452d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-vn-71086531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-policy-allow-all-83359095']], 'subnet_ipam': [{'subnet_cidr': '102.41.120.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-06 17:19:26,499 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 17:19:27,106 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 17:19:27,164 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7bdb2152-9f5f-486a-81a1-7ad4efdb6865 2026-02-06 17:19:27,175 - DEBUG - Requesting: http://10.0.0.50:8082/project/85dc58d2-83a2-46d9-833f-b6dd3ebaa829 2026-02-06 17:19:27,248 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44ff8adf-928a-4fe2-86c5-56743c668877 2026-02-06 17:19:27,258 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44ff8adf-928a-4fe2-86c5-56743c668877 2026-02-06 17:19:27,267 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087 2026-02-06 17:19:27,274 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087 2026-02-06 17:19:27,281 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/87364ad7-16ad-47b3-8450-3a6f7f9d8da3 2026-02-06 17:19:27,287 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-06 17:19:27,287 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44ff8adf-928a-4fe2-86c5-56743c668877 2026-02-06 17:19:27,297 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087 2026-02-06 17:19:27,313 - INFO - Verified VN network id 9 for VN 44ff8adf-928a-4fe2-86c5-56743c668877 2026-02-06 17:19:27,313 - INFO - Verifications in API Server for VN ctest-vn-33916157 passed 2026-02-06 17:19:27,314 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44ff8adf-928a-4fe2-86c5-56743c668877 2026-02-06 17:19:27,323 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087 2026-02-06 17:19:27,331 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087 2026-02-06 17:19:27,339 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/87364ad7-16ad-47b3-8450-3a6f7f9d8da3 2026-02-06 17:19:27,351 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86711156', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4971845206481194978', 'uuid-lslong': '9711263228723890295'}, 'enable': 'true', 'created': '2026-02-06T17:19:24', 'last-modified': '2026-02-06T17:19:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.230968'} 2026-02-06 17:19:27,357 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-06 17:19:27,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33916157 passed 2026-02-06 17:19:27,357 - DEBUG - ====Verifying policy data for ctest-vn-33916157 in API_Server ====== 2026-02-06 17:19:27,357 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 17:19:27,363 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7bdb2152-9f5f-486a-81a1-7ad4efdb6865 2026-02-06 17:19:27,374 - DEBUG - Requesting: http://10.0.0.50:8082/project/85dc58d2-83a2-46d9-833f-b6dd3ebaa829 2026-02-06 17:19:27,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44ff8adf-928a-4fe2-86c5-56743c668877 2026-02-06 17:19:27,455 - DEBUG - ==>Verifying data for policy with id: d940fc6c-d352-4b46-b62d-5efef13e6779, fqn: ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-policy-allow-all-83359095'] 2026-02-06 17:19:27,455 - INFO - VN ctest-vn-33916157 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-06 17:19:27,455 - DEBUG - Verifying the vn in opserver 2026-02-06 17:19:27,455 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157 virtual network link through opserver 10.0.0.50 2026-02-06 17:19:27,455 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-06 17:19:27,753 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-06 17:19:27,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157?flat'} 2026-02-06 17:19:27,815 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157 is found in opserver 2026-02-06 17:19:27,824 - DEBUG - Do not have enough data to verify VN in agent 2026-02-06 17:19:27,829 - DEBUG - VRF ids for VN ctest-vn-33916157: {} 2026-02-06 17:19:27,829 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 17:19:27,834 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7bdb2152-9f5f-486a-81a1-7ad4efdb6865 2026-02-06 17:19:27,844 - DEBUG - Requesting: http://10.0.0.50:8082/project/85dc58d2-83a2-46d9-833f-b6dd3ebaa829 2026-02-06 17:19:27,913 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/069e6645-733c-4933-80e6-8ca17515f6e9 2026-02-06 17:19:27,924 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/069e6645-733c-4933-80e6-8ca17515f6e9 2026-02-06 17:19:27,933 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333 2026-02-06 17:19:27,941 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333 2026-02-06 17:19:27,948 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/573e9ad1-3abc-4a6b-9f35-06a6c77a58d7 2026-02-06 17:19:27,954 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-06 17:19:27,954 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/069e6645-733c-4933-80e6-8ca17515f6e9 2026-02-06 17:19:27,963 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333 2026-02-06 17:19:27,978 - INFO - Verified VN network id 10 for VN 069e6645-733c-4933-80e6-8ca17515f6e9 2026-02-06 17:19:27,978 - INFO - Verifications in API Server for VN ctest-vn-71086531 passed 2026-02-06 17:19:27,978 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/069e6645-733c-4933-80e6-8ca17515f6e9 2026-02-06 17:19:27,987 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333 2026-02-06 17:19:27,993 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333 2026-02-06 17:19:28,000 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/573e9ad1-3abc-4a6b-9f35-06a6c77a58d7 2026-02-06 17:19:28,014 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-71086531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86711156', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '476931059019958579', 'uuid-lslong': '9288265906580223721'}, 'enable': 'true', 'created': '2026-02-06T17:19:25', 'last-modified': '2026-02-06T17:19:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.656200'} 2026-02-06 17:19:28,021 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-06 17:19:28,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71086531 passed 2026-02-06 17:19:28,022 - DEBUG - ====Verifying policy data for ctest-vn-71086531 in API_Server ====== 2026-02-06 17:19:28,022 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 17:19:28,027 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7bdb2152-9f5f-486a-81a1-7ad4efdb6865 2026-02-06 17:19:28,039 - DEBUG - Requesting: http://10.0.0.50:8082/project/85dc58d2-83a2-46d9-833f-b6dd3ebaa829 2026-02-06 17:19:28,112 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/069e6645-733c-4933-80e6-8ca17515f6e9 2026-02-06 17:19:28,121 - DEBUG - ==>Verifying data for policy with id: d940fc6c-d352-4b46-b62d-5efef13e6779, fqn: ['default-domain', 'ctest-TestBasicPolicy-86711156', 'ctest-policy-allow-all-83359095'] 2026-02-06 17:19:28,121 - INFO - VN ctest-vn-71086531 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-06 17:19:28,121 - DEBUG - Verifying the vn in opserver 2026-02-06 17:19:28,121 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-71086531 virtual network link through opserver 10.0.0.50 2026-02-06 17:19:28,121 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-06 17:19:28,130 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-71086531', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-71086531?flat'} 2026-02-06 17:19:28,131 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-71086531 is found in opserver 2026-02-06 17:19:28,140 - DEBUG - Do not have enough data to verify VN in agent 2026-02-06 17:19:28,145 - DEBUG - VRF ids for VN ctest-vn-71086531: {} 2026-02-06 17:19:28,202 - DEBUG - Services list from nova: [, , ] 2026-02-06 17:19:29,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5228-1) 2026-02-06 17:19:30,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5228-1) 2026-02-06 17:19:30,444 - INFO - Waiting for VM ctest-TestBasicPolicy-86711156-84159840 to be up.. 2026-02-06 17:19:30,519 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-06 17:19:35,630 - DEBUG - VM is in ACTIVE state now 2026-02-06 17:19:35,630 - INFO - VM name : ctest-TestBasicPolicy-86711156-84159840 2026-02-06 17:19:35,709 - DEBUG - VM ctest-TestBasicPolicy-86711156-84159840 ID is be71b029-ebca-4b0f-b235-a333802ae3c9 2026-02-06 17:19:35,731 - DEBUG - VM ctest-TestBasicPolicy-86711156-84159840 launched on Node cn-jenkins-deploy-platform-ansible-os-5228-1 2026-02-06 17:19:35,814 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/be71b029-ebca-4b0f-b235-a333802ae3c9 2026-02-06 17:19:35,822 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9da450e1-8e27-44a4-a647-fac5b1859544 2026-02-06 17:19:39,088 - 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 1022ms') 2026-02-06 17:19:39,088 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86711156-84159840 failed! 2026-02-06 17:19:39,143 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86711156:ctest-vn-33916157 is 148.214.126.1 and allocation pool is NOT set 2026-02-06 17:19:41,208 - 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=9.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/4.869/9.285/4.416 ms') 2026-02-06 17:19:41,208 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86711156-84159840 passed 2026-02-06 17:19:41,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 17:19:41,363 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86711156-84159840, IP 148.214.126.3, Port 22 2026-02-06 17:19:41,519 - DEBUG - VM ctest-TestBasicPolicy-86711156-84159840 is ready for SSH connections 2026-02-06 17:19:41,519 - INFO - Waiting for VM ctest-TestBasicPolicy-86711156-47039746 to be up.. 2026-02-06 17:19:41,607 - DEBUG - VM is in ACTIVE state now 2026-02-06 17:19:41,607 - INFO - VM name : ctest-TestBasicPolicy-86711156-47039746 2026-02-06 17:19:41,686 - DEBUG - VM ctest-TestBasicPolicy-86711156-47039746 ID is eec32371-55b4-4708-91c4-824830560e5a 2026-02-06 17:19:41,686 - DEBUG - VM ctest-TestBasicPolicy-86711156-47039746 launched on Node cn-jenkins-deploy-platform-ansible-os-5228-1 2026-02-06 17:19:41,765 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/eec32371-55b4-4708-91c4-824830560e5a 2026-02-06 17:19:41,775 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aee33949-ef53-4b16-98ac-9d5b69c2d403 2026-02-06 17:19:43,015 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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.531/1.631/2.732/1.100 ms') 2026-02-06 17:19:43,015 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86711156-47039746 passed 2026-02-06 17:19:43,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 17:19:43,163 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86711156-47039746, IP 102.41.120.195, Port 22 2026-02-06 17:19:43,329 - DEBUG - VM ctest-TestBasicPolicy-86711156-47039746 is ready for SSH connections 2026-02-06 17:19:43,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 17:19:43,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.41.120.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-06 17:19:43,330 - DEBUG - ping -s 56 -c 3 -W 1 102.41.120.195 2026-02-06 17:19:47,405 - DEBUG - PING 102.41.120.195 (102.41.120.195): 56 data bytes 64 bytes from 102.41.120.195: seq=0 ttl=63 time=3.351 ms 64 bytes from 102.41.120.195: seq=1 ttl=63 time=1.054 ms 64 bytes from 102.41.120.195: seq=2 ttl=63 time=0.786 ms --- 102.41.120.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/1.730/3.351 ms 2026-02-06 17:19:47,405 - INFO - Ping to IP 102.41.120.195 from VM ctest-TestBasicPolicy-86711156-84159840 passed 2026-02-06 17:19:47,575 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d940fc6c-d352-4b46-b62d-5efef13e6779", "href": "http://10.0.0.50:8082/network-policy/d940fc6c-d352-4b46-b62d-5efef13e6779"}} 2026-02-06 17:19:47,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 17:19:47,575 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.41.120.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-06 17:19:47,575 - DEBUG - ping -s 56 -c 3 -W 1 102.41.120.195 2026-02-06 17:19:50,818 - DEBUG - PING 102.41.120.195 (102.41.120.195): 56 data bytes --- 102.41.120.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-06 17:19:50,818 - WARNING - Ping to IP 102.41.120.195 from VM ctest-TestBasicPolicy-86711156-84159840 failed 2026-02-06 17:19:50,818 - INFO - Deleting VM ctest-TestBasicPolicy-86711156-47039746 2026-02-06 17:19:50,890 - INFO - Deleting VM ctest-TestBasicPolicy-86711156-84159840 2026-02-06 17:19:51,258 - INFO - Deleted policy ctest-policy-allow-all-83359095 2026-02-06 17:19:51,258 - INFO - Deleting VN ctest-vn-71086531 2026-02-06 17:19:51,293 - DEBUG - VN 069e6645-733c-4933-80e6-8ca17515f6e9 still in use: Unable to complete operation on network 069e6645-733c-4933-80e6-8ca17515f6e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-77d984d7-ac74-4417-9d13-742f2f90f945'] 2026-02-06 17:19:51,293 - WARNING - Deleting VN ctest-vn-71086531 failed..Will retry 2026-02-06 17:19:53,387 - DEBUG - Response for deleting network () 2026-02-06 17:19:53,387 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc72838b-3a88-4a11-8707-15becbaf0333 2026-02-06 17:19:53,392 - DEBUG - Response Code: 404 2026-02-06 17:19:53,392 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 17:19:53,398 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7bdb2152-9f5f-486a-81a1-7ad4efdb6865 2026-02-06 17:19:53,452 - DEBUG - Requesting: http://10.0.0.50:8082/project/85dc58d2-83a2-46d9-833f-b6dd3ebaa829 2026-02-06 17:19:53,521 - INFO - Validated that VN ctest-vn-71086531 is not found in API Server 2026-02-06 17:19:53,532 - DEBUG - VN ctest-vn-71086531 is not present in Agent 10.0.0.50 2026-02-06 17:19:53,532 - INFO - Validated that VN ctest-vn-71086531 is not in any agent 2026-02-06 17:19:53,547 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71086531 info 2026-02-06 17:19:53,547 - INFO - Deleting VN ctest-vn-33916157 2026-02-06 17:19:53,646 - DEBUG - Response for deleting network () 2026-02-06 17:19:53,646 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/aa5876c2-1716-453e-bbde-aedc8ec1f087 2026-02-06 17:19:53,653 - DEBUG - Response Code: 404 2026-02-06 17:19:53,653 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 17:19:53,658 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7bdb2152-9f5f-486a-81a1-7ad4efdb6865 2026-02-06 17:19:53,712 - DEBUG - Requesting: http://10.0.0.50:8082/project/85dc58d2-83a2-46d9-833f-b6dd3ebaa829 2026-02-06 17:19:53,779 - INFO - Validated that VN ctest-vn-33916157 is not found in API Server 2026-02-06 17:19:53,788 - DEBUG - VN ctest-vn-33916157 is not present in Agent 10.0.0.50 2026-02-06 17:19:53,788 - INFO - Validated that VN ctest-vn-33916157 is not in any agent 2026-02-06 17:19:53,801 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33916157 info 2026-02-06 17:19:54,062 - DEBUG - No XMPP flaps were noticed during the test 2026-02-06 17:19:54,063 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2026-02-06 17:19:54,063 - INFO - -------------------------------------------------------------------------------- 2026-02-06 17:19:54,760 - INFO - Deleted project: ctest-TestBasicPolicy-86711156, ID : 85dc58d2-83a2-46d9-833f-b6dd3ebaa829