2026-08-14 08:30:02,724 - INFO - Domain Default found not creating 2026-08-14 08:30:02,911 - INFO - Project ctest-TestBasicPolicy-90487064 not found, creating it 2026-08-14 08:30:03,456 - INFO - Created Project:ctest-TestBasicPolicy-90487064, ID : 77dba848-453c-4fda-a5cc-7adc5af591ef 2026-08-14 08:30:05,825 - INFO - ================================================================================ 2026-08-14 08:30:05,825 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-14 08:30:05,825 - 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-08-14 08:30:06,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with 2026-08-14 08:30:06,083 - INFO - Initial checks done. Running the testcase now 2026-08-14 08:30:06,084 - INFO - 2026-08-14 08:30:06,667 - DEBUG - Response for create_network : {'network': {'id': '2344016e-dca6-4f25-8604-a610167b43d6', 'name': 'ctest-vn-76093321', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'project_id': '77dba848453c4fdaa5cc7adc5af591ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-vn-76093321'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:30:06,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b279061-4d36-490a-9c26-41ab56751324', 'name': '', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'network_id': '2344016e-dca6-4f25-8604-a610167b43d6', 'ip_version': 4, 'cidr': '47.21.65.128/26', 'allocation_pools': [{'start': '47.21.65.130', 'end': '47.21.65.190'}], 'gateway_ip': '47.21.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.21.65.130', 'tags': [], 'project_id': '77dba848453c4fdaa5cc7adc5af591ef'}} 2026-08-14 08:30:06,941 - INFO - Created VN ctest-vn-76093321 2026-08-14 08:30:06,998 - DEBUG - VN ctest-vn-76093321 UUID is 2344016e-dca6-4f25-8604-a610167b43d6 2026-08-14 08:30:07,345 - DEBUG - Response for create_network : {'network': {'id': '8f4f1e38-51ae-4902-83d9-c1a93c799162', 'name': 'ctest-vn-21249589', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'project_id': '77dba848453c4fdaa5cc7adc5af591ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-vn-21249589'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:30:07,549 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4082595-0284-460c-a39b-aa6d03efef55', 'name': '', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'network_id': '8f4f1e38-51ae-4902-83d9-c1a93c799162', 'ip_version': 4, 'cidr': '172.0.24.64/26', 'allocation_pools': [{'start': '172.0.24.66', 'end': '172.0.24.126'}], 'gateway_ip': '172.0.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.0.24.66', 'tags': [], 'project_id': '77dba848453c4fdaa5cc7adc5af591ef'}} 2026-08-14 08:30:07,566 - INFO - Created VN ctest-vn-21249589 2026-08-14 08:30:07,621 - DEBUG - VN ctest-vn-21249589 UUID is 8f4f1e38-51ae-4902-83d9-c1a93c799162 2026-08-14 08:30:07,738 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321, 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-90487064:ctest-vn-21249589, 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-08-14 08:30:08,107 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2344016e-dca6-4f25-8604-a610167b43d6', 'name': 'ctest-vn-76093321', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'project_id': '77dba848453c4fdaa5cc7adc5af591ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b279061-4d36-490a-9c26-41ab56751324'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-vn-76093321'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-policy-allow-all-50518774']], 'subnet_ipam': [{'subnet_cidr': '47.21.65.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:30:08,366 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f4f1e38-51ae-4902-83d9-c1a93c799162', 'name': 'ctest-vn-21249589', 'tenant_id': '77dba848453c4fdaa5cc7adc5af591ef', 'project_id': '77dba848453c4fdaa5cc7adc5af591ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c4082595-0284-460c-a39b-aa6d03efef55'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-vn-21249589'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-policy-allow-all-50518774']], 'subnet_ipam': [{'subnet_cidr': '172.0.24.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:30:08,529 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 08:30:08,863 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 08:30:08,897 - DEBUG - Requesting: http://10.0.0.251:8082/domain/61da83f1-b4e3-4875-a9e6-777dfa6d5fce 2026-08-14 08:30:08,911 - DEBUG - Requesting: http://10.0.0.251:8082/project/77dba848-453c-4fda-a5cc-7adc5af591ef 2026-08-14 08:30:08,995 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/2344016e-dca6-4f25-8604-a610167b43d6 2026-08-14 08:30:09,007 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/2344016e-dca6-4f25-8604-a610167b43d6 2026-08-14 08:30:09,019 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1 2026-08-14 08:30:09,028 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1 2026-08-14 08:30:09,036 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/b1421568-c198-47b4-a4cf-7f83755ae54d 2026-08-14 08:30:09,044 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-14 08:30:09,044 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/2344016e-dca6-4f25-8604-a610167b43d6 2026-08-14 08:30:09,054 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1 2026-08-14 08:30:09,070 - INFO - Verified VN network id 11 for VN 2344016e-dca6-4f25-8604-a610167b43d6 2026-08-14 08:30:09,070 - INFO - Verifications in API Server for VN ctest-vn-76093321 passed 2026-08-14 08:30:09,070 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/2344016e-dca6-4f25-8604-a610167b43d6 2026-08-14 08:30:09,081 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1 2026-08-14 08:30:09,091 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1 2026-08-14 08:30:09,100 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/b1421568-c198-47b4-a4cf-7f83755ae54d 2026-08-14 08:30:09,116 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90487064', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2541157665403719461', 'uuid-lslong': '9657026089016050646'}, 'enable': 'true', 'created': '2026-08-14T08:30:06', 'last-modified': '2026-08-14T08:30:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.034917'} 2026-08-14 08:30:09,124 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-14 08:30:09,124 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76093321 passed 2026-08-14 08:30:09,125 - DEBUG - ====Verifying policy data for ctest-vn-76093321 in API_Server ====== 2026-08-14 08:30:09,125 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 08:30:09,131 - DEBUG - Requesting: http://10.0.0.251:8082/domain/61da83f1-b4e3-4875-a9e6-777dfa6d5fce 2026-08-14 08:30:09,143 - DEBUG - Requesting: http://10.0.0.251:8082/project/77dba848-453c-4fda-a5cc-7adc5af591ef 2026-08-14 08:30:09,220 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/2344016e-dca6-4f25-8604-a610167b43d6 2026-08-14 08:30:09,230 - DEBUG - ==>Verifying data for policy with id: 18a785c2-32d1-4125-bf6d-4a1d3e6785a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-policy-allow-all-50518774'] 2026-08-14 08:30:09,231 - INFO - VN ctest-vn-76093321 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 08:30:09,231 - DEBUG - Verifying the vn in opserver 2026-08-14 08:30:09,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321 virtual network link through opserver 10.0.0.251 2026-08-14 08:30:09,231 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-08-14 08:30:09,563 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-08-14 08:30:09,627 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321?flat'} 2026-08-14 08:30:09,627 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-76093321 is found in opserver 2026-08-14 08:30:09,640 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 08:30:09,645 - DEBUG - VRF ids for VN ctest-vn-76093321: {} 2026-08-14 08:30:09,645 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 08:30:09,650 - DEBUG - Requesting: http://10.0.0.251:8082/domain/61da83f1-b4e3-4875-a9e6-777dfa6d5fce 2026-08-14 08:30:09,661 - DEBUG - Requesting: http://10.0.0.251:8082/project/77dba848-453c-4fda-a5cc-7adc5af591ef 2026-08-14 08:30:09,734 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8f4f1e38-51ae-4902-83d9-c1a93c799162 2026-08-14 08:30:09,745 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8f4f1e38-51ae-4902-83d9-c1a93c799162 2026-08-14 08:30:09,755 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3 2026-08-14 08:30:09,762 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3 2026-08-14 08:30:09,770 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/a3533317-af5d-4b44-ad0d-c3f15c162ee4 2026-08-14 08:30:09,778 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 08:30:09,778 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8f4f1e38-51ae-4902-83d9-c1a93c799162 2026-08-14 08:30:09,788 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3 2026-08-14 08:30:09,804 - INFO - Verified VN network id 12 for VN 8f4f1e38-51ae-4902-83d9-c1a93c799162 2026-08-14 08:30:09,805 - INFO - Verifications in API Server for VN ctest-vn-21249589 passed 2026-08-14 08:30:09,805 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8f4f1e38-51ae-4902-83d9-c1a93c799162 2026-08-14 08:30:09,816 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3 2026-08-14 08:30:09,824 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3 2026-08-14 08:30:09,832 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/a3533317-af5d-4b44-ad0d-c3f15c162ee4 2026-08-14 08:30:09,847 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-21249589', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90487064', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10326505697821214978', 'uuid-lslong': '9500837821523005794'}, 'enable': 'true', 'created': '2026-08-14T08:30:07', 'last-modified': '2026-08-14T08:30:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.515359'} 2026-08-14 08:30:09,854 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 08:30:09,854 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21249589 passed 2026-08-14 08:30:09,854 - DEBUG - ====Verifying policy data for ctest-vn-21249589 in API_Server ====== 2026-08-14 08:30:09,854 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 08:30:09,860 - DEBUG - Requesting: http://10.0.0.251:8082/domain/61da83f1-b4e3-4875-a9e6-777dfa6d5fce 2026-08-14 08:30:09,870 - DEBUG - Requesting: http://10.0.0.251:8082/project/77dba848-453c-4fda-a5cc-7adc5af591ef 2026-08-14 08:30:09,948 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/8f4f1e38-51ae-4902-83d9-c1a93c799162 2026-08-14 08:30:09,958 - DEBUG - ==>Verifying data for policy with id: 18a785c2-32d1-4125-bf6d-4a1d3e6785a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-90487064', 'ctest-policy-allow-all-50518774'] 2026-08-14 08:30:09,958 - INFO - VN ctest-vn-21249589 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 08:30:09,958 - DEBUG - Verifying the vn in opserver 2026-08-14 08:30:09,958 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-21249589 virtual network link through opserver 10.0.0.251 2026-08-14 08:30:09,958 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks 2026-08-14 08:30:09,970 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-21249589', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-21249589?flat'} 2026-08-14 08:30:09,970 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90487064:ctest-vn-21249589 is found in opserver 2026-08-14 08:30:09,981 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 08:30:09,986 - DEBUG - VRF ids for VN ctest-vn-21249589: {} 2026-08-14 08:30:10,048 - DEBUG - Services list from nova: [, , ] 2026-08-14 08:30:10,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6158-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6158-30) 2026-08-14 08:30:10,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6158-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6158-30) 2026-08-14 08:30:10,895 - INFO - Waiting for VM ctest-TestBasicPolicy-90487064-97191127 to be up.. 2026-08-14 08:30:10,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:30:16,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:30:21,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:30:26,181 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:30:31,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:30:36,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:30:41,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:30:46,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:30:51,619 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:30:51,620 - INFO - VM name : ctest-TestBasicPolicy-90487064-97191127 2026-08-14 08:30:51,707 - DEBUG - VM ctest-TestBasicPolicy-90487064-97191127 ID is 58ca351f-ff24-4c0e-9d46-f590aa6b0720 2026-08-14 08:30:51,728 - DEBUG - VM ctest-TestBasicPolicy-90487064-97191127 launched on Node cn-jenkins-deploy-platform-ansible-os-6158-30 2026-08-14 08:30:51,806 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/58ca351f-ff24-4c0e-9d46-f590aa6b0720 2026-08-14 08:30:51,815 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/ed077574-79bd-49f9-aa9d-02bef1b90a06 2026-08-14 08:30:55,087 - 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=2 ttl=63 time=4.40 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1025ms\r\nrtt min/avg/max/mdev = 4.403/4.403/4.403/0.000 ms') 2026-08-14 08:30:55,087 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90487064-97191127 passed 2026-08-14 08:30:55,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:30:55,242 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90487064-97191127, IP 47.21.65.131, Port 22 2026-08-14 08:30:55,408 - DEBUG - VM ctest-TestBasicPolicy-90487064-97191127 is ready for SSH connections 2026-08-14 08:30:55,408 - INFO - Waiting for VM ctest-TestBasicPolicy-90487064-43483218 to be up.. 2026-08-14 08:30:55,500 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:30:55,501 - INFO - VM name : ctest-TestBasicPolicy-90487064-43483218 2026-08-14 08:30:55,589 - DEBUG - VM ctest-TestBasicPolicy-90487064-43483218 ID is 70e53c96-f238-4467-b000-85fa3fd33cb1 2026-08-14 08:30:55,589 - DEBUG - VM ctest-TestBasicPolicy-90487064-43483218 launched on Node cn-jenkins-deploy-platform-ansible-os-6158-30 2026-08-14 08:30:55,671 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/70e53c96-f238-4467-b000-85fa3fd33cb1 2026-08-14 08:30:55,681 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/5e64f13f-1def-4f01-a8bc-356b69e77d79 2026-08-14 08:30:56,932 - 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=7.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.59 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 = 2.585/4.847/7.109/2.262 ms') 2026-08-14 08:30:56,933 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90487064-43483218 passed 2026-08-14 08:30:57,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:30:57,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90487064-43483218, IP 172.0.24.67, Port 22 2026-08-14 08:30:57,242 - DEBUG - VM ctest-TestBasicPolicy-90487064-43483218 is ready for SSH connections 2026-08-14 08:30:57,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:30:57,242 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.0.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-08-14 08:30:57,242 - DEBUG - ping -s 56 -c 3 -W 1 172.0.24.67 2026-08-14 08:31:01,192 - DEBUG - PING 172.0.24.67 (172.0.24.67): 56 data bytes 64 bytes from 172.0.24.67: seq=0 ttl=63 time=6.300 ms 64 bytes from 172.0.24.67: seq=1 ttl=63 time=0.958 ms 64 bytes from 172.0.24.67: seq=2 ttl=63 time=1.363 ms --- 172.0.24.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.958/2.873/6.300 ms 2026-08-14 08:31:01,192 - INFO - Ping to IP 172.0.24.67 from VM ctest-TestBasicPolicy-90487064-97191127 passed 2026-08-14 08:31:01,385 - DEBUG - Policy Update Response {"network-policy": {"uuid": "18a785c2-32d1-4125-bf6d-4a1d3e6785a2", "href": "http://10.0.0.251:8082/network-policy/18a785c2-32d1-4125-bf6d-4a1d3e6785a2"}} 2026-08-14 08:31:01,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:31:01,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.0.24.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-08-14 08:31:01,386 - DEBUG - ping -s 56 -c 3 -W 1 172.0.24.67 2026-08-14 08:31:04,515 - DEBUG - PING 172.0.24.67 (172.0.24.67): 56 data bytes 64 bytes from 172.0.24.67: seq=0 ttl=63 time=1.725 ms --- 172.0.24.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.725/1.725/1.725 ms 2026-08-14 08:31:04,515 - WARNING - Ping to IP 172.0.24.67 from VM ctest-TestBasicPolicy-90487064-97191127 failed 2026-08-14 08:31:04,515 - INFO - Deleting VM ctest-TestBasicPolicy-90487064-43483218 2026-08-14 08:31:04,593 - INFO - Deleting VM ctest-TestBasicPolicy-90487064-97191127 2026-08-14 08:31:04,970 - INFO - Deleted policy ctest-policy-allow-all-50518774 2026-08-14 08:31:04,971 - INFO - Deleting VN ctest-vn-21249589 2026-08-14 08:31:05,001 - DEBUG - VN 8f4f1e38-51ae-4902-83d9-c1a93c799162 still in use: Unable to complete operation on network 8f4f1e38-51ae-4902-83d9-c1a93c799162. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e5490be-1c08-4b70-ac9e-3068e92c07d4'] 2026-08-14 08:31:05,001 - WARNING - Deleting VN ctest-vn-21249589 failed..Will retry 2026-08-14 08:31:07,142 - DEBUG - Response for deleting network () 2026-08-14 08:31:07,142 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/f6b170af-0b65-4d15-9ba2-4ad16c5475c3 2026-08-14 08:31:07,149 - DEBUG - Response Code: 404 2026-08-14 08:31:07,149 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 08:31:07,157 - DEBUG - Requesting: http://10.0.0.251:8082/domain/61da83f1-b4e3-4875-a9e6-777dfa6d5fce 2026-08-14 08:31:07,220 - DEBUG - Requesting: http://10.0.0.251:8082/project/77dba848-453c-4fda-a5cc-7adc5af591ef 2026-08-14 08:31:07,301 - INFO - Validated that VN ctest-vn-21249589 is not found in API Server 2026-08-14 08:31:07,311 - DEBUG - VN ctest-vn-21249589 is not present in Agent 10.0.0.251 2026-08-14 08:31:07,311 - INFO - Validated that VN ctest-vn-21249589 is not in any agent 2026-08-14 08:31:07,331 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21249589 info 2026-08-14 08:31:07,332 - INFO - Deleting VN ctest-vn-76093321 2026-08-14 08:31:07,461 - DEBUG - Response for deleting network () 2026-08-14 08:31:07,461 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/99073f84-7036-4911-8dc0-961e078492e1 2026-08-14 08:31:07,471 - DEBUG - Response Code: 404 2026-08-14 08:31:07,471 - DEBUG - Requesting: http://10.0.0.251:8082/domains 2026-08-14 08:31:07,478 - DEBUG - Requesting: http://10.0.0.251:8082/domain/61da83f1-b4e3-4875-a9e6-777dfa6d5fce 2026-08-14 08:31:07,531 - DEBUG - Requesting: http://10.0.0.251:8082/project/77dba848-453c-4fda-a5cc-7adc5af591ef 2026-08-14 08:31:07,607 - INFO - Validated that VN ctest-vn-76093321 is not found in API Server 2026-08-14 08:31:07,619 - DEBUG - VN ctest-vn-76093321 is not present in Agent 10.0.0.251 2026-08-14 08:31:07,619 - INFO - Validated that VN ctest-vn-76093321 is not in any agent 2026-08-14 08:31:07,634 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76093321 info 2026-08-14 08:31:07,895 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 08:31:07,895 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:02]
2026-08-14 08:31:07,895 - INFO - -------------------------------------------------------------------------------- 2026-08-14 08:31:08,641 - INFO - Deleted project: ctest-TestBasicPolicy-90487064, ID : 77dba848-453c-4fda-a5cc-7adc5af591ef