2026-04-02 02:19:06,545 - INFO - Domain Default found not creating 2026-04-02 02:19:06,725 - INFO - Project ctest-TestBasicPolicy-67876151 not found, creating it 2026-04-02 02:19:07,204 - INFO - Created Project:ctest-TestBasicPolicy-67876151, ID : fd4d9d2a-37d2-4bfd-9e53-1eb1e982f0db 2026-04-02 02:19:08,692 - INFO - ================================================================================ 2026-04-02 02:19:08,693 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-02 02:19:08,693 - 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-02 02:19:08,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.5': '0'}} with 2026-04-02 02:19:08,954 - INFO - Initial checks done. Running the testcase now 2026-04-02 02:19:08,954 - INFO - 2026-04-02 02:19:09,502 - DEBUG - Response for create_network : {'network': {'id': '33417bd4-91e4-4fbc-b5bb-8a82a28dceb3', 'name': 'ctest-vn-75399393', 'tenant_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db', 'project_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67876151', 'ctest-vn-75399393'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:19:09,677 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb49c9e6-b959-4ad5-988c-7cd1998a57ae', 'name': '', 'tenant_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db', 'network_id': '33417bd4-91e4-4fbc-b5bb-8a82a28dceb3', 'ip_version': 4, 'cidr': '217.188.161.192/26', 'allocation_pools': [{'start': '217.188.161.194', 'end': '217.188.161.254'}], 'gateway_ip': '217.188.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.188.161.194', 'tags': [], 'project_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db'}} 2026-04-02 02:19:09,695 - INFO - Created VN ctest-vn-75399393 2026-04-02 02:19:09,748 - DEBUG - VN ctest-vn-75399393 UUID is 33417bd4-91e4-4fbc-b5bb-8a82a28dceb3 2026-04-02 02:19:10,059 - DEBUG - Response for create_network : {'network': {'id': '267b7f94-f7bb-4863-ae49-29d779431695', 'name': 'ctest-vn-53040500', 'tenant_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db', 'project_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67876151', 'ctest-vn-53040500'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:19:10,263 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d4de736-3fe1-4c12-9565-5c0c88c10cf5', 'name': '', 'tenant_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db', 'network_id': '267b7f94-f7bb-4863-ae49-29d779431695', 'ip_version': 4, 'cidr': '49.206.248.0/26', 'allocation_pools': [{'start': '49.206.248.2', 'end': '49.206.248.62'}], 'gateway_ip': '49.206.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.206.248.2', 'tags': [], 'project_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db'}} 2026-04-02 02:19:10,288 - INFO - Created VN ctest-vn-53040500 2026-04-02 02:19:10,341 - DEBUG - VN ctest-vn-53040500 UUID is 267b7f94-f7bb-4863-ae49-29d779431695 2026-04-02 02:19:10,457 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-75399393, 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-67876151:ctest-vn-53040500, 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-02 02:19:10,759 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33417bd4-91e4-4fbc-b5bb-8a82a28dceb3', 'name': 'ctest-vn-75399393', 'tenant_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db', 'project_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb49c9e6-b959-4ad5-988c-7cd1998a57ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67876151', 'ctest-vn-75399393'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67876151', 'ctest-policy-allow-all-74121644']], 'subnet_ipam': [{'subnet_cidr': '217.188.161.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:19:10,997 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '267b7f94-f7bb-4863-ae49-29d779431695', 'name': 'ctest-vn-53040500', 'tenant_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db', 'project_id': 'fd4d9d2a37d24bfd9e531eb1e982f0db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d4de736-3fe1-4c12-9565-5c0c88c10cf5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67876151', 'ctest-vn-53040500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67876151', 'ctest-policy-allow-all-74121644']], 'subnet_ipam': [{'subnet_cidr': '49.206.248.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:19:11,160 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-04-02 02:19:11,468 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-04-02 02:19:11,504 - DEBUG - Requesting: http://10.0.0.23:8082/domain/cb4a4c34-6140-4d55-9cdd-4977c46821f5 2026-04-02 02:19:11,517 - DEBUG - Requesting: http://10.0.0.23:8082/project/fd4d9d2a-37d2-4bfd-9e53-1eb1e982f0db 2026-04-02 02:19:11,592 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/33417bd4-91e4-4fbc-b5bb-8a82a28dceb3 2026-04-02 02:19:11,601 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/33417bd4-91e4-4fbc-b5bb-8a82a28dceb3 2026-04-02 02:19:11,610 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5a05e6dc-8280-4c27-9083-735613837f8f 2026-04-02 02:19:11,616 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5a05e6dc-8280-4c27-9083-735613837f8f 2026-04-02 02:19:11,624 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/be3fb30d-75c8-46f5-a830-a46209374d7c 2026-04-02 02:19:11,630 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 02:19:11,630 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/33417bd4-91e4-4fbc-b5bb-8a82a28dceb3 2026-04-02 02:19:11,637 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5a05e6dc-8280-4c27-9083-735613837f8f 2026-04-02 02:19:11,649 - INFO - Verified VN network id 11 for VN 33417bd4-91e4-4fbc-b5bb-8a82a28dceb3 2026-04-02 02:19:11,649 - INFO - Verifications in API Server for VN ctest-vn-75399393 passed 2026-04-02 02:19:11,649 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/33417bd4-91e4-4fbc-b5bb-8a82a28dceb3 2026-04-02 02:19:11,656 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5a05e6dc-8280-4c27-9083-735613837f8f 2026-04-02 02:19:11,661 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5a05e6dc-8280-4c27-9083-735613837f8f 2026-04-02 02:19:11,667 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/be3fb30d-75c8-46f5-a830-a46209374d7c 2026-04-02 02:19:11,678 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-75399393', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67876151', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3693369322331459516', 'uuid-lslong': '13095212635187433139'}, 'enable': 'true', 'created': '2026-04-02T02:19:09', 'last-modified': '2026-04-02T02:19:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942414'} 2026-04-02 02:19:11,684 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 02:19:11,684 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75399393 passed 2026-04-02 02:19:11,684 - DEBUG - ====Verifying policy data for ctest-vn-75399393 in API_Server ====== 2026-04-02 02:19:11,684 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-04-02 02:19:11,691 - DEBUG - Requesting: http://10.0.0.23:8082/domain/cb4a4c34-6140-4d55-9cdd-4977c46821f5 2026-04-02 02:19:11,702 - DEBUG - Requesting: http://10.0.0.23:8082/project/fd4d9d2a-37d2-4bfd-9e53-1eb1e982f0db 2026-04-02 02:19:11,768 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/33417bd4-91e4-4fbc-b5bb-8a82a28dceb3 2026-04-02 02:19:11,776 - DEBUG - ==>Verifying data for policy with id: be60c596-b6e5-4de4-b923-37b02d6eae78, fqn: ['default-domain', 'ctest-TestBasicPolicy-67876151', 'ctest-policy-allow-all-74121644'] 2026-04-02 02:19:11,776 - INFO - VN ctest-vn-75399393 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 02:19:11,776 - DEBUG - Verifying the vn in opserver 2026-04-02 02:19:11,776 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-75399393 virtual network link through opserver 10.0.0.23 2026-04-02 02:19:11,777 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-04-02 02:19:12,079 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-04-02 02:19:12,153 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-75399393', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-75399393?flat'} 2026-04-02 02:19:12,153 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-75399393 is found in opserver 2026-04-02 02:19:12,162 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 02:19:12,168 - DEBUG - VRF ids for VN ctest-vn-75399393: {} 2026-04-02 02:19:12,168 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-04-02 02:19:12,173 - DEBUG - Requesting: http://10.0.0.23:8082/domain/cb4a4c34-6140-4d55-9cdd-4977c46821f5 2026-04-02 02:19:12,183 - DEBUG - Requesting: http://10.0.0.23:8082/project/fd4d9d2a-37d2-4bfd-9e53-1eb1e982f0db 2026-04-02 02:19:12,256 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/267b7f94-f7bb-4863-ae49-29d779431695 2026-04-02 02:19:12,266 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/267b7f94-f7bb-4863-ae49-29d779431695 2026-04-02 02:19:12,274 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/519f45fc-cd08-4ce4-9afa-24b6c8ddc951 2026-04-02 02:19:12,281 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/519f45fc-cd08-4ce4-9afa-24b6c8ddc951 2026-04-02 02:19:12,288 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/10fdc58e-4e29-41e3-864c-29396096ecf7 2026-04-02 02:19:12,294 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 02:19:12,294 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/267b7f94-f7bb-4863-ae49-29d779431695 2026-04-02 02:19:12,302 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/519f45fc-cd08-4ce4-9afa-24b6c8ddc951 2026-04-02 02:19:12,315 - INFO - Verified VN network id 12 for VN 267b7f94-f7bb-4863-ae49-29d779431695 2026-04-02 02:19:12,315 - INFO - Verifications in API Server for VN ctest-vn-53040500 passed 2026-04-02 02:19:12,315 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/267b7f94-f7bb-4863-ae49-29d779431695 2026-04-02 02:19:12,325 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/519f45fc-cd08-4ce4-9afa-24b6c8ddc951 2026-04-02 02:19:12,332 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/519f45fc-cd08-4ce4-9afa-24b6c8ddc951 2026-04-02 02:19:12,341 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/10fdc58e-4e29-41e3-864c-29396096ecf7 2026-04-02 02:19:12,353 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-53040500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67876151', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2772950273364805731', 'uuid-lslong': '12558615041328486037'}, 'enable': 'true', 'created': '2026-04-02T02:19:10', 'last-modified': '2026-04-02T02:19:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.383316'} 2026-04-02 02:19:12,360 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 02:19:12,361 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53040500 passed 2026-04-02 02:19:12,361 - DEBUG - ====Verifying policy data for ctest-vn-53040500 in API_Server ====== 2026-04-02 02:19:12,361 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-04-02 02:19:12,365 - DEBUG - Requesting: http://10.0.0.23:8082/domain/cb4a4c34-6140-4d55-9cdd-4977c46821f5 2026-04-02 02:19:12,376 - DEBUG - Requesting: http://10.0.0.23:8082/project/fd4d9d2a-37d2-4bfd-9e53-1eb1e982f0db 2026-04-02 02:19:12,450 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/267b7f94-f7bb-4863-ae49-29d779431695 2026-04-02 02:19:12,459 - DEBUG - ==>Verifying data for policy with id: be60c596-b6e5-4de4-b923-37b02d6eae78, fqn: ['default-domain', 'ctest-TestBasicPolicy-67876151', 'ctest-policy-allow-all-74121644'] 2026-04-02 02:19:12,459 - INFO - VN ctest-vn-53040500 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 02:19:12,459 - DEBUG - Verifying the vn in opserver 2026-04-02 02:19:12,459 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-53040500 virtual network link through opserver 10.0.0.23 2026-04-02 02:19:12,459 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-04-02 02:19:12,469 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-53040500', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-53040500?flat'} 2026-04-02 02:19:12,469 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-53040500 is found in opserver 2026-04-02 02:19:12,479 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 02:19:12,484 - DEBUG - VRF ids for VN ctest-vn-53040500: {} 2026-04-02 02:19:12,549 - DEBUG - Services list from nova: [, , ] 2026-04-02 02:19:13,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5576-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5576-1) 2026-04-02 02:19:14,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5576-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5576-1) 2026-04-02 02:19:14,748 - INFO - Waiting for VM ctest-TestBasicPolicy-67876151-39873692 to be up.. 2026-04-02 02:19:14,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 02:19:19,922 - DEBUG - VM is in ACTIVE state now 2026-04-02 02:19:19,922 - INFO - VM name : ctest-TestBasicPolicy-67876151-39873692 2026-04-02 02:19:19,993 - DEBUG - VM ctest-TestBasicPolicy-67876151-39873692 ID is 9b5872e3-5143-46c7-8108-bed81ad5221b 2026-04-02 02:19:20,014 - DEBUG - VM ctest-TestBasicPolicy-67876151-39873692 launched on Node cn-jenkins-deploy-platform-ansible-os-5576-1 2026-04-02 02:19:20,087 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/9b5872e3-5143-46c7-8108-bed81ad5221b 2026-04-02 02:19:20,096 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f693f1ee-0e15-4e04-88a3-b79833e8ec28 2026-04-02 02:19:23,302 - 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 1015ms') 2026-04-02 02:19:23,302 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67876151-39873692 failed! 2026-04-02 02:19:23,356 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67876151:ctest-vn-75399393 is 217.188.161.193 and allocation pool is NOT set 2026-04-02 02:19:25,417 - 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=3.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.365 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.365/1.784/3.204/1.419 ms') 2026-04-02 02:19:25,418 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67876151-39873692 passed 2026-04-02 02:19:25,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:19:25,565 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67876151-39873692, IP 217.188.161.195, Port 22 2026-04-02 02:19:25,736 - DEBUG - VM ctest-TestBasicPolicy-67876151-39873692 is ready for SSH connections 2026-04-02 02:19:25,736 - INFO - Waiting for VM ctest-TestBasicPolicy-67876151-25571144 to be up.. 2026-04-02 02:19:25,803 - DEBUG - VM is in ACTIVE state now 2026-04-02 02:19:25,803 - INFO - VM name : ctest-TestBasicPolicy-67876151-25571144 2026-04-02 02:19:25,878 - DEBUG - VM ctest-TestBasicPolicy-67876151-25571144 ID is 408761a6-827b-42c8-9b29-e0c5041b8b11 2026-04-02 02:19:25,878 - DEBUG - VM ctest-TestBasicPolicy-67876151-25571144 launched on Node cn-jenkins-deploy-platform-ansible-os-5576-1 2026-04-02 02:19:25,949 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/408761a6-827b-42c8-9b29-e0c5041b8b11 2026-04-02 02:19:25,960 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/9690d6f9-3e3d-45a6-a74f-2ba210112ee4 2026-04-02 02:19:27,202 - 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=6.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/3.301/6.160/2.859 ms') 2026-04-02 02:19:27,202 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67876151-25571144 passed 2026-04-02 02:19:27,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:19:27,353 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67876151-25571144, IP 49.206.248.3, Port 22 2026-04-02 02:19:27,508 - DEBUG - VM ctest-TestBasicPolicy-67876151-25571144 is ready for SSH connections 2026-04-02 02:19:27,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:19:27,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.206.248.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-04-02 02:19:27,508 - DEBUG - ping -s 56 -c 3 -W 1 49.206.248.3 2026-04-02 02:19:31,623 - DEBUG - PING 49.206.248.3 (49.206.248.3): 56 data bytes 64 bytes from 49.206.248.3: seq=0 ttl=63 time=4.741 ms 64 bytes from 49.206.248.3: seq=1 ttl=63 time=0.903 ms 64 bytes from 49.206.248.3: seq=2 ttl=63 time=1.276 ms --- 49.206.248.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.903/2.306/4.741 ms 2026-04-02 02:19:31,624 - INFO - Ping to IP 49.206.248.3 from VM ctest-TestBasicPolicy-67876151-39873692 passed 2026-04-02 02:19:31,800 - DEBUG - Policy Update Response {"network-policy": {"uuid": "be60c596-b6e5-4de4-b923-37b02d6eae78", "href": "http://10.0.0.23:8082/network-policy/be60c596-b6e5-4de4-b923-37b02d6eae78"}} 2026-04-02 02:19:31,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:19:31,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.206.248.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-04-02 02:19:31,800 - DEBUG - ping -s 56 -c 3 -W 1 49.206.248.3 2026-04-02 02:19:35,021 - DEBUG - PING 49.206.248.3 (49.206.248.3): 56 data bytes --- 49.206.248.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-02 02:19:35,021 - WARNING - Ping to IP 49.206.248.3 from VM ctest-TestBasicPolicy-67876151-39873692 failed 2026-04-02 02:19:35,021 - INFO - Deleting VM ctest-TestBasicPolicy-67876151-25571144 2026-04-02 02:19:35,091 - INFO - Deleting VM ctest-TestBasicPolicy-67876151-39873692 2026-04-02 02:19:35,495 - INFO - Deleted policy ctest-policy-allow-all-74121644 2026-04-02 02:19:35,495 - INFO - Deleting VN ctest-vn-53040500 2026-04-02 02:19:35,539 - DEBUG - VN 267b7f94-f7bb-4863-ae49-29d779431695 still in use: Unable to complete operation on network 267b7f94-f7bb-4863-ae49-29d779431695. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8271b87b-5278-4c55-82e3-e1226ed9e142'] 2026-04-02 02:19:35,539 - WARNING - Deleting VN ctest-vn-53040500 failed..Will retry 2026-04-02 02:19:37,641 - DEBUG - Response for deleting network () 2026-04-02 02:19:37,641 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/519f45fc-cd08-4ce4-9afa-24b6c8ddc951 2026-04-02 02:19:37,648 - DEBUG - Response Code: 404 2026-04-02 02:19:37,649 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-04-02 02:19:37,655 - DEBUG - Requesting: http://10.0.0.23:8082/domain/cb4a4c34-6140-4d55-9cdd-4977c46821f5 2026-04-02 02:19:37,709 - DEBUG - Requesting: http://10.0.0.23:8082/project/fd4d9d2a-37d2-4bfd-9e53-1eb1e982f0db 2026-04-02 02:19:37,780 - INFO - Validated that VN ctest-vn-53040500 is not found in API Server 2026-04-02 02:19:37,788 - DEBUG - VN ctest-vn-53040500 is not present in Agent 10.0.0.23 2026-04-02 02:19:37,788 - INFO - Validated that VN ctest-vn-53040500 is not in any agent 2026-04-02 02:19:37,800 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53040500 info 2026-04-02 02:19:37,800 - INFO - Deleting VN ctest-vn-75399393 2026-04-02 02:19:37,904 - DEBUG - Response for deleting network () 2026-04-02 02:19:37,904 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5a05e6dc-8280-4c27-9083-735613837f8f 2026-04-02 02:19:37,909 - DEBUG - Response Code: 404 2026-04-02 02:19:37,909 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-04-02 02:19:37,914 - DEBUG - Requesting: http://10.0.0.23:8082/domain/cb4a4c34-6140-4d55-9cdd-4977c46821f5 2026-04-02 02:19:37,966 - DEBUG - Requesting: http://10.0.0.23:8082/project/fd4d9d2a-37d2-4bfd-9e53-1eb1e982f0db 2026-04-02 02:19:38,042 - INFO - Validated that VN ctest-vn-75399393 is not found in API Server 2026-04-02 02:19:38,052 - DEBUG - VN ctest-vn-75399393 is not present in Agent 10.0.0.23 2026-04-02 02:19:38,052 - INFO - Validated that VN ctest-vn-75399393 is not in any agent 2026-04-02 02:19:38,064 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75399393 info 2026-04-02 02:19:38,321 - DEBUG - No XMPP flaps were noticed during the test 2026-04-02 02:19:38,321 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-04-02 02:19:38,321 - INFO - -------------------------------------------------------------------------------- 2026-04-02 02:19:39,027 - INFO - Deleted project: ctest-TestBasicPolicy-67876151, ID : fd4d9d2a-37d2-4bfd-9e53-1eb1e982f0db