2026-06-17 12:47:09,557 - INFO - Domain Default found not creating 2026-06-17 12:47:09,705 - INFO - Project ctest-TestBasicPolicy-29258693 not found, creating it 2026-06-17 12:47:10,167 - INFO - Created Project:ctest-TestBasicPolicy-29258693, ID : 8fd9c2c6-2253-4a96-972a-54e94adc5488 2026-06-17 12:47:11,678 - INFO - ================================================================================ 2026-06-17 12:47:11,678 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-17 12:47:11,678 - 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-06-17 12:47:11,934 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2026-06-17 12:47:11,934 - INFO - Initial checks done. Running the testcase now 2026-06-17 12:47:11,934 - INFO - 2026-06-17 12:47:12,510 - DEBUG - Response for create_network : {'network': {'id': 'dec8e556-8b61-4fd2-bc7f-383efd7ccca7', 'name': 'ctest-vn-94142482', 'tenant_id': '8fd9c2c622534a96972a54e94adc5488', 'project_id': '8fd9c2c622534a96972a54e94adc5488', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29258693', 'ctest-vn-94142482'], 'port_security_enabled': True, 'description': ''}} 2026-06-17 12:47:12,651 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5b84ffa-83f6-4fe8-9c08-2e70b92311de', 'name': '', 'tenant_id': '8fd9c2c622534a96972a54e94adc5488', 'network_id': 'dec8e556-8b61-4fd2-bc7f-383efd7ccca7', 'ip_version': 4, 'cidr': '5.138.39.64/26', 'allocation_pools': [{'start': '5.138.39.66', 'end': '5.138.39.126'}], 'gateway_ip': '5.138.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.138.39.66', 'tags': [], 'project_id': '8fd9c2c622534a96972a54e94adc5488'}} 2026-06-17 12:47:12,667 - INFO - Created VN ctest-vn-94142482 2026-06-17 12:47:12,719 - DEBUG - VN ctest-vn-94142482 UUID is dec8e556-8b61-4fd2-bc7f-383efd7ccca7 2026-06-17 12:47:13,054 - DEBUG - Response for create_network : {'network': {'id': 'f5f19484-279b-44cf-813b-ba8f33cb6db8', 'name': 'ctest-vn-98204037', 'tenant_id': '8fd9c2c622534a96972a54e94adc5488', 'project_id': '8fd9c2c622534a96972a54e94adc5488', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29258693', 'ctest-vn-98204037'], 'port_security_enabled': True, 'description': ''}} 2026-06-17 12:47:13,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '57eb1260-eaaf-4c5f-ab2d-043a443ef190', 'name': '', 'tenant_id': '8fd9c2c622534a96972a54e94adc5488', 'network_id': 'f5f19484-279b-44cf-813b-ba8f33cb6db8', 'ip_version': 4, 'cidr': '37.107.36.64/26', 'allocation_pools': [{'start': '37.107.36.66', 'end': '37.107.36.126'}], 'gateway_ip': '37.107.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.107.36.66', 'tags': [], 'project_id': '8fd9c2c622534a96972a54e94adc5488'}} 2026-06-17 12:47:13,308 - INFO - Created VN ctest-vn-98204037 2026-06-17 12:47:13,359 - DEBUG - VN ctest-vn-98204037 UUID is f5f19484-279b-44cf-813b-ba8f33cb6db8 2026-06-17 12:47:13,507 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-94142482, 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-29258693:ctest-vn-98204037, 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-06-17 12:47:13,794 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dec8e556-8b61-4fd2-bc7f-383efd7ccca7', 'name': 'ctest-vn-94142482', 'tenant_id': '8fd9c2c622534a96972a54e94adc5488', 'project_id': '8fd9c2c622534a96972a54e94adc5488', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a5b84ffa-83f6-4fe8-9c08-2e70b92311de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29258693', 'ctest-vn-94142482'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29258693', 'ctest-policy-allow-all-29153296']], 'subnet_ipam': [{'subnet_cidr': '5.138.39.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-17 12:47:14,008 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5f19484-279b-44cf-813b-ba8f33cb6db8', 'name': 'ctest-vn-98204037', 'tenant_id': '8fd9c2c622534a96972a54e94adc5488', 'project_id': '8fd9c2c622534a96972a54e94adc5488', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57eb1260-eaaf-4c5f-ab2d-043a443ef190'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29258693', 'ctest-vn-98204037'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29258693', 'ctest-policy-allow-all-29153296']], 'subnet_ipam': [{'subnet_cidr': '37.107.36.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-17 12:47:14,175 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-17 12:47:14,500 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-17 12:47:14,527 - DEBUG - Requesting: http://10.0.0.19:8082/domain/092df93f-d3cb-4142-b010-2e86adaf872e 2026-06-17 12:47:14,538 - DEBUG - Requesting: http://10.0.0.19:8082/project/8fd9c2c6-2253-4a96-972a-54e94adc5488 2026-06-17 12:47:14,613 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dec8e556-8b61-4fd2-bc7f-383efd7ccca7 2026-06-17 12:47:14,625 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dec8e556-8b61-4fd2-bc7f-383efd7ccca7 2026-06-17 12:47:14,633 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1aa34f80-f595-45ff-9db8-6cc20d7f2a97 2026-06-17 12:47:14,640 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1aa34f80-f595-45ff-9db8-6cc20d7f2a97 2026-06-17 12:47:14,646 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/bb26a7ca-93f2-499c-a078-f7b098f0ccf8 2026-06-17 12:47:14,652 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-17 12:47:14,652 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dec8e556-8b61-4fd2-bc7f-383efd7ccca7 2026-06-17 12:47:14,660 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1aa34f80-f595-45ff-9db8-6cc20d7f2a97 2026-06-17 12:47:14,671 - INFO - Verified VN network id 12 for VN dec8e556-8b61-4fd2-bc7f-383efd7ccca7 2026-06-17 12:47:14,671 - INFO - Verifications in API Server for VN ctest-vn-94142482 passed 2026-06-17 12:47:14,671 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dec8e556-8b61-4fd2-bc7f-383efd7ccca7 2026-06-17 12:47:14,679 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1aa34f80-f595-45ff-9db8-6cc20d7f2a97 2026-06-17 12:47:14,685 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1aa34f80-f595-45ff-9db8-6cc20d7f2a97 2026-06-17 12:47:14,691 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/bb26a7ca-93f2-499c-a078-f7b098f0ccf8 2026-06-17 12:47:14,701 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-94142482', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29258693', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16053333031630491602', 'uuid-lslong': '13582636844364647591'}, 'enable': 'true', 'created': '2026-06-17T12:47:12', 'last-modified': '2026-06-17T12:47:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.926236'} 2026-06-17 12:47:14,706 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-17 12:47:14,706 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94142482 passed 2026-06-17 12:47:14,707 - DEBUG - ====Verifying policy data for ctest-vn-94142482 in API_Server ====== 2026-06-17 12:47:14,707 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-17 12:47:14,712 - DEBUG - Requesting: http://10.0.0.19:8082/domain/092df93f-d3cb-4142-b010-2e86adaf872e 2026-06-17 12:47:14,722 - DEBUG - Requesting: http://10.0.0.19:8082/project/8fd9c2c6-2253-4a96-972a-54e94adc5488 2026-06-17 12:47:14,786 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dec8e556-8b61-4fd2-bc7f-383efd7ccca7 2026-06-17 12:47:14,795 - DEBUG - ==>Verifying data for policy with id: 0e23e62b-404f-453b-b948-a3893ac1a97c, fqn: ['default-domain', 'ctest-TestBasicPolicy-29258693', 'ctest-policy-allow-all-29153296'] 2026-06-17 12:47:14,795 - INFO - VN ctest-vn-94142482 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-17 12:47:14,795 - DEBUG - Verifying the vn in opserver 2026-06-17 12:47:14,795 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-94142482 virtual network link through opserver 10.0.0.19 2026-06-17 12:47:14,795 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-17 12:47:15,113 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-17 12:47:15,161 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-94142482', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-94142482?flat'} 2026-06-17 12:47:15,161 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-94142482 is found in opserver 2026-06-17 12:47:15,170 - DEBUG - Do not have enough data to verify VN in agent 2026-06-17 12:47:15,174 - DEBUG - VRF ids for VN ctest-vn-94142482: {} 2026-06-17 12:47:15,174 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-17 12:47:15,179 - DEBUG - Requesting: http://10.0.0.19:8082/domain/092df93f-d3cb-4142-b010-2e86adaf872e 2026-06-17 12:47:15,189 - DEBUG - Requesting: http://10.0.0.19:8082/project/8fd9c2c6-2253-4a96-972a-54e94adc5488 2026-06-17 12:47:15,258 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f5f19484-279b-44cf-813b-ba8f33cb6db8 2026-06-17 12:47:15,268 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f5f19484-279b-44cf-813b-ba8f33cb6db8 2026-06-17 12:47:15,278 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5c07deb6-8424-4207-b44d-17da2c5fa7c5 2026-06-17 12:47:15,285 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5c07deb6-8424-4207-b44d-17da2c5fa7c5 2026-06-17 12:47:15,292 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/17bcca93-9609-42d4-88d5-f16ca793e833 2026-06-17 12:47:15,297 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-17 12:47:15,297 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f5f19484-279b-44cf-813b-ba8f33cb6db8 2026-06-17 12:47:15,306 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5c07deb6-8424-4207-b44d-17da2c5fa7c5 2026-06-17 12:47:15,320 - INFO - Verified VN network id 13 for VN f5f19484-279b-44cf-813b-ba8f33cb6db8 2026-06-17 12:47:15,320 - INFO - Verifications in API Server for VN ctest-vn-98204037 passed 2026-06-17 12:47:15,320 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f5f19484-279b-44cf-813b-ba8f33cb6db8 2026-06-17 12:47:15,328 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5c07deb6-8424-4207-b44d-17da2c5fa7c5 2026-06-17 12:47:15,335 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5c07deb6-8424-4207-b44d-17da2c5fa7c5 2026-06-17 12:47:15,342 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/17bcca93-9609-42d4-88d5-f16ca793e833 2026-06-17 12:47:15,352 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-98204037', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29258693', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17722109304000693455', 'uuid-lslong': '9312241778730692024'}, 'enable': 'true', 'created': '2026-06-17T12:47:13', 'last-modified': '2026-06-17T12:47:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361628'} 2026-06-17 12:47:15,358 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-17 12:47:15,358 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98204037 passed 2026-06-17 12:47:15,358 - DEBUG - ====Verifying policy data for ctest-vn-98204037 in API_Server ====== 2026-06-17 12:47:15,358 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-17 12:47:15,363 - DEBUG - Requesting: http://10.0.0.19:8082/domain/092df93f-d3cb-4142-b010-2e86adaf872e 2026-06-17 12:47:15,375 - DEBUG - Requesting: http://10.0.0.19:8082/project/8fd9c2c6-2253-4a96-972a-54e94adc5488 2026-06-17 12:47:15,453 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f5f19484-279b-44cf-813b-ba8f33cb6db8 2026-06-17 12:47:15,461 - DEBUG - ==>Verifying data for policy with id: 0e23e62b-404f-453b-b948-a3893ac1a97c, fqn: ['default-domain', 'ctest-TestBasicPolicy-29258693', 'ctest-policy-allow-all-29153296'] 2026-06-17 12:47:15,461 - INFO - VN ctest-vn-98204037 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-17 12:47:15,461 - DEBUG - Verifying the vn in opserver 2026-06-17 12:47:15,461 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-98204037 virtual network link through opserver 10.0.0.19 2026-06-17 12:47:15,461 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-17 12:47:15,471 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-98204037', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-98204037?flat'} 2026-06-17 12:47:15,471 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-98204037 is found in opserver 2026-06-17 12:47:15,479 - DEBUG - Do not have enough data to verify VN in agent 2026-06-17 12:47:15,483 - DEBUG - VRF ids for VN ctest-vn-98204037: {} 2026-06-17 12:47:15,537 - DEBUG - Services list from nova: [, , ] 2026-06-17 12:47:16,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5963-1) 2026-06-17 12:47:17,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5963-1) 2026-06-17 12:47:17,665 - INFO - Waiting for VM ctest-TestBasicPolicy-29258693-42051901 to be up.. 2026-06-17 12:47:17,711 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-17 12:47:22,783 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-17 12:47:27,858 - DEBUG - VM is in ACTIVE state now 2026-06-17 12:47:27,858 - INFO - VM name : ctest-TestBasicPolicy-29258693-42051901 2026-06-17 12:47:27,929 - DEBUG - VM ctest-TestBasicPolicy-29258693-42051901 ID is 5d11fb79-d5c8-417c-95ef-63c2b1fa7d8f 2026-06-17 12:47:27,947 - DEBUG - VM ctest-TestBasicPolicy-29258693-42051901 launched on Node cn-jenkins-deploy-platform-ansible-os-5963-1 2026-06-17 12:47:28,028 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/5d11fb79-d5c8-417c-95ef-63c2b1fa7d8f 2026-06-17 12:47:28,036 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b1eb9883-db5d-4371-947a-bb3e9081a797 2026-06-17 12:47:31,273 - 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 1006ms') 2026-06-17 12:47:31,273 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29258693-42051901 failed! 2026-06-17 12:47:31,331 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29258693:ctest-vn-94142482 is 5.138.39.65 and allocation pool is NOT set 2026-06-17 12:47:33,397 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 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 = 0.465/5.001/9.537/4.536 ms') 2026-06-17 12:47:33,397 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29258693-42051901 passed 2026-06-17 12:47:33,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 12:47:33,551 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29258693-42051901, IP 5.138.39.67, Port 22 2026-06-17 12:47:33,723 - DEBUG - VM ctest-TestBasicPolicy-29258693-42051901 is ready for SSH connections 2026-06-17 12:47:33,723 - INFO - Waiting for VM ctest-TestBasicPolicy-29258693-31863522 to be up.. 2026-06-17 12:47:33,803 - DEBUG - VM is in ACTIVE state now 2026-06-17 12:47:33,803 - INFO - VM name : ctest-TestBasicPolicy-29258693-31863522 2026-06-17 12:47:33,895 - DEBUG - VM ctest-TestBasicPolicy-29258693-31863522 ID is 1bf2a373-35b5-48bd-8e1b-357b6d8a9bdd 2026-06-17 12:47:33,895 - DEBUG - VM ctest-TestBasicPolicy-29258693-31863522 launched on Node cn-jenkins-deploy-platform-ansible-os-5963-1 2026-06-17 12:47:33,992 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1bf2a373-35b5-48bd-8e1b-357b6d8a9bdd 2026-06-17 12:47:34,001 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c45b6a98-c5d1-44e4-953c-925b03283d80 2026-06-17 12:47:35,250 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.58 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 = 1.576/3.476/5.377/1.900 ms') 2026-06-17 12:47:35,250 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29258693-31863522 passed 2026-06-17 12:47:35,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 12:47:35,403 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29258693-31863522, IP 37.107.36.67, Port 22 2026-06-17 12:47:35,558 - DEBUG - VM ctest-TestBasicPolicy-29258693-31863522 is ready for SSH connections 2026-06-17 12:47:35,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 12:47:35,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.107.36.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-17 12:47:35,558 - DEBUG - ping -s 56 -c 3 -W 1 37.107.36.67 2026-06-17 12:47:39,448 - DEBUG - PING 37.107.36.67 (37.107.36.67): 56 data bytes 64 bytes from 37.107.36.67: seq=0 ttl=63 time=3.683 ms 64 bytes from 37.107.36.67: seq=1 ttl=63 time=1.078 ms 64 bytes from 37.107.36.67: seq=2 ttl=63 time=1.059 ms --- 37.107.36.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.059/1.940/3.683 ms 2026-06-17 12:47:39,448 - INFO - Ping to IP 37.107.36.67 from VM ctest-TestBasicPolicy-29258693-42051901 passed 2026-06-17 12:47:39,615 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0e23e62b-404f-453b-b948-a3893ac1a97c", "href": "http://10.0.0.19:8082/network-policy/0e23e62b-404f-453b-b948-a3893ac1a97c"}} 2026-06-17 12:47:39,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-17 12:47:39,615 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.107.36.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-17 12:47:39,615 - DEBUG - ping -s 56 -c 3 -W 1 37.107.36.67 2026-06-17 12:47:42,738 - DEBUG - PING 37.107.36.67 (37.107.36.67): 56 data bytes --- 37.107.36.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-17 12:47:42,738 - WARNING - Ping to IP 37.107.36.67 from VM ctest-TestBasicPolicy-29258693-42051901 failed 2026-06-17 12:47:42,738 - INFO - Deleting VM ctest-TestBasicPolicy-29258693-31863522 2026-06-17 12:47:42,819 - INFO - Deleting VM ctest-TestBasicPolicy-29258693-42051901 2026-06-17 12:47:43,176 - INFO - Deleted policy ctest-policy-allow-all-29153296 2026-06-17 12:47:43,176 - INFO - Deleting VN ctest-vn-98204037 2026-06-17 12:47:43,206 - DEBUG - VN f5f19484-279b-44cf-813b-ba8f33cb6db8 still in use: Unable to complete operation on network f5f19484-279b-44cf-813b-ba8f33cb6db8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de322eea-a26c-465f-866e-f23e0eef6bcf'] 2026-06-17 12:47:43,206 - WARNING - Deleting VN ctest-vn-98204037 failed..Will retry 2026-06-17 12:47:45,296 - DEBUG - Response for deleting network () 2026-06-17 12:47:45,296 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5c07deb6-8424-4207-b44d-17da2c5fa7c5 2026-06-17 12:47:45,304 - DEBUG - Response Code: 404 2026-06-17 12:47:45,304 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-17 12:47:45,312 - DEBUG - Requesting: http://10.0.0.19:8082/domain/092df93f-d3cb-4142-b010-2e86adaf872e 2026-06-17 12:47:45,365 - DEBUG - Requesting: http://10.0.0.19:8082/project/8fd9c2c6-2253-4a96-972a-54e94adc5488 2026-06-17 12:47:45,435 - INFO - Validated that VN ctest-vn-98204037 is not found in API Server 2026-06-17 12:47:45,444 - DEBUG - VN ctest-vn-98204037 is not present in Agent 10.0.0.19 2026-06-17 12:47:45,445 - INFO - Validated that VN ctest-vn-98204037 is not in any agent 2026-06-17 12:47:45,458 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98204037 info 2026-06-17 12:47:45,458 - INFO - Deleting VN ctest-vn-94142482 2026-06-17 12:47:45,560 - DEBUG - Response for deleting network () 2026-06-17 12:47:45,560 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1aa34f80-f595-45ff-9db8-6cc20d7f2a97 2026-06-17 12:47:45,564 - DEBUG - Response Code: 404 2026-06-17 12:47:45,565 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-17 12:47:45,569 - DEBUG - Requesting: http://10.0.0.19:8082/domain/092df93f-d3cb-4142-b010-2e86adaf872e 2026-06-17 12:47:45,620 - DEBUG - Requesting: http://10.0.0.19:8082/project/8fd9c2c6-2253-4a96-972a-54e94adc5488 2026-06-17 12:47:45,687 - INFO - Validated that VN ctest-vn-94142482 is not found in API Server 2026-06-17 12:47:45,695 - DEBUG - VN ctest-vn-94142482 is not present in Agent 10.0.0.19 2026-06-17 12:47:45,695 - INFO - Validated that VN ctest-vn-94142482 is not in any agent 2026-06-17 12:47:45,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94142482 info 2026-06-17 12:47:45,972 - DEBUG - No XMPP flaps were noticed during the test 2026-06-17 12:47:45,972 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-06-17 12:47:45,972 - INFO - -------------------------------------------------------------------------------- 2026-06-17 12:47:46,747 - INFO - Deleted project: ctest-TestBasicPolicy-29258693, ID : 8fd9c2c6-2253-4a96-972a-54e94adc5488