2026-04-17 13:24:13,925 - INFO - Domain Default found not creating 2026-04-17 13:24:14,127 - INFO - Project ctest-TestBasicPolicy-24048941 not found, creating it 2026-04-17 13:24:14,617 - INFO - Created Project:ctest-TestBasicPolicy-24048941, ID : 419f5c13-9963-4d28-bbb9-5a239bd08f19 2026-04-17 13:24:16,229 - INFO - ================================================================================ 2026-04-17 13:24:16,229 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-17 13:24:16,229 - 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-04-17 13:24:16,501 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-04-17 13:24:16,501 - INFO - Initial checks done. Running the testcase now 2026-04-17 13:24:16,501 - INFO - 2026-04-17 13:24:17,091 - DEBUG - Response for create_network : {'network': {'id': '6f8a1f50-f210-448f-aa07-2fc424da13e6', 'name': 'ctest-vn-11337469', 'tenant_id': '419f5c1399634d28bbb95a239bd08f19', 'project_id': '419f5c1399634d28bbb95a239bd08f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24048941', 'ctest-vn-11337469'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:24:17,261 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3b2512c-5333-4363-a101-689ee11a87c6', 'name': '', 'tenant_id': '419f5c1399634d28bbb95a239bd08f19', 'network_id': '6f8a1f50-f210-448f-aa07-2fc424da13e6', 'ip_version': 4, 'cidr': '175.161.13.192/26', 'allocation_pools': [{'start': '175.161.13.194', 'end': '175.161.13.254'}], 'gateway_ip': '175.161.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.161.13.194', 'tags': [], 'project_id': '419f5c1399634d28bbb95a239bd08f19'}} 2026-04-17 13:24:17,283 - INFO - Created VN ctest-vn-11337469 2026-04-17 13:24:17,338 - DEBUG - VN ctest-vn-11337469 UUID is 6f8a1f50-f210-448f-aa07-2fc424da13e6 2026-04-17 13:24:17,646 - DEBUG - Response for create_network : {'network': {'id': '6769c97b-5cd0-4d4b-bbb1-53558b99bac2', 'name': 'ctest-vn-73457952', 'tenant_id': '419f5c1399634d28bbb95a239bd08f19', 'project_id': '419f5c1399634d28bbb95a239bd08f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24048941', 'ctest-vn-73457952'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:24:17,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '95ed8517-3b3f-4759-9bb5-b61a4993d0dc', 'name': '', 'tenant_id': '419f5c1399634d28bbb95a239bd08f19', 'network_id': '6769c97b-5cd0-4d4b-bbb1-53558b99bac2', 'ip_version': 4, 'cidr': '40.141.64.192/26', 'allocation_pools': [{'start': '40.141.64.194', 'end': '40.141.64.254'}], 'gateway_ip': '40.141.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.141.64.194', 'tags': [], 'project_id': '419f5c1399634d28bbb95a239bd08f19'}} 2026-04-17 13:24:17,890 - INFO - Created VN ctest-vn-73457952 2026-04-17 13:24:17,946 - DEBUG - VN ctest-vn-73457952 UUID is 6769c97b-5cd0-4d4b-bbb1-53558b99bac2 2026-04-17 13:24:18,075 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-11337469, 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-24048941:ctest-vn-73457952, 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-04-17 13:24:18,393 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f8a1f50-f210-448f-aa07-2fc424da13e6', 'name': 'ctest-vn-11337469', 'tenant_id': '419f5c1399634d28bbb95a239bd08f19', 'project_id': '419f5c1399634d28bbb95a239bd08f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3b2512c-5333-4363-a101-689ee11a87c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24048941', 'ctest-vn-11337469'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24048941', 'ctest-policy-allow-all-16977933']], 'subnet_ipam': [{'subnet_cidr': '175.161.13.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:24:18,756 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6769c97b-5cd0-4d4b-bbb1-53558b99bac2', 'name': 'ctest-vn-73457952', 'tenant_id': '419f5c1399634d28bbb95a239bd08f19', 'project_id': '419f5c1399634d28bbb95a239bd08f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95ed8517-3b3f-4759-9bb5-b61a4993d0dc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24048941', 'ctest-vn-73457952'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24048941', 'ctest-policy-allow-all-16977933']], 'subnet_ipam': [{'subnet_cidr': '40.141.64.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:24:18,931 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 13:24:19,285 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 13:24:19,349 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f25cce66-0aa5-4658-a604-241e725f223e 2026-04-17 13:24:19,374 - DEBUG - Requesting: http://10.0.0.50:8082/project/419f5c13-9963-4d28-bbb9-5a239bd08f19 2026-04-17 13:24:19,462 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f8a1f50-f210-448f-aa07-2fc424da13e6 2026-04-17 13:24:19,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f8a1f50-f210-448f-aa07-2fc424da13e6 2026-04-17 13:24:19,495 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0c1cfe1-4377-499e-8b7a-231a07eae94d 2026-04-17 13:24:19,508 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0c1cfe1-4377-499e-8b7a-231a07eae94d 2026-04-17 13:24:19,525 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f4c09fab-a3dc-477f-9a30-81404b8e11b0 2026-04-17 13:24:19,537 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 13:24:19,537 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f8a1f50-f210-448f-aa07-2fc424da13e6 2026-04-17 13:24:19,557 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0c1cfe1-4377-499e-8b7a-231a07eae94d 2026-04-17 13:24:19,575 - INFO - Verified VN network id 12 for VN 6f8a1f50-f210-448f-aa07-2fc424da13e6 2026-04-17 13:24:19,575 - INFO - Verifications in API Server for VN ctest-vn-11337469 passed 2026-04-17 13:24:19,575 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f8a1f50-f210-448f-aa07-2fc424da13e6 2026-04-17 13:24:19,587 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0c1cfe1-4377-499e-8b7a-231a07eae94d 2026-04-17 13:24:19,596 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0c1cfe1-4377-499e-8b7a-231a07eae94d 2026-04-17 13:24:19,604 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f4c09fab-a3dc-477f-9a30-81404b8e11b0 2026-04-17 13:24:19,620 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-11337469', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24048941', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8037270917515068559', 'uuid-lslong': '12251813830763090918'}, 'enable': 'true', 'created': '2026-04-17T13:24:17', 'last-modified': '2026-04-17T13:24:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.254211'} 2026-04-17 13:24:19,627 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-17 13:24:19,627 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11337469 passed 2026-04-17 13:24:19,627 - DEBUG - ====Verifying policy data for ctest-vn-11337469 in API_Server ====== 2026-04-17 13:24:19,627 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 13:24:19,634 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f25cce66-0aa5-4658-a604-241e725f223e 2026-04-17 13:24:19,645 - DEBUG - Requesting: http://10.0.0.50:8082/project/419f5c13-9963-4d28-bbb9-5a239bd08f19 2026-04-17 13:24:19,728 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f8a1f50-f210-448f-aa07-2fc424da13e6 2026-04-17 13:24:19,738 - DEBUG - ==>Verifying data for policy with id: e3d4eafd-48e8-441c-9c55-2fd20d746b82, fqn: ['default-domain', 'ctest-TestBasicPolicy-24048941', 'ctest-policy-allow-all-16977933'] 2026-04-17 13:24:19,738 - INFO - VN ctest-vn-11337469 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 13:24:19,738 - DEBUG - Verifying the vn in opserver 2026-04-17 13:24:19,738 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-11337469 virtual network link through opserver 10.0.0.50 2026-04-17 13:24:19,739 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-17 13:24:20,037 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-17 13:24:20,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-11337469', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-11337469?flat'} 2026-04-17 13:24:20,112 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-11337469 is found in opserver 2026-04-17 13:24:20,124 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 13:24:20,129 - DEBUG - VRF ids for VN ctest-vn-11337469: {} 2026-04-17 13:24:20,129 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 13:24:20,135 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f25cce66-0aa5-4658-a604-241e725f223e 2026-04-17 13:24:20,148 - DEBUG - Requesting: http://10.0.0.50:8082/project/419f5c13-9963-4d28-bbb9-5a239bd08f19 2026-04-17 13:24:20,226 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6769c97b-5cd0-4d4b-bbb1-53558b99bac2 2026-04-17 13:24:20,239 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6769c97b-5cd0-4d4b-bbb1-53558b99bac2 2026-04-17 13:24:20,249 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23b272d6-8a1e-4a4e-802e-308a81ccb0a3 2026-04-17 13:24:20,257 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23b272d6-8a1e-4a4e-802e-308a81ccb0a3 2026-04-17 13:24:20,264 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a306c5e8-5133-4fb7-8477-9b91e427db29 2026-04-17 13:24:20,272 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 13:24:20,272 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6769c97b-5cd0-4d4b-bbb1-53558b99bac2 2026-04-17 13:24:20,283 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23b272d6-8a1e-4a4e-802e-308a81ccb0a3 2026-04-17 13:24:20,304 - INFO - Verified VN network id 13 for VN 6769c97b-5cd0-4d4b-bbb1-53558b99bac2 2026-04-17 13:24:20,304 - INFO - Verifications in API Server for VN ctest-vn-73457952 passed 2026-04-17 13:24:20,304 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6769c97b-5cd0-4d4b-bbb1-53558b99bac2 2026-04-17 13:24:20,316 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23b272d6-8a1e-4a4e-802e-308a81ccb0a3 2026-04-17 13:24:20,324 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23b272d6-8a1e-4a4e-802e-308a81ccb0a3 2026-04-17 13:24:20,332 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a306c5e8-5133-4fb7-8477-9b91e427db29 2026-04-17 13:24:20,344 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-73457952', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24048941', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7451708590136511819', 'uuid-lslong': '13524682782849743554'}, 'enable': 'true', 'created': '2026-04-17T13:24:17', 'last-modified': '2026-04-17T13:24:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.676551'} 2026-04-17 13:24:20,350 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-17 13:24:20,350 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73457952 passed 2026-04-17 13:24:20,351 - DEBUG - ====Verifying policy data for ctest-vn-73457952 in API_Server ====== 2026-04-17 13:24:20,351 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 13:24:20,357 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f25cce66-0aa5-4658-a604-241e725f223e 2026-04-17 13:24:20,370 - DEBUG - Requesting: http://10.0.0.50:8082/project/419f5c13-9963-4d28-bbb9-5a239bd08f19 2026-04-17 13:24:20,445 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6769c97b-5cd0-4d4b-bbb1-53558b99bac2 2026-04-17 13:24:20,455 - DEBUG - ==>Verifying data for policy with id: e3d4eafd-48e8-441c-9c55-2fd20d746b82, fqn: ['default-domain', 'ctest-TestBasicPolicy-24048941', 'ctest-policy-allow-all-16977933'] 2026-04-17 13:24:20,455 - INFO - VN ctest-vn-73457952 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-17 13:24:20,455 - DEBUG - Verifying the vn in opserver 2026-04-17 13:24:20,455 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-73457952 virtual network link through opserver 10.0.0.50 2026-04-17 13:24:20,455 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-17 13:24:20,468 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-73457952', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-73457952?flat'} 2026-04-17 13:24:20,468 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-73457952 is found in opserver 2026-04-17 13:24:20,480 - DEBUG - Do not have enough data to verify VN in agent 2026-04-17 13:24:20,485 - DEBUG - VRF ids for VN ctest-vn-73457952: {} 2026-04-17 13:24:20,562 - DEBUG - Services list from nova: [, , ] 2026-04-17 13:24:21,654 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5636-1) 2026-04-17 13:24:22,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5636-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5636-1) 2026-04-17 13:24:22,897 - INFO - Waiting for VM ctest-TestBasicPolicy-24048941-78425021 to be up.. 2026-04-17 13:24:23,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 13:24:28,094 - DEBUG - VM is in ACTIVE state now 2026-04-17 13:24:28,094 - INFO - VM name : ctest-TestBasicPolicy-24048941-78425021 2026-04-17 13:24:28,182 - DEBUG - VM ctest-TestBasicPolicy-24048941-78425021 ID is bbd1f80c-a9bc-4177-95c0-eb6639a885d2 2026-04-17 13:24:28,206 - DEBUG - VM ctest-TestBasicPolicy-24048941-78425021 launched on Node cn-jenkins-deploy-platform-ansible-os-5636-1 2026-04-17 13:24:28,295 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bbd1f80c-a9bc-4177-95c0-eb6639a885d2 2026-04-17 13:24:28,305 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a0fa528b-e5e0-4e0c-9fce-c3f1293f97c0 2026-04-17 13:24:31,576 - 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 1026ms') 2026-04-17 13:24:31,576 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24048941-78425021 failed! 2026-04-17 13:24:31,630 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24048941:ctest-vn-11337469 is 175.161.13.193 and allocation pool is NOT set 2026-04-17 13:24:33,695 - 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=8.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.42 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.424/5.540/8.656/3.116 ms') 2026-04-17 13:24:33,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24048941-78425021 passed 2026-04-17 13:24:33,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:24:33,854 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24048941-78425021, IP 175.161.13.195, Port 22 2026-04-17 13:24:34,009 - DEBUG - VM ctest-TestBasicPolicy-24048941-78425021 is ready for SSH connections 2026-04-17 13:24:34,009 - INFO - Waiting for VM ctest-TestBasicPolicy-24048941-45814355 to be up.. 2026-04-17 13:24:34,100 - DEBUG - VM is in ACTIVE state now 2026-04-17 13:24:34,100 - INFO - VM name : ctest-TestBasicPolicy-24048941-45814355 2026-04-17 13:24:34,185 - DEBUG - VM ctest-TestBasicPolicy-24048941-45814355 ID is 86e7a17a-bc61-4700-846f-aba48c44891b 2026-04-17 13:24:34,186 - DEBUG - VM ctest-TestBasicPolicy-24048941-45814355 launched on Node cn-jenkins-deploy-platform-ansible-os-5636-1 2026-04-17 13:24:34,262 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/86e7a17a-bc61-4700-846f-aba48c44891b 2026-04-17 13:24:34,271 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/385a8c97-f617-4a37-a382-2a02b220a793 2026-04-17 13:24:35,507 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/1.807/3.115/1.307 ms') 2026-04-17 13:24:35,508 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24048941-45814355 passed 2026-04-17 13:24:35,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:24:35,658 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24048941-45814355, IP 40.141.64.195, Port 22 2026-04-17 13:24:35,827 - DEBUG - VM ctest-TestBasicPolicy-24048941-45814355 is ready for SSH connections 2026-04-17 13:24:35,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:24:35,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.141.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-17 13:24:35,828 - DEBUG - ping -s 56 -c 3 -W 1 40.141.64.195 2026-04-17 13:24:39,882 - DEBUG - PING 40.141.64.195 (40.141.64.195): 56 data bytes 64 bytes from 40.141.64.195: seq=0 ttl=63 time=4.093 ms 64 bytes from 40.141.64.195: seq=1 ttl=63 time=0.909 ms 64 bytes from 40.141.64.195: seq=2 ttl=63 time=1.143 ms --- 40.141.64.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.909/2.048/4.093 ms 2026-04-17 13:24:39,883 - INFO - Ping to IP 40.141.64.195 from VM ctest-TestBasicPolicy-24048941-78425021 passed 2026-04-17 13:24:40,070 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e3d4eafd-48e8-441c-9c55-2fd20d746b82", "href": "http://10.0.0.50:8082/network-policy/e3d4eafd-48e8-441c-9c55-2fd20d746b82"}} 2026-04-17 13:24:40,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:24:40,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.141.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-17 13:24:40,070 - DEBUG - ping -s 56 -c 3 -W 1 40.141.64.195 2026-04-17 13:24:43,304 - DEBUG - PING 40.141.64.195 (40.141.64.195): 56 data bytes --- 40.141.64.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-17 13:24:43,304 - WARNING - Ping to IP 40.141.64.195 from VM ctest-TestBasicPolicy-24048941-78425021 failed 2026-04-17 13:24:43,304 - INFO - Deleting VM ctest-TestBasicPolicy-24048941-45814355 2026-04-17 13:24:43,388 - INFO - Deleting VM ctest-TestBasicPolicy-24048941-78425021 2026-04-17 13:24:43,761 - INFO - Deleted policy ctest-policy-allow-all-16977933 2026-04-17 13:24:43,762 - INFO - Deleting VN ctest-vn-73457952 2026-04-17 13:24:43,808 - DEBUG - VN 6769c97b-5cd0-4d4b-bbb1-53558b99bac2 still in use: Unable to complete operation on network 6769c97b-5cd0-4d4b-bbb1-53558b99bac2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3a478de-745b-4d1d-ad43-11b65ae1b6fc'] 2026-04-17 13:24:43,808 - WARNING - Deleting VN ctest-vn-73457952 failed..Will retry 2026-04-17 13:24:45,919 - DEBUG - Response for deleting network () 2026-04-17 13:24:45,919 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/23b272d6-8a1e-4a4e-802e-308a81ccb0a3 2026-04-17 13:24:45,927 - DEBUG - Response Code: 404 2026-04-17 13:24:45,927 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 13:24:45,934 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f25cce66-0aa5-4658-a604-241e725f223e 2026-04-17 13:24:45,991 - DEBUG - Requesting: http://10.0.0.50:8082/project/419f5c13-9963-4d28-bbb9-5a239bd08f19 2026-04-17 13:24:46,062 - INFO - Validated that VN ctest-vn-73457952 is not found in API Server 2026-04-17 13:24:46,072 - DEBUG - VN ctest-vn-73457952 is not present in Agent 10.0.0.50 2026-04-17 13:24:46,072 - INFO - Validated that VN ctest-vn-73457952 is not in any agent 2026-04-17 13:24:46,088 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73457952 info 2026-04-17 13:24:46,088 - INFO - Deleting VN ctest-vn-11337469 2026-04-17 13:24:46,198 - DEBUG - Response for deleting network () 2026-04-17 13:24:46,198 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0c1cfe1-4377-499e-8b7a-231a07eae94d 2026-04-17 13:24:46,210 - DEBUG - Response Code: 404 2026-04-17 13:24:46,210 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-17 13:24:46,216 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f25cce66-0aa5-4658-a604-241e725f223e 2026-04-17 13:24:46,271 - DEBUG - Requesting: http://10.0.0.50:8082/project/419f5c13-9963-4d28-bbb9-5a239bd08f19 2026-04-17 13:24:46,347 - INFO - Validated that VN ctest-vn-11337469 is not found in API Server 2026-04-17 13:24:46,356 - DEBUG - VN ctest-vn-11337469 is not present in Agent 10.0.0.50 2026-04-17 13:24:46,356 - INFO - Validated that VN ctest-vn-11337469 is not in any agent 2026-04-17 13:24:46,370 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11337469 info 2026-04-17 13:24:46,627 - DEBUG - No XMPP flaps were noticed during the test 2026-04-17 13:24:46,627 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-04-17 13:24:46,627 - INFO - -------------------------------------------------------------------------------- 2026-04-17 13:24:47,336 - INFO - Deleted project: ctest-TestBasicPolicy-24048941, ID : 419f5c13-9963-4d28-bbb9-5a239bd08f19