2026-05-27 15:55:16,723 - INFO - Domain Default found not creating 2026-05-27 15:55:16,905 - INFO - Project ctest-TestBasicPolicy-31324115 not found, creating it 2026-05-27 15:55:17,407 - INFO - Created Project:ctest-TestBasicPolicy-31324115, ID : d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4 2026-05-27 15:55:18,944 - INFO - ================================================================================ 2026-05-27 15:55:18,944 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-27 15:55:18,944 - 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-05-27 15:55:19,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2026-05-27 15:55:19,211 - INFO - Initial checks done. Running the testcase now 2026-05-27 15:55:19,211 - INFO - 2026-05-27 15:55:19,788 - DEBUG - Response for create_network : {'network': {'id': '678fd18c-8339-4142-ae03-15912f7aacba', 'name': 'ctest-vn-40567060', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-vn-40567060'], 'port_security_enabled': True, 'description': ''}} 2026-05-27 15:55:20,029 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe5285a6-b6ae-4173-831f-b8b4e5b6f4b7', 'name': '', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'network_id': '678fd18c-8339-4142-ae03-15912f7aacba', 'ip_version': 4, 'cidr': '83.79.162.128/26', 'allocation_pools': [{'start': '83.79.162.130', 'end': '83.79.162.190'}], 'gateway_ip': '83.79.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.79.162.130', 'tags': [], 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4'}} 2026-05-27 15:55:20,047 - INFO - Created VN ctest-vn-40567060 2026-05-27 15:55:20,100 - DEBUG - VN ctest-vn-40567060 UUID is 678fd18c-8339-4142-ae03-15912f7aacba 2026-05-27 15:55:20,425 - DEBUG - Response for create_network : {'network': {'id': 'e0794f17-9b1f-4b37-a5e3-c87cf58a9805', 'name': 'ctest-vn-96420643', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-vn-96420643'], 'port_security_enabled': True, 'description': ''}} 2026-05-27 15:55:20,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f02656bd-ce80-4d07-9161-b5d4e6e5afee', 'name': '', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'network_id': 'e0794f17-9b1f-4b37-a5e3-c87cf58a9805', 'ip_version': 4, 'cidr': '190.142.178.128/26', 'allocation_pools': [{'start': '190.142.178.130', 'end': '190.142.178.190'}], 'gateway_ip': '190.142.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.142.178.130', 'tags': [], 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4'}} 2026-05-27 15:55:20,648 - INFO - Created VN ctest-vn-96420643 2026-05-27 15:55:20,700 - DEBUG - VN ctest-vn-96420643 UUID is e0794f17-9b1f-4b37-a5e3-c87cf58a9805 2026-05-27 15:55:20,851 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060, 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-31324115:ctest-vn-96420643, 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-05-27 15:55:21,145 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '678fd18c-8339-4142-ae03-15912f7aacba', 'name': 'ctest-vn-40567060', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe5285a6-b6ae-4173-831f-b8b4e5b6f4b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-vn-40567060'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-policy-allow-all-72719891']], 'subnet_ipam': [{'subnet_cidr': '83.79.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-27 15:55:21,358 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e0794f17-9b1f-4b37-a5e3-c87cf58a9805', 'name': 'ctest-vn-96420643', 'tenant_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'project_id': 'd2c2f335d17a4c8cb1af365c3c8fc8c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f02656bd-ce80-4d07-9161-b5d4e6e5afee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-vn-96420643'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-policy-allow-all-72719891']], 'subnet_ipam': [{'subnet_cidr': '190.142.178.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-27 15:55:21,532 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-27 15:55:21,824 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-27 15:55:21,855 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d76aa015-f3a2-4f40-bb4c-f9742661b0dd 2026-05-27 15:55:21,866 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4 2026-05-27 15:55:21,938 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/678fd18c-8339-4142-ae03-15912f7aacba 2026-05-27 15:55:21,948 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/678fd18c-8339-4142-ae03-15912f7aacba 2026-05-27 15:55:21,957 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e 2026-05-27 15:55:21,964 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e 2026-05-27 15:55:21,971 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/544871c3-0b25-4d26-9aa9-7e3b9b0df505 2026-05-27 15:55:21,978 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-27 15:55:21,978 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/678fd18c-8339-4142-ae03-15912f7aacba 2026-05-27 15:55:21,986 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e 2026-05-27 15:55:21,999 - INFO - Verified VN network id 11 for VN 678fd18c-8339-4142-ae03-15912f7aacba 2026-05-27 15:55:21,999 - INFO - Verifications in API Server for VN ctest-vn-40567060 passed 2026-05-27 15:55:21,999 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/678fd18c-8339-4142-ae03-15912f7aacba 2026-05-27 15:55:22,007 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e 2026-05-27 15:55:22,013 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e 2026-05-27 15:55:22,021 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/544871c3-0b25-4d26-9aa9-7e3b9b0df505 2026-05-27 15:55:22,032 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31324115', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7462413509003395394', 'uuid-lslong': '12538889500840602810'}, 'enable': 'true', 'created': '2026-05-27T15:55:19', 'last-modified': '2026-05-27T15:55:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907935'} 2026-05-27 15:55:22,038 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-27 15:55:22,038 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40567060 passed 2026-05-27 15:55:22,038 - DEBUG - ====Verifying policy data for ctest-vn-40567060 in API_Server ====== 2026-05-27 15:55:22,038 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-27 15:55:22,044 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d76aa015-f3a2-4f40-bb4c-f9742661b0dd 2026-05-27 15:55:22,054 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4 2026-05-27 15:55:22,127 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/678fd18c-8339-4142-ae03-15912f7aacba 2026-05-27 15:55:22,139 - DEBUG - ==>Verifying data for policy with id: 3a438506-3e7e-4536-9e89-499e372b4453, fqn: ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-policy-allow-all-72719891'] 2026-05-27 15:55:22,139 - INFO - VN ctest-vn-40567060 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-27 15:55:22,139 - DEBUG - Verifying the vn in opserver 2026-05-27 15:55:22,139 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060 virtual network link through opserver 10.0.0.19 2026-05-27 15:55:22,140 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-27 15:55:22,436 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-27 15:55:22,505 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060?flat'} 2026-05-27 15:55:22,505 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060 is found in opserver 2026-05-27 15:55:22,515 - DEBUG - Do not have enough data to verify VN in agent 2026-05-27 15:55:22,519 - DEBUG - VRF ids for VN ctest-vn-40567060: {} 2026-05-27 15:55:22,519 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-27 15:55:22,525 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d76aa015-f3a2-4f40-bb4c-f9742661b0dd 2026-05-27 15:55:22,535 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4 2026-05-27 15:55:22,606 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0794f17-9b1f-4b37-a5e3-c87cf58a9805 2026-05-27 15:55:22,619 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0794f17-9b1f-4b37-a5e3-c87cf58a9805 2026-05-27 15:55:22,628 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63 2026-05-27 15:55:22,636 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63 2026-05-27 15:55:22,644 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/4bf3e3a3-f575-4e4c-aab0-4e134ca05ea8 2026-05-27 15:55:22,650 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-27 15:55:22,650 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0794f17-9b1f-4b37-a5e3-c87cf58a9805 2026-05-27 15:55:22,658 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63 2026-05-27 15:55:22,672 - INFO - Verified VN network id 12 for VN e0794f17-9b1f-4b37-a5e3-c87cf58a9805 2026-05-27 15:55:22,673 - INFO - Verifications in API Server for VN ctest-vn-96420643 passed 2026-05-27 15:55:22,673 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0794f17-9b1f-4b37-a5e3-c87cf58a9805 2026-05-27 15:55:22,681 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63 2026-05-27 15:55:22,687 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63 2026-05-27 15:55:22,694 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/4bf3e3a3-f575-4e4c-aab0-4e134ca05ea8 2026-05-27 15:55:22,706 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-96420643', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31324115', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16175046499483208503', 'uuid-lslong': '11953618274992429061'}, 'enable': 'true', 'created': '2026-05-27T15:55:20', 'last-modified': '2026-05-27T15:55:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.360809'} 2026-05-27 15:55:22,712 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-27 15:55:22,712 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96420643 passed 2026-05-27 15:55:22,712 - DEBUG - ====Verifying policy data for ctest-vn-96420643 in API_Server ====== 2026-05-27 15:55:22,712 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-27 15:55:22,718 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d76aa015-f3a2-4f40-bb4c-f9742661b0dd 2026-05-27 15:55:22,728 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4 2026-05-27 15:55:22,798 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/e0794f17-9b1f-4b37-a5e3-c87cf58a9805 2026-05-27 15:55:22,806 - DEBUG - ==>Verifying data for policy with id: 3a438506-3e7e-4536-9e89-499e372b4453, fqn: ['default-domain', 'ctest-TestBasicPolicy-31324115', 'ctest-policy-allow-all-72719891'] 2026-05-27 15:55:22,806 - INFO - VN ctest-vn-96420643 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-27 15:55:22,806 - DEBUG - Verifying the vn in opserver 2026-05-27 15:55:22,806 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-96420643 virtual network link through opserver 10.0.0.19 2026-05-27 15:55:22,807 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-27 15:55:22,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-96420643', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-96420643?flat'} 2026-05-27 15:55:22,815 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-96420643 is found in opserver 2026-05-27 15:55:22,825 - DEBUG - Do not have enough data to verify VN in agent 2026-05-27 15:55:22,830 - DEBUG - VRF ids for VN ctest-vn-96420643: {} 2026-05-27 15:55:22,888 - DEBUG - Services list from nova: [, , ] 2026-05-27 15:55:23,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5831-1) 2026-05-27 15:55:25,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5831-1) 2026-05-27 15:55:25,092 - INFO - Waiting for VM ctest-TestBasicPolicy-31324115-05825333 to be up.. 2026-05-27 15:55:25,196 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-27 15:55:30,267 - DEBUG - VM is in ACTIVE state now 2026-05-27 15:55:30,268 - INFO - VM name : ctest-TestBasicPolicy-31324115-05825333 2026-05-27 15:55:30,336 - DEBUG - VM ctest-TestBasicPolicy-31324115-05825333 ID is f92a7887-bf1b-420a-873b-2d1c543beb27 2026-05-27 15:55:30,354 - DEBUG - VM ctest-TestBasicPolicy-31324115-05825333 launched on Node cn-jenkins-deploy-platform-ansible-os-5831-1 2026-05-27 15:55:30,424 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f92a7887-bf1b-420a-873b-2d1c543beb27 2026-05-27 15:55:30,435 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9d8c1513-6df4-4872-9e48-dba1b1e23d15 2026-05-27 15:55:33,662 - 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 1031ms') 2026-05-27 15:55:33,663 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31324115-05825333 failed! 2026-05-27 15:55:33,731 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31324115:ctest-vn-40567060 is 83.79.162.129 and allocation pool is NOT set 2026-05-27 15:55:35,789 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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.380/2.102/3.825/1.722 ms') 2026-05-27 15:55:35,789 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31324115-05825333 passed 2026-05-27 15:55:35,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 15:55:35,944 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31324115-05825333, IP 83.79.162.131, Port 22 2026-05-27 15:55:36,103 - DEBUG - VM ctest-TestBasicPolicy-31324115-05825333 is ready for SSH connections 2026-05-27 15:55:36,103 - INFO - Waiting for VM ctest-TestBasicPolicy-31324115-08677582 to be up.. 2026-05-27 15:55:36,180 - DEBUG - VM is in ACTIVE state now 2026-05-27 15:55:36,180 - INFO - VM name : ctest-TestBasicPolicy-31324115-08677582 2026-05-27 15:55:36,255 - DEBUG - VM ctest-TestBasicPolicy-31324115-08677582 ID is c9f40635-6c2c-4346-ba3a-6f739d22a487 2026-05-27 15:55:36,256 - DEBUG - VM ctest-TestBasicPolicy-31324115-08677582 launched on Node cn-jenkins-deploy-platform-ansible-os-5831-1 2026-05-27 15:55:36,328 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c9f40635-6c2c-4346-ba3a-6f739d22a487 2026-05-27 15:55:36,336 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/32b5e026-9e19-4f5d-9437-c70326270619 2026-05-27 15:55:37,559 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.618/2.756/1.137 ms') 2026-05-27 15:55:37,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31324115-08677582 passed 2026-05-27 15:55:37,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 15:55:37,712 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31324115-08677582, IP 190.142.178.131, Port 22 2026-05-27 15:55:37,875 - DEBUG - VM ctest-TestBasicPolicy-31324115-08677582 is ready for SSH connections 2026-05-27 15:55:37,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 15:55:37,875 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.142.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-27 15:55:37,875 - DEBUG - ping -s 56 -c 3 -W 1 190.142.178.131 2026-05-27 15:55:41,857 - DEBUG - PING 190.142.178.131 (190.142.178.131): 56 data bytes 64 bytes from 190.142.178.131: seq=0 ttl=63 time=3.601 ms 64 bytes from 190.142.178.131: seq=1 ttl=63 time=0.814 ms 64 bytes from 190.142.178.131: seq=2 ttl=63 time=0.931 ms --- 190.142.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.782/3.601 ms 2026-05-27 15:55:41,857 - INFO - Ping to IP 190.142.178.131 from VM ctest-TestBasicPolicy-31324115-05825333 passed 2026-05-27 15:55:42,031 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3a438506-3e7e-4536-9e89-499e372b4453", "href": "http://10.0.0.19:8082/network-policy/3a438506-3e7e-4536-9e89-499e372b4453"}} 2026-05-27 15:55:42,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 15:55:42,032 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.142.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-27 15:55:42,032 - DEBUG - ping -s 56 -c 3 -W 1 190.142.178.131 2026-05-27 15:55:45,249 - DEBUG - PING 190.142.178.131 (190.142.178.131): 56 data bytes --- 190.142.178.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-27 15:55:45,250 - WARNING - Ping to IP 190.142.178.131 from VM ctest-TestBasicPolicy-31324115-05825333 failed 2026-05-27 15:55:45,250 - INFO - Deleting VM ctest-TestBasicPolicy-31324115-08677582 2026-05-27 15:55:45,319 - INFO - Deleting VM ctest-TestBasicPolicy-31324115-05825333 2026-05-27 15:55:45,658 - INFO - Deleted policy ctest-policy-allow-all-72719891 2026-05-27 15:55:45,658 - INFO - Deleting VN ctest-vn-96420643 2026-05-27 15:55:45,692 - DEBUG - VN e0794f17-9b1f-4b37-a5e3-c87cf58a9805 still in use: Unable to complete operation on network e0794f17-9b1f-4b37-a5e3-c87cf58a9805. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-90394281-abbd-4f87-ac8a-f201fdbcd774'] 2026-05-27 15:55:45,692 - WARNING - Deleting VN ctest-vn-96420643 failed..Will retry 2026-05-27 15:55:47,784 - DEBUG - Response for deleting network () 2026-05-27 15:55:47,784 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e5ee3789-b728-4830-99e4-c585f5745c63 2026-05-27 15:55:47,789 - DEBUG - Response Code: 404 2026-05-27 15:55:47,789 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-27 15:55:47,799 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d76aa015-f3a2-4f40-bb4c-f9742661b0dd 2026-05-27 15:55:47,852 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4 2026-05-27 15:55:47,920 - INFO - Validated that VN ctest-vn-96420643 is not found in API Server 2026-05-27 15:55:47,928 - DEBUG - VN ctest-vn-96420643 is not present in Agent 10.0.0.19 2026-05-27 15:55:47,928 - INFO - Validated that VN ctest-vn-96420643 is not in any agent 2026-05-27 15:55:47,940 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96420643 info 2026-05-27 15:55:47,940 - INFO - Deleting VN ctest-vn-40567060 2026-05-27 15:55:48,045 - DEBUG - Response for deleting network () 2026-05-27 15:55:48,045 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/077cf936-19e9-4362-a15a-281936e9c22e 2026-05-27 15:55:48,050 - DEBUG - Response Code: 404 2026-05-27 15:55:48,050 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-27 15:55:48,055 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d76aa015-f3a2-4f40-bb4c-f9742661b0dd 2026-05-27 15:55:48,108 - DEBUG - Requesting: http://10.0.0.19:8082/project/d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4 2026-05-27 15:55:48,177 - INFO - Validated that VN ctest-vn-40567060 is not found in API Server 2026-05-27 15:55:48,186 - DEBUG - VN ctest-vn-40567060 is not present in Agent 10.0.0.19 2026-05-27 15:55:48,186 - INFO - Validated that VN ctest-vn-40567060 is not in any agent 2026-05-27 15:55:48,199 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40567060 info 2026-05-27 15:55:48,456 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 15:55:48,456 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-27 15:55:48,456 - INFO - -------------------------------------------------------------------------------- 2026-05-27 15:55:49,126 - INFO - Deleted project: ctest-TestBasicPolicy-31324115, ID : d2c2f335-d17a-4c8c-b1af-365c3c8fc8c4