2026-03-05 02:12:27,945 - INFO - Domain Default found not creating 2026-03-05 02:12:28,118 - INFO - Project ctest-TestBasicPolicy-43879369 not found, creating it 2026-03-05 02:12:28,595 - INFO - Created Project:ctest-TestBasicPolicy-43879369, ID : f42c1f9f-e337-4fa8-9b57-0d671c218794 2026-03-05 02:12:30,086 - INFO - ================================================================================ 2026-03-05 02:12:30,086 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-05 02:12:30,086 - 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-03-05 02:12:30,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.249': '0'}} with 2026-03-05 02:12:30,345 - INFO - Initial checks done. Running the testcase now 2026-03-05 02:12:30,345 - INFO - 2026-03-05 02:12:30,891 - DEBUG - Response for create_network : {'network': {'id': 'fd8beeb7-4ad0-48c5-ae9e-f17ca2fe62e0', 'name': 'ctest-vn-44592598', 'tenant_id': 'f42c1f9fe3374fa89b570d671c218794', 'project_id': 'f42c1f9fe3374fa89b570d671c218794', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43879369', 'ctest-vn-44592598'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:12:31,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e590b77-ef06-4a60-beca-16613520f5ec', 'name': '', 'tenant_id': 'f42c1f9fe3374fa89b570d671c218794', 'network_id': 'fd8beeb7-4ad0-48c5-ae9e-f17ca2fe62e0', 'ip_version': 4, 'cidr': '11.19.89.64/26', 'allocation_pools': [{'start': '11.19.89.66', 'end': '11.19.89.126'}], 'gateway_ip': '11.19.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.19.89.66', 'tags': [], 'project_id': 'f42c1f9fe3374fa89b570d671c218794'}} 2026-03-05 02:12:31,094 - INFO - Created VN ctest-vn-44592598 2026-03-05 02:12:31,145 - DEBUG - VN ctest-vn-44592598 UUID is fd8beeb7-4ad0-48c5-ae9e-f17ca2fe62e0 2026-03-05 02:12:31,460 - DEBUG - Response for create_network : {'network': {'id': 'e5cfe754-ba14-4754-aaf0-bce8f7cacf18', 'name': 'ctest-vn-14417460', 'tenant_id': 'f42c1f9fe3374fa89b570d671c218794', 'project_id': 'f42c1f9fe3374fa89b570d671c218794', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43879369', 'ctest-vn-14417460'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:12:31,643 - DEBUG - Response for create_subnet : {'subnet': {'id': '68d7f197-5bfe-4e87-b7d6-d8137e4e1ba8', 'name': '', 'tenant_id': 'f42c1f9fe3374fa89b570d671c218794', 'network_id': 'e5cfe754-ba14-4754-aaf0-bce8f7cacf18', 'ip_version': 4, 'cidr': '111.134.180.0/26', 'allocation_pools': [{'start': '111.134.180.2', 'end': '111.134.180.62'}], 'gateway_ip': '111.134.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.134.180.2', 'tags': [], 'project_id': 'f42c1f9fe3374fa89b570d671c218794'}} 2026-03-05 02:12:31,660 - INFO - Created VN ctest-vn-14417460 2026-03-05 02:12:31,713 - DEBUG - VN ctest-vn-14417460 UUID is e5cfe754-ba14-4754-aaf0-bce8f7cacf18 2026-03-05 02:12:31,857 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-44592598, 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-43879369:ctest-vn-14417460, 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-03-05 02:12:32,167 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd8beeb7-4ad0-48c5-ae9e-f17ca2fe62e0', 'name': 'ctest-vn-44592598', 'tenant_id': 'f42c1f9fe3374fa89b570d671c218794', 'project_id': 'f42c1f9fe3374fa89b570d671c218794', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9e590b77-ef06-4a60-beca-16613520f5ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43879369', 'ctest-vn-44592598'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43879369', 'ctest-policy-allow-all-29509136']], 'subnet_ipam': [{'subnet_cidr': '11.19.89.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:12:32,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e5cfe754-ba14-4754-aaf0-bce8f7cacf18', 'name': 'ctest-vn-14417460', 'tenant_id': 'f42c1f9fe3374fa89b570d671c218794', 'project_id': 'f42c1f9fe3374fa89b570d671c218794', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['68d7f197-5bfe-4e87-b7d6-d8137e4e1ba8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43879369', 'ctest-vn-14417460'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43879369', 'ctest-policy-allow-all-29509136']], 'subnet_ipam': [{'subnet_cidr': '111.134.180.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 02:12:32,561 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-03-05 02:12:32,862 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-03-05 02:12:32,894 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d9711a3-97ce-4fc0-8521-181bd662e59a 2026-03-05 02:12:32,905 - DEBUG - Requesting: http://10.0.0.49:8082/project/f42c1f9f-e337-4fa8-9b57-0d671c218794 2026-03-05 02:12:32,975 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/fd8beeb7-4ad0-48c5-ae9e-f17ca2fe62e0 2026-03-05 02:12:32,985 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/fd8beeb7-4ad0-48c5-ae9e-f17ca2fe62e0 2026-03-05 02:12:32,996 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/0d17005c-e02d-4f80-b9ba-1009cc01617a 2026-03-05 02:12:33,002 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/0d17005c-e02d-4f80-b9ba-1009cc01617a 2026-03-05 02:12:33,009 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/d9dc5c67-6967-48ad-bcfd-bef2a1e7e037 2026-03-05 02:12:33,016 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 02:12:33,016 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/fd8beeb7-4ad0-48c5-ae9e-f17ca2fe62e0 2026-03-05 02:12:33,025 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/0d17005c-e02d-4f80-b9ba-1009cc01617a 2026-03-05 02:12:33,038 - INFO - Verified VN network id 11 for VN fd8beeb7-4ad0-48c5-ae9e-f17ca2fe62e0 2026-03-05 02:12:33,038 - INFO - Verifications in API Server for VN ctest-vn-44592598 passed 2026-03-05 02:12:33,038 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/fd8beeb7-4ad0-48c5-ae9e-f17ca2fe62e0 2026-03-05 02:12:33,048 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/0d17005c-e02d-4f80-b9ba-1009cc01617a 2026-03-05 02:12:33,055 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/0d17005c-e02d-4f80-b9ba-1009cc01617a 2026-03-05 02:12:33,061 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/d9dc5c67-6967-48ad-bcfd-bef2a1e7e037 2026-03-05 02:12:33,072 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-44592598', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43879369', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18269958784360138949', 'uuid-lslong': '12582759926532563680'}, 'enable': 'true', 'created': '2026-03-05T02:12:30', 'last-modified': '2026-03-05T02:12:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935325'} 2026-03-05 02:12:33,078 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 02:12:33,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44592598 passed 2026-03-05 02:12:33,079 - DEBUG - ====Verifying policy data for ctest-vn-44592598 in API_Server ====== 2026-03-05 02:12:33,079 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-03-05 02:12:33,084 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d9711a3-97ce-4fc0-8521-181bd662e59a 2026-03-05 02:12:33,100 - DEBUG - Requesting: http://10.0.0.49:8082/project/f42c1f9f-e337-4fa8-9b57-0d671c218794 2026-03-05 02:12:33,169 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/fd8beeb7-4ad0-48c5-ae9e-f17ca2fe62e0 2026-03-05 02:12:33,177 - DEBUG - ==>Verifying data for policy with id: 2dd0ca41-113c-4a67-9747-827e30e276a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-43879369', 'ctest-policy-allow-all-29509136'] 2026-03-05 02:12:33,177 - INFO - VN ctest-vn-44592598 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 02:12:33,177 - DEBUG - Verifying the vn in opserver 2026-03-05 02:12:33,177 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-44592598 virtual network link through opserver 10.0.0.49 2026-03-05 02:12:33,178 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2026-03-05 02:12:33,468 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2026-03-05 02:12:33,533 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-44592598', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-44592598?flat'} 2026-03-05 02:12:33,533 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-44592598 is found in opserver 2026-03-05 02:12:33,543 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 02:12:33,547 - DEBUG - VRF ids for VN ctest-vn-44592598: {} 2026-03-05 02:12:33,548 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-03-05 02:12:33,552 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d9711a3-97ce-4fc0-8521-181bd662e59a 2026-03-05 02:12:33,562 - DEBUG - Requesting: http://10.0.0.49:8082/project/f42c1f9f-e337-4fa8-9b57-0d671c218794 2026-03-05 02:12:33,632 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e5cfe754-ba14-4754-aaf0-bce8f7cacf18 2026-03-05 02:12:33,643 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e5cfe754-ba14-4754-aaf0-bce8f7cacf18 2026-03-05 02:12:33,651 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/3be90927-8a14-4f3a-9100-9437217f5e8c 2026-03-05 02:12:33,658 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/3be90927-8a14-4f3a-9100-9437217f5e8c 2026-03-05 02:12:33,665 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/fcde7614-6c26-4e95-98e0-b78d3671dabd 2026-03-05 02:12:33,671 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 02:12:33,671 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e5cfe754-ba14-4754-aaf0-bce8f7cacf18 2026-03-05 02:12:33,681 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/3be90927-8a14-4f3a-9100-9437217f5e8c 2026-03-05 02:12:33,697 - INFO - Verified VN network id 12 for VN e5cfe754-ba14-4754-aaf0-bce8f7cacf18 2026-03-05 02:12:33,698 - INFO - Verifications in API Server for VN ctest-vn-14417460 passed 2026-03-05 02:12:33,698 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e5cfe754-ba14-4754-aaf0-bce8f7cacf18 2026-03-05 02:12:33,706 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/3be90927-8a14-4f3a-9100-9437217f5e8c 2026-03-05 02:12:33,714 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/3be90927-8a14-4f3a-9100-9437217f5e8c 2026-03-05 02:12:33,721 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/fcde7614-6c26-4e95-98e0-b78d3671dabd 2026-03-05 02:12:33,734 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-14417460', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43879369', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16559708705949763412', 'uuid-lslong': '12317552689634004760'}, 'enable': 'true', 'created': '2026-03-05T02:12:31', 'last-modified': '2026-03-05T02:12:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364240'} 2026-03-05 02:12:33,743 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 02:12:33,743 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14417460 passed 2026-03-05 02:12:33,743 - DEBUG - ====Verifying policy data for ctest-vn-14417460 in API_Server ====== 2026-03-05 02:12:33,743 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-03-05 02:12:33,748 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d9711a3-97ce-4fc0-8521-181bd662e59a 2026-03-05 02:12:33,765 - DEBUG - Requesting: http://10.0.0.49:8082/project/f42c1f9f-e337-4fa8-9b57-0d671c218794 2026-03-05 02:12:33,838 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e5cfe754-ba14-4754-aaf0-bce8f7cacf18 2026-03-05 02:12:33,846 - DEBUG - ==>Verifying data for policy with id: 2dd0ca41-113c-4a67-9747-827e30e276a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-43879369', 'ctest-policy-allow-all-29509136'] 2026-03-05 02:12:33,846 - INFO - VN ctest-vn-14417460 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 02:12:33,846 - DEBUG - Verifying the vn in opserver 2026-03-05 02:12:33,846 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-14417460 virtual network link through opserver 10.0.0.49 2026-03-05 02:12:33,847 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2026-03-05 02:12:33,858 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-14417460', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-14417460?flat'} 2026-03-05 02:12:33,858 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-14417460 is found in opserver 2026-03-05 02:12:33,867 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 02:12:33,872 - DEBUG - VRF ids for VN ctest-vn-14417460: {} 2026-03-05 02:12:33,933 - DEBUG - Services list from nova: [, , ] 2026-03-05 02:12:34,931 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5434-1) 2026-03-05 02:12:36,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5434-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5434-1) 2026-03-05 02:12:36,095 - INFO - Waiting for VM ctest-TestBasicPolicy-43879369-91108429 to be up.. 2026-03-05 02:12:36,172 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 02:12:41,250 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:12:41,250 - INFO - VM name : ctest-TestBasicPolicy-43879369-91108429 2026-03-05 02:12:41,321 - DEBUG - VM ctest-TestBasicPolicy-43879369-91108429 ID is 3c9fec97-cbdc-409b-8227-a0de72d50a20 2026-03-05 02:12:41,340 - DEBUG - VM ctest-TestBasicPolicy-43879369-91108429 launched on Node cn-jenkins-deploy-platform-ansible-os-5434-1 2026-03-05 02:12:41,414 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/3c9fec97-cbdc-409b-8227-a0de72d50a20 2026-03-05 02:12:41,421 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/e7e38f79-3c5a-4a87-ba1c-ca38d40a5a19 2026-03-05 02:12:44,680 - 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 1023ms') 2026-03-05 02:12:44,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43879369-91108429 failed! 2026-03-05 02:12:44,733 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43879369:ctest-vn-44592598 is 11.19.89.65 and allocation pool is NOT set 2026-03-05 02:12:46,796 - 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=6.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.494 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.494/3.385/6.277/2.891 ms') 2026-03-05 02:12:46,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43879369-91108429 passed 2026-03-05 02:12:46,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:12:46,945 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43879369-91108429, IP 11.19.89.67, Port 22 2026-03-05 02:12:47,101 - DEBUG - VM ctest-TestBasicPolicy-43879369-91108429 is ready for SSH connections 2026-03-05 02:12:47,101 - INFO - Waiting for VM ctest-TestBasicPolicy-43879369-75894337 to be up.. 2026-03-05 02:12:47,181 - DEBUG - VM is in ACTIVE state now 2026-03-05 02:12:47,181 - INFO - VM name : ctest-TestBasicPolicy-43879369-75894337 2026-03-05 02:12:47,260 - DEBUG - VM ctest-TestBasicPolicy-43879369-75894337 ID is e278736d-b625-43c0-a7f0-2f218c968c9d 2026-03-05 02:12:47,260 - DEBUG - VM ctest-TestBasicPolicy-43879369-75894337 launched on Node cn-jenkins-deploy-platform-ansible-os-5434-1 2026-03-05 02:12:47,332 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e278736d-b625-43c0-a7f0-2f218c968c9d 2026-03-05 02:12:47,341 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/69282533-f027-4eca-b541-a7cd091315e4 2026-03-05 02:12:48,585 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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 = 0.465/2.023/3.581/1.558 ms') 2026-03-05 02:12:48,586 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43879369-75894337 passed 2026-03-05 02:12:48,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:12:48,733 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43879369-75894337, IP 111.134.180.3, Port 22 2026-03-05 02:12:48,915 - DEBUG - VM ctest-TestBasicPolicy-43879369-75894337 is ready for SSH connections 2026-03-05 02:12:48,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:12:48,915 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.134.180.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2026-03-05 02:12:48,915 - DEBUG - ping -s 56 -c 3 -W 1 111.134.180.3 2026-03-05 02:12:52,613 - DEBUG - PING 111.134.180.3 (111.134.180.3): 56 data bytes 64 bytes from 111.134.180.3: seq=0 ttl=63 time=3.282 ms 64 bytes from 111.134.180.3: seq=1 ttl=63 time=1.017 ms 64 bytes from 111.134.180.3: seq=2 ttl=63 time=0.899 ms --- 111.134.180.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.899/1.732/3.282 ms 2026-03-05 02:12:52,613 - INFO - Ping to IP 111.134.180.3 from VM ctest-TestBasicPolicy-43879369-91108429 passed 2026-03-05 02:12:52,789 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2dd0ca41-113c-4a67-9747-827e30e276a2", "href": "http://10.0.0.49:8082/network-policy/2dd0ca41-113c-4a67-9747-827e30e276a2"}} 2026-03-05 02:12:52,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 02:12:52,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.134.180.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2026-03-05 02:12:52,789 - DEBUG - ping -s 56 -c 3 -W 1 111.134.180.3 2026-03-05 02:12:55,986 - DEBUG - PING 111.134.180.3 (111.134.180.3): 56 data bytes --- 111.134.180.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-05 02:12:55,986 - WARNING - Ping to IP 111.134.180.3 from VM ctest-TestBasicPolicy-43879369-91108429 failed 2026-03-05 02:12:55,986 - INFO - Deleting VM ctest-TestBasicPolicy-43879369-75894337 2026-03-05 02:12:56,058 - INFO - Deleting VM ctest-TestBasicPolicy-43879369-91108429 2026-03-05 02:12:56,420 - INFO - Deleted policy ctest-policy-allow-all-29509136 2026-03-05 02:12:56,420 - INFO - Deleting VN ctest-vn-14417460 2026-03-05 02:12:56,456 - DEBUG - VN e5cfe754-ba14-4754-aaf0-bce8f7cacf18 still in use: Unable to complete operation on network e5cfe754-ba14-4754-aaf0-bce8f7cacf18. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d066bfb5-4096-4d5c-bcfe-ac4c84557c31'] 2026-03-05 02:12:56,456 - WARNING - Deleting VN ctest-vn-14417460 failed..Will retry 2026-03-05 02:12:58,550 - DEBUG - Response for deleting network () 2026-03-05 02:12:58,550 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/3be90927-8a14-4f3a-9100-9437217f5e8c 2026-03-05 02:12:58,554 - DEBUG - Response Code: 404 2026-03-05 02:12:58,555 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-03-05 02:12:58,559 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d9711a3-97ce-4fc0-8521-181bd662e59a 2026-03-05 02:12:58,609 - DEBUG - Requesting: http://10.0.0.49:8082/project/f42c1f9f-e337-4fa8-9b57-0d671c218794 2026-03-05 02:12:58,677 - INFO - Validated that VN ctest-vn-14417460 is not found in API Server 2026-03-05 02:12:58,685 - DEBUG - VN ctest-vn-14417460 is not present in Agent 10.0.0.49 2026-03-05 02:12:58,685 - INFO - Validated that VN ctest-vn-14417460 is not in any agent 2026-03-05 02:12:58,697 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14417460 info 2026-03-05 02:12:58,698 - INFO - Deleting VN ctest-vn-44592598 2026-03-05 02:12:58,793 - DEBUG - Response for deleting network () 2026-03-05 02:12:58,793 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/0d17005c-e02d-4f80-b9ba-1009cc01617a 2026-03-05 02:12:58,801 - DEBUG - Response Code: 404 2026-03-05 02:12:58,801 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2026-03-05 02:12:58,805 - DEBUG - Requesting: http://10.0.0.49:8082/domain/9d9711a3-97ce-4fc0-8521-181bd662e59a 2026-03-05 02:12:58,860 - DEBUG - Requesting: http://10.0.0.49:8082/project/f42c1f9f-e337-4fa8-9b57-0d671c218794 2026-03-05 02:12:58,934 - INFO - Validated that VN ctest-vn-44592598 is not found in API Server 2026-03-05 02:12:58,943 - DEBUG - VN ctest-vn-44592598 is not present in Agent 10.0.0.49 2026-03-05 02:12:58,943 - INFO - Validated that VN ctest-vn-44592598 is not in any agent 2026-03-05 02:12:58,954 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44592598 info 2026-03-05 02:12:59,205 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 02:12:59,205 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-05 02:12:59,206 - INFO - -------------------------------------------------------------------------------- 2026-03-05 02:12:59,896 - INFO - Deleted project: ctest-TestBasicPolicy-43879369, ID : f42c1f9f-e337-4fa8-9b57-0d671c218794