2026-04-20 16:33:44,483 - INFO - Domain Default found not creating 2026-04-20 16:33:44,677 - INFO - Project ctest-TestBasicPolicy-70837897 not found, creating it 2026-04-20 16:33:45,159 - INFO - Created Project:ctest-TestBasicPolicy-70837897, ID : 13088b07-6099-4d1b-b9fd-e0598fd8ee06 2026-04-20 16:33:46,782 - INFO - ================================================================================ 2026-04-20 16:33:46,782 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-20 16:33:46,782 - 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-20 16:33:47,052 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2026-04-20 16:33:47,052 - INFO - Initial checks done. Running the testcase now 2026-04-20 16:33:47,052 - INFO - 2026-04-20 16:33:47,627 - DEBUG - Response for create_network : {'network': {'id': '731823e1-5699-4c8a-8eaa-f903b4a02fea', 'name': 'ctest-vn-75193859', 'tenant_id': '13088b0760994d1bb9fde0598fd8ee06', 'project_id': '13088b0760994d1bb9fde0598fd8ee06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70837897', 'ctest-vn-75193859'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:33:47,844 - DEBUG - Response for create_subnet : {'subnet': {'id': '6beed26a-b3b8-4254-af8e-4a9032c1daa2', 'name': '', 'tenant_id': '13088b0760994d1bb9fde0598fd8ee06', 'network_id': '731823e1-5699-4c8a-8eaa-f903b4a02fea', 'ip_version': 4, 'cidr': '92.58.50.192/26', 'allocation_pools': [{'start': '92.58.50.194', 'end': '92.58.50.254'}], 'gateway_ip': '92.58.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.58.50.194', 'tags': [], 'project_id': '13088b0760994d1bb9fde0598fd8ee06'}} 2026-04-20 16:33:47,862 - INFO - Created VN ctest-vn-75193859 2026-04-20 16:33:47,915 - DEBUG - VN ctest-vn-75193859 UUID is 731823e1-5699-4c8a-8eaa-f903b4a02fea 2026-04-20 16:33:48,221 - DEBUG - Response for create_network : {'network': {'id': 'f1cdf214-3afa-456d-94bf-173fc77bc9ba', 'name': 'ctest-vn-55023717', 'tenant_id': '13088b0760994d1bb9fde0598fd8ee06', 'project_id': '13088b0760994d1bb9fde0598fd8ee06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70837897', 'ctest-vn-55023717'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:33:48,396 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d4de821-c1ce-421b-a90b-c1ed7518fc83', 'name': '', 'tenant_id': '13088b0760994d1bb9fde0598fd8ee06', 'network_id': 'f1cdf214-3afa-456d-94bf-173fc77bc9ba', 'ip_version': 4, 'cidr': '53.166.118.192/26', 'allocation_pools': [{'start': '53.166.118.194', 'end': '53.166.118.254'}], 'gateway_ip': '53.166.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.166.118.194', 'tags': [], 'project_id': '13088b0760994d1bb9fde0598fd8ee06'}} 2026-04-20 16:33:48,415 - INFO - Created VN ctest-vn-55023717 2026-04-20 16:33:48,467 - DEBUG - VN ctest-vn-55023717 UUID is f1cdf214-3afa-456d-94bf-173fc77bc9ba 2026-04-20 16:33:48,588 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-75193859, 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-70837897:ctest-vn-55023717, 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-20 16:33:48,884 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '731823e1-5699-4c8a-8eaa-f903b4a02fea', 'name': 'ctest-vn-75193859', 'tenant_id': '13088b0760994d1bb9fde0598fd8ee06', 'project_id': '13088b0760994d1bb9fde0598fd8ee06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6beed26a-b3b8-4254-af8e-4a9032c1daa2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70837897', 'ctest-vn-75193859'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70837897', 'ctest-policy-allow-all-78559278']], 'subnet_ipam': [{'subnet_cidr': '92.58.50.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:33:49,114 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1cdf214-3afa-456d-94bf-173fc77bc9ba', 'name': 'ctest-vn-55023717', 'tenant_id': '13088b0760994d1bb9fde0598fd8ee06', 'project_id': '13088b0760994d1bb9fde0598fd8ee06', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8d4de821-c1ce-421b-a90b-c1ed7518fc83'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70837897', 'ctest-vn-55023717'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70837897', 'ctest-policy-allow-all-78559278']], 'subnet_ipam': [{'subnet_cidr': '53.166.118.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:33:49,275 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-20 16:33:49,571 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-20 16:33:49,605 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2e599472-dfbb-44ed-b398-bd02b3b02a68 2026-04-20 16:33:49,617 - DEBUG - Requesting: http://10.0.0.27:8082/project/13088b07-6099-4d1b-b9fd-e0598fd8ee06 2026-04-20 16:33:49,691 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/731823e1-5699-4c8a-8eaa-f903b4a02fea 2026-04-20 16:33:49,704 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/731823e1-5699-4c8a-8eaa-f903b4a02fea 2026-04-20 16:33:49,715 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/83c8068b-cf88-45ea-acea-6f175f661726 2026-04-20 16:33:49,724 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/83c8068b-cf88-45ea-acea-6f175f661726 2026-04-20 16:33:49,732 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3918c48f-a5fd-45a2-bdb8-b01049d0bf43 2026-04-20 16:33:49,739 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 16:33:49,739 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/731823e1-5699-4c8a-8eaa-f903b4a02fea 2026-04-20 16:33:49,748 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/83c8068b-cf88-45ea-acea-6f175f661726 2026-04-20 16:33:49,768 - INFO - Verified VN network id 11 for VN 731823e1-5699-4c8a-8eaa-f903b4a02fea 2026-04-20 16:33:49,768 - INFO - Verifications in API Server for VN ctest-vn-75193859 passed 2026-04-20 16:33:49,768 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/731823e1-5699-4c8a-8eaa-f903b4a02fea 2026-04-20 16:33:49,780 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/83c8068b-cf88-45ea-acea-6f175f661726 2026-04-20 16:33:49,788 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/83c8068b-cf88-45ea-acea-6f175f661726 2026-04-20 16:33:49,798 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3918c48f-a5fd-45a2-bdb8-b01049d0bf43 2026-04-20 16:33:49,810 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-75193859', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70837897', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8293418164530269322', 'uuid-lslong': '10280302893737193450'}, 'enable': 'true', 'created': '2026-04-20T16:33:47', 'last-modified': '2026-04-20T16:33:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953636'} 2026-04-20 16:33:49,819 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 16:33:49,819 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75193859 passed 2026-04-20 16:33:49,819 - DEBUG - ====Verifying policy data for ctest-vn-75193859 in API_Server ====== 2026-04-20 16:33:49,819 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-20 16:33:49,828 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2e599472-dfbb-44ed-b398-bd02b3b02a68 2026-04-20 16:33:49,843 - DEBUG - Requesting: http://10.0.0.27:8082/project/13088b07-6099-4d1b-b9fd-e0598fd8ee06 2026-04-20 16:33:49,914 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/731823e1-5699-4c8a-8eaa-f903b4a02fea 2026-04-20 16:33:49,926 - DEBUG - ==>Verifying data for policy with id: 2816ea50-eb71-4a95-b3b2-d258cdec7e5a, fqn: ['default-domain', 'ctest-TestBasicPolicy-70837897', 'ctest-policy-allow-all-78559278'] 2026-04-20 16:33:49,926 - INFO - VN ctest-vn-75193859 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 16:33:49,926 - DEBUG - Verifying the vn in opserver 2026-04-20 16:33:49,926 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-75193859 virtual network link through opserver 10.0.0.27 2026-04-20 16:33:49,927 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-20 16:33:50,228 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-20 16:33:50,309 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-75193859', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-75193859?flat'} 2026-04-20 16:33:50,309 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-75193859 is found in opserver 2026-04-20 16:33:50,321 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 16:33:50,326 - DEBUG - VRF ids for VN ctest-vn-75193859: {} 2026-04-20 16:33:50,326 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-20 16:33:50,332 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2e599472-dfbb-44ed-b398-bd02b3b02a68 2026-04-20 16:33:50,344 - DEBUG - Requesting: http://10.0.0.27:8082/project/13088b07-6099-4d1b-b9fd-e0598fd8ee06 2026-04-20 16:33:50,417 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f1cdf214-3afa-456d-94bf-173fc77bc9ba 2026-04-20 16:33:50,431 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f1cdf214-3afa-456d-94bf-173fc77bc9ba 2026-04-20 16:33:50,441 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a4dc2146-72df-4bef-bb7b-853cd5792910 2026-04-20 16:33:50,449 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a4dc2146-72df-4bef-bb7b-853cd5792910 2026-04-20 16:33:50,457 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d3fdabd9-61e9-40ca-8638-004f426eb498 2026-04-20 16:33:50,464 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 16:33:50,465 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f1cdf214-3afa-456d-94bf-173fc77bc9ba 2026-04-20 16:33:50,475 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a4dc2146-72df-4bef-bb7b-853cd5792910 2026-04-20 16:33:50,495 - INFO - Verified VN network id 12 for VN f1cdf214-3afa-456d-94bf-173fc77bc9ba 2026-04-20 16:33:50,495 - INFO - Verifications in API Server for VN ctest-vn-55023717 passed 2026-04-20 16:33:50,496 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f1cdf214-3afa-456d-94bf-173fc77bc9ba 2026-04-20 16:33:50,508 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a4dc2146-72df-4bef-bb7b-853cd5792910 2026-04-20 16:33:50,519 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a4dc2146-72df-4bef-bb7b-853cd5792910 2026-04-20 16:33:50,526 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d3fdabd9-61e9-40ca-8638-004f426eb498 2026-04-20 16:33:50,539 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-55023717', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70837897', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17423848702069065069', 'uuid-lslong': '10718311200862226874'}, 'enable': 'true', 'created': '2026-04-20T16:33:48', 'last-modified': '2026-04-20T16:33:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.441861'} 2026-04-20 16:33:50,545 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 16:33:50,546 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55023717 passed 2026-04-20 16:33:50,546 - DEBUG - ====Verifying policy data for ctest-vn-55023717 in API_Server ====== 2026-04-20 16:33:50,546 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-20 16:33:50,552 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2e599472-dfbb-44ed-b398-bd02b3b02a68 2026-04-20 16:33:50,565 - DEBUG - Requesting: http://10.0.0.27:8082/project/13088b07-6099-4d1b-b9fd-e0598fd8ee06 2026-04-20 16:33:50,638 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f1cdf214-3afa-456d-94bf-173fc77bc9ba 2026-04-20 16:33:50,647 - DEBUG - ==>Verifying data for policy with id: 2816ea50-eb71-4a95-b3b2-d258cdec7e5a, fqn: ['default-domain', 'ctest-TestBasicPolicy-70837897', 'ctest-policy-allow-all-78559278'] 2026-04-20 16:33:50,647 - INFO - VN ctest-vn-55023717 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 16:33:50,647 - DEBUG - Verifying the vn in opserver 2026-04-20 16:33:50,647 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-55023717 virtual network link through opserver 10.0.0.27 2026-04-20 16:33:50,647 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-04-20 16:33:50,658 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-55023717', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-55023717?flat'} 2026-04-20 16:33:50,658 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-55023717 is found in opserver 2026-04-20 16:33:50,669 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 16:33:50,674 - DEBUG - VRF ids for VN ctest-vn-55023717: {} 2026-04-20 16:33:50,740 - DEBUG - Services list from nova: [, , ] 2026-04-20 16:33:51,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5653-1) 2026-04-20 16:33:53,036 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5653-1) 2026-04-20 16:33:53,036 - INFO - Waiting for VM ctest-TestBasicPolicy-70837897-03188077 to be up.. 2026-04-20 16:33:53,125 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 16:33:58,236 - DEBUG - VM is in ACTIVE state now 2026-04-20 16:33:58,237 - INFO - VM name : ctest-TestBasicPolicy-70837897-03188077 2026-04-20 16:33:58,327 - DEBUG - VM ctest-TestBasicPolicy-70837897-03188077 ID is 427b7e5e-3f7d-4c40-8772-4ed0c5685b57 2026-04-20 16:33:58,351 - DEBUG - VM ctest-TestBasicPolicy-70837897-03188077 launched on Node cn-jenkins-deploy-platform-ansible-os-5653-1 2026-04-20 16:33:58,444 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/427b7e5e-3f7d-4c40-8772-4ed0c5685b57 2026-04-20 16:33:58,454 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6a9319d8-50c6-42fa-a0d3-a6e5484827e0 2026-04-20 16:34:01,705 - 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 1012ms') 2026-04-20 16:34:01,705 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70837897-03188077 failed! 2026-04-20 16:34:01,759 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70837897:ctest-vn-75193859 is 92.58.50.193 and allocation pool is NOT set 2026-04-20 16:34:03,822 - 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=7.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.98 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.975/5.158/7.341/2.183 ms') 2026-04-20 16:34:03,823 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70837897-03188077 passed 2026-04-20 16:34:03,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:34:03,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70837897-03188077, IP 92.58.50.195, Port 22 2026-04-20 16:34:04,130 - DEBUG - VM ctest-TestBasicPolicy-70837897-03188077 is ready for SSH connections 2026-04-20 16:34:04,130 - INFO - Waiting for VM ctest-TestBasicPolicy-70837897-36074219 to be up.. 2026-04-20 16:34:04,217 - DEBUG - VM is in ACTIVE state now 2026-04-20 16:34:04,217 - INFO - VM name : ctest-TestBasicPolicy-70837897-36074219 2026-04-20 16:34:04,296 - DEBUG - VM ctest-TestBasicPolicy-70837897-36074219 ID is 5206e3d2-b92f-49c8-9104-9851e1b43ced 2026-04-20 16:34:04,297 - DEBUG - VM ctest-TestBasicPolicy-70837897-36074219 launched on Node cn-jenkins-deploy-platform-ansible-os-5653-1 2026-04-20 16:34:04,378 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5206e3d2-b92f-49c8-9104-9851e1b43ced 2026-04-20 16:34:04,387 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e1f15fb7-2e8f-4c54-99f7-13835fb615f4 2026-04-20 16:34:05,628 - 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=5.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.26 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 = 1.260/3.377/5.494/2.117 ms') 2026-04-20 16:34:05,628 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70837897-36074219 passed 2026-04-20 16:34:05,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:34:05,779 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70837897-36074219, IP 53.166.118.195, Port 22 2026-04-20 16:34:05,934 - DEBUG - VM ctest-TestBasicPolicy-70837897-36074219 is ready for SSH connections 2026-04-20 16:34:05,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:34:05,934 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.166.118.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-04-20 16:34:05,935 - DEBUG - ping -s 56 -c 3 -W 1 53.166.118.195 2026-04-20 16:34:10,055 - DEBUG - PING 53.166.118.195 (53.166.118.195): 56 data bytes 64 bytes from 53.166.118.195: seq=0 ttl=63 time=4.968 ms 64 bytes from 53.166.118.195: seq=1 ttl=63 time=1.092 ms 64 bytes from 53.166.118.195: seq=2 ttl=63 time=0.932 ms --- 53.166.118.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.932/2.330/4.968 ms 2026-04-20 16:34:10,055 - INFO - Ping to IP 53.166.118.195 from VM ctest-TestBasicPolicy-70837897-03188077 passed 2026-04-20 16:34:10,231 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2816ea50-eb71-4a95-b3b2-d258cdec7e5a", "href": "http://10.0.0.27:8082/network-policy/2816ea50-eb71-4a95-b3b2-d258cdec7e5a"}} 2026-04-20 16:34:10,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:34:10,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.166.118.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-04-20 16:34:10,231 - DEBUG - ping -s 56 -c 3 -W 1 53.166.118.195 2026-04-20 16:34:13,454 - DEBUG - PING 53.166.118.195 (53.166.118.195): 56 data bytes --- 53.166.118.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-20 16:34:13,454 - WARNING - Ping to IP 53.166.118.195 from VM ctest-TestBasicPolicy-70837897-03188077 failed 2026-04-20 16:34:13,454 - INFO - Deleting VM ctest-TestBasicPolicy-70837897-36074219 2026-04-20 16:34:13,528 - INFO - Deleting VM ctest-TestBasicPolicy-70837897-03188077 2026-04-20 16:34:13,941 - INFO - Deleted policy ctest-policy-allow-all-78559278 2026-04-20 16:34:13,941 - INFO - Deleting VN ctest-vn-55023717 2026-04-20 16:34:13,986 - DEBUG - VN f1cdf214-3afa-456d-94bf-173fc77bc9ba still in use: Unable to complete operation on network f1cdf214-3afa-456d-94bf-173fc77bc9ba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-17c11020-e492-47ac-8387-272f912fa6f9'] 2026-04-20 16:34:13,986 - WARNING - Deleting VN ctest-vn-55023717 failed..Will retry 2026-04-20 16:34:16,106 - DEBUG - Response for deleting network () 2026-04-20 16:34:16,107 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a4dc2146-72df-4bef-bb7b-853cd5792910 2026-04-20 16:34:16,113 - DEBUG - Response Code: 404 2026-04-20 16:34:16,113 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-20 16:34:16,120 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2e599472-dfbb-44ed-b398-bd02b3b02a68 2026-04-20 16:34:16,180 - DEBUG - Requesting: http://10.0.0.27:8082/project/13088b07-6099-4d1b-b9fd-e0598fd8ee06 2026-04-20 16:34:16,258 - INFO - Validated that VN ctest-vn-55023717 is not found in API Server 2026-04-20 16:34:16,270 - DEBUG - VN ctest-vn-55023717 is not present in Agent 10.0.0.27 2026-04-20 16:34:16,270 - INFO - Validated that VN ctest-vn-55023717 is not in any agent 2026-04-20 16:34:16,287 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55023717 info 2026-04-20 16:34:16,287 - INFO - Deleting VN ctest-vn-75193859 2026-04-20 16:34:16,415 - DEBUG - Response for deleting network () 2026-04-20 16:34:16,415 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/83c8068b-cf88-45ea-acea-6f175f661726 2026-04-20 16:34:16,427 - DEBUG - Response Code: 404 2026-04-20 16:34:16,427 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-04-20 16:34:16,434 - DEBUG - Requesting: http://10.0.0.27:8082/domain/2e599472-dfbb-44ed-b398-bd02b3b02a68 2026-04-20 16:34:16,488 - DEBUG - Requesting: http://10.0.0.27:8082/project/13088b07-6099-4d1b-b9fd-e0598fd8ee06 2026-04-20 16:34:16,563 - INFO - Validated that VN ctest-vn-75193859 is not found in API Server 2026-04-20 16:34:16,575 - DEBUG - VN ctest-vn-75193859 is not present in Agent 10.0.0.27 2026-04-20 16:34:16,575 - INFO - Validated that VN ctest-vn-75193859 is not in any agent 2026-04-20 16:34:16,591 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75193859 info 2026-04-20 16:34:16,849 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 16:34:16,849 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-04-20 16:34:16,849 - INFO - -------------------------------------------------------------------------------- 2026-04-20 16:34:17,567 - INFO - Deleted project: ctest-TestBasicPolicy-70837897, ID : 13088b07-6099-4d1b-b9fd-e0598fd8ee06