2026-01-16 14:12:27,686 - INFO - Domain Default found not creating 2026-01-16 14:12:27,831 - INFO - Project ctest-TestBasicPolicy-74511382 not found, creating it 2026-01-16 14:12:28,263 - INFO - Created Project:ctest-TestBasicPolicy-74511382, ID : 89d15a4e-3cb6-4f4e-bf38-4988b783b7ac 2026-01-16 14:12:29,680 - INFO - ================================================================================ 2026-01-16 14:12:29,680 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-16 14:12:29,680 - 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-01-16 14:12:29,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-16 14:12:29,936 - INFO - Initial checks done. Running the testcase now 2026-01-16 14:12:29,936 - INFO - 2026-01-16 14:12:30,456 - DEBUG - Response for create_network : {'network': {'id': '43d78330-5332-4d3a-a2a2-f086e6849fad', 'name': 'ctest-vn-73583385', 'tenant_id': '89d15a4e3cb64f4ebf384988b783b7ac', 'project_id': '89d15a4e3cb64f4ebf384988b783b7ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74511382', 'ctest-vn-73583385'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 14:12:30,646 - DEBUG - Response for create_subnet : {'subnet': {'id': '655d0a18-2beb-4a4b-95e9-81764228610a', 'name': '', 'tenant_id': '89d15a4e3cb64f4ebf384988b783b7ac', 'network_id': '43d78330-5332-4d3a-a2a2-f086e6849fad', 'ip_version': 4, 'cidr': '114.148.97.0/26', 'allocation_pools': [{'start': '114.148.97.2', 'end': '114.148.97.62'}], 'gateway_ip': '114.148.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.148.97.2', 'tags': [], 'project_id': '89d15a4e3cb64f4ebf384988b783b7ac'}} 2026-01-16 14:12:30,661 - INFO - Created VN ctest-vn-73583385 2026-01-16 14:12:30,711 - DEBUG - VN ctest-vn-73583385 UUID is 43d78330-5332-4d3a-a2a2-f086e6849fad 2026-01-16 14:12:31,013 - DEBUG - Response for create_network : {'network': {'id': '81e3e310-d37e-4ed3-8090-361dddc21425', 'name': 'ctest-vn-19057999', 'tenant_id': '89d15a4e3cb64f4ebf384988b783b7ac', 'project_id': '89d15a4e3cb64f4ebf384988b783b7ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74511382', 'ctest-vn-19057999'], 'port_security_enabled': True, 'description': ''}} 2026-01-16 14:12:31,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '810720df-3e0f-434c-9754-df2b211a6ece', 'name': '', 'tenant_id': '89d15a4e3cb64f4ebf384988b783b7ac', 'network_id': '81e3e310-d37e-4ed3-8090-361dddc21425', 'ip_version': 4, 'cidr': '87.231.94.0/26', 'allocation_pools': [{'start': '87.231.94.2', 'end': '87.231.94.62'}], 'gateway_ip': '87.231.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.231.94.2', 'tags': [], 'project_id': '89d15a4e3cb64f4ebf384988b783b7ac'}} 2026-01-16 14:12:31,206 - INFO - Created VN ctest-vn-19057999 2026-01-16 14:12:31,259 - DEBUG - VN ctest-vn-19057999 UUID is 81e3e310-d37e-4ed3-8090-361dddc21425 2026-01-16 14:12:31,411 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-73583385, 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-74511382:ctest-vn-19057999, 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-01-16 14:12:31,696 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '43d78330-5332-4d3a-a2a2-f086e6849fad', 'name': 'ctest-vn-73583385', 'tenant_id': '89d15a4e3cb64f4ebf384988b783b7ac', 'project_id': '89d15a4e3cb64f4ebf384988b783b7ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['655d0a18-2beb-4a4b-95e9-81764228610a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74511382', 'ctest-vn-73583385'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74511382', 'ctest-policy-allow-all-41402050']], 'subnet_ipam': [{'subnet_cidr': '114.148.97.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-16 14:12:31,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81e3e310-d37e-4ed3-8090-361dddc21425', 'name': 'ctest-vn-19057999', 'tenant_id': '89d15a4e3cb64f4ebf384988b783b7ac', 'project_id': '89d15a4e3cb64f4ebf384988b783b7ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['810720df-3e0f-434c-9754-df2b211a6ece'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74511382', 'ctest-vn-19057999'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74511382', 'ctest-policy-allow-all-41402050']], 'subnet_ipam': [{'subnet_cidr': '87.231.94.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-16 14:12:32,075 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-16 14:12:32,387 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-16 14:12:32,425 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3645bec5-fd2f-4a03-917d-55da375bc260 2026-01-16 14:12:32,436 - DEBUG - Requesting: http://10.0.0.50:8082/project/89d15a4e-3cb6-4f4e-bf38-4988b783b7ac 2026-01-16 14:12:32,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/43d78330-5332-4d3a-a2a2-f086e6849fad 2026-01-16 14:12:32,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/43d78330-5332-4d3a-a2a2-f086e6849fad 2026-01-16 14:12:32,525 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f99c7e0f-2bee-4ca8-abf8-621469cfcce4 2026-01-16 14:12:32,533 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f99c7e0f-2bee-4ca8-abf8-621469cfcce4 2026-01-16 14:12:32,540 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/07ebfe6e-4cf6-4fb5-8b95-f08b8c014ba1 2026-01-16 14:12:32,547 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-16 14:12:32,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/43d78330-5332-4d3a-a2a2-f086e6849fad 2026-01-16 14:12:32,557 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f99c7e0f-2bee-4ca8-abf8-621469cfcce4 2026-01-16 14:12:32,576 - INFO - Verified VN network id 12 for VN 43d78330-5332-4d3a-a2a2-f086e6849fad 2026-01-16 14:12:32,577 - INFO - Verifications in API Server for VN ctest-vn-73583385 passed 2026-01-16 14:12:32,577 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/43d78330-5332-4d3a-a2a2-f086e6849fad 2026-01-16 14:12:32,586 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f99c7e0f-2bee-4ca8-abf8-621469cfcce4 2026-01-16 14:12:32,593 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f99c7e0f-2bee-4ca8-abf8-621469cfcce4 2026-01-16 14:12:32,599 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/07ebfe6e-4cf6-4fb5-8b95-f08b8c014ba1 2026-01-16 14:12:32,610 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-73583385', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74511382', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4888520164111437114', 'uuid-lslong': '11719193642555187117'}, 'enable': 'true', 'created': '2026-01-16T14:12:30', 'last-modified': '2026-01-16T14:12:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940344'} 2026-01-16 14:12:32,617 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-16 14:12:32,617 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73583385 passed 2026-01-16 14:12:32,617 - DEBUG - ====Verifying policy data for ctest-vn-73583385 in API_Server ====== 2026-01-16 14:12:32,617 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-16 14:12:32,622 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3645bec5-fd2f-4a03-917d-55da375bc260 2026-01-16 14:12:32,633 - DEBUG - Requesting: http://10.0.0.50:8082/project/89d15a4e-3cb6-4f4e-bf38-4988b783b7ac 2026-01-16 14:12:32,708 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/43d78330-5332-4d3a-a2a2-f086e6849fad 2026-01-16 14:12:32,717 - DEBUG - ==>Verifying data for policy with id: 7932a2e6-5455-486f-b1c3-fa4cb7c3ca20, fqn: ['default-domain', 'ctest-TestBasicPolicy-74511382', 'ctest-policy-allow-all-41402050'] 2026-01-16 14:12:32,717 - INFO - VN ctest-vn-73583385 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-16 14:12:32,717 - DEBUG - Verifying the vn in opserver 2026-01-16 14:12:32,717 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-73583385 virtual network link through opserver 10.0.0.50 2026-01-16 14:12:32,718 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-16 14:12:33,008 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-16 14:12:33,066 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-73583385', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-73583385?flat'} 2026-01-16 14:12:33,066 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-73583385 is found in opserver 2026-01-16 14:12:33,074 - DEBUG - Do not have enough data to verify VN in agent 2026-01-16 14:12:33,078 - DEBUG - VRF ids for VN ctest-vn-73583385: {} 2026-01-16 14:12:33,078 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-16 14:12:33,083 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3645bec5-fd2f-4a03-917d-55da375bc260 2026-01-16 14:12:33,092 - DEBUG - Requesting: http://10.0.0.50:8082/project/89d15a4e-3cb6-4f4e-bf38-4988b783b7ac 2026-01-16 14:12:33,157 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81e3e310-d37e-4ed3-8090-361dddc21425 2026-01-16 14:12:33,168 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81e3e310-d37e-4ed3-8090-361dddc21425 2026-01-16 14:12:33,177 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/498970f7-d6fc-4fde-a7b0-cbdfe998c080 2026-01-16 14:12:33,185 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/498970f7-d6fc-4fde-a7b0-cbdfe998c080 2026-01-16 14:12:33,192 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/64812bef-fe8b-4387-9104-b9ff1d512d72 2026-01-16 14:12:33,198 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-16 14:12:33,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81e3e310-d37e-4ed3-8090-361dddc21425 2026-01-16 14:12:33,205 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/498970f7-d6fc-4fde-a7b0-cbdfe998c080 2026-01-16 14:12:33,217 - INFO - Verified VN network id 13 for VN 81e3e310-d37e-4ed3-8090-361dddc21425 2026-01-16 14:12:33,217 - INFO - Verifications in API Server for VN ctest-vn-19057999 passed 2026-01-16 14:12:33,217 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81e3e310-d37e-4ed3-8090-361dddc21425 2026-01-16 14:12:33,225 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/498970f7-d6fc-4fde-a7b0-cbdfe998c080 2026-01-16 14:12:33,231 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/498970f7-d6fc-4fde-a7b0-cbdfe998c080 2026-01-16 14:12:33,236 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/64812bef-fe8b-4387-9104-b9ff1d512d72 2026-01-16 14:12:33,246 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-19057999', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74511382', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9359574112013274835', 'uuid-lslong': '9263963935403545637'}, 'enable': 'true', 'created': '2026-01-16T14:12:30', 'last-modified': '2026-01-16T14:12:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.357840'} 2026-01-16 14:12:33,253 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-16 14:12:33,253 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19057999 passed 2026-01-16 14:12:33,253 - DEBUG - ====Verifying policy data for ctest-vn-19057999 in API_Server ====== 2026-01-16 14:12:33,253 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-16 14:12:33,260 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3645bec5-fd2f-4a03-917d-55da375bc260 2026-01-16 14:12:33,271 - DEBUG - Requesting: http://10.0.0.50:8082/project/89d15a4e-3cb6-4f4e-bf38-4988b783b7ac 2026-01-16 14:12:33,338 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/81e3e310-d37e-4ed3-8090-361dddc21425 2026-01-16 14:12:33,347 - DEBUG - ==>Verifying data for policy with id: 7932a2e6-5455-486f-b1c3-fa4cb7c3ca20, fqn: ['default-domain', 'ctest-TestBasicPolicy-74511382', 'ctest-policy-allow-all-41402050'] 2026-01-16 14:12:33,347 - INFO - VN ctest-vn-19057999 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-16 14:12:33,347 - DEBUG - Verifying the vn in opserver 2026-01-16 14:12:33,347 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-19057999 virtual network link through opserver 10.0.0.50 2026-01-16 14:12:33,347 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-16 14:12:33,357 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-19057999', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-19057999?flat'} 2026-01-16 14:12:33,357 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-19057999 is found in opserver 2026-01-16 14:12:33,366 - DEBUG - Do not have enough data to verify VN in agent 2026-01-16 14:12:33,370 - DEBUG - VRF ids for VN ctest-vn-19057999: {} 2026-01-16 14:12:33,422 - DEBUG - Services list from nova: [, , ] 2026-01-16 14:12:34,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5033-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5033-1) 2026-01-16 14:12:35,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5033-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5033-1) 2026-01-16 14:12:35,543 - INFO - Waiting for VM ctest-TestBasicPolicy-74511382-51415078 to be up.. 2026-01-16 14:12:35,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-16 14:12:40,710 - DEBUG - VM is in ACTIVE state now 2026-01-16 14:12:40,710 - INFO - VM name : ctest-TestBasicPolicy-74511382-51415078 2026-01-16 14:12:40,794 - DEBUG - VM ctest-TestBasicPolicy-74511382-51415078 ID is 524bea29-d70d-4301-845d-3aeb83694115 2026-01-16 14:12:40,816 - DEBUG - VM ctest-TestBasicPolicy-74511382-51415078 launched on Node cn-jenkins-deploy-platform-ansible-os-5033-1 2026-01-16 14:12:40,896 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/524bea29-d70d-4301-845d-3aeb83694115 2026-01-16 14:12:40,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4426cd39-06b0-4f0a-ae22-7217b2a9efd9 2026-01-16 14:12:44,139 - 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 1007ms') 2026-01-16 14:12:44,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74511382-51415078 failed! 2026-01-16 14:12:44,191 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74511382:ctest-vn-73583385 is 114.148.97.1 and allocation pool is NOT set 2026-01-16 14:12:46,256 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.637 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.637/4.868/9.099/4.231 ms') 2026-01-16 14:12:46,256 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74511382-51415078 passed 2026-01-16 14:12:46,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:12:46,403 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74511382-51415078, IP 114.148.97.3, Port 22 2026-01-16 14:12:46,559 - DEBUG - VM ctest-TestBasicPolicy-74511382-51415078 is ready for SSH connections 2026-01-16 14:12:46,559 - INFO - Waiting for VM ctest-TestBasicPolicy-74511382-11271586 to be up.. 2026-01-16 14:12:46,627 - DEBUG - VM is in ACTIVE state now 2026-01-16 14:12:46,627 - INFO - VM name : ctest-TestBasicPolicy-74511382-11271586 2026-01-16 14:12:46,697 - DEBUG - VM ctest-TestBasicPolicy-74511382-11271586 ID is 6fb7037e-75b8-42a8-aa29-11601fe8c7a4 2026-01-16 14:12:46,698 - DEBUG - VM ctest-TestBasicPolicy-74511382-11271586 launched on Node cn-jenkins-deploy-platform-ansible-os-5033-1 2026-01-16 14:12:46,769 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6fb7037e-75b8-42a8-aa29-11601fe8c7a4 2026-01-16 14:12:46,776 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9e9836d4-6058-41e2-ac9a-cc3dcecbe79f 2026-01-16 14:12:48,004 - 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=4.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.14 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.138/3.154/4.171/1.016 ms') 2026-01-16 14:12:48,004 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74511382-11271586 passed 2026-01-16 14:12:48,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:12:48,159 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74511382-11271586, IP 87.231.94.3, Port 22 2026-01-16 14:12:48,315 - DEBUG - VM ctest-TestBasicPolicy-74511382-11271586 is ready for SSH connections 2026-01-16 14:12:48,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:12:48,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.231.94.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-16 14:12:48,315 - DEBUG - ping -s 56 -c 3 -W 1 87.231.94.3 2026-01-16 14:12:52,063 - DEBUG - PING 87.231.94.3 (87.231.94.3): 56 data bytes 64 bytes from 87.231.94.3: seq=0 ttl=63 time=4.105 ms 64 bytes from 87.231.94.3: seq=1 ttl=63 time=0.750 ms 64 bytes from 87.231.94.3: seq=2 ttl=63 time=0.802 ms --- 87.231.94.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.750/1.885/4.105 ms 2026-01-16 14:12:52,063 - INFO - Ping to IP 87.231.94.3 from VM ctest-TestBasicPolicy-74511382-51415078 passed 2026-01-16 14:12:52,243 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7932a2e6-5455-486f-b1c3-fa4cb7c3ca20", "href": "http://10.0.0.50:8082/network-policy/7932a2e6-5455-486f-b1c3-fa4cb7c3ca20"}} 2026-01-16 14:12:52,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-16 14:12:52,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.231.94.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-16 14:12:52,243 - DEBUG - ping -s 56 -c 3 -W 1 87.231.94.3 2026-01-16 14:12:55,444 - DEBUG - PING 87.231.94.3 (87.231.94.3): 56 data bytes --- 87.231.94.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-16 14:12:55,444 - WARNING - Ping to IP 87.231.94.3 from VM ctest-TestBasicPolicy-74511382-51415078 failed 2026-01-16 14:12:55,444 - INFO - Deleting VM ctest-TestBasicPolicy-74511382-11271586 2026-01-16 14:12:55,512 - INFO - Deleting VM ctest-TestBasicPolicy-74511382-51415078 2026-01-16 14:12:55,895 - INFO - Deleted policy ctest-policy-allow-all-41402050 2026-01-16 14:12:55,895 - INFO - Deleting VN ctest-vn-19057999 2026-01-16 14:12:55,930 - DEBUG - VN 81e3e310-d37e-4ed3-8090-361dddc21425 still in use: Unable to complete operation on network 81e3e310-d37e-4ed3-8090-361dddc21425. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d10dc6ce-e73b-477e-b1c0-2744de421a9b'] 2026-01-16 14:12:55,930 - WARNING - Deleting VN ctest-vn-19057999 failed..Will retry 2026-01-16 14:12:58,037 - DEBUG - Response for deleting network () 2026-01-16 14:12:58,037 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/498970f7-d6fc-4fde-a7b0-cbdfe998c080 2026-01-16 14:12:58,042 - DEBUG - Response Code: 404 2026-01-16 14:12:58,042 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-16 14:12:58,047 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3645bec5-fd2f-4a03-917d-55da375bc260 2026-01-16 14:12:58,100 - DEBUG - Requesting: http://10.0.0.50:8082/project/89d15a4e-3cb6-4f4e-bf38-4988b783b7ac 2026-01-16 14:12:58,168 - INFO - Validated that VN ctest-vn-19057999 is not found in API Server 2026-01-16 14:12:58,177 - DEBUG - VN ctest-vn-19057999 is not present in Agent 10.0.0.50 2026-01-16 14:12:58,177 - INFO - Validated that VN ctest-vn-19057999 is not in any agent 2026-01-16 14:12:58,190 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19057999 info 2026-01-16 14:12:58,190 - INFO - Deleting VN ctest-vn-73583385 2026-01-16 14:12:58,289 - DEBUG - Response for deleting network () 2026-01-16 14:12:58,289 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f99c7e0f-2bee-4ca8-abf8-621469cfcce4 2026-01-16 14:12:58,294 - DEBUG - Response Code: 404 2026-01-16 14:12:58,294 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-16 14:12:58,298 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3645bec5-fd2f-4a03-917d-55da375bc260 2026-01-16 14:12:58,352 - DEBUG - Requesting: http://10.0.0.50:8082/project/89d15a4e-3cb6-4f4e-bf38-4988b783b7ac 2026-01-16 14:12:58,421 - INFO - Validated that VN ctest-vn-73583385 is not found in API Server 2026-01-16 14:12:58,429 - DEBUG - VN ctest-vn-73583385 is not present in Agent 10.0.0.50 2026-01-16 14:12:58,430 - INFO - Validated that VN ctest-vn-73583385 is not in any agent 2026-01-16 14:12:58,443 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73583385 info 2026-01-16 14:12:58,696 - DEBUG - No XMPP flaps were noticed during the test
2026-01-16 14:12:58,696 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-16 14:12:58,696 - INFO - -------------------------------------------------------------------------------- 2026-01-16 14:12:59,378 - INFO - Deleted project: ctest-TestBasicPolicy-74511382, ID : 89d15a4e-3cb6-4f4e-bf38-4988b783b7ac