2026-01-30 10:17:34,616 - INFO - Domain Default found not creating 2026-01-30 10:17:34,778 - INFO - Project ctest-TestBasicPolicy-87383952 not found, creating it 2026-01-30 10:17:35,238 - INFO - Created Project:ctest-TestBasicPolicy-87383952, ID : 910a21a7-2be4-4f0e-aedb-fdaed17e4da4 2026-01-30 10:17:36,736 - INFO - ================================================================================ 2026-01-30 10:17:36,736 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-30 10:17:36,736 - 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-30 10:17:36,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-30 10:17:36,991 - INFO - Initial checks done. Running the testcase now 2026-01-30 10:17:36,991 - INFO - 2026-01-30 10:17:37,545 - DEBUG - Response for create_network : {'network': {'id': '845abd3a-0c32-48e0-a347-52736ebc2139', 'name': 'ctest-vn-05231430', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'project_id': '910a21a72be44f0eaedbfdaed17e4da4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-vn-05231430'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 10:17:37,765 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1b26e6e-6c57-4355-932c-519896a3fff4', 'name': '', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'network_id': '845abd3a-0c32-48e0-a347-52736ebc2139', 'ip_version': 4, 'cidr': '104.247.255.0/26', 'allocation_pools': [{'start': '104.247.255.2', 'end': '104.247.255.62'}], 'gateway_ip': '104.247.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.247.255.2', 'tags': [], 'project_id': '910a21a72be44f0eaedbfdaed17e4da4'}} 2026-01-30 10:17:37,786 - INFO - Created VN ctest-vn-05231430 2026-01-30 10:17:37,839 - DEBUG - VN ctest-vn-05231430 UUID is 845abd3a-0c32-48e0-a347-52736ebc2139 2026-01-30 10:17:38,173 - DEBUG - Response for create_network : {'network': {'id': 'c058d7e8-9d6e-44c9-bb5a-1c559a147441', 'name': 'ctest-vn-64855485', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'project_id': '910a21a72be44f0eaedbfdaed17e4da4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-vn-64855485'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 10:17:38,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d6ecc51-b473-4b2e-995a-f8168e2a3dc1', 'name': '', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'network_id': 'c058d7e8-9d6e-44c9-bb5a-1c559a147441', 'ip_version': 4, 'cidr': '156.100.13.64/26', 'allocation_pools': [{'start': '156.100.13.66', 'end': '156.100.13.126'}], 'gateway_ip': '156.100.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.100.13.66', 'tags': [], 'project_id': '910a21a72be44f0eaedbfdaed17e4da4'}} 2026-01-30 10:17:38,361 - INFO - Created VN ctest-vn-64855485 2026-01-30 10:17:38,415 - DEBUG - VN ctest-vn-64855485 UUID is c058d7e8-9d6e-44c9-bb5a-1c559a147441 2026-01-30 10:17:38,567 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430, 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-87383952:ctest-vn-64855485, 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-30 10:17:38,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '845abd3a-0c32-48e0-a347-52736ebc2139', 'name': 'ctest-vn-05231430', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'project_id': '910a21a72be44f0eaedbfdaed17e4da4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1b26e6e-6c57-4355-932c-519896a3fff4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-vn-05231430'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-policy-allow-all-80503299']], 'subnet_ipam': [{'subnet_cidr': '104.247.255.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 10:17:39,083 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c058d7e8-9d6e-44c9-bb5a-1c559a147441', 'name': 'ctest-vn-64855485', 'tenant_id': '910a21a72be44f0eaedbfdaed17e4da4', 'project_id': '910a21a72be44f0eaedbfdaed17e4da4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d6ecc51-b473-4b2e-995a-f8168e2a3dc1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-vn-64855485'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-policy-allow-all-80503299']], 'subnet_ipam': [{'subnet_cidr': '156.100.13.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 10:17:39,251 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-30 10:17:39,548 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-30 10:17:39,577 - DEBUG - Requesting: http://10.0.0.50:8082/domain/381c7320-5ff9-470e-8c63-deec02f8fc1c 2026-01-30 10:17:39,590 - DEBUG - Requesting: http://10.0.0.50:8082/project/910a21a7-2be4-4f0e-aedb-fdaed17e4da4 2026-01-30 10:17:39,660 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/845abd3a-0c32-48e0-a347-52736ebc2139 2026-01-30 10:17:39,670 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/845abd3a-0c32-48e0-a347-52736ebc2139 2026-01-30 10:17:39,679 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45 2026-01-30 10:17:39,686 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45 2026-01-30 10:17:39,693 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a3aa75e0-6a8b-4fe8-a65b-471a6fcb6d95 2026-01-30 10:17:39,699 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 10:17:39,699 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/845abd3a-0c32-48e0-a347-52736ebc2139 2026-01-30 10:17:39,709 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45 2026-01-30 10:17:39,724 - INFO - Verified VN network id 11 for VN 845abd3a-0c32-48e0-a347-52736ebc2139 2026-01-30 10:17:39,724 - INFO - Verifications in API Server for VN ctest-vn-05231430 passed 2026-01-30 10:17:39,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/845abd3a-0c32-48e0-a347-52736ebc2139 2026-01-30 10:17:39,734 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45 2026-01-30 10:17:39,740 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45 2026-01-30 10:17:39,747 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a3aa75e0-6a8b-4fe8-a65b-471a6fcb6d95 2026-01-30 10:17:39,761 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87383952', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9537143217920821472', 'uuid-lslong': '11765463207261249849'}, 'enable': 'true', 'created': '2026-01-30T10:17:37', 'last-modified': '2026-01-30T10:17:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927348'} 2026-01-30 10:17:39,767 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 10:17:39,767 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05231430 passed 2026-01-30 10:17:39,767 - DEBUG - ====Verifying policy data for ctest-vn-05231430 in API_Server ====== 2026-01-30 10:17:39,767 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-30 10:17:39,772 - DEBUG - Requesting: http://10.0.0.50:8082/domain/381c7320-5ff9-470e-8c63-deec02f8fc1c 2026-01-30 10:17:39,785 - DEBUG - Requesting: http://10.0.0.50:8082/project/910a21a7-2be4-4f0e-aedb-fdaed17e4da4 2026-01-30 10:17:39,859 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/845abd3a-0c32-48e0-a347-52736ebc2139 2026-01-30 10:17:39,867 - DEBUG - ==>Verifying data for policy with id: 5f065ac2-89ea-4339-b104-f00801d7587c, fqn: ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-policy-allow-all-80503299'] 2026-01-30 10:17:39,867 - INFO - VN ctest-vn-05231430 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 10:17:39,867 - DEBUG - Verifying the vn in opserver 2026-01-30 10:17:39,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430 virtual network link through opserver 10.0.0.50 2026-01-30 10:17:39,867 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-30 10:17:40,159 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-30 10:17:40,221 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430?flat'} 2026-01-30 10:17:40,221 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430 is found in opserver 2026-01-30 10:17:40,231 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 10:17:40,235 - DEBUG - VRF ids for VN ctest-vn-05231430: {} 2026-01-30 10:17:40,235 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-30 10:17:40,240 - DEBUG - Requesting: http://10.0.0.50:8082/domain/381c7320-5ff9-470e-8c63-deec02f8fc1c 2026-01-30 10:17:40,250 - DEBUG - Requesting: http://10.0.0.50:8082/project/910a21a7-2be4-4f0e-aedb-fdaed17e4da4 2026-01-30 10:17:40,317 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c058d7e8-9d6e-44c9-bb5a-1c559a147441 2026-01-30 10:17:40,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c058d7e8-9d6e-44c9-bb5a-1c559a147441 2026-01-30 10:17:40,336 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282 2026-01-30 10:17:40,344 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282 2026-01-30 10:17:40,351 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/98fa1519-e6c4-4404-aabf-f810a0b13bce 2026-01-30 10:17:40,358 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 10:17:40,358 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c058d7e8-9d6e-44c9-bb5a-1c559a147441 2026-01-30 10:17:40,367 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282 2026-01-30 10:17:40,381 - INFO - Verified VN network id 12 for VN c058d7e8-9d6e-44c9-bb5a-1c559a147441 2026-01-30 10:17:40,381 - INFO - Verifications in API Server for VN ctest-vn-64855485 passed 2026-01-30 10:17:40,381 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c058d7e8-9d6e-44c9-bb5a-1c559a147441 2026-01-30 10:17:40,390 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282 2026-01-30 10:17:40,397 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282 2026-01-30 10:17:40,403 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/98fa1519-e6c4-4404-aabf-f810a0b13bce 2026-01-30 10:17:40,413 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-64855485', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87383952', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13860065247306335433', 'uuid-lslong': '13500133986979312705'}, 'enable': 'true', 'created': '2026-01-30T10:17:38', 'last-modified': '2026-01-30T10:17:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350837'} 2026-01-30 10:17:40,420 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 10:17:40,420 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64855485 passed 2026-01-30 10:17:40,420 - DEBUG - ====Verifying policy data for ctest-vn-64855485 in API_Server ====== 2026-01-30 10:17:40,420 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-30 10:17:40,425 - DEBUG - Requesting: http://10.0.0.50:8082/domain/381c7320-5ff9-470e-8c63-deec02f8fc1c 2026-01-30 10:17:40,435 - DEBUG - Requesting: http://10.0.0.50:8082/project/910a21a7-2be4-4f0e-aedb-fdaed17e4da4 2026-01-30 10:17:40,502 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c058d7e8-9d6e-44c9-bb5a-1c559a147441 2026-01-30 10:17:40,511 - DEBUG - ==>Verifying data for policy with id: 5f065ac2-89ea-4339-b104-f00801d7587c, fqn: ['default-domain', 'ctest-TestBasicPolicy-87383952', 'ctest-policy-allow-all-80503299'] 2026-01-30 10:17:40,511 - INFO - VN ctest-vn-64855485 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 10:17:40,511 - DEBUG - Verifying the vn in opserver 2026-01-30 10:17:40,511 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-64855485 virtual network link through opserver 10.0.0.50 2026-01-30 10:17:40,511 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-01-30 10:17:40,520 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-64855485', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-64855485?flat'} 2026-01-30 10:17:40,520 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-64855485 is found in opserver 2026-01-30 10:17:40,530 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 10:17:40,535 - DEBUG - VRF ids for VN ctest-vn-64855485: {} 2026-01-30 10:17:40,589 - DEBUG - Services list from nova: [, , ] 2026-01-30 10:17:41,631 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5143-1) 2026-01-30 10:17:42,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5143-1) 2026-01-30 10:17:42,804 - INFO - Waiting for VM ctest-TestBasicPolicy-87383952-60712324 to be up.. 2026-01-30 10:17:42,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 10:17:47,953 - DEBUG - VM is in ACTIVE state now 2026-01-30 10:17:47,953 - INFO - VM name : ctest-TestBasicPolicy-87383952-60712324 2026-01-30 10:17:48,033 - DEBUG - VM ctest-TestBasicPolicy-87383952-60712324 ID is 3c43e82a-7ffc-4490-9cee-3fccdbab5160 2026-01-30 10:17:48,056 - DEBUG - VM ctest-TestBasicPolicy-87383952-60712324 launched on Node cn-jenkins-deploy-platform-ansible-os-5143-1 2026-01-30 10:17:48,134 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3c43e82a-7ffc-4490-9cee-3fccdbab5160 2026-01-30 10:17:48,142 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/24c126e9-11c6-4b0b-8dd7-35e7a270d40d 2026-01-30 10:17:51,394 - 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 1010ms') 2026-01-30 10:17:51,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87383952-60712324 failed! 2026-01-30 10:17:51,451 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87383952:ctest-vn-05231430 is 104.247.255.1 and allocation pool is NOT set 2026-01-30 10:17:53,506 - 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=7.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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.450/3.815/7.180/3.365 ms') 2026-01-30 10:17:53,506 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87383952-60712324 passed 2026-01-30 10:17:53,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 10:17:53,655 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87383952-60712324, IP 104.247.255.3, Port 22 2026-01-30 10:17:53,811 - DEBUG - VM ctest-TestBasicPolicy-87383952-60712324 is ready for SSH connections 2026-01-30 10:17:53,811 - INFO - Waiting for VM ctest-TestBasicPolicy-87383952-34658761 to be up.. 2026-01-30 10:17:53,883 - DEBUG - VM is in ACTIVE state now 2026-01-30 10:17:53,883 - INFO - VM name : ctest-TestBasicPolicy-87383952-34658761 2026-01-30 10:17:53,957 - DEBUG - VM ctest-TestBasicPolicy-87383952-34658761 ID is ee8eb2e9-17fb-4955-9a2d-9ef4a0eb9e09 2026-01-30 10:17:53,957 - DEBUG - VM ctest-TestBasicPolicy-87383952-34658761 launched on Node cn-jenkins-deploy-platform-ansible-os-5143-1 2026-01-30 10:17:54,031 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ee8eb2e9-17fb-4955-9a2d-9ef4a0eb9e09 2026-01-30 10:17:54,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6409a214-6158-49e9-a35d-8ac69e62390a 2026-01-30 10:17:55,279 - 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=6.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.893 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 = 0.893/3.479/6.065/2.586 ms') 2026-01-30 10:17:55,279 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87383952-34658761 passed 2026-01-30 10:17:55,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 10:17:55,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87383952-34658761, IP 156.100.13.67, Port 22 2026-01-30 10:17:55,582 - DEBUG - VM ctest-TestBasicPolicy-87383952-34658761 is ready for SSH connections 2026-01-30 10:17:55,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 10:17:55,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.100.13.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-30 10:17:55,583 - DEBUG - ping -s 56 -c 3 -W 1 156.100.13.67 2026-01-30 10:17:59,706 - DEBUG - PING 156.100.13.67 (156.100.13.67): 56 data bytes 64 bytes from 156.100.13.67: seq=0 ttl=63 time=3.602 ms 64 bytes from 156.100.13.67: seq=1 ttl=63 time=1.083 ms 64 bytes from 156.100.13.67: seq=2 ttl=63 time=0.838 ms --- 156.100.13.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/1.841/3.602 ms 2026-01-30 10:17:59,706 - INFO - Ping to IP 156.100.13.67 from VM ctest-TestBasicPolicy-87383952-60712324 passed 2026-01-30 10:17:59,891 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5f065ac2-89ea-4339-b104-f00801d7587c", "href": "http://10.0.0.50:8082/network-policy/5f065ac2-89ea-4339-b104-f00801d7587c"}} 2026-01-30 10:17:59,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 10:17:59,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.100.13.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-30 10:17:59,891 - DEBUG - ping -s 56 -c 3 -W 1 156.100.13.67 2026-01-30 10:18:03,144 - DEBUG - PING 156.100.13.67 (156.100.13.67): 56 data bytes --- 156.100.13.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-30 10:18:03,145 - WARNING - Ping to IP 156.100.13.67 from VM ctest-TestBasicPolicy-87383952-60712324 failed 2026-01-30 10:18:03,145 - INFO - Deleting VM ctest-TestBasicPolicy-87383952-34658761 2026-01-30 10:18:03,211 - INFO - Deleting VM ctest-TestBasicPolicy-87383952-60712324 2026-01-30 10:18:03,563 - INFO - Deleted policy ctest-policy-allow-all-80503299 2026-01-30 10:18:03,563 - INFO - Deleting VN ctest-vn-64855485 2026-01-30 10:18:03,597 - DEBUG - VN c058d7e8-9d6e-44c9-bb5a-1c559a147441 still in use: Unable to complete operation on network c058d7e8-9d6e-44c9-bb5a-1c559a147441. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2dec819d-92c1-4af4-b78e-bc2f1756d300'] 2026-01-30 10:18:03,597 - WARNING - Deleting VN ctest-vn-64855485 failed..Will retry 2026-01-30 10:18:05,699 - DEBUG - Response for deleting network () 2026-01-30 10:18:05,699 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7a6fdc86-26b1-40aa-b9ff-eb0485e7c282 2026-01-30 10:18:05,704 - DEBUG - Response Code: 404 2026-01-30 10:18:05,704 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-30 10:18:05,709 - DEBUG - Requesting: http://10.0.0.50:8082/domain/381c7320-5ff9-470e-8c63-deec02f8fc1c 2026-01-30 10:18:05,765 - DEBUG - Requesting: http://10.0.0.50:8082/project/910a21a7-2be4-4f0e-aedb-fdaed17e4da4 2026-01-30 10:18:05,838 - INFO - Validated that VN ctest-vn-64855485 is not found in API Server 2026-01-30 10:18:05,847 - DEBUG - VN ctest-vn-64855485 is not present in Agent 10.0.0.50 2026-01-30 10:18:05,847 - INFO - Validated that VN ctest-vn-64855485 is not in any agent 2026-01-30 10:18:05,860 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64855485 info 2026-01-30 10:18:05,860 - INFO - Deleting VN ctest-vn-05231430 2026-01-30 10:18:05,959 - DEBUG - Response for deleting network () 2026-01-30 10:18:05,959 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8cbe5970-98cd-4f81-bd9d-7ca862439d45 2026-01-30 10:18:05,965 - DEBUG - Response Code: 404 2026-01-30 10:18:05,965 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-01-30 10:18:05,970 - DEBUG - Requesting: http://10.0.0.50:8082/domain/381c7320-5ff9-470e-8c63-deec02f8fc1c 2026-01-30 10:18:06,024 - DEBUG - Requesting: http://10.0.0.50:8082/project/910a21a7-2be4-4f0e-aedb-fdaed17e4da4 2026-01-30 10:18:06,097 - INFO - Validated that VN ctest-vn-05231430 is not found in API Server 2026-01-30 10:18:06,106 - DEBUG - VN ctest-vn-05231430 is not present in Agent 10.0.0.50 2026-01-30 10:18:06,106 - INFO - Validated that VN ctest-vn-05231430 is not in any agent 2026-01-30 10:18:06,120 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05231430 info 2026-01-30 10:18:06,372 - DEBUG - No XMPP flaps were noticed during the test 2026-01-30 10:18:06,372 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-01-30 10:18:06,372 - INFO - -------------------------------------------------------------------------------- 2026-01-30 10:18:07,058 - INFO - Deleted project: ctest-TestBasicPolicy-87383952, ID : 910a21a7-2be4-4f0e-aedb-fdaed17e4da4